From c81e378de2c8f7a63ef5615dc4749da6d2e6f933 Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Fri, 1 Nov 2024 12:05:15 +0100 Subject: [PATCH] Update Angular --- src/AngularComponents/package-lock.json | 638 +++++++++--------- src/AngularComponents/package.json | 22 +- .../Builders/Rendering/resources/main.js | 2 +- 3 files changed, 340 insertions(+), 322 deletions(-) diff --git a/src/AngularComponents/package-lock.json b/src/AngularComponents/package-lock.json index 45205ad1..8ed6f87b 100644 --- a/src/AngularComponents/package-lock.json +++ b/src/AngularComponents/package-lock.json @@ -9,22 +9,22 @@ "version": "0.0.0", "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.8", - "@angular/common": "^18.2.8", - "@angular/compiler": "^18.2.8", - "@angular/core": "^18.2.8", - "@angular/forms": "^18.2.8", - "@angular/platform-browser": "^18.2.8", - "@angular/platform-browser-dynamic": "^18.2.8", - "@angular/router": "^18.2.8", + "@angular/animations": "^18.2.10", + "@angular/common": "^18.2.10", + "@angular/compiler": "^18.2.10", + "@angular/core": "^18.2.10", + "@angular/forms": "^18.2.10", + "@angular/platform-browser": "^18.2.10", + "@angular/platform-browser-dynamic": "^18.2.10", + "@angular/router": "^18.2.10", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.9", - "@angular/cli": "^18.2.9", - "@angular/compiler-cli": "^18.2.8", + "@angular-devkit/build-angular": "^18.2.11", + "@angular/cli": "^18.2.11", + "@angular/compiler-cli": "^18.2.10", "@types/node": "^12.11.1", "typescript": "~5.5.3" } @@ -43,13 +43,13 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1802.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.9.tgz", - "integrity": "sha512-fubJf4WC/t3ITy+tyjI4/CKKwUP4XJTmV+Y0nyPcrkcthVyUcIpZB74NlUOvg6WECiPQuIc+CtoAaA9X5+RQ5Q==", + "version": "0.1802.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.11.tgz", + "integrity": "sha512-p+XIc/j51aI83ExNdeZwvkm1F4wkuKMGUUoj0MVUUi5E6NoiMlXYm6uU8+HbRvPBzGy5+3KOiGp3Fks0UmDSAA==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.9", + "@angular-devkit/core": "18.2.11", "rxjs": "7.8.1" }, "engines": { @@ -59,17 +59,17 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.9.tgz", - "integrity": "sha512-d4W6t9vBozFUmOP2VvihMcSg/zgr3AvJY6/b7OPuATlK+W3P6tmsqxGIQ6eKc1TxXeu3lWhi14mV2pPykfrwfA==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.11.tgz", + "integrity": "sha512-09Ln3NAdlMw/wMLgnwYU5VgWV5TPBEHolZUIvE9D8b6SFWBCowk3B3RWeAMgg7Peuf9SKwqQHBz2b1C7RTP/8g==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.9", - "@angular-devkit/build-webpack": "0.1802.9", - "@angular-devkit/core": "18.2.9", - "@angular/build": "18.2.9", + "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/build-webpack": "0.1802.11", + "@angular-devkit/core": "18.2.11", + "@angular/build": "18.2.11", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -80,7 +80,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.9", + "@ngtools/webpack": "18.2.11", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -91,7 +91,7 @@ "css-loader": "7.1.2", "esbuild-wasm": "0.23.0", "fast-glob": "3.3.2", - "http-proxy-middleware": "3.0.0", + "http-proxy-middleware": "3.0.3", "https-proxy-agent": "7.0.5", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", @@ -763,13 +763,13 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1802.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.9.tgz", - "integrity": "sha512-p7xNGo5ZTV/Z0Rk+q2/E68QQLw9VT33kauDh6s010jIeBLrOwMo74JpzXMSFttQo5O4bLKP8IORzIM+0q7Uzjg==", + "version": "0.1802.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.11.tgz", + "integrity": "sha512-G76rNsyn1iQk7qjyr+K4rnDzfalmEswmwXQorypSDGaHYzIDY1SZXMoP4225WMq5fJNBOJrk82FA0PSfnPE+zQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.9", + "@angular-devkit/architect": "0.1802.11", "rxjs": "7.8.1" }, "engines": { @@ -783,9 +783,9 @@ } }, "node_modules/@angular-devkit/core": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.9.tgz", - "integrity": "sha512-bsVt//5E0ua7FZfO0dCF/qGGY6KQD34/bNGyRu5B6HedimpdU2/0PGDptksU5v3yKEc9gNw0xC6mT0UsY/R9pA==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.11.tgz", + "integrity": "sha512-H9P1shRGigORWJHUY2BRa2YurT+DVminrhuaYHsbhXBRsPmgB2Dx/30YLTnC1s5XmR9QIRUCsg/d3kyT1wd5Zg==", "dev": true, "license": "MIT", "dependencies": { @@ -842,13 +842,13 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.9.tgz", - "integrity": "sha512-aIY5/IomDOINGCtFYi77uo0acDpdQNNCighfBBUGEBNMQ1eE3oGNGpLAH/qWeuxJndgmxrdKsvws9DdT46kLig==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.11.tgz", + "integrity": "sha512-efRK3FotTFp4KD5u42jWfXpHUALXB9kJNsWiB4wEImKFH6CN+vjBspJQuLqk2oeBFh/7D2qRMc5P+2tZHM5hdw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.9", + "@angular-devkit/core": "18.2.11", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -877,9 +877,9 @@ } }, "node_modules/@angular/animations": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.8.tgz", - "integrity": "sha512-dMSn2hg70siv3lhP+vqhMbgc923xw6XBUvnpCPEzhZqFHvPXfh/LubmsD5RtqHmjWebXtgVcgS+zg3Gq3jB2lg==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.10.tgz", + "integrity": "sha512-LT5+CocFZJ4t5jXsXLx5w/sBuWSxOEjmNTYga13usRcLOblrAB902pjUdFCHEZyrCUgm4MH8vov9fMS+Ks2GCw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -888,18 +888,18 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.8" + "@angular/core": "18.2.10" } }, "node_modules/@angular/build": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.9.tgz", - "integrity": "sha512-o1hOEM2e6ARy+ck2Pohl0d/RFgbbXTw6/hTLAj3CBKjtqAGStRaVF2UlJjhi+xOxlfsOPuJJc9IpzLBteku+Ag==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.11.tgz", + "integrity": "sha512-AgirvSCmqUKiDE3C0rl3JA68OkOqQWDKUvjqRHXCkhxldLVOVoeIl87+jBYK/v9gcmk+K+ju+5wbGEfu1FjhiQ==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.9", + "@angular-devkit/architect": "0.1802.11", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -1352,15 +1352,15 @@ } }, "node_modules/@angular/build/node_modules/@types/node": { - "version": "22.7.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.8.tgz", - "integrity": "sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==", + "version": "22.8.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", + "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", "dev": true, "license": "MIT", "optional": true, "peer": true, "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@angular/build/node_modules/@vitejs/plugin-basic-ssl": { @@ -1545,18 +1545,18 @@ } }, "node_modules/@angular/cli": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.9.tgz", - "integrity": "sha512-ejTIqwvPABwK7MtVmI2qWbEaMhhbHNsq0NPzl1hwLtkrLbjdDrEVv0Wy+gN0xqrT9NyCPl4AmNLz/xuYTzgU5g==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.11.tgz", + "integrity": "sha512-0JI1xjOLRemBPjdT/yVlabxc3Zkjqa/lhvVxxVC1XhKoW7yGxIGwNrQ4pka4CcQtCuktO6KPMmTGIu8YgC3cpw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.9", - "@angular-devkit/core": "18.2.9", - "@angular-devkit/schematics": "18.2.9", + "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/core": "18.2.11", + "@angular-devkit/schematics": "18.2.11", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.9", + "@schematics/angular": "18.2.11", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -1579,9 +1579,9 @@ } }, "node_modules/@angular/common": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.8.tgz", - "integrity": "sha512-TYsKtE5nVaIScWSLGSO34Skc+s3hB/BujSddnfQHoNFvPT/WR0dfmdlpVCTeLj+f50htFoMhW11tW99PbK+whQ==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.10.tgz", + "integrity": "sha512-YzTCmuqLiOuT+Yv07vuKymDWiebOVZ8BuXakJiz4EM7FMoOw5gICHJ04jepZSjDNWpA16e7kJSdt5ucnmvCFDQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1590,14 +1590,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.8", + "@angular/core": "18.2.10", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.8.tgz", - "integrity": "sha512-JRedHNfK1CCPVyeGQB5w3WBYqMA6X8Q240CkvjlGfn0pVXihf9DWk3nkSQJVgYxpvpHfxdgjaYZ5IpMzlkmkhw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.10.tgz", + "integrity": "sha512-cu+Uq1nnyl00Glg0+2uvm+Xpaq5b4YvWpaLGGtit7uGETAJ4L/frlBVeaTRhEoaIAGBI+RRlyuFLae+etQDA0w==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1606,7 +1606,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.8" + "@angular/core": "18.2.10" }, "peerDependenciesMeta": { "@angular/core": { @@ -1615,9 +1615,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.8.tgz", - "integrity": "sha512-OksDE4LWQUCcIvMjtZF7eiDCdIMrcMMpC1+Q0PIYi7KmnqXFGs4/Y0NdJvtn/LrQznzz5WaKM3ZDVNZTRX4wmw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.10.tgz", + "integrity": "sha512-CNFStKWMB89MFKAZZFUOhoQi+fHqRLgNOOrI73LjizXixvngEh3BDZJRtK9hbSGG+giujBrummEA60CWAw69MA==", "dev": true, "license": "MIT", "dependencies": { @@ -1639,7 +1639,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.2.8", + "@angular/compiler": "18.2.10", "typescript": ">=5.4 <5.6" } }, @@ -1674,9 +1674,9 @@ } }, "node_modules/@angular/core": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.8.tgz", - "integrity": "sha512-NwIuX/Iby1jT6Iv1/s6S3wOFf8xfuQR3MPGvKhGgNtjXLbHG+TXceK9+QPZC0s9/Z8JR/hz+li34B79GrIKgUg==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.10.tgz", + "integrity": "sha512-EfxVz0pLaxnOppOYkdhnaUkk8HZT+uxaAGpJD3ppAa7YAWTE9xIGoNJmtS33cZNNOnvriMkdv7yn6pDtV4ct+Q==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1690,9 +1690,9 @@ } }, "node_modules/@angular/forms": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.8.tgz", - "integrity": "sha512-JCLki7KC6D5vF6dE6yGlBmW33khIgpHs8N9SzuiJtkQqNDTIQA8cPsGV6qpLpxflxASynQOX5lDkWYdQyfm77Q==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.10.tgz", + "integrity": "sha512-2VprGB+enJIeqfz2oALmP/G/UiFzpZW6PHgyZXhk/0J/UMsa26JoYxwDFvfdm/WGTrB+VaQEG7in5xwiFPAFtQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1701,16 +1701,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.8", - "@angular/core": "18.2.8", - "@angular/platform-browser": "18.2.8", + "@angular/common": "18.2.10", + "@angular/core": "18.2.10", + "@angular/platform-browser": "18.2.10", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.8.tgz", - "integrity": "sha512-EPai4ZPqSq3ilLJUC85kPi9wo5j5suQovwtgRyjM/75D9Qy4TV19g8hkVM5Co/zrltO8a2G6vDscCNI5BeGw2A==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.10.tgz", + "integrity": "sha512-zKyRKFr3AaEA4SE/DEeb5FWHJutT26avHZog6ZGDkMeMN12zMtSqjPuTSgmDXCWleoOkzbb+nhAQ+fK/EyGyPA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1719,9 +1719,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/animations": "18.2.8", - "@angular/common": "18.2.8", - "@angular/core": "18.2.8" + "@angular/animations": "18.2.10", + "@angular/common": "18.2.10", + "@angular/core": "18.2.10" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1730,9 +1730,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.8.tgz", - "integrity": "sha512-poZoapDqyN/rxGKQ3C6esdPiPLMkSpP2v12hoEa12KHgfPk7T1e+a+NMyJjV8HeOY3WyvL7tGRhW0NPTajTkhw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.10.tgz", + "integrity": "sha512-syKyOTgfQnMxfpDRP1khTSPZ5dsMgA8YQwNF6KsB3eZQl15CKSka7bzjMOUWeZ8M3WShOp1AzTf0MfwNeh0UBA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1741,16 +1741,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.8", - "@angular/compiler": "18.2.8", - "@angular/core": "18.2.8", - "@angular/platform-browser": "18.2.8" + "@angular/common": "18.2.10", + "@angular/compiler": "18.2.10", + "@angular/core": "18.2.10", + "@angular/platform-browser": "18.2.10" } }, "node_modules/@angular/router": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.8.tgz", - "integrity": "sha512-L+olYgxIiBq+tbfayVI0cv1yOuymsw33msnGC2l/vpc9sSVfqGzESFnB4yMVU3vHtE9v6v2Y6O+iV44/b79W/g==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.10.tgz", + "integrity": "sha512-ZqJgOGOfvW0epsc7pIo7DffZqYHo3O9aUCVepZAhOxqtjF/sfhX2fy+A0xopTIiR0eM3LrT823V+2hjlBHj+CA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1759,9 +1759,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.8", - "@angular/core": "18.2.8", - "@angular/platform-browser": "18.2.8", + "@angular/common": "18.2.10", + "@angular/core": "18.2.10", + "@angular/platform-browser": "18.2.10", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -4786,9 +4786,9 @@ ] }, "node_modules/@ngtools/webpack": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.9.tgz", - "integrity": "sha512-/apDvs4qevjSWoYw3h3/c/mILFrf2EgCJfBy9f3E7PEgi2tjifOIszBRrLQkVpeHAaFgEH8zKS2ol0hAmOl8sw==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.11.tgz", + "integrity": "sha512-iTdUGJ5O7yMm1DyCzyoMDMxBJ68emUSSXPWbQzEEdcqmtifRebn+VAq4vHN8OmtGM1mtuKeLEsbiZP8ywrw7Ug==", "dev": true, "license": "MIT", "engines": { @@ -5238,14 +5238,14 @@ ] }, "node_modules/@schematics/angular": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.9.tgz", - "integrity": "sha512-LlMHZQ6f8zrqSK24OBXi4u2MTNHNu9ZN6JXpbElq0bz/9QkUR2zy+Kk2wLpPxCwXYTZby7/xgHiTzXvG+zTdhw==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.11.tgz", + "integrity": "sha512-jT54mc9+hPOwie9bji/g2krVuK1kkNh2PNFGwfgCg3Ofmt3hcyOBai1DKuot5uLTX4VCCbvfwiVR/hJniQl2SA==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.9", - "@angular-devkit/schematics": "18.2.9", + "@angular-devkit/core": "18.2.11", + "@angular-devkit/schematics": "18.2.11", "jsonc-parser": "3.3.1" }, "engines": { @@ -5433,9 +5433,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.0.tgz", - "integrity": "sha512-AbXMTZGt40T+KON9/Fdxx0B2WK5hsgxcfXJLr5bFpZ7b4JCex2WyQPTEKdXqfHiY5nKKBScZ7yCoO6Pvgxfvnw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.1.tgz", + "integrity": "sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==", "dev": true, "license": "MIT", "dependencies": { @@ -5466,9 +5466,9 @@ "license": "MIT" }, "node_modules/@types/http-proxy": { - "version": "1.17.14", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", - "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", + "version": "1.17.15", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.15.tgz", + "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", "dev": true, "license": "MIT", "dependencies": { @@ -5801,6 +5801,16 @@ "node": ">= 0.6" } }, + "node_modules/accepts/node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/acorn": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", @@ -6212,16 +6222,6 @@ "npm": "1.2.8000 || >= 1.4.16" } }, - "node_modules/body-parser/node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/body-parser/node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -6360,9 +6360,9 @@ } }, "node_modules/bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, "license": "MIT", "engines": { @@ -6723,18 +6723,18 @@ } }, "node_modules/compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.5.tgz", + "integrity": "sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==", "dev": true, "license": "MIT", "dependencies": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", + "bytes": "3.1.2", + "compressible": "~2.0.18", "debug": "2.6.9", + "negotiator": "~0.6.4", "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", + "safe-buffer": "5.2.1", "vary": "~1.1.2" }, "engines": { @@ -6758,6 +6758,27 @@ "dev": true, "license": "MIT" }, + "node_modules/compression/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/connect-history-api-fallback": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", @@ -6940,6 +6961,7 @@ "version": "0.0.24", "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.24.tgz", "integrity": "sha512-Oyqew0FGM0wYUSNqR0L6AteO5MpMoUU0rhKRieXeiKs+PmRTxiJMyaunYB2KF6fQ3dzChXKCpbFOEJx3OQ1v/Q==", + "deprecated": "Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -7146,13 +7168,13 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -7995,9 +8017,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "dev": true, "funding": [ { @@ -8501,23 +8523,33 @@ } }, "node_modules/http-proxy-middleware": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.0.tgz", - "integrity": "sha512-36AV1fIaI2cWRzHo+rbcxhe3M3jUDCNzc4D5zRl57sEWRAxdXYtw7FSQKYY6PDKssiAKjLYypbssHk+xs/kMXw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.3.tgz", + "integrity": "sha512-usY0HG5nyDUwtqpiZdETNbmKtw3QQ1jwYFZ9wi5iHzX2BcILwQKtYDJPo7XHTsu5Z0B2Hj3W9NNnbd+AjFWjqg==", "dev": true, "license": "MIT", "dependencies": { - "@types/http-proxy": "^1.17.10", - "debug": "^4.3.4", + "@types/http-proxy": "^1.17.15", + "debug": "^4.3.6", "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.5" + "is-glob": "^4.0.3", + "is-plain-object": "^5.0.0", + "micromatch": "^4.0.8" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/http-proxy-middleware/node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/https-proxy-agent": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", @@ -10138,15 +10170,16 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/msgpackr": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.0.tgz", - "integrity": "sha512-I8qXuuALqJe5laEBYoFykChhSXLikZmUhccjGsPuSJ/7uPip2TJ7lwdIQwWSAi0jGZDXv4WOP8Qg65QZRuXxXw==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.2.tgz", + "integrity": "sha512-F9UngXRlPyWCDEASDpTf6c9uNhGPTqnTeLVt7bN+bU1eajoR/8V9ys2BRaV5C/e5ihE6sJ9uPIKaYt6bFuO32g==", "dev": true, "license": "MIT", "optionalDependencies": { @@ -10260,9 +10293,9 @@ } }, "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", "dev": true, "license": "MIT", "engines": { @@ -10898,9 +10931,9 @@ } }, "node_modules/parse5": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.0.tgz", - "integrity": "sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -11376,16 +11409,6 @@ "node": ">= 0.8" } }, - "node_modules/raw-body/node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -11922,13 +11945,6 @@ "node": ">= 0.8" } }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/serialize-javascript": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", @@ -13659,26 +13675,26 @@ } }, "@angular-devkit/architect": { - "version": "0.1802.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.9.tgz", - "integrity": "sha512-fubJf4WC/t3ITy+tyjI4/CKKwUP4XJTmV+Y0nyPcrkcthVyUcIpZB74NlUOvg6WECiPQuIc+CtoAaA9X5+RQ5Q==", + "version": "0.1802.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.11.tgz", + "integrity": "sha512-p+XIc/j51aI83ExNdeZwvkm1F4wkuKMGUUoj0MVUUi5E6NoiMlXYm6uU8+HbRvPBzGy5+3KOiGp3Fks0UmDSAA==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.9", + "@angular-devkit/core": "18.2.11", "rxjs": "7.8.1" } }, "@angular-devkit/build-angular": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.9.tgz", - "integrity": "sha512-d4W6t9vBozFUmOP2VvihMcSg/zgr3AvJY6/b7OPuATlK+W3P6tmsqxGIQ6eKc1TxXeu3lWhi14mV2pPykfrwfA==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.11.tgz", + "integrity": "sha512-09Ln3NAdlMw/wMLgnwYU5VgWV5TPBEHolZUIvE9D8b6SFWBCowk3B3RWeAMgg7Peuf9SKwqQHBz2b1C7RTP/8g==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.9", - "@angular-devkit/build-webpack": "0.1802.9", - "@angular-devkit/core": "18.2.9", - "@angular/build": "18.2.9", + "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/build-webpack": "0.1802.11", + "@angular-devkit/core": "18.2.11", + "@angular/build": "18.2.11", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -13689,7 +13705,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.9", + "@ngtools/webpack": "18.2.11", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -13701,7 +13717,7 @@ "esbuild": "0.23.0", "esbuild-wasm": "0.23.0", "fast-glob": "3.3.2", - "http-proxy-middleware": "3.0.0", + "http-proxy-middleware": "3.0.3", "https-proxy-agent": "7.0.5", "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", @@ -13994,19 +14010,19 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.1802.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.9.tgz", - "integrity": "sha512-p7xNGo5ZTV/Z0Rk+q2/E68QQLw9VT33kauDh6s010jIeBLrOwMo74JpzXMSFttQo5O4bLKP8IORzIM+0q7Uzjg==", + "version": "0.1802.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.11.tgz", + "integrity": "sha512-G76rNsyn1iQk7qjyr+K4rnDzfalmEswmwXQorypSDGaHYzIDY1SZXMoP4225WMq5fJNBOJrk82FA0PSfnPE+zQ==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.9", + "@angular-devkit/architect": "0.1802.11", "rxjs": "7.8.1" } }, "@angular-devkit/core": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.9.tgz", - "integrity": "sha512-bsVt//5E0ua7FZfO0dCF/qGGY6KQD34/bNGyRu5B6HedimpdU2/0PGDptksU5v3yKEc9gNw0xC6mT0UsY/R9pA==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.11.tgz", + "integrity": "sha512-H9P1shRGigORWJHUY2BRa2YurT+DVminrhuaYHsbhXBRsPmgB2Dx/30YLTnC1s5XmR9QIRUCsg/d3kyT1wd5Zg==", "dev": true, "requires": { "ajv": "8.17.1", @@ -14035,12 +14051,12 @@ } }, "@angular-devkit/schematics": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.9.tgz", - "integrity": "sha512-aIY5/IomDOINGCtFYi77uo0acDpdQNNCighfBBUGEBNMQ1eE3oGNGpLAH/qWeuxJndgmxrdKsvws9DdT46kLig==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.11.tgz", + "integrity": "sha512-efRK3FotTFp4KD5u42jWfXpHUALXB9kJNsWiB4wEImKFH6CN+vjBspJQuLqk2oeBFh/7D2qRMc5P+2tZHM5hdw==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.9", + "@angular-devkit/core": "18.2.11", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -14058,21 +14074,21 @@ } }, "@angular/animations": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.8.tgz", - "integrity": "sha512-dMSn2hg70siv3lhP+vqhMbgc923xw6XBUvnpCPEzhZqFHvPXfh/LubmsD5RtqHmjWebXtgVcgS+zg3Gq3jB2lg==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.10.tgz", + "integrity": "sha512-LT5+CocFZJ4t5jXsXLx5w/sBuWSxOEjmNTYga13usRcLOblrAB902pjUdFCHEZyrCUgm4MH8vov9fMS+Ks2GCw==", "requires": { "tslib": "^2.3.0" } }, "@angular/build": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.9.tgz", - "integrity": "sha512-o1hOEM2e6ARy+ck2Pohl0d/RFgbbXTw6/hTLAj3CBKjtqAGStRaVF2UlJjhi+xOxlfsOPuJJc9IpzLBteku+Ag==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.11.tgz", + "integrity": "sha512-AgirvSCmqUKiDE3C0rl3JA68OkOqQWDKUvjqRHXCkhxldLVOVoeIl87+jBYK/v9gcmk+K+ju+5wbGEfu1FjhiQ==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.9", + "@angular-devkit/architect": "0.1802.11", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -14260,14 +14276,14 @@ "optional": true }, "@types/node": { - "version": "22.7.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.8.tgz", - "integrity": "sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==", + "version": "22.8.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", + "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", "dev": true, "optional": true, "peer": true, "requires": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "@vitejs/plugin-basic-ssl": { @@ -14361,17 +14377,17 @@ } }, "@angular/cli": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.9.tgz", - "integrity": "sha512-ejTIqwvPABwK7MtVmI2qWbEaMhhbHNsq0NPzl1hwLtkrLbjdDrEVv0Wy+gN0xqrT9NyCPl4AmNLz/xuYTzgU5g==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.11.tgz", + "integrity": "sha512-0JI1xjOLRemBPjdT/yVlabxc3Zkjqa/lhvVxxVC1XhKoW7yGxIGwNrQ4pka4CcQtCuktO6KPMmTGIu8YgC3cpw==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.9", - "@angular-devkit/core": "18.2.9", - "@angular-devkit/schematics": "18.2.9", + "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/core": "18.2.11", + "@angular-devkit/schematics": "18.2.11", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.9", + "@schematics/angular": "18.2.11", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -14386,25 +14402,25 @@ } }, "@angular/common": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.8.tgz", - "integrity": "sha512-TYsKtE5nVaIScWSLGSO34Skc+s3hB/BujSddnfQHoNFvPT/WR0dfmdlpVCTeLj+f50htFoMhW11tW99PbK+whQ==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.10.tgz", + "integrity": "sha512-YzTCmuqLiOuT+Yv07vuKymDWiebOVZ8BuXakJiz4EM7FMoOw5gICHJ04jepZSjDNWpA16e7kJSdt5ucnmvCFDQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.8.tgz", - "integrity": "sha512-JRedHNfK1CCPVyeGQB5w3WBYqMA6X8Q240CkvjlGfn0pVXihf9DWk3nkSQJVgYxpvpHfxdgjaYZ5IpMzlkmkhw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.10.tgz", + "integrity": "sha512-cu+Uq1nnyl00Glg0+2uvm+Xpaq5b4YvWpaLGGtit7uGETAJ4L/frlBVeaTRhEoaIAGBI+RRlyuFLae+etQDA0w==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.8.tgz", - "integrity": "sha512-OksDE4LWQUCcIvMjtZF7eiDCdIMrcMMpC1+Q0PIYi7KmnqXFGs4/Y0NdJvtn/LrQznzz5WaKM3ZDVNZTRX4wmw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.10.tgz", + "integrity": "sha512-CNFStKWMB89MFKAZZFUOhoQi+fHqRLgNOOrI73LjizXixvngEh3BDZJRtK9hbSGG+giujBrummEA60CWAw69MA==", "dev": true, "requires": { "@babel/core": "7.25.2", @@ -14435,41 +14451,41 @@ } }, "@angular/core": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.8.tgz", - "integrity": "sha512-NwIuX/Iby1jT6Iv1/s6S3wOFf8xfuQR3MPGvKhGgNtjXLbHG+TXceK9+QPZC0s9/Z8JR/hz+li34B79GrIKgUg==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.10.tgz", + "integrity": "sha512-EfxVz0pLaxnOppOYkdhnaUkk8HZT+uxaAGpJD3ppAa7YAWTE9xIGoNJmtS33cZNNOnvriMkdv7yn6pDtV4ct+Q==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.8.tgz", - "integrity": "sha512-JCLki7KC6D5vF6dE6yGlBmW33khIgpHs8N9SzuiJtkQqNDTIQA8cPsGV6qpLpxflxASynQOX5lDkWYdQyfm77Q==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.10.tgz", + "integrity": "sha512-2VprGB+enJIeqfz2oALmP/G/UiFzpZW6PHgyZXhk/0J/UMsa26JoYxwDFvfdm/WGTrB+VaQEG7in5xwiFPAFtQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.8.tgz", - "integrity": "sha512-EPai4ZPqSq3ilLJUC85kPi9wo5j5suQovwtgRyjM/75D9Qy4TV19g8hkVM5Co/zrltO8a2G6vDscCNI5BeGw2A==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.10.tgz", + "integrity": "sha512-zKyRKFr3AaEA4SE/DEeb5FWHJutT26avHZog6ZGDkMeMN12zMtSqjPuTSgmDXCWleoOkzbb+nhAQ+fK/EyGyPA==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.8.tgz", - "integrity": "sha512-poZoapDqyN/rxGKQ3C6esdPiPLMkSpP2v12hoEa12KHgfPk7T1e+a+NMyJjV8HeOY3WyvL7tGRhW0NPTajTkhw==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.10.tgz", + "integrity": "sha512-syKyOTgfQnMxfpDRP1khTSPZ5dsMgA8YQwNF6KsB3eZQl15CKSka7bzjMOUWeZ8M3WShOp1AzTf0MfwNeh0UBA==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.8.tgz", - "integrity": "sha512-L+olYgxIiBq+tbfayVI0cv1yOuymsw33msnGC2l/vpc9sSVfqGzESFnB4yMVU3vHtE9v6v2Y6O+iV44/b79W/g==", + "version": "18.2.10", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.10.tgz", + "integrity": "sha512-ZqJgOGOfvW0epsc7pIo7DffZqYHo3O9aUCVepZAhOxqtjF/sfhX2fy+A0xopTIiR0eM3LrT823V+2hjlBHj+CA==", "requires": { "tslib": "^2.3.0" } @@ -16345,9 +16361,9 @@ "optional": true }, "@ngtools/webpack": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.9.tgz", - "integrity": "sha512-/apDvs4qevjSWoYw3h3/c/mILFrf2EgCJfBy9f3E7PEgi2tjifOIszBRrLQkVpeHAaFgEH8zKS2ol0hAmOl8sw==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.11.tgz", + "integrity": "sha512-iTdUGJ5O7yMm1DyCzyoMDMxBJ68emUSSXPWbQzEEdcqmtifRebn+VAq4vHN8OmtGM1mtuKeLEsbiZP8ywrw7Ug==", "dev": true, "requires": {} }, @@ -16620,13 +16636,13 @@ "optional": true }, "@schematics/angular": { - "version": "18.2.9", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.9.tgz", - "integrity": "sha512-LlMHZQ6f8zrqSK24OBXi4u2MTNHNu9ZN6JXpbElq0bz/9QkUR2zy+Kk2wLpPxCwXYTZby7/xgHiTzXvG+zTdhw==", + "version": "18.2.11", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.11.tgz", + "integrity": "sha512-jT54mc9+hPOwie9bji/g2krVuK1kkNh2PNFGwfgCg3Ofmt3hcyOBai1DKuot5uLTX4VCCbvfwiVR/hJniQl2SA==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.9", - "@angular-devkit/schematics": "18.2.9", + "@angular-devkit/core": "18.2.11", + "@angular-devkit/schematics": "18.2.11", "jsonc-parser": "3.3.1" } }, @@ -16779,9 +16795,9 @@ } }, "@types/express-serve-static-core": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.0.tgz", - "integrity": "sha512-AbXMTZGt40T+KON9/Fdxx0B2WK5hsgxcfXJLr5bFpZ7b4JCex2WyQPTEKdXqfHiY5nKKBScZ7yCoO6Pvgxfvnw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.1.tgz", + "integrity": "sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==", "dev": true, "requires": { "@types/node": "*", @@ -16797,9 +16813,9 @@ "dev": true }, "@types/http-proxy": { - "version": "1.17.14", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", - "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", + "version": "1.17.15", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.15.tgz", + "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", "dev": true, "requires": { "@types/node": "*" @@ -17091,6 +17107,14 @@ "requires": { "mime-types": "~2.1.34", "negotiator": "0.6.3" + }, + "dependencies": { + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + } } }, "acorn": { @@ -17359,12 +17383,6 @@ "unpipe": "1.0.0" }, "dependencies": { - "bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true - }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -17454,9 +17472,9 @@ } }, "bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true }, "cacache": { @@ -17699,17 +17717,17 @@ } }, "compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.5.tgz", + "integrity": "sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==", "dev": true, "requires": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", + "bytes": "3.1.2", + "compressible": "~2.0.18", "debug": "2.6.9", + "negotiator": "~0.6.4", "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", + "safe-buffer": "5.2.1", "vary": "~1.1.2" }, "dependencies": { @@ -17727,6 +17745,12 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true } } }, @@ -17977,12 +18001,12 @@ "dev": true }, "debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "requires": { - "ms": "2.1.2" + "ms": "^2.1.3" } }, "default-browser": { @@ -18577,9 +18601,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "dev": true }, "foreground-child": { @@ -18909,17 +18933,25 @@ } }, "http-proxy-middleware": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.0.tgz", - "integrity": "sha512-36AV1fIaI2cWRzHo+rbcxhe3M3jUDCNzc4D5zRl57sEWRAxdXYtw7FSQKYY6PDKssiAKjLYypbssHk+xs/kMXw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.3.tgz", + "integrity": "sha512-usY0HG5nyDUwtqpiZdETNbmKtw3QQ1jwYFZ9wi5iHzX2BcILwQKtYDJPo7XHTsu5Z0B2Hj3W9NNnbd+AjFWjqg==", "dev": true, "requires": { - "@types/http-proxy": "^1.17.10", - "debug": "^4.3.4", + "@types/http-proxy": "^1.17.15", + "debug": "^4.3.6", "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.5" + "is-glob": "^4.0.3", + "is-plain-object": "^5.0.0", + "micromatch": "^4.0.8" + }, + "dependencies": { + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true + } } }, "https-proxy-agent": { @@ -19964,15 +19996,15 @@ "dev": true }, "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, "msgpackr": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.0.tgz", - "integrity": "sha512-I8qXuuALqJe5laEBYoFykChhSXLikZmUhccjGsPuSJ/7uPip2TJ7lwdIQwWSAi0jGZDXv4WOP8Qg65QZRuXxXw==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.2.tgz", + "integrity": "sha512-F9UngXRlPyWCDEASDpTf6c9uNhGPTqnTeLVt7bN+bU1eajoR/8V9ys2BRaV5C/e5ihE6sJ9uPIKaYt6bFuO32g==", "dev": true, "requires": { "msgpackr-extract": "^3.0.2" @@ -20051,9 +20083,9 @@ } }, "negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", "dev": true }, "neo-async": { @@ -20490,9 +20522,9 @@ "dev": true }, "parse5": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.0.tgz", - "integrity": "sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", "dev": true, "requires": { "entities": "^4.5.0" @@ -20788,14 +20820,6 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" - }, - "dependencies": { - "bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true - } } }, "readable-stream": { @@ -21162,12 +21186,6 @@ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true } } }, diff --git a/src/AngularComponents/package.json b/src/AngularComponents/package.json index c07ff1fa..50cfe727 100644 --- a/src/AngularComponents/package.json +++ b/src/AngularComponents/package.json @@ -10,22 +10,22 @@ "private": true, "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.8", - "@angular/common": "^18.2.8", - "@angular/compiler": "^18.2.8", - "@angular/core": "^18.2.8", - "@angular/forms": "^18.2.8", - "@angular/platform-browser": "^18.2.8", - "@angular/platform-browser-dynamic": "^18.2.8", - "@angular/router": "^18.2.8", + "@angular/animations": "^18.2.10", + "@angular/common": "^18.2.10", + "@angular/compiler": "^18.2.10", + "@angular/core": "^18.2.10", + "@angular/forms": "^18.2.10", + "@angular/platform-browser": "^18.2.10", + "@angular/platform-browser-dynamic": "^18.2.10", + "@angular/router": "^18.2.10", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.9", - "@angular/cli": "^18.2.9", - "@angular/compiler-cli": "^18.2.8", + "@angular-devkit/build-angular": "^18.2.11", + "@angular/cli": "^18.2.11", + "@angular/compiler-cli": "^18.2.10", "@types/node": "^12.11.1", "typescript": "~5.5.3" } diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js index 128439eb..905e0267 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js +++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{197:()=>{function no(e,n){return Object.is(e,n)}let Oe=null,$i=!1,zi=1;const zt=Symbol("SIGNAL");function K(e){const n=Oe;return Oe=e,n}const Rs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vc(e){if($i)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(e);const n=Oe.nextProducerIndex++;Ps(Oe),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yc(e){Ps(e);for(let n=0;n0}function Ps(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function gp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function mp(e){return void 0!==e.producerNode}const wc=Symbol("UNSET"),Dc=Symbol("COMPUTING"),Fs=Symbol("ERRORED"),cI={...Rs,value:wc,dirty:!0,error:null,equal:no,producerMustRecompute:e=>e.value===wc||e.value===Dc,producerRecomputeValue(e){if(e.value===Dc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Dc;const t=Ls(e);let i;try{i=e.computation()}catch(r){i=Fs,e.error=r}finally{_c(e,t)}n!==wc&&n!==Fs&&i!==Fs&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let vp=function uI(){throw new Error};function _p(){vp()}let Vs=null;function yp(e,n){fp()||_p(),e.equal(e.value,n)||(e.value=n,function gI(e){e.version++,function aI(){zi++}(),dp(e),Vs?.()}(e))}const pI={...Rs,equal:no,value:void 0};function Pe(e){return"function"==typeof e}function wp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const bc=wp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Pe(i))try{i()}catch(o){n=o instanceof bc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ep(o)}catch(s){n=n??[],s instanceof bc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new bc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ep(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hs(t,n)}remove(n){const{_finalizers:t}=this;t&&Hs(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Dp=It.EMPTY;function bp(e){return e instanceof It||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Ep(e){Pe(e)?e():e.unsubscribe()}const li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(e,n,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ip(e){Bs.setTimeout(()=>{const{onUnhandledError:n}=li;if(!n)throw e;n(e)})}function Mp(){}const vI=Ec("C",void 0,void 0);function Ec(e,n,t){return{kind:e,value:n,error:t}}let ci=null;function js(e){if(li.useDeprecatedSynchronousErrorHandling){const n=!ci;if(n&&(ci={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=ci;if(ci=null,t)throw i}}else e()}class Ic extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bp(n)&&n.add(this)):this.destination=EI}static create(n,t,i){return new Sc(n,t,i)}next(n){this.isStopped?Tc(function yI(e){return Ec("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Tc(function _I(e){return Ec("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Tc(vI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wI=Function.prototype.bind;function Mc(e,n){return wI.call(e,n)}class DI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Us(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Us(i)}else Us(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Us(t)}}}class Sc extends Ic{constructor(n,t,i){let r;if(super(),Pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&li.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Mc(n.next,o),error:n.error&&Mc(n.error,o),complete:n.complete&&Mc(n.complete,o)}):r=n}this.destination=new DI(r)}}function Us(e){li.useDeprecatedSynchronousErrorHandling?function CI(e){li.useDeprecatedSynchronousErrorHandling&&ci&&(ci.errorThrown=!0,ci.error=e)}(e):Ip(e)}function Tc(e,n){const{onStoppedNotification:t}=li;t&&Bs.setTimeout(()=>t(e,n))}const EI={closed:!0,next:Mp,error:function bI(e){throw e},complete:Mp},xc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Oc(e){return e}let Mt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function MI(e){return e&&e instanceof Ic||function II(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&bp(e)}(t)?t:new Sc(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Tp(i))((r,o)=>{const s=new Sc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[xc](){return this}pipe(...t){return function Sp(e){return 0===e.length?Oc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Tp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Tp(e){var n;return null!==(n=e??li.Promise)&&void 0!==n?n:Promise}const SI=wp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new xp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new SI}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Dp:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Hs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Mt;return t.source=this,t}}return e.create=(n,t)=>new xp(n,t),e})();class xp extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Dp}}class TI extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ui(e){return n=>{if(function xI(e){return Pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Bn(e,n,t,i,r){return new OI(e,n,t,i,r)}class OI extends Ic{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Nc(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>{i.next(e.call(n,o,r++))}))})}const Op="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Gi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Wi="__parameters__";function Qi(e,n,t){return bn(()=>{const i=function Ac(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Wi)?l[Wi]:Object.defineProperty(l,Wi,{value:[]})[Wi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function NI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const AI=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function B(e){return zs(e)?e():e}function zs(e){return"function"==typeof e&&e.hasOwnProperty(AI)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function En(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gs(e){return Lp(e,Ws)||Lp(e,kp)}function Lp(e,n){return e.hasOwnProperty(n)?e[n]:null}function qs(e){return e&&(e.hasOwnProperty(Lc)||e.hasOwnProperty(FI))?e[Lc]:null}const Ws=fe({\u0275prov:fe}),Lc=fe({\u0275inj:fe}),kp=fe({ngInjectableDef:fe}),FI=fe({ngInjectorDef:fe});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hc(e){return e&&!!e.\u0275providers}const ro=fe({\u0275cmp:fe}),Bc=fe({\u0275dir:fe}),jc=fe({\u0275pipe:fe}),Fp=fe({\u0275mod:fe}),In=fe({\u0275fac:fe}),oo=fe({__NG_ELEMENT_ID__:fe}),Vp=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Uc(e,n){throw new T(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let $c;function Hp(){return $c}function vt(e){const n=$c;return $c=e,n}function Bp(e,n,t){const i=Gs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void Uc()}const so={},zc="__NG_DI_FLAG__",Zs="ngTempTokenPath",$I=/\n/gm,jp="__source";let Yi;function Un(e){const n=Yi;return Yi=e,n}function qI(e,n=ie.Default){if(void 0===Yi)throw new T(-203,!1);return null===Yi?Bp(e,void 0,n):Yi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(Hp()||qI)(B(e),n)}function k(e,n=ie.Default){return oe(e,Qs(n))}function Qs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gc(e){const n=[];for(let t=0;tArray.isArray(t)?Ki(t,n):n(t))}function $p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ys(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let i=Ji(e,n);return i>=0?e[1|i]=t:(i=~i,function zp(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Qc(e,n){const t=Ji(e,n);if(t>=0)return e[1|t]}function Ji(e,n){return function Gp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(qt(i))return!1;s=!0}}}}else{if(!s&&!qt(i)&&!qt(l))return!1;if(s&&qt(l))continue;s=!1,i=l|1&i}}return qt(i)||s}function qt(e){return!(1&e)}function rM(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!qt(s)&&(n+=Jp(o,r),r=""),i=s,o=o||!qt(i);t++}return""!==r&&(n+=Jp(o,r)),n}function Wt(e){return bn(()=>{const n=eg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};tg(t);const i=e.dependencies;return t.directiveDefs=ea(i,!1),t.pipeDefs=ea(i,!0),t.id=function gM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function fM(e){return X(e)||Ue(e)}function hM(e){return null!==e}function zn(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xp(e,n){if(null==e)return an;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=$n.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==$n.None?[i,a]:i,n[o]=s):t[o]=i}return t}function $(e){return bn(()=>{const n=eg(e);return tg(n),n})}function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[ro]||null}function Ue(e){return e[Bc]||null}function Ye(e){return e[jc]||null}function eg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xp(e.inputs,n),outputs:Xp(e.outputs),debugInfo:null}}function tg(e){e.features?.forEach(n=>n(e))}function ea(e,n){if(!e)return null;const t=n?Ye:fM;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(hM)}function mM(...e){return{\u0275providers:Xc(0,e),\u0275fromNgModule:!0}}function Xc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Ki(n,s=>{const a=s;na(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ng(r,o),t}function ng(e,n){for(let t=0;t{n(o,i)})}}function na(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=qs(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qs(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)na(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ki(o.imports,u=>{na(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&ng(c,n)}if(!a){const c=di(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Yc,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;eu(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function eu(e,n){for(let t of e)Hc(t)&&(t=t.\u0275providers),Array.isArray(t)?eu(t,n):n(t)}const vM=fe({provide:String,useValue:fe});function tu(e){return null!==e&&"object"==typeof e&&vM in e}function hi(e){return"function"==typeof e}const nu=new R(""),ia={},yM={};let iu;function ra(){return void 0===iu&&(iu=new Js),iu}class Zt{}class Xi extends Zt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(n,s=>this.processProvider(s)),this.records.set(qp,er(void 0,this)),r.has("environment")&&this.records.set(Zt,er(void 0,this));const o=this.records.get(nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Yc,se,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),i=vt(void 0);try{return n()}finally{Un(t),vt(i)}}get(n,t=so,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vp))return n[Vp](this);i=Qs(i);const o=Un(this),s=vt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function EM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Gs(n);l=c&&this.injectableDefInScope(c)?er(ru(n),ia):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ra():this.parent).get(n,t=i&ie.Optional&&t===so?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Zs]=a[Zs]||[]).unshift(je(n)),o)throw a;return function ZI(e,n,t,i){const r=e[Zs];throw n[jp]&&r.unshift(n[jp]),e.message=function QI(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=je(n);if(Array.isArray(n))r=n.map(je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace($I,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{vt(s),Un(o)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),i=vt(void 0);try{const o=this.get(Mn,se,ie.Self);for(const s of o)s()}finally{Un(t),vt(i),K(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=hi(n=B(n))?n:B(n&&n.provide);const i=function wM(e){return tu(e)?er(void 0,e.useValue):er(og(e),ia)}(n);if(!hi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=er(void 0,ia,!0),r.factory=()=>Gc(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=K(null);try{return t.value===ia&&(t.value=yM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function bM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function ru(e){const n=Gs(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof R)throw new T(204,!1);if(e instanceof Function)return function CM(e){if(e.length>0)throw new T(204,!1);const t=function PI(e){return e&&(e[Ws]||e[kp])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function og(e,n,t){let i;if(hi(e)){const r=B(e);return di(r)||ru(r)}if(tu(e))i=()=>B(e.useValue);else if(function rg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Gc(e.deps||[]));else if(function ig(e){return!(!e||!e.useExisting)}(e))i=()=>oe(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function DM(e){return!!e.deps}(e))return di(r)||ru(r);i=()=>new r(...Gc(e.deps))}return i}function er(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ou(e,n){for(const t of e)Array.isArray(t)?ou(t,n):t&&Hc(t)?ou(t.\u0275providers,n):n(t)}const Se=0,x=1,P=2,Fe=3,Qt=4,Ke=5,at=6,nr=7,_e=8,Ve=9,ln=10,j=11,uo=12,lg=13,ir=14,Te=15,pi=16,rr=17,Sn=18,or=19,cg=20,Gn=21,sa=22,Vt=23,L=25,lu=1,cn=7,sr=9,Ne=10;var la=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(la||{});function ze(e){return Array.isArray(e)&&"object"==typeof e[lu]}function tt(e){return Array.isArray(e)&&!0===e[lu]}function cu(e){return!!(4&e.flags)}function gi(e){return e.componentOffset>-1}function ca(e){return!(1&~e.flags)}function Yt(e){return!!e.template}function ho(e){return!!(512&e[P])}class PM{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function pg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function un(){return gg}function gg(e){return e.type.prototype.ngOnChanges&&(e.setInput=VM),FM}function FM(){const e=vg(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function VM(e,n,t,i,r){const o=this.declaredInputs[i],s=vg(e)||function HM(e,n){return e[mg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new PM(c&&c.currentValue,t,l===an),pg(e,n,r,t)}un.ngInherit=!0;const mg="__ngSimpleChanges__";function vg(e){return e[mg]||null}const dn=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[Se];return e}function po(e,n){return ae(n[e])}function lt(e,n){return ae(n[e.index])}function go(e,n){return e.data[n]}function Ot(e,n){const t=n[e];return ze(t)?t:t[Se]}function pu(e){return!(128&~e[P])}function Ht(e,n){return null==n?null:e[n]}function Cg(e){e[rr]=0}function wg(e){1024&e[P]||(e[P]|=1024,pu(e)&&da(e))}function ua(e){return!!(9216&e[P]||e[Vt]?.dirty)}function gu(e){e[ln].changeDetectionScheduler?.notify(8),64&e[P]&&(e[P]|=1024),ua(e)&&da(e)}function da(e){e[ln].changeDetectionScheduler?.notify(0);let n=Tn(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,pu(n));)n=Tn(n)}function fa(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[Gn]&&(e[Gn]=[]),e[Gn].push(n)}function Tn(e){const n=e[Fe];return tt(n)?n[Fe]:n}const U={lFrame:Lg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let bg=!1;function Eg(){return U.bindingsEnabled}function D(){return U.lFrame.lView}function J(){return U.lFrame.tView}function z(e){return U.lFrame.contextLView=e,e[_e]}function G(e){return U.lFrame.contextLView=null,e}function he(){let e=Ig();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ig(){return U.lFrame.currentTNode}function Kt(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function _u(){return U.lFrame.isParent}function yu(){U.lFrame.isParent=!1}function Tg(){return bg}function xg(e){bg=e}function ct(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Jt(){return U.lFrame.bindingIndex++}function On(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XM(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Cu(n)}function Cu(e){U.lFrame.currentDirectiveIndex=e}function Du(){return U.lFrame.currentQueryIndex}function pa(e){U.lFrame.currentQueryIndex=e}function t0(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ke]:null}function Ag(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=t0(o),null===r||(o=o[ir],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=Rg();return i.currentTNode=n,i.lView=e,!0}function bu(e){const n=Rg(),t=e[x];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Rg(){const e=U.lFrame,n=null===e?null:e.child;return null===n?Lg(e):n}function Lg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function kg(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pg=kg;function Eu(){const e=kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return U.lFrame.selectedIndex}function _i(e){U.lFrame.selectedIndex=e}function ye(){const e=U.lFrame;return go(e.tView,e.selectedIndex)}let Hg=!0;function vo(){return Hg}function fn(e){Hg=e}function ga(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[rr]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,jg(a,o)):jg(a,o)}const ar=-1;class _o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const Su={};class yi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Qs(i);const r=this.injector.get(n,Su,i);return r!==Su||t===Su?r:this.parentInjector.get(n,t,i)}}function Tu(e){return e!==ar}function yo(e){return 32767&e}function Co(e,n){let t=function h0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ir],t--;return i}let xu=!0;function _a(e){const n=xu;return xu=e,n}const $g=255,zg=5;let g0=0;const hn={};function ya(e,n){const t=Gg(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Ou(i.data,e),Ou(n,null),Ou(i.blueprint,null));const r=Ca(e,n),o=e.injectorIndex;if(Tu(r)){const s=yo(r),a=Co(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Ou(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ca(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Jg(r),null===i)return ar;if(t++,r=r[ir],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return ar}function Nu(e,n,t){!function m0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(oo)&&(i=t[oo]),null==i&&(i=t[oo]=g0++);const r=i&$g;n.data[e+(r>>zg)]|=1<=0?n&$g:C0:n}(t);if("function"==typeof o){if(!Ag(n,e,i))return i&ie.Host?qg(r,0,i):Wg(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;Uc()}finally{Pg()}}else if("number"==typeof o){let s=null,a=Gg(e,n),l=ar,c=i&ie.Host?n[Te][Ke]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Ca(e,n):n[a+8],l!==ar&&Kg(i,!1)?(s=n[x],a=yo(l),n=Co(l,n)):a=-1);-1!==a;){const u=n[x];if(Yg(o,a,u.data)){const d=_0(a,n,t,s,i,c);if(d!==hn)return d}l=n[a+8],l!==ar&&Kg(i,n[x].data[a+8]===c)&&Yg(o,a,n)?(s=u,a=yo(l),n=Co(l,n)):a=-1}}return r}function _0(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],u=wa(a,s,t,null==i?gi(a)&&xu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?Ci(n,s,u,a):hn}function wa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Yt(p)&&p.type===t)return l}return null}function Ci(e,n,t,i){let r=e[t];const o=n.data;if(function c0(e){return e instanceof _o}(r)){const s=r;s.resolving&&function BI(e,n){throw n&&n.join(" > "),new T(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=_a(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?vt(s.injectImpl):null;Ag(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function a0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=gg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&vt(c),_a(a),s.resolving=!1,Pg()}}return r}function Yg(e,n,t){return!!(t[n+(e>>zg)]&1<{const n=e.prototype.constructor,t=n[In]||Au(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[In]||Au(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Au(e){return zs(e)?()=>{const n=Au(B(e));return n&&n()}:di(e)}function Jg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ke]:null}function im(e,n=null,t=null,i){const r=rm(e,n,t,i);return r.resolveInjectorInitializers(),r}function rm(e,n=null,t=null,i,r=new Set){const o=[t||se,mM(e)];return i=i||("object"==typeof e?void 0:je(e)),new Xi(o,n||ra(),i||null,r)}class it{static#e=this.THROW_IF_NOT_FOUND=so;static#t=this.NULL=new Js;static create(n,t){if(Array.isArray(n))return im({name:""},t,n,"");{const i=n.name??"";return im({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=ne({token:it,providedIn:"any",factory:()=>oe(qp)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new T(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new T(204,!1)};function Lu(e){return e.ngOriginalError}const sm=!0;let wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class O0 extends wo{constructor(n){super(),this._lView=n}onDestroy(n){return fa(this._lView,n),()=>function mu(e,n){if(null===e[Gn])return;const t=e[Gn].indexOf(n);-1!==t&&e[Gn].splice(t,1)}(this._lView,n)}}function N0(){return new O0(D())}let ur=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new TI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ce=class A0 extends sn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function sg(){return void 0!==Hp()||null!=function GI(){return Yi}()}()&&(this.destroyRef=k(wo,{optional:!0})??void 0,this.pendingTasks=k(ur,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof It&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Ea(...e){}function am(e){let n,t;function i(){e=Ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function lm(e){return queueMicrotask(()=>e()),()=>{e=Ea}}const ku="isAngularZone",Ia=ku+"_ID";let R0=0;class pe{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=sm}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function P0(e){const n=()=>{!function k0(e){function n(){am(()=>{e.callbackScheduled=!1,Fu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Fu(e))}(e)},t=R0++;e._inner=e._inner.fork({name:"angular",properties:{[ku]:!0,[Ia]:t,[Ia+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function F0(e){return dm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return cm(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),um(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return cm(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function V0(e){return dm(e,"__scheduler_tick__")}(l)&&n(),um(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Fu(e),Pu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ku)}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,L0,Ea,Ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const L0={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Fu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function um(e){e._nesting--,Pu(e)}class Vu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function dm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lu(n);for(;t&&Lu(t);)t=Lu(t);return t||null}}const B0=new R("",{providedIn:"root",factory:()=>{const e=k(pe),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function j0(){return dr(he(),D())}function dr(e,n){return new ut(lt(e,n))}let ut=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=j0}return e})();function hm(e){return e instanceof ut?e.nativeElement:e}function U0(){return this._results[Symbol.iterator]()}class Hu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Hu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=U0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;icS}),cS="ng",Rm=new R(""),wi=new R("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new R("",{providedIn:"root",factory:()=>qn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let km=()=>null;function Ku(e,n,t=!1){return km(e,n,t)}const $m=new R("",{providedIn:"root",factory:()=>!1});let La,ka;function mr(e){return function nd(){if(void 0===La&&(La=null,be.trustedTypes))try{La=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}function qm(e){return function id(){if(void 0===ka&&(ka=null,be.trustedTypes))try{ka=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}class Qm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Op})`}}function Wn(e){return e instanceof Qm?e.changingThisBreaksApplicationSecurity:e}function Oo(e,n){const t=function TS(e){return e instanceof Qm&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Op})`)}return t===n}class xS{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(mr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class OS{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=mr(n),t}}const AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(e){return(e=String(e)).match(AS)?e:"unsafe:"+e}function Nn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function No(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Km=Nn("area,br,col,hr,img,wbr"),Jm=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xm=Nn("rp,rt"),od=No(Km,No(Jm,Nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),No(Xm,Nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),No(Xm,Jm)),sd=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ev=No(sd,Nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),RS=Nn("script,style,template");class LS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FS(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=PS(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=tv(n).toLowerCase();if(!od.hasOwnProperty(t))return this.sanitizedSomething=!0,!RS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=tv(n).toLowerCase();od.hasOwnProperty(t)&&!Km.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(iv(n))}}function PS(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw nv(n);return n}function FS(e){const n=e.firstChild;if(n&&function kS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw nv(n);return n}function tv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function nv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const VS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HS=/([^\#-~ |!])/g;function iv(e){return e.replace(/&/g,"&").replace(VS,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(HS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function ad(e){return"content"in e&&function jS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vr||{});function rv(e){const n=Ao();return n?qm(n.sanitize(vr.HTML,e)||""):Oo(e,"HTML")?qm(Wn(e)):function BS(e,n){let t=null;try{Pa=Pa||function Ym(e){const n=new OS(e);return function NS(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch{return!1}}()?new xS(n):n}(e);let i=n?String(n):"";t=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pa.getInertBodyElement(i)}while(i!==o);return mr((new LS).sanitizeChildren(ad(t)||t))}finally{if(t){const i=ad(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(qn(),W(e))}function Zn(e){const n=Ao();return n?n.sanitize(vr.URL,e)||"":Oo(e,"URL")?Wn(e):rd(W(e))}function Ao(){const e=D();return e&&e[ln].sanitizer}const ZS=/^>|^->||--!>|)/g,YS="\u200b$1\u200b";function Ha(e){return e.ownerDocument.defaultView}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{});let ud;function dd(e,n){return ud(e,n)}function yr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:ze(i)&&(s=!0,i=i[Se]);const a=ae(i);0===e&&null!==t?null==r?_v(n,t,a):bi(n,t,a,r||null,!0):1===e&&null!==t?bi(n,t,a,r||null,!0):2===e?function Lo(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function gT(e,n,t,i,r){const o=t[cn];o!==ae(t)&&yr(n,e,i,o,r);for(let a=Ne;an.replace(QS,YS))}(n))}function Ba(e,n,t){return e.createElement(n,t)}function gv(e,n){n[ln].changeDetectionScheduler?.notify(9),$a(e,n,n[j],2,null,null)}function mv(e,n){const t=e[sr],i=n[Fe];(ze(i)||n[Te]!==i[Fe][Te])&&(e[P]|=la.HasTransplantedViews),null===t?e[sr]=[n]:t.push(n)}function pd(e,n){const t=e[sr],i=t.indexOf(n);t.splice(i,1)}function Ro(e,n){if(e.length<=Ne)return;const t=Ne+n,i=e[t];if(i){const r=i[pi];null!==r&&r!==e&&pd(r,i),n>0&&(e[t-1][Qt]=i[Qt]);const o=Ys(e,Ne+n);!function aT(e,n){gv(e,n),n[Se]=null,n[Ke]=null}(i[x],i);const s=o[Sn];null!==s&&s.detachView(o[x]),i[Fe]=null,i[Qt]=null,i[P]&=-129}return i}function ja(e,n){if(!(256&n[P])){const t=n[j];t.destroyNode&&$a(e,n,t,3,null,null),function cT(e){let n=e[uo];if(!n)return gd(e[x],e);for(;n;){let t=null;if(ze(n))t=n[uo];else{const i=n[Ne];i&&(t=i)}if(!t){for(;n&&!n[Qt]&&n!==e;)ze(n)&&gd(n[x],n),n=n[Fe];null===n&&(n=e),ze(n)&&gd(n[x],n),t=n&&n[Qt]}n=t}}(n)}}function gd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[Vt]&&Cc(n[Vt]),function fT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[nr]=null);const r=n[Gn];if(null!==r){n[Gn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return lt(i,t)}}(e,n.parent,t)}function bi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function _v(e,n,t){e.appendChild(n,t)}function yv(e,n,t,i,r){null!==i?bi(e,n,t,i,r):_v(e,n,t)}function vd(e,n){return e.parentNode(n)}let _d,Dv=function wv(e,n,t){return 40&e.type?lt(e,t):null};function Ua(e,n,t,i){const r=md(e,i,n),o=n[j],a=function Cv(e,n,t){return Dv(e,n,t)}(i.parent||n[Ke],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lL&&xv(e,n,L,!1),dn(s?2:0,r),t(i,r)}finally{_i(o),dn(s?3:1,r)}}function Dd(e,n,t){if(cu(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Lv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=$n.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?kv(i,t,c,a,l):kv(i,t,c,a)}return i}function kv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function wt(e,n,t,i,r,o,s,a){const l=lt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(Od(e,t,u,i,r),gi(n)&&function xT(e,n){const t=Ot(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function TT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Md(e,n,t,i){if(Eg()){const r=null===i?null:{"":-1},o=function kT(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ko(e,t,r.hostVars,Z),r)}function gn(e,n,t,i,r,o){const s=lt(e,n);!function Td(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function jT(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{da(e.lView)},consumerOnSignalRead(){this.lView[Vt]=this}},KT={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Tn(e.lView);for(;n&&!qv(n[x]);)n=Tn(n);n&&wg(n)},consumerOnSignalRead(){this.lView[Vt]=this}};function qv(e){return 2!==e.type}const JT=100;function Wa(e,n=!0,t=0){const i=e[ln],r=i.rendererFactory;r.begin?.();try{!function XT(e,n){const t=Tg();try{xg(!0),Rd(e,n);let i=0;for(;ua(e);){if(i===JT)throw new T(103,!1);i++,Rd(e,1)}}finally{xg(t)}}(e,t)}catch(s){throw n&&qa(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function ex(e,n,t,i){const r=n[P];if(!(256&~r))return;n[ln].inlineEffectRunner?.flush(),bu(n);let a=!0,l=null,c=null;qv(e)?(c=function qT(e){return e[Vt]??function WT(e){const n=Gv.pop()??Object.create(QT);return n.lView=e,n}(e)}(n),l=Ls(c)):null===function cp(){return Oe}()?(a=!1,c=function YT(e){const n=e[Vt]??Object.create(KT);return n.lView=e,n}(n),l=Ls(c)):n[Vt]&&(Cc(n[Vt]),n[Vt]=null);try{Cg(n),function Og(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Nv(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ma(n,p,null)}else{const p=e.preOrderHooks;null!==p&&va(n,p,0,null),Iu(n,0)}if(function tx(e){for(let n=bm(e);null!==n;n=Em(n)){if(!(n[P]&la.HasTransplantedViews))continue;const t=n[sr];for(let i=0;i-1&&(Ro(n,i),Ys(t,i))}this._attachedToViewContainer=!1}ja(this._lView[x],this._lView)}onDestroy(n){fa(this._lView,n)}markForCheck(){Fo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){gu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Wa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ho(this._lView),t=this._lView[pi];null!==t&&!n&&pd(t,this._lView),gv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;const t=ho(this._lView),i=this._lView[pi];null!==i&&!t&&mv(i,this._lView),gu(this._lView)}}let Rn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ox}return e})();const ix=Rn,rx=class extends ix{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function Cr(e,n,t,i){const r=K(null);try{const o=n.tView,l=za(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[pi]=e[n.index];const u=e[Sn];return null!==u&&(l[Sn]=u.createEmbeddedView(o)),Nd(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Vo(r)}};function ox(){return Za(he(),D())}function Za(e,n){return 4&e.type?new rx(n,e,dr(e,n)):null}class br{}const qo=new R("",{providedIn:"root",factory:()=>!1}),__=new R(""),zd=new R("");class Kx{}class y_{}class Xx{resolveComponentFactory(n){throw function Jx(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}class el{static#e=this.NULL=new Xx}class Gd{}let Xt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function eO(){const e=D(),t=Ot(he().index,e);return(ze(t)?t:e)[j]}()}return e})(),tO=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function nl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Sv(e,t,o.join(" "))}}(h,Me,g,i),void 0!==t&&function dO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hO}return e})();function hO(){return S_(he(),D())}const pO=mn,I_=class extends pO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ca(this._hostTNode,this._hostLView);if(Tu(n)){const t=Co(n,this._hostLView),i=yo(n);return new Ge(t[x].data[i+8],t)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=M_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ne}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Mi(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function co(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new Qo(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Zt,null);C&&(o=C)}X(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Mi(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function $M(e){return tt(e[Fe])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Fe],c=new I_(l,l[Ke],l[Fe]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function wr(e,n,t,i=!0){const r=n[x];if(function uT(e,n,t,i){const r=Ne+i,o=t.length;i>0&&(t[r-1][Qt]=n),i!1;class Yd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Yd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Jd{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ne;d(vc(n),n.value);return t[zt]=n,t}(e),i=t[zt];return n?.equal&&(i.equal=n.equal),t.set=r=>yp(i,r),t.update=r=>function hI(e,n){fp()||_p(),yp(e,n(e.value))}(i,r),t.asReadonly=B_.bind(t),t}function B_(){const e=this[zt];if(void 0===e.readonlyFn){const n=()=>this();n[zt]=e,e.readonlyFn=n}return e.readonlyFn}function j_(e){return function H_(e){return"function"==typeof e&&void 0!==e[zt]}(e)&&"function"==typeof e.set}function ce(e){let n=function J_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Yt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rl(e.inputs),s.inputTransforms=rl(e.inputTransforms),s.declaredInputs=rl(e.declaredInputs),s.outputs=rl(e.outputs);const a=r.hostBindings;a&&VO(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&PO(e,l),c&&FO(e,c),LO(e,r),NI(e.outputs,r.outputs),Yt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=lo(r.hostAttrs,t=lo(t,r.hostAttrs))}}(i)}function LO(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rl(e){return e===an?{}:e===se?[]:e}function PO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function FO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function VO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Oi{}class GO{}class of extends Oi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new b_(this);const o=function et(e,n){const t=e[Fp]||null;if(!t&&!0===n)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=rm(n,t,[{provide:Oi,useValue:this},{provide:el,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class sf extends GO{constructor(n){super(),this.moduleType=n}create(n){return new of(this.moduleType,n,[])}}function ol(e){return!!af(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function af(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vn(e,n,t){return e[n]=t}function Ae(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ni(e,n,t,i){const r=Ae(e,n,t);return Ae(e,n+1,i)||r}function Jo(e,n,t,i,r,o,s,a,l,c){const u=t+L,d=n.firstCreatePass?function JO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ii(n,e,4,s||null,a||null);Md(n,t,u,Ht(c,l)),ga(n,u);const d=u.tView=Id(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Kt(d,!1);const h=ry(n,e,d,t);vo()&&Ua(n,e,h,d),rt(h,e);const p=Vv(h,e,h,d);return e[u]=p,Ga(e,p),function x_(e,n,t){return Qd(e,n,t)}(p,d,e),ca(d)&&bd(n,e,d),null!=l&&Ed(e,d,c),d}function V(e,n,t,i,r,o,s,a){const l=D(),c=J();return Jo(l,c,e,n,t,i,r,Ht(c.consts,o),s,a),V}let ry=function oy(e,n,t,i){return fn(!0),n[j].createComment("")};var Tr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tr||{});let dy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();class ts{constructor(){this.ngZone=k(pe),this.scheduler=k(br),this.errorHandler=k(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tr.EarlyRead,Tr.Write,Tr.MixedReadWrite,Tr.Read];execute(){this.executing=!0;for(const n of ts.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ne({token:ts,providedIn:"root",factory:()=>new ts})}function ft(e,n,t,i){const r=D();return Ae(r,Jt(),n)&&(J(),gn(ye(),r,e,n,t,i)),ft}function kr(e,n,t,i){return Ae(e,Jt(),t)?n+W(t)+i:Z}function fl(e,n){return e<<17|n<<2}function Jn(e){return e>>17&32767}function yf(e){return 2|e}function Ri(e){return(131068&e)>>2}function Cf(e,n){return-131069&e|n<<2}function wf(e){return 1|e}function Hy(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Jn(r):Ri(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];BN(e[s],n)&&(a=!0,e[s+1]=i?wf(c):yf(c)),s=i?Jn(c):Ri(c)}a&&(e[t+1]=i?yf(r):wf(r))}function BN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ji(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function By(e){return e.substring(qe.key,qe.keyEnd)}function jy(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function zN(e,n,t){for(;n32;)n++;return n}(e,qe.key=n,t),$r(e,n,t))}function $r(e,n,t){for(;n=0;t=jy(n,t))xt(e,By(n),!0)}function en(e,n,t,i){const r=D(),o=J(),s=On(2);o.firstUpdatePass&&Wy(o,e,s,i),n!==Z&&Ae(r,s,n)&&Qy(o,o.data[Je()],r,r[j],e,r[s+1]=function n1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je(Wn(e)))),e}(n,t),i,s)}function qy(e,n){return n>=e.expandoStartIndex}function Wy(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=qy(e,t);Ky(o,i)&&null===n&&!s&&(n=!1),n=function QN(e,n,t,i){const r=function wu(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=is(t=bf(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=bf(r,e,n,t,i),null===o){let l=function YN(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ri(i))return e[Jn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=bf(null,e,n,l[1],i),l=is(l,n.attrs,i),function KN(e,n,t,i){e[Jn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function JN(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Jn(e[a+1]);e[i+1]=fl(h,a),0!==h&&(e[h+1]=Cf(e[h+1],i)),e[a+1]=function PN(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fl(a,0),0!==a&&(e[a+1]=Cf(e[a+1],i)),a=i;else e[i+1]=fl(l,0),0===a?a=i:e[l+1]=Cf(e[l+1],i),l=i;c&&(e[i+1]=yf(e[i+1])),Hy(e,u,i,!0),Hy(e,u,i,!1),function HN(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ji(o,n)>=0&&(t[i+1]=wf(t[i+1]))}(n,u,e,i,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function bf(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Z&&(h=d?se:void 0);let p=d?Qc(h,i):u===i?h:void 0;if(c&&!pl(p)&&(p=Qc(l,i)),pl(p)&&(a=p,s))return a;const g=e[r+1];r=s?Jn(g):Ri(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Qc(l,i))}return a}function pl(e){return void 0!==e}function Ky(e,n){return!!(e.flags&(n?8:16))}function Cn(e,n,t){!function tn(e,n,t,i){const r=J(),o=On(2);r.firstUpdatePass&&Wy(r,null,o,i);const s=D();if(t!==Z&&Ae(s,o,t)){const a=r.data[Je()];if(Ky(a,i)&&!qy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Rc(l,t||"")),Df(r,a,s,t,i)}else!function t1(e,n,t,i,r,o,s,a){r===Z&&(r=se);let l=0,c=0,u=0(fn(!0),Ba(i,r,function Vg(){return U.lFrame.currentNamespace}()));function ee(e,n,t){const i=D(),r=J(),o=e+L,s=r.firstCreatePass?function S1(e,n,t,i,r){const o=n.consts,s=Ht(o,i),a=Ii(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),Md(n,t,a,Ht(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Kt(s,!0);const a=iC(r,i,s,e);return i[o]=a,vo()&&Ua(r,i,a,s),rt(a,i),ca(s)&&(bd(r,i,s),Dd(r,s,i)),null!=t&&Ed(i,s),ee}function te(){let e=he();const n=J();return _u()?yu():(e=e.parent,Kt(e,!1)),n.firstCreatePass&&(ga(n,e),cu(e)&&n.queries.elementEnd(e)),te}let iC=(e,n,t,i)=>(fn(!0),hd(n[j],""));function Ee(){return D()}const ml="en-US";let lC=ml,MC=(e,n,t)=>{};function q(e,n,t,i){const r=D(),o=J(),s=he();return xf(o,r,r[j],s,e,n,i),q}function xf(e,n,t,i,r,o,s){const a=ca(i),c=e.firstCreatePass&&jv(e),u=n[_e],d=Bv(n);let h=!0;if(3&i.type||s){const C=lt(i,n),b=s?s(C):C,M=d.length,w=s?Q=>s(ae(Q[i.index])):i.index;let F=null;if(!s&&a&&(F=function CA(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,h=!1;else{o=OC(i,n,u,o),MC(C,r,o);const Q=t.listen(b,r,o);d.push(o,Q),c&&c.push(r,w,M,M+1)}}else o=OC(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let b=0;b-1?Ot(e.index,n):n,5);let a=xC(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=xC(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function n0(e){return(U.lFrame.contextLView=function Dg(e,n){for(;e>0;)n=n[ir],e--;return n}(e,U.lFrame.contextLView))[_e]}(e)}function kn(e,n,t){return Of(e,"",n,"",t),kn}function Of(e,n,t,i,r){const o=D(),s=kr(o,n,t,i);return s!==Z&&wt(J(),ye(),o,e,s,o[j],r,!1),Of}function HC(e,n,t,i){!function k_(e,n,t,i){const r=J();if(r.firstCreatePass){const o=he();P_(r,new N_(n,t,i),o.index),function EO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return R_(r,D(),t)}(e,n,t,i)}function Lt(e,n,t){!function L_(e,n,t){const i=J();return i.firstCreatePass&&(P_(i,new N_(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),R_(i,D(),n)}(e,n,t)}function bt(e){const n=D(),t=J(),i=Du();pa(i+1);const r=nf(t,i);if(e.dirty&&function UM(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=F_(n,i);e.reset(o,hm),e.notifyOnChanges()}return!0}return!1}function Et(){return function tf(e,n){return e[Sn].queries[n].queryList}(D(),Du())}function E(e,n=""){const t=D(),i=J(),r=e+L,o=i.firstCreatePass?Ii(i,r,1,n,null):i.data[r],s=QC(i,t,o,n,e);t[r]=s,vo()&&Ua(i,t,s,o),Kt(o,!1)}let QC=(e,n,t,i,r)=>(fn(!0),function fd(e,n){return e.createText(n)}(n[j],i));function N(e){return Y("",e,""),N}function Y(e,n,t){const i=D(),r=kr(i,e,n,t);return r!==Z&&function An(e,n,t){const i=po(n,e);!function pv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,Je(),r),Y}function Xe(e,n,t){j_(n)&&(n=n());const i=D();return Ae(i,Jt(),n)&&wt(J(),ye(),i,e,n,i[j],t,!1),Xe}function xe(e,n){const t=j_(e);return t&&e.set(n),t}function ot(e,n){const t=D(),i=J(),r=he();return xf(i,t,t[j],r,e,n),ot}function Af(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new _o(c,r,S),g=Lf(l,n,r?u:u+h,d);-1===g?(Nu(ya(a,s),o,l),Rf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Lf(l,n,u+h,d),g=Lf(l,n,u,u+h),b=g>=0&&t[g];if(r&&!b||!r&&!(p>=0&&t[p])){Nu(ya(a,s),o,l);const M=function GA(e,n,t,i,r){const o=new _o(e,t,S);return o.multi=[],o.index=n,o.componentProviders=0,sw(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&b&&(t[g].providerFactory=M),Rf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else Rf(o,e,p>-1?p:g,sw(t[r?g:p],c,!r&&i));!r&&i&&b&&t[g].componentProviders++}}}function Rf(e,n,t,i){const r=hi(n),o=function _M(e){return!!e.useClass}(n);if(r||o){const l=(o?B(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function sw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=J();if(i.firstCreatePass){const r=Yt(e);Af(t,i.data,i.blueprint,r,!0),Af(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function cs(e,n,t,i){return function cw(e,n,t,i,r,o){const s=n+t;return Ae(e,s,r)?vn(e,s+1,o?i.call(o,r):i(r)):us(e,s+1)}(D(),ct(),e,n,t,i)}function Pf(e,n,t,i,r){return function uw(e,n,t,i,r,o,s){const a=n+t;return Ni(e,a,r,o)?vn(e,a+2,s?i.call(s,r,o):i(r,o)):us(e,a+2)}(D(),ct(),e,n,t,i,r)}function We(e,n,t,i,r,o){return dw(D(),ct(),e,n,t,i,r,o)}function us(e,n){const t=e[n];return t===Z?void 0:t}function dw(e,n,t,i,r,o,s,a){const l=n+t;return function sl(e,n,t,i,r){const o=Ni(e,n,t,i);return Ae(e,n+2,r)||o}(e,l,r,o,s)?vn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):us(e,l+3)}function gw(e,n,t,i,r){const o=e+L,s=D(),a=function mi(e,n){return e[n]}(s,o);return function ds(e,n){return e[x].data[n].pure}(s,o)?dw(s,ct(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const kw=new R(""),Il=new R("");let zf,Uf=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,zf||(function iL(e){zf=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(pe),oe($f),oe(Il))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),$f=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}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,i=!0){return zf?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ml(e){return!!e&&"function"==typeof e.then}function Pw(e){return!!e&&"function"==typeof e.subscribe}const rL=new R("");let Fw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(rL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ml(o))t.push(o);else if(Pw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Gf=new R("");function Hw(e,n){return Array.isArray(n)?n.reduce(Hw,e):{...e,...n}}let Pn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(B0),this.afterRenderManager=k(dy),this.zonelessEnabled=k(qo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new sn,this.afterTick=new sn,this.componentTypes=[],this.components=[],this.isStable=k(ur).hasPendingTasks.pipe(Nc(t=>!t)),this._injector=k(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof y_;if(!this._injector.get(Fw).done)throw!r&&function fi(e){const n=X(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(el).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function oL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(it.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(kw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);const t=K(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,K(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Gd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)lL(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>ua(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Gf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Sl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function lL(e,n,t,i){(t||ua(e))&&Wa(e,n,t&&!i?0:1)}let fL=(()=>{class e{constructor(){this.zone=k(pe),this.changeDetectionScheduler=k(br),this.applicationRef=k(Pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qf({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new pe({...Wf(),scheduleInRootZone:t}),[{provide:pe,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=k(fL,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=k(pL);return()=>{i.initialize()}}},!0===n?{provide:__,useValue:!0}:[],{provide:zd,useValue:t??sm}]}function Wf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let pL=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=k(pe),this.pendingTasks=k(ur)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ps=(()=>{class e{constructor(){this.appRef=k(Pn),this.taskService=k(ur),this.ngZone=k(pe),this.zonelessEnabled=k(qo),this.disableScheduling=k(__,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new It,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(zd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Vu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?lm:am;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new R("",{providedIn:"root",factory:()=>k(Xn,ie.Optional|ie.SkipSelf)||function gL(){return typeof $localize<"u"&&$localize.locale||ml}()}),xl=new R("");function Ol(e){return!e.moduleRef}let qw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[qf({ngZoneFactory:()=>function H0(e="zone.js",n){return"noop"===e?new Vu:"zone.js"===e?new pe(n):e}(i?.ngZone,{...Wf({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:br,useExisting:ps}],l=function WO(e,n,t){return new of(e,n,t,!1)}(t.moduleType,this.injector,a);return function Gw(e){const n=Ol(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{Ol(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(pn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Ol(e)){const o=()=>n.destroy(),s=e.platformInjector.get(xl);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(xl);s.add(o),e.moduleRef.onDestroy(()=>{Sl(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function aL(e,n,t){try{const i=t();return Ml(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(Fw);return o.runInitializers(),o.donePromise.then(()=>{if(function P1(e){"string"==typeof e&&(lC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Xn,ml)||ml),Ol(e)){const a=n.get(Pn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function wL(e,n){const t=e.injector.get(Pn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new T(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=Hw({},i);return function dL(e,n,t){const i=new sf(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(xl,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(it))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ei=null;const Ww=new R("");function Zw(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=Qf();if(!s||s.injector.get(Ww,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function DL(e){if(ei&&!ei.get(Ww,!1))throw new T(400,!1);(function Vw(){!function dI(e){vp=e}(()=>{throw new T(600,!1)})})(),ei=e;const n=e.get(qw);(function Yw(e){e.get(Rm,null)?.forEach(t=>t())})(e)}(function Qw(e=[],n){return it.create({name:n,providers:[{provide:nu,useValue:"platform"},{provide:xl,useValue:new Set([()=>ei=null])},...e]})}(a,i))}return function bL(){const n=Qf();if(!n)throw new T(401,!1);return n}()}}function Qf(){return ei?.get(qw)??null}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IL}return e})();function IL(e){return function ML(e,n,t){if(gi(e)&&!t){const i=Ot(e.index,n);return new Vo(i,i)}return 175&e.type?new Vo(n[Te],n):null}(he(),D(),!(16&~e))}class tD{constructor(){}supports(n){return ol(n)}create(n){return new NL(n)}}const OL=(e,n)=>n;class NL{constructor(n){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=n||OL}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new AL(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new nD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class AL{constructor(n,t){this.item=n,this.trackById=t,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 RL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class nD{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new RL,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iD(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new kL(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class kL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function oD(){return new eh([new tD])}let eh=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:oD});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||oD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function sD(){return new Rl([new rD])}let Rl=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:sD});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||sD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const VL=Zw(null,"core",[]);let HL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Pn))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function _s(e,n){dt("NgSignals");const t=function lI(e){const n=Object.create(cI);n.computation=e;const t=()=>{if(up(n),vc(n),n.value===Fs)throw n.error;return n.value};return t[zt]=n,t}(e);return n?.equal&&(t[zt].equal=n.equal),t}function wn(e){const n=K(null);try{return e()}finally{K(n)}}let xD=null;function ys(){return xD}class bk{}const Fi=new R(""),hh=/\s+/,VD=[];let Zr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=VD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(hh):VD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(hh):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(hh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class dP{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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 Vi=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new dP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),BD(a,r)}});for(let r=0,o=i.length;r{BD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn),S(eh))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function BD(e,n){e.context.$implicit=n.item}let Hn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new fP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jD("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,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class fP{constructor(){this.$implicit=null,this.ngIf=null}}function jD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let $D=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,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,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Qn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Rl),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),zD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[un]})}return e})();let qD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function rn(e,n){return new T(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=yt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),WD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function QD(e){return"server"===e}class pF extends bk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wh extends pF{static makeCurrent(){!function Dk(e){xD??=e}(new wh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function gF(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==t?null:function mF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function cP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let bs=null,_F=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Dh=new R("");let sb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Dh),oe(pe))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class ab{constructor(n){this._doc=n}}const bh="ng-app-id";let lb=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=QD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${bh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(bh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(bh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi),oe(hr),oe(Lm,8),oe(wi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ih=/%COMP%/g,DF=new R("",{providedIn:"root",factory:()=>!0});function ub(e,n){return n.map(t=>t.replace(Ih,e))}let db=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=QD(a),this.defaultRenderer=new Mh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gt.ShadowDom&&(i={...i,encapsulation:Gt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof hb?r.applyToHost(t):r instanceof Sh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Gt.Emulated:o=new hb(l,c,i,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new MF(l,c,t,i,s,a,this.nonce,d);default:o=new Sh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(sb),oe(lb),oe(hr),oe(DF),oe(Fi),oe(wi),oe(pe),oe(Lm))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Mh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(fb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(fb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Eh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Eh[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(t,i,r&Qn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ys().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function fb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class MF extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ub(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Sh extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?ub(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class hb extends Sh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function bF(e){return"_ngcontent-%COMP%".replace(Ih,e)}(c),this.hostAttr=function EF(e){return"_nghost-%COMP%".replace(Ih,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let SF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const pb=["alt","control","meta","shift"],TF={"\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"},xF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ys().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),pb.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=TF[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),pb.forEach(s=>{s!==r&&(0,xF[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const LF=Zw(VL,"browser",[{provide:wi,useValue:"browser"},{provide:Rm,useValue:function NF(){wh.makeCurrent()},multi:!0},{provide:Fi,useFactory:function RF(){return function lS(e){zu=e}(document),document},deps:[]}]),kF=new R(""),vb=[{provide:Il,useClass:class vF{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ys().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:kw,useClass:Uf,deps:[pe,$f,Il]},{provide:Uf,useClass:Uf,deps:[pe,$f,Il]}],_b=[{provide:nu,useValue:"root"},{provide:pn,useFactory:function AF(){return new pn},deps:[]},{provide:Dh,useClass:SF,multi:!0,deps:[Fi,pe,wi]},{provide:Dh,useClass:OF,multi:!0,deps:[Fi]},db,lb,sb,{provide:Gd,useExisting:db},{provide:class BP{},useClass:_F,deps:[]},[]];let PF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:hr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(kF,12))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({providers:[..._b,...vb],imports:[WD,HL]})}return e})();function ti(e){return this instanceof ti?(this.v=e,this):new ti(e)}function Eb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ib=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Mb(e){return Pe(e?.then)}function Sb(e){return Pe(e[xc])}function Tb(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function xb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ob=function a2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Nb(e){return Pe(e?.[Ob])}function Ab(e){return function bb(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(b,M){o.push([p,C,b,M])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof ti?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ti(t.read());if(r)return yield ti(void 0);yield yield ti(i)}}finally{t.releaseLock()}})}function Rb(e){return Pe(e?.getReader)}function Es(e){if(e instanceof Mt)return e;if(null!=e){if(Sb(e))return function l2(e){return new Mt(n=>{const t=e[xc]();if(Pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ib(e))return function c2(e){return new Mt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ip)})}(e);if(Tb(e))return Lb(e);if(Nb(e))return function d2(e){return new Mt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Rb(e))return function f2(e){return Lb(Ab(e))}(e)}throw xb(e)}function Lb(e){return new Mt(n=>{(function h2(e,n){var t,i,r,o;return function wb(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Eb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function kb(e,n=0){return ui((t,i)=>{t.subscribe(Bn(i,r=>Bi(i,e,()=>i.next(r),n),()=>Bi(i,e,()=>i.complete(),n),r=>Bi(i,e,()=>i.error(r),n)))})}function Pb(e,n=0){return ui((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Fb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Mt(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:w2}=Array,{getPrototypeOf:D2,prototype:b2,keys:E2}=Object;const{isArray:T2}=Array;function N2(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function A2(...e){const n=function S2(e){return Pe(function Ah(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function I2(e){if(1===e.length){const n=e[0];if(w2(n))return{args:n,keys:null};if(function M2(e){return e&&"object"==typeof e&&D2(e)===b2}(n)){const t=E2(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Mt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?N2(i,a):a),o.complete())}))}});return n?r.pipe(function O2(e){return Nc(n=>function x2(e,n){return T2(n)?e(...n):e(n)}(e,n))}(n)):r}let Vb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut))};static#t=this.\u0275dir=$({type:e})}return e})(),ji=(()=>{class e extends Vb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const on=new R(""),R2={provide:on,useExisting:ge(()=>Rh),multi:!0};let Rh=(()=>{class e extends ji{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([R2]),ce]})}return e})();const L2={provide:on,useExisting:ge(()=>Is),multi:!0},P2=new R("");let Is=(()=>{class e extends Vb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k2(){const e=ys()?ys().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",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)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(P2,8))};static#t=this.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&q("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([L2]),ce]})}return e})();const st=new R(""),ii=new R("");function Zb(e){return null!=e}function Qb(e){return Ml(e)?function C2(e,n){return n?function y2(e,n){if(null!=e){if(Sb(e))return function p2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Ib(e))return function m2(e,n){return new Mt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Mb(e))return function g2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Tb(e))return Fb(e,n);if(Nb(e))return function v2(e,n){return new Mt(t=>{let i;return Bi(t,n,()=>{i=e[Ob](),Bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Pe(i?.return)&&i.return()})}(e,n);if(Rb(e))return function _2(e,n){return Fb(Ab(e),n)}(e,n)}throw xb(e)}(e,n):Es(e)}(e):e}function Yb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Kb(e,n){return n.map(t=>t(e))}function Jb(e){return e.map(n=>function V2(e){return!e.validate}(n)?n:t=>n.validate(t))}function Lh(e){return null!=e?function Xb(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return Yb(Kb(t,n))}}(Jb(e)):null}function kh(e){return null!=e?function eE(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return A2(Kb(t,n).map(Qb)).pipe(Nc(Yb))}}(Jb(e)):null}function tE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Ph(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,n){return Array.isArray(e)?e.includes(n):e===n}function rE(e,n){const t=Ph(n);return Ph(e).forEach(r=>{nc(t,r)||t.push(r)}),t}function oE(e,n){return Ph(n).filter(t=>!nc(e,t))}class sE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Lh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=kh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class mt extends sE{get formDirective(){return null}get path(){return null}}class ri extends sE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class aE{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ic=(()=>{class e extends aE{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ri,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ln("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ce]})}return e})();const Ms="VALID",oc="INVALID",Yr="PENDING",Ss="DISABLED";class Kr{}class cE extends Kr{constructor(n,t){super(),this.value=n,this.source=t}}class Hh extends Kr{constructor(n,t){super(),this.pristine=n,this.source=t}}class Bh extends Kr{constructor(n,t){super(),this.touched=n,this.source=t}}class sc extends Kr{constructor(n,t){super(),this.status=n,this.source=t}}function ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class $h{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_s(()=>this.statusReactive()),this.statusReactive=Er(void 0),this._pristine=_s(()=>this.pristineReactive()),this.pristineReactive=Er(!0),this._touched=_s(()=>this.touchedReactive()),this.touchedReactive=Er(!1),this._events=new sn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return wn(this.statusReactive)}set status(n){wn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ms}get invalid(){return this.status===oc}get pending(){return this.status==Yr}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return wn(this.pristineReactive)}set pristine(n){wn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return wn(this.touchedReactive)}set touched(n){wn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oE(n,this._rawAsyncValidators))}hasValidator(n){return nc(this._rawValidators,n)}hasAsyncValidator(n){return nc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Bh(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new Bh(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Hh(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Hh(!0,i))}markAsPending(n={}){this.status=Yr;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new sc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,i)),this._events.next(new sc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Yr)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,t)),this._events.next(new sc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Yr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Qb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new sc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ce,this.statusChanges=new Ce}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?oc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yr)?Yr:this._anyControlsHaveStatus(oc)?oc:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Hh(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Bh(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q2(e){return Array.isArray(e)?Lh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function W2(e){return Array.isArray(e)?kh(e):e||null}(this._rawAsyncValidators)}}const Jr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>lc}),lc="always";function Ts(e,n,t=lc){(function Gh(e,n){const t=function nE(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(tE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function iE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(tE(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();dc(n._rawValidators,r),dc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Y2(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fE(e,n)})}(e,n),function J2(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function K2(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q2(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function dc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function gE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function mE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const vE=class extends $h{constructor(n=null,t,i){super(function jh(e){return(ac(e)?e.validators:e)||null}(t),function Uh(e,n){return(ac(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=mE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){mE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},sV={provide:ri,useExisting:ge(()=>Os)},CE=Promise.resolve();let Os=(()=>{class e extends ri{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new vE,this._registered=!1,this.name="",this.update=new Ce,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Zh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Is?t=o:function tV(e){return Object.getPrototypeOf(e.constructor)===ji}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Wh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(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(){Ts(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){CE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function ih(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);CE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function cc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(S(mt,9),S(st,10),S(ii,10),S(on,10),S(ki,8),S(Jr,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([sV]),ce,un]})}return e})();const dV={provide:on,useExisting:ge(()=>Yh),multi:!0};let Yh=(()=>{class e extends ji{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Ie([dV]),ce]})}return e})();const vV={provide:on,useExisting:ge(()=>Ns),multi:!0};function SE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ns=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=SE(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function _V(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([vV]),ce]})}return e})(),ep=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(SE(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))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(Ns,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const yV={provide:on,useExisting:ge(()=>tp),multi:!0};function TE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let tp=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([yV]),ce]})}return e})(),np=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(TE(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))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(tp,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),xV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jr,useValue:t.callSetDisabledState??lc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({imports:[xV]})}return e})();class AV extends It{constructor(n,t){super()}schedule(n,t=0){return this}}const hc={setInterval(e,n,...t){const{delegate:i}=hc;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=hc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},VE={now:()=>(VE.delegate||Date).now(),delegate:void 0};class As{constructor(n,t=As.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}As.now=VE.now;const HE=new class LV extends As{constructor(n,t=As.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class RV extends AV{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return hc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&hc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),kV=HE;function BE(e,n=HE,t){const i=function HV(e=0,n,t=kV){let i=-1;return null!=n&&(function FV(e){return e&&Pe(e.schedule)}(n)?t=n:i=n),new Mt(r=>{let o=function VV(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function PV(e,n){return ui((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Es(e(g)).subscribe(Bn(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Bn(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function jE(e,n,t){const i=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?ui((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Bn(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Oc}function UE(e,n=Oc){return e=e??BV,ui((t,i)=>{let r,o=!0;t.subscribe(Bn(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function BV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Xr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),$E=!1,zE=function(){};Pt.addEventListener&&Pt.addEventListener("p",zE,{get passive(){return $E=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",zE,!1);var GE=$E,rp="ontouchstart"in Pt,WE=(rp||"TouchEvent"in Pt&&Xr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Xr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(WE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Xr("(pointer: coarse)").matches||!Xr("(pointer: fine)").matches&&rp)&&/Windows.*Firefox/.test(WE),Xr("(any-pointer: fine)").matches||Xr("(any-hover: hover)");const WV=(e,n,t)=>({tooltip:e,placement:n,content:t});function ZV(e,n){}function QV(e,n){1&e&&V(0,ZV,0,0,"ng-template")}function YV(e,n){if(1&e&&(ee(0),V(1,QV,1,0,null,1),te()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",We(2,WV,t.tooltip,t.placement,t.content))}}function KV(e,n){if(1&e&&(ee(0),y(1,"div",2),E(2),_(),te()),2&e){const t=v();f(),ft("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const JV=["tooltipTemplate"],XV=["leftOuterSelectionBar"],eH=["rightOuterSelectionBar"],tH=["fullBar"],nH=["selectionBar"],iH=["minHandle"],rH=["maxHandle"],oH=["floorLabel"],sH=["ceilLabel"],aH=["minHandleLabel"],lH=["maxHandleLabel"],cH=["combinedLabel"],uH=["ticksElement"],dH=e=>({"ngx-slider-selected":e});function fH(e,n){if(1&e&&O(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function hH(e,n){1&e&&O(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function pH(e,n){1&e&&O(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,rv)}function gH(e,n){if(1&e&&(y(0,"span",27),O(1,"ngx-slider-tooltip-wrapper",28),V(2,fH,1,4,"ngx-slider-tooltip-wrapper",29)(3,hH,1,1,"span",30)(4,pH,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",cs(8,dH,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var Dn=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(Dn||{});class pc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const YE=new R("AllowUnsafeHtmlInSlider");var A=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(A||{});class mH{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new KE;return o.eventName=t,o.events=new sn,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let si=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new JE(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&hl("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),op=(()=>{class e extends si{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ft("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Ln("ngx-slider-active",r.active))},features:[ce]})}return e})(),eo=(()=>{class e extends si{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki),S(YE,8))};static \u0275dir=$({type:e,selectors:[["","ngxSliderLabel",""]],features:[ce]})}return e})(),vH=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&V(0,YV,2,6,"ng-container",0)(1,KV,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[Hn,zD],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class _H{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class XE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class gc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class eI extends gc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const yH={provide:on,useExisting:ge(()=>tI),multi:!0};let tI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ce;highValue=null;highValueChange=new Ce;options=new pc;userChangeStart=new Ce;userChange=new Ce;userChangeEnd=new Ce;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new sn;inputModelChangeSubscription=null;outputModelChangeSubject=new sn;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new pc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new XE;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new JE(this.renderer)}ngOnInit(){this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(UE(eI.compare),function jV(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(UE(eI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){oi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){oi.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===A.Min?this.minHandleElement:t===A.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===A.Min?this.viewLowValue:this.currentTrackingPointer===A.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!gc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new gc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);gc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==A.Min&&t!==A.Max&&(t=A.Min),t===A.Min?this.minHandleElement.focus():this.range&&t===A.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Dn.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Dn.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new _H;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,Dn.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Dn.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Dn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===A.Min?this.updateLowHandle(i):t===A.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===A.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===A.Min||!this.viewOptions.rightToLeft&&t===A.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Dn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(A.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(A.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Dn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(A.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(A.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===A.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,Dn.Low),r=this.getDisplayValue(this.viewHighValue,Dn.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?A.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?A.Min:A.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(A.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(A.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!oi.isTouchEvent(i)&&!GE&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),oi.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(oi.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){oi.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===A.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===A.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(t)),this.updateHandles(A.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===A.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===A.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(A.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=A.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===A.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===A.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===A.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===A.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===A.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===A.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===A.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new mH;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(ki),S(pe),S(YE,8))};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&HC(o,JV,5),2&i){let s;bt(s=Et())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Lt(XV,5,si),Lt(eH,5,si),Lt(tH,5,si),Lt(nH,5,si),Lt(iH,5,op),Lt(rH,5,op),Lt(oH,5,eo),Lt(sH,5,eo),Lt(aH,5,eo),Lt(lH,5,eo),Lt(cH,5,eo),Lt(uH,5,si)),2&i){let o;bt(o=Et())&&(r.leftOuterSelectionBarElement=o.first),bt(o=Et())&&(r.rightOuterSelectionBarElement=o.first),bt(o=Et())&&(r.fullBarElement=o.first),bt(o=Et())&&(r.selectionBarElement=o.first),bt(o=Et())&&(r.minHandleElement=o.first),bt(o=Et())&&(r.maxHandleElement=o.first),bt(o=Et())&&(r.floorLabelElement=o.first),bt(o=Et())&&(r.ceilLabelElement=o.first),bt(o=Et())&&(r.minHandleLabelElement=o.first),bt(o=Et())&&(r.maxHandleLabelElement=o.first),bt(o=Et())&&(r.combinedLabelElement=o.first),bt(o=Et())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&q("resize",function(s){return r.onResize(s)},0,Ha),2&i&&(ft("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Ln("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Ie([yH]),un],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),O(2,"span",13),_(),y(3,"span",14,1),O(5,"span",13),_(),y(6,"span",15,2),O(8,"span",13),_(),y(9,"span",16,3),O(11,"span",17),_(),O(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),V(28,gH,5,10,"span",26),_()),2&i&&(f(6),Ln("ngx-slider-transparent",r.fullBarTransparentClass),f(3),Ln("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),hl("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),Ln("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Zr,Vi,Hn,$D,si,op,eo,vH],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),CH=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=zn({type:e});static \u0275inj=En({imports:[WD]})}return e})();class nI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class wH{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class DH{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class $t{static roundNumber(n){return Math.floor(n*Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new DH(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:$t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function bH(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),EH=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(E(0,"\xa0"),y(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),kn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function IH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),G(r)}),q("change",function(){z(t);const r=v();return G(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Xe("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function MH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v().translations)}function SH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function TH(e,n){1&e&&(y(0,"a",13),O(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Zn)}function xH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),q("change",function(){const r=z(t).$implicit;return G(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),V(5,TH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function OH(e,n){if(1&e&&(ee(0),O(1,"br")(2,"br"),y(3,"b"),E(4),_(),V(5,SH,1,1,"pro-button",7)(6,xH,6,4,"div",10),te()),2&e){const t=v();f(4),N(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let NH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ce,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ce,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ce,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ce,this.visibleMetrics=[],this.visibleMetricsChange=new Ce}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),q("click",function(){return r.close()}),y(1,"div",1),q("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),q("click",function(){return r.close()}),E(3,"X"),_(),y(4,"b"),E(5),_(),y(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),q("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),V(10,IH,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),q("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),V(15,MH,1,1,"pro-button",7),_(),V(16,OH,7,3,"ng-container",8),_()()),2&i&&(f(5),N(r.translations.coverageTypes),f(3),Xe("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),Xe("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Vi,Hn,Rh,ic,Os,EH],encapsulation:2})}return e})();function AH(e,n){1&e&&O(0,"td",3)}function RH(e,n){1&e&&O(0,"td"),2&e&&Cn("green ",v().greenClass,"")}function LH(e,n){1&e&&O(0,"td"),2&e&&Cn("red ",v().redClass,"")}let rI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),V(1,AH,1,0,"td",1)(2,RH,1,3,"td",2)(3,LH,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[Hn],encapsulation:2,changeDetection:0})}return e})();const kH=["codeelement-row",""],PH=(e,n)=>({"icon-plus":e,"icon-minus":n});function FH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function VH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function HH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function BH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function jH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function UH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function $H(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function zH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function GH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function qH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function WH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ZH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function QH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function YH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function KH(e,n){1&e&&O(0,"th",5)}let JH=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:kH,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),q("click",function(s){return r.element.toggleCollapse(s)}),O(2,"i",1),E(3),_()(),V(4,FH,2,1,"th",2)(5,VH,2,1,"th",2)(6,HH,2,1,"th",2)(7,BH,2,1,"th",2)(8,jH,2,2,"th",3)(9,UH,2,1,"th",2)(10,$H,2,1,"th",2)(11,zH,2,1,"th",2)(12,GH,2,2,"th",3)(13,qH,2,1,"th",2)(14,WH,2,1,"th",2)(15,ZH,2,1,"th",2)(16,QH,2,2,"th",3)(17,YH,2,1,"th",2)(18,KH,1,0,"th",4)),2&i&&(f(2),m("ngClass",Pf(17,PH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Zr,Vi,Hn,rI],encapsulation:2,changeDetection:0})}return e})();const XH=["coverage-history-chart",""];let eB=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function nB(e,n){if(1&e&&(y(0,"a",5),E(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Zn),f(),N(t.clazz.name)}}function iB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v();f(),N(t.clazz.name)}}function rB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function oB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function sB(e,n){if(1&e&&(y(0,"td",6),V(1,rB,5,6,"ng-container",1)(2,oB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function aB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function lB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function cB(e,n){if(1&e&&(y(0,"td",6),V(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.cal)}}function dB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function fB(e,n){if(1&e&&(y(0,"td",6),V(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tl)}}function pB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function gB(e,n){if(1&e&&(y(0,"td",6),V(1,hB,5,3,"ng-container",1)(2,pB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function mB(e,n){if(1&e&&O(0,"div",11),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function vB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function _B(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function yB(e,n){if(1&e&&(y(0,"td",9),V(1,mB,1,5,"div",10)(2,vB,5,6,"ng-container",1)(3,_B,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function CB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function wB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function DB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function bB(e,n){if(1&e&&(y(0,"td",6),V(1,wB,5,6,"ng-container",1)(2,DB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function EB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function IB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function MB(e,n){if(1&e&&(y(0,"td",6),V(1,EB,5,3,"ng-container",1)(2,IB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function SB(e,n){if(1&e&&O(0,"div",14),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function TB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function xB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function OB(e,n){if(1&e&&(y(0,"td",9),V(1,SB,1,5,"div",13)(2,TB,5,6,"ng-container",1)(3,xB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function NB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function AB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function RB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function LB(e,n){if(1&e&&(y(0,"td",6),V(1,AB,5,6,"ng-container",1)(2,RB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function kB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function PB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function FB(e,n){if(1&e&&(y(0,"td",6),V(1,kB,5,3,"ng-container",1)(2,PB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function VB(e,n){if(1&e&&O(0,"div",16),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function HB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function BB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function jB(e,n){if(1&e&&(y(0,"td",9),V(1,VB,1,5,"div",15)(2,HB,5,6,"ng-container",1)(3,BB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function UB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function $B(e,n){if(1&e&&(y(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),N(i.clazz.metrics[t.abbreviation])}}let zB=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function GB(e,n){if(1&e){const t=Ee();y(0,"popup",30),ot("visibleChange",function(r){z(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),G(r)})("showLineCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),G(r)})("showBranchCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),G(r)})("showMethodCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),G(r)})("visibleMetricsChange",function(r){z(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),G(r)}),_()}if(2&e){const t=v(2);Xe("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Xe("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function qB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.noGrouping)}}function WB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byAssembly)}}function ZB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byNamespace+" "+t.settings.grouping)}}function QB(e,n){if(1&e&&(y(0,"option",34),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function YB(e,n){1&e&&O(0,"br")}function KB(e,n){if(1&e&&(y(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function JB(e,n){if(1&e&&(y(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function XB(e,n){if(1&e&&(y(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function ej(e,n){if(1&e&&(y(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function tj(e,n){if(1&e){const t=Ee();y(0,"div")(1,"select",31),ot("ngModelChange",function(r){z(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),G(r)}),y(2,"option",32),E(3),_(),y(4,"option",35),E(5),_(),y(6,"option",36),E(7),_(),y(8,"option",37),E(9),_(),V(10,KB,2,1,"option",38)(11,JB,2,1,"option",39)(12,XB,2,1,"option",40)(13,ej,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Xe("ngModel",t.settings.historyComparisionType),f(2),N(t.translations.filter),f(2),N(t.translations.allChanges),f(2),N(t.translations.lineCoverageIncreaseOnly),f(2),N(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function nj(e,n){if(1&e){const t=Ee();ee(0),y(1,"div"),E(2),y(3,"select",31),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),G(r)}),q("ngModelChange",function(){return z(t),G(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),E(5),_(),V(6,QB,2,2,"option",33),_()(),V(7,YB,1,0,"br",0)(8,tj,14,9,"div",0),te()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Xe("ngModel",t.settings.historyComparisionDate),f(2),N(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function ij(e,n){1&e&&O(0,"col",46)}function rj(e,n){1&e&&O(0,"col",47)}function oj(e,n){1&e&&O(0,"col",48)}function sj(e,n){1&e&&O(0,"col",49)}function aj(e,n){1&e&&O(0,"col",50)}function lj(e,n){1&e&&O(0,"col",51)}function cj(e,n){1&e&&O(0,"col",46)}function uj(e,n){1&e&&O(0,"col",49)}function dj(e,n){1&e&&O(0,"col",50)}function fj(e,n){1&e&&O(0,"col",51)}function hj(e,n){1&e&&O(0,"col",46)}function pj(e,n){1&e&&O(0,"col",49)}function gj(e,n){1&e&&O(0,"col",50)}function mj(e,n){1&e&&O(0,"col",51)}function vj(e,n){1&e&&O(0,"col",51)}function _j(e,n){if(1&e&&(y(0,"th",52),E(1),_()),2&e){const t=v(2);f(),N(t.translations.coverage)}}function yj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.branchCoverage)}}function Cj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.methodCoverage)}}function wj(e,n){if(1&e&&(y(0,"th",54),E(1),_()),2&e){const t=v(2);ft("colspan",t.settings.visibleMetrics.length),f(),N(t.translations.metrics)}}function Dj(e,n){if(1&e){const t=Ee();y(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function bj(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function Ej(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function Ij(e,n){1&e&&O(0,"td",54),2&e&&ft("colspan",v(2).settings.visibleMetrics.length)}function Mj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Sj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("uncovered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function Tj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverable",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function xj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Oj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Nj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Aj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Rj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("branchcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Lj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function kj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Pj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("methodcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Fj(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),q("click",function(r){const o=z(t).$implicit;return G(v(2).updateSorting(o.abbreviation,r))}),O(2,"i",26),E(3),_(),y(4,"a",58),O(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",We(3,Ft,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function Vj(e,n){if(1&e&&O(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function Hj(e,n){if(1&e&&O(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Bj(e,n){if(1&e&&(ee(0),V(1,Hj,1,7,"tr",62),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function jj(e,n){if(1&e&&O(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Uj(e,n){if(1&e&&(ee(0),V(1,jj,1,7,"tr",65),te()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function $j(e,n){if(1&e&&(ee(0),O(1,"tr",64),V(2,Uj,2,1,"ng-container",29),te()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function zj(e,n){if(1&e&&(ee(0),V(1,$j,3,7,"ng-container",0),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Gj(e,n){if(1&e&&(ee(0),V(1,Vj,1,6,"tr",60)(2,Bj,2,1,"ng-container",29)(3,zj,2,1,"ng-container",29),te()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function qj(e,n){if(1&e){const t=Ee();y(0,"div"),V(1,GB,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),q("click",function(r){return z(t),G(v().collapseAll(r))}),E(5),_(),E(6," | "),y(7,"a",3),q("click",function(r){return z(t),G(v().expandAll(r))}),E(8),_()(),y(9,"div",4)(10,"span",5),V(11,qB,2,1,"ng-container",0)(12,WB,2,1,"ng-container",0)(13,ZB,2,1,"ng-container",0),_(),O(14,"br"),E(15),y(16,"input",6),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateCoverageInfo())}),_()(),y(17,"div",4),V(18,nj,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),q("click",function(){return z(t),G(v().popupVisible=!0)}),O(21,"i",9),E(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),O(26,"col",12),V(27,ij,1,0,"col",13)(28,rj,1,0,"col",14)(29,oj,1,0,"col",15)(30,sj,1,0,"col",16)(31,aj,1,0,"col",17)(32,lj,1,0,"col",18)(33,cj,1,0,"col",13)(34,uj,1,0,"col",16)(35,dj,1,0,"col",17)(36,fj,1,0,"col",18)(37,hj,1,0,"col",13)(38,pj,1,0,"col",16)(39,gj,1,0,"col",17)(40,mj,1,0,"col",18)(41,vj,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),O(44,"th"),V(45,_j,2,1,"th",21)(46,yj,2,1,"th",22)(47,Cj,2,1,"th",22)(48,wj,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),_()(),V(52,Dj,2,3,"td",21)(53,bj,2,3,"td",22)(54,Ej,2,3,"td",22)(55,Ij,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),q("click",function(r){return z(t),G(v().updateSorting("name",r))}),O(59,"i",26),E(60),_()(),V(61,Mj,4,6,"th",27)(62,Sj,4,6,"th",27)(63,Tj,4,6,"th",27)(64,xj,4,6,"th",27)(65,Oj,4,6,"th",28)(66,Nj,4,6,"th",27)(67,Aj,4,6,"th",27)(68,Rj,4,6,"th",28)(69,Lj,4,6,"th",27)(70,kj,4,6,"th",27)(71,Pj,4,6,"th",28)(72,Fj,6,7,"th",29),_()(),y(73,"tbody"),V(74,Gj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),Xe("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),kn("placeholder",t.translations.filter),Xe("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",We(51,Ft,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let Wj=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new wH,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,$t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ap))};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&q("beforeunload",function(){return r.onBeforeUnload()},0,Ha)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&V(0,qj,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Yh,Ns,ic,Os,tI,NH,JH,zB],encapsulation:2})}return e})();class Zj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const mc=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Qj=(e,n)=>({lightred:e,lightgreen:n});function Yj(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function Kj(e,n){if(1&e&&(y(0,"span"),E(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function Jj(e,n){1&e&&(y(0,"option",23),E(1,"20"),_())}function Xj(e,n){1&e&&(y(0,"option",24),E(1,"50"),_())}function e3(e,n){1&e&&(y(0,"option",25),E(1,"100"),_())}function t3(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function n3(e,n){if(1&e){const t=Ee();y(0,"select",17),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),G(r)}),y(1,"option",18),E(2,"10"),_(),V(3,Jj,2,0,"option",19)(4,Xj,2,0,"option",20)(5,e3,2,0,"option",21)(6,t3,2,2,"option",22),_()}if(2&e){const t=v(2);Xe("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function i3(e,n){1&e&&O(0,"col",26)}function r3(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),q("click",function(r){const o=z(t).index;return G(v(2).updateSorting(""+o,r))}),O(2,"i",14),E(3),_(),y(4,"a",27),O(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",We(3,mc,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function o3(e,n){if(1&e&&(y(0,"td",32),E(1),_()),2&e){const t=n.$implicit;m("ngClass",Pf(2,Qj,t.exceeded,!t.exceeded)),f(),N(t.value)}}function s3(e,n){if(1&e&&(y(0,"tr")(1,"td"),E(2),_(),y(3,"td")(4,"a",29),E(5),_()(),y(6,"td",30)(7,"a",29),E(8),_()(),V(9,o3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),N(t.assembly),f(2),m("href",t.reportPath+i.queryString,Zn),f(),N(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Zn),f(),Y(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function a3(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),y(4,"option",3),E(5),_(),V(6,Yj,2,2,"option",4),_()(),y(7,"div",5),V(8,Kj,2,1,"span",0)(9,n3,7,5,"select",6),_(),O(10,"div",5),y(11,"div",7)(12,"span"),E(13),_(),y(14,"input",8),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),O(18,"col",11)(19,"col",11)(20,"col",11),V(21,i3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),q("click",function(r){return z(t),G(v().updateSorting("assembly",r))}),O(26,"i",14),E(27),_()(),y(28,"th")(29,"a",13),q("click",function(r){return z(t),G(v().updateSorting("class",r))}),O(30,"i",14),E(31),_()(),y(32,"th")(33,"a",13),q("click",function(r){return z(t),G(v().updateSorting("method",r))}),O(34,"i",14),E(35),_()(),V(36,r3,6,7,"th",15),_()(),y(37,"tbody"),V(38,s3,10,7,"tr",15),function pw(e,n){const t=J();let i;const r=e+L;t.firstCreatePass?(i=function rR(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=di(i.type)),a=vt(S);try{const l=_a(!1),c=o();return _a(l),function Nf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,D(),r,c),c}finally{vt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Xe("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Xe("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",We(20,mc,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),m("ngClass",We(24,mc,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),m("ngClass",We(28,mc,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",gw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let l3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Zj,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Ns,ic,Os,qD],encapsulation:2})}return e})(),c3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e,bootstrap:[l3,Wj]});static#n=this.\u0275inj=En({providers:[ap],imports:[PF,NV,CH]})}return e})();LF().bootstrapModule(c3).catch(e=>console.error(e))}},no=>{no(no.s=197)}]); \ No newline at end of file +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{197:()=>{function no(e,n){return Object.is(e,n)}let Oe=null,$i=!1,zi=1;const zt=Symbol("SIGNAL");function K(e){const n=Oe;return Oe=e,n}const Rs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vc(e){if($i)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(e);const n=Oe.nextProducerIndex++;Ps(Oe),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yc(e){Ps(e);for(let n=0;n0}function Ps(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function gp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function mp(e){return void 0!==e.producerNode}const wc=Symbol("UNSET"),Dc=Symbol("COMPUTING"),Fs=Symbol("ERRORED"),cI={...Rs,value:wc,dirty:!0,error:null,equal:no,producerMustRecompute:e=>e.value===wc||e.value===Dc,producerRecomputeValue(e){if(e.value===Dc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Dc;const t=Ls(e);let i;try{i=e.computation()}catch(r){i=Fs,e.error=r}finally{_c(e,t)}n!==wc&&n!==Fs&&i!==Fs&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let vp=function uI(){throw new Error};function _p(){vp()}let Vs=null;function yp(e,n){fp()||_p(),e.equal(e.value,n)||(e.value=n,function gI(e){e.version++,function aI(){zi++}(),dp(e),Vs?.()}(e))}const pI={...Rs,equal:no,value:void 0};function Pe(e){return"function"==typeof e}function wp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const bc=wp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Pe(i))try{i()}catch(o){n=o instanceof bc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ep(o)}catch(s){n=n??[],s instanceof bc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new bc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ep(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hs(t,n)}remove(n){const{_finalizers:t}=this;t&&Hs(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Dp=It.EMPTY;function bp(e){return e instanceof It||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Ep(e){Pe(e)?e():e.unsubscribe()}const li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(e,n,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ip(e){Bs.setTimeout(()=>{const{onUnhandledError:n}=li;if(!n)throw e;n(e)})}function Mp(){}const vI=Ec("C",void 0,void 0);function Ec(e,n,t){return{kind:e,value:n,error:t}}let ci=null;function js(e){if(li.useDeprecatedSynchronousErrorHandling){const n=!ci;if(n&&(ci={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=ci;if(ci=null,t)throw i}}else e()}class Ic extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bp(n)&&n.add(this)):this.destination=EI}static create(n,t,i){return new Sc(n,t,i)}next(n){this.isStopped?Tc(function yI(e){return Ec("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Tc(function _I(e){return Ec("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Tc(vI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wI=Function.prototype.bind;function Mc(e,n){return wI.call(e,n)}class DI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Us(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Us(i)}else Us(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Us(t)}}}class Sc extends Ic{constructor(n,t,i){let r;if(super(),Pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&li.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Mc(n.next,o),error:n.error&&Mc(n.error,o),complete:n.complete&&Mc(n.complete,o)}):r=n}this.destination=new DI(r)}}function Us(e){li.useDeprecatedSynchronousErrorHandling?function CI(e){li.useDeprecatedSynchronousErrorHandling&&ci&&(ci.errorThrown=!0,ci.error=e)}(e):Ip(e)}function Tc(e,n){const{onStoppedNotification:t}=li;t&&Bs.setTimeout(()=>t(e,n))}const EI={closed:!0,next:Mp,error:function bI(e){throw e},complete:Mp},xc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Oc(e){return e}let Mt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function MI(e){return e&&e instanceof Ic||function II(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&bp(e)}(t)?t:new Sc(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Tp(i))((r,o)=>{const s=new Sc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[xc](){return this}pipe(...t){return function Sp(e){return 0===e.length?Oc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Tp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Tp(e){var n;return null!==(n=e??li.Promise)&&void 0!==n?n:Promise}const SI=wp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new xp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new SI}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Dp:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Hs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Mt;return t.source=this,t}}return e.create=(n,t)=>new xp(n,t),e})();class xp extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Dp}}class TI extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ui(e){return n=>{if(function xI(e){return Pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Bn(e,n,t,i,r){return new OI(e,n,t,i,r)}class OI extends Ic{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Nc(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>{i.next(e.call(n,o,r++))}))})}const Op="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Gi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Wi="__parameters__";function Qi(e,n,t){return bn(()=>{const i=function Ac(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Wi)?l[Wi]:Object.defineProperty(l,Wi,{value:[]})[Wi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function NI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const AI=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function B(e){return zs(e)?e():e}function zs(e){return"function"==typeof e&&e.hasOwnProperty(AI)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function En(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gs(e){return Lp(e,Ws)||Lp(e,kp)}function Lp(e,n){return e.hasOwnProperty(n)?e[n]:null}function qs(e){return e&&(e.hasOwnProperty(Lc)||e.hasOwnProperty(FI))?e[Lc]:null}const Ws=fe({\u0275prov:fe}),Lc=fe({\u0275inj:fe}),kp=fe({ngInjectableDef:fe}),FI=fe({ngInjectorDef:fe});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hc(e){return e&&!!e.\u0275providers}const ro=fe({\u0275cmp:fe}),Bc=fe({\u0275dir:fe}),jc=fe({\u0275pipe:fe}),Fp=fe({\u0275mod:fe}),In=fe({\u0275fac:fe}),oo=fe({__NG_ELEMENT_ID__:fe}),Vp=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Uc(e,n){throw new T(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let $c;function Hp(){return $c}function vt(e){const n=$c;return $c=e,n}function Bp(e,n,t){const i=Gs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void Uc()}const so={},zc="__NG_DI_FLAG__",Zs="ngTempTokenPath",$I=/\n/gm,jp="__source";let Yi;function Un(e){const n=Yi;return Yi=e,n}function qI(e,n=ie.Default){if(void 0===Yi)throw new T(-203,!1);return null===Yi?Bp(e,void 0,n):Yi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(Hp()||qI)(B(e),n)}function k(e,n=ie.Default){return oe(e,Qs(n))}function Qs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gc(e){const n=[];for(let t=0;tArray.isArray(t)?Ki(t,n):n(t))}function $p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ys(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let i=Ji(e,n);return i>=0?e[1|i]=t:(i=~i,function zp(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Qc(e,n){const t=Ji(e,n);if(t>=0)return e[1|t]}function Ji(e,n){return function Gp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(qt(i))return!1;s=!0}}}}else{if(!s&&!qt(i)&&!qt(l))return!1;if(s&&qt(l))continue;s=!1,i=l|1&i}}return qt(i)||s}function qt(e){return!(1&e)}function rM(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!qt(s)&&(n+=Jp(o,r),r=""),i=s,o=o||!qt(i);t++}return""!==r&&(n+=Jp(o,r)),n}function Wt(e){return bn(()=>{const n=eg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};tg(t);const i=e.dependencies;return t.directiveDefs=ea(i,!1),t.pipeDefs=ea(i,!0),t.id=function gM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function fM(e){return X(e)||Ue(e)}function hM(e){return null!==e}function zn(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xp(e,n){if(null==e)return an;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=$n.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==$n.None?[i,a]:i,n[o]=s):t[o]=i}return t}function $(e){return bn(()=>{const n=eg(e);return tg(n),n})}function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[ro]||null}function Ue(e){return e[Bc]||null}function Ye(e){return e[jc]||null}function eg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xp(e.inputs,n),outputs:Xp(e.outputs),debugInfo:null}}function tg(e){e.features?.forEach(n=>n(e))}function ea(e,n){if(!e)return null;const t=n?Ye:fM;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(hM)}function mM(...e){return{\u0275providers:Xc(0,e),\u0275fromNgModule:!0}}function Xc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Ki(n,s=>{const a=s;na(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ng(r,o),t}function ng(e,n){for(let t=0;t{n(o,i)})}}function na(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=qs(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qs(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)na(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ki(o.imports,u=>{na(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&ng(c,n)}if(!a){const c=di(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Yc,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;eu(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function eu(e,n){for(let t of e)Hc(t)&&(t=t.\u0275providers),Array.isArray(t)?eu(t,n):n(t)}const vM=fe({provide:String,useValue:fe});function tu(e){return null!==e&&"object"==typeof e&&vM in e}function hi(e){return"function"==typeof e}const nu=new R(""),ia={},yM={};let iu;function ra(){return void 0===iu&&(iu=new Js),iu}class Zt{}class Xi extends Zt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(n,s=>this.processProvider(s)),this.records.set(qp,er(void 0,this)),r.has("environment")&&this.records.set(Zt,er(void 0,this));const o=this.records.get(nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Yc,se,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),i=vt(void 0);try{return n()}finally{Un(t),vt(i)}}get(n,t=so,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vp))return n[Vp](this);i=Qs(i);const o=Un(this),s=vt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function EM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Gs(n);l=c&&this.injectableDefInScope(c)?er(ru(n),ia):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ra():this.parent).get(n,t=i&ie.Optional&&t===so?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Zs]=a[Zs]||[]).unshift(je(n)),o)throw a;return function ZI(e,n,t,i){const r=e[Zs];throw n[jp]&&r.unshift(n[jp]),e.message=function QI(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=je(n);if(Array.isArray(n))r=n.map(je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace($I,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{vt(s),Un(o)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),i=vt(void 0);try{const o=this.get(Mn,se,ie.Self);for(const s of o)s()}finally{Un(t),vt(i),K(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=hi(n=B(n))?n:B(n&&n.provide);const i=function wM(e){return tu(e)?er(void 0,e.useValue):er(og(e),ia)}(n);if(!hi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=er(void 0,ia,!0),r.factory=()=>Gc(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=K(null);try{return t.value===ia&&(t.value=yM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function bM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function ru(e){const n=Gs(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof R)throw new T(204,!1);if(e instanceof Function)return function CM(e){if(e.length>0)throw new T(204,!1);const t=function PI(e){return e&&(e[Ws]||e[kp])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function og(e,n,t){let i;if(hi(e)){const r=B(e);return di(r)||ru(r)}if(tu(e))i=()=>B(e.useValue);else if(function rg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Gc(e.deps||[]));else if(function ig(e){return!(!e||!e.useExisting)}(e))i=()=>oe(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function DM(e){return!!e.deps}(e))return di(r)||ru(r);i=()=>new r(...Gc(e.deps))}return i}function er(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ou(e,n){for(const t of e)Array.isArray(t)?ou(t,n):t&&Hc(t)?ou(t.\u0275providers,n):n(t)}const Se=0,x=1,P=2,Fe=3,Qt=4,Ke=5,at=6,nr=7,_e=8,Ve=9,ln=10,j=11,uo=12,lg=13,ir=14,Te=15,pi=16,rr=17,Sn=18,or=19,cg=20,Gn=21,sa=22,Vt=23,L=25,lu=1,cn=7,sr=9,Ne=10;var la=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(la||{});function ze(e){return Array.isArray(e)&&"object"==typeof e[lu]}function tt(e){return Array.isArray(e)&&!0===e[lu]}function cu(e){return!!(4&e.flags)}function gi(e){return e.componentOffset>-1}function ca(e){return!(1&~e.flags)}function Yt(e){return!!e.template}function ho(e){return!!(512&e[P])}class PM{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function pg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function un(){return gg}function gg(e){return e.type.prototype.ngOnChanges&&(e.setInput=VM),FM}function FM(){const e=vg(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function VM(e,n,t,i,r){const o=this.declaredInputs[i],s=vg(e)||function HM(e,n){return e[mg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new PM(c&&c.currentValue,t,l===an),pg(e,n,r,t)}un.ngInherit=!0;const mg="__ngSimpleChanges__";function vg(e){return e[mg]||null}const dn=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[Se];return e}function po(e,n){return ae(n[e])}function lt(e,n){return ae(n[e.index])}function go(e,n){return e.data[n]}function Ot(e,n){const t=n[e];return ze(t)?t:t[Se]}function pu(e){return!(128&~e[P])}function Ht(e,n){return null==n?null:e[n]}function Cg(e){e[rr]=0}function wg(e){1024&e[P]||(e[P]|=1024,pu(e)&&da(e))}function ua(e){return!!(9216&e[P]||e[Vt]?.dirty)}function gu(e){e[ln].changeDetectionScheduler?.notify(8),64&e[P]&&(e[P]|=1024),ua(e)&&da(e)}function da(e){e[ln].changeDetectionScheduler?.notify(0);let n=Tn(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,pu(n));)n=Tn(n)}function fa(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[Gn]&&(e[Gn]=[]),e[Gn].push(n)}function Tn(e){const n=e[Fe];return tt(n)?n[Fe]:n}const U={lFrame:Lg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let bg=!1;function Eg(){return U.bindingsEnabled}function D(){return U.lFrame.lView}function J(){return U.lFrame.tView}function z(e){return U.lFrame.contextLView=e,e[_e]}function G(e){return U.lFrame.contextLView=null,e}function he(){let e=Ig();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ig(){return U.lFrame.currentTNode}function Kt(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function _u(){return U.lFrame.isParent}function yu(){U.lFrame.isParent=!1}function Tg(){return bg}function xg(e){bg=e}function ct(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Jt(){return U.lFrame.bindingIndex++}function On(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XM(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Cu(n)}function Cu(e){U.lFrame.currentDirectiveIndex=e}function Du(){return U.lFrame.currentQueryIndex}function pa(e){U.lFrame.currentQueryIndex=e}function t0(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ke]:null}function Ag(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=t0(o),null===r||(o=o[ir],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=Rg();return i.currentTNode=n,i.lView=e,!0}function bu(e){const n=Rg(),t=e[x];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Rg(){const e=U.lFrame,n=null===e?null:e.child;return null===n?Lg(e):n}function Lg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function kg(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pg=kg;function Eu(){const e=kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return U.lFrame.selectedIndex}function _i(e){U.lFrame.selectedIndex=e}function ye(){const e=U.lFrame;return go(e.tView,e.selectedIndex)}let Hg=!0;function vo(){return Hg}function fn(e){Hg=e}function ga(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[rr]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,jg(a,o)):jg(a,o)}const ar=-1;class _o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const Su={};class yi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Qs(i);const r=this.injector.get(n,Su,i);return r!==Su||t===Su?r:this.parentInjector.get(n,t,i)}}function Tu(e){return e!==ar}function yo(e){return 32767&e}function Co(e,n){let t=function h0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ir],t--;return i}let xu=!0;function _a(e){const n=xu;return xu=e,n}const $g=255,zg=5;let g0=0;const hn={};function ya(e,n){const t=Gg(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Ou(i.data,e),Ou(n,null),Ou(i.blueprint,null));const r=Ca(e,n),o=e.injectorIndex;if(Tu(r)){const s=yo(r),a=Co(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Ou(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ca(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Jg(r),null===i)return ar;if(t++,r=r[ir],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return ar}function Nu(e,n,t){!function m0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(oo)&&(i=t[oo]),null==i&&(i=t[oo]=g0++);const r=i&$g;n.data[e+(r>>zg)]|=1<=0?n&$g:C0:n}(t);if("function"==typeof o){if(!Ag(n,e,i))return i&ie.Host?qg(r,0,i):Wg(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;Uc()}finally{Pg()}}else if("number"==typeof o){let s=null,a=Gg(e,n),l=ar,c=i&ie.Host?n[Te][Ke]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Ca(e,n):n[a+8],l!==ar&&Kg(i,!1)?(s=n[x],a=yo(l),n=Co(l,n)):a=-1);-1!==a;){const u=n[x];if(Yg(o,a,u.data)){const d=_0(a,n,t,s,i,c);if(d!==hn)return d}l=n[a+8],l!==ar&&Kg(i,n[x].data[a+8]===c)&&Yg(o,a,n)?(s=u,a=yo(l),n=Co(l,n)):a=-1}}return r}function _0(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],u=wa(a,s,t,null==i?gi(a)&&xu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?Ci(n,s,u,a):hn}function wa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Yt(p)&&p.type===t)return l}return null}function Ci(e,n,t,i){let r=e[t];const o=n.data;if(function c0(e){return e instanceof _o}(r)){const s=r;s.resolving&&function BI(e,n){throw n&&n.join(" > "),new T(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=_a(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?vt(s.injectImpl):null;Ag(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function a0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=gg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&vt(c),_a(a),s.resolving=!1,Pg()}}return r}function Yg(e,n,t){return!!(t[n+(e>>zg)]&1<{const n=e.prototype.constructor,t=n[In]||Au(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[In]||Au(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Au(e){return zs(e)?()=>{const n=Au(B(e));return n&&n()}:di(e)}function Jg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ke]:null}function im(e,n=null,t=null,i){const r=rm(e,n,t,i);return r.resolveInjectorInitializers(),r}function rm(e,n=null,t=null,i,r=new Set){const o=[t||se,mM(e)];return i=i||("object"==typeof e?void 0:je(e)),new Xi(o,n||ra(),i||null,r)}class it{static#e=this.THROW_IF_NOT_FOUND=so;static#t=this.NULL=new Js;static create(n,t){if(Array.isArray(n))return im({name:""},t,n,"");{const i=n.name??"";return im({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=ne({token:it,providedIn:"any",factory:()=>oe(qp)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new T(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new T(204,!1)};function Lu(e){return e.ngOriginalError}const sm=!0;let wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class O0 extends wo{constructor(n){super(),this._lView=n}onDestroy(n){return fa(this._lView,n),()=>function mu(e,n){if(null===e[Gn])return;const t=e[Gn].indexOf(n);-1!==t&&e[Gn].splice(t,1)}(this._lView,n)}}function N0(){return new O0(D())}let ur=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new TI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ce=class A0 extends sn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function sg(){return void 0!==Hp()||null!=function GI(){return Yi}()}()&&(this.destroyRef=k(wo,{optional:!0})??void 0,this.pendingTasks=k(ur,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof It&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Ea(...e){}function am(e){let n,t;function i(){e=Ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function lm(e){return queueMicrotask(()=>e()),()=>{e=Ea}}const ku="isAngularZone",Ia=ku+"_ID";let R0=0;class pe{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=sm}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function P0(e){const n=()=>{!function k0(e){function n(){am(()=>{e.callbackScheduled=!1,Fu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Fu(e))}(e)},t=R0++;e._inner=e._inner.fork({name:"angular",properties:{[ku]:!0,[Ia]:t,[Ia+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function F0(e){return dm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return cm(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),um(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return cm(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function V0(e){return dm(e,"__scheduler_tick__")}(l)&&n(),um(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Fu(e),Pu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ku)}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,L0,Ea,Ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const L0={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Fu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function um(e){e._nesting--,Pu(e)}class Vu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function dm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lu(n);for(;t&&Lu(t);)t=Lu(t);return t||null}}const B0=new R("",{providedIn:"root",factory:()=>{const e=k(pe),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function j0(){return dr(he(),D())}function dr(e,n){return new ut(lt(e,n))}let ut=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=j0}return e})();function hm(e){return e instanceof ut?e.nativeElement:e}function U0(){return this._results[Symbol.iterator]()}class Hu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Hu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=U0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;icS}),cS="ng",Rm=new R(""),wi=new R("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new R("",{providedIn:"root",factory:()=>qn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let km=()=>null;function Ku(e,n,t=!1){return km(e,n,t)}const $m=new R("",{providedIn:"root",factory:()=>!1});let La,ka;function mr(e){return function nd(){if(void 0===La&&(La=null,be.trustedTypes))try{La=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}function qm(e){return function id(){if(void 0===ka&&(ka=null,be.trustedTypes))try{ka=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}class Qm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Op})`}}function Wn(e){return e instanceof Qm?e.changingThisBreaksApplicationSecurity:e}function Oo(e,n){const t=function TS(e){return e instanceof Qm&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Op})`)}return t===n}class xS{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(mr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class OS{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=mr(n),t}}const AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(e){return(e=String(e)).match(AS)?e:"unsafe:"+e}function Nn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function No(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Km=Nn("area,br,col,hr,img,wbr"),Jm=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xm=Nn("rp,rt"),od=No(Km,No(Jm,Nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),No(Xm,Nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),No(Xm,Jm)),sd=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ev=No(sd,Nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),RS=Nn("script,style,template");class LS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FS(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=PS(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=tv(n).toLowerCase();if(!od.hasOwnProperty(t))return this.sanitizedSomething=!0,!RS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=tv(n).toLowerCase();od.hasOwnProperty(t)&&!Km.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(iv(n))}}function PS(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw nv(n);return n}function FS(e){const n=e.firstChild;if(n&&function kS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw nv(n);return n}function tv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function nv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const VS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HS=/([^\#-~ |!])/g;function iv(e){return e.replace(/&/g,"&").replace(VS,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(HS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function ad(e){return"content"in e&&function jS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vr||{});function rv(e){const n=Ao();return n?qm(n.sanitize(vr.HTML,e)||""):Oo(e,"HTML")?qm(Wn(e)):function BS(e,n){let t=null;try{Pa=Pa||function Ym(e){const n=new OS(e);return function NS(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch{return!1}}()?new xS(n):n}(e);let i=n?String(n):"";t=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pa.getInertBodyElement(i)}while(i!==o);return mr((new LS).sanitizeChildren(ad(t)||t))}finally{if(t){const i=ad(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(qn(),W(e))}function Zn(e){const n=Ao();return n?n.sanitize(vr.URL,e)||"":Oo(e,"URL")?Wn(e):rd(W(e))}function Ao(){const e=D();return e&&e[ln].sanitizer}const ZS=/^>|^->||--!>|)/g,YS="\u200b$1\u200b";function Ha(e){return e.ownerDocument.defaultView}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{});let ud;function dd(e,n){return ud(e,n)}function yr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:ze(i)&&(s=!0,i=i[Se]);const a=ae(i);0===e&&null!==t?null==r?_v(n,t,a):bi(n,t,a,r||null,!0):1===e&&null!==t?bi(n,t,a,r||null,!0):2===e?function Lo(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function gT(e,n,t,i,r){const o=t[cn];o!==ae(t)&&yr(n,e,i,o,r);for(let a=Ne;an.replace(QS,YS))}(n))}function Ba(e,n,t){return e.createElement(n,t)}function gv(e,n){n[ln].changeDetectionScheduler?.notify(9),$a(e,n,n[j],2,null,null)}function mv(e,n){const t=e[sr],i=n[Fe];(ze(i)||n[Te]!==i[Fe][Te])&&(e[P]|=la.HasTransplantedViews),null===t?e[sr]=[n]:t.push(n)}function pd(e,n){const t=e[sr],i=t.indexOf(n);t.splice(i,1)}function Ro(e,n){if(e.length<=Ne)return;const t=Ne+n,i=e[t];if(i){const r=i[pi];null!==r&&r!==e&&pd(r,i),n>0&&(e[t-1][Qt]=i[Qt]);const o=Ys(e,Ne+n);!function aT(e,n){gv(e,n),n[Se]=null,n[Ke]=null}(i[x],i);const s=o[Sn];null!==s&&s.detachView(o[x]),i[Fe]=null,i[Qt]=null,i[P]&=-129}return i}function ja(e,n){if(!(256&n[P])){const t=n[j];t.destroyNode&&$a(e,n,t,3,null,null),function cT(e){let n=e[uo];if(!n)return gd(e[x],e);for(;n;){let t=null;if(ze(n))t=n[uo];else{const i=n[Ne];i&&(t=i)}if(!t){for(;n&&!n[Qt]&&n!==e;)ze(n)&&gd(n[x],n),n=n[Fe];null===n&&(n=e),ze(n)&&gd(n[x],n),t=n&&n[Qt]}n=t}}(n)}}function gd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[Vt]&&Cc(n[Vt]),function fT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[nr]=null);const r=n[Gn];if(null!==r){n[Gn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return lt(i,t)}}(e,n.parent,t)}function bi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function _v(e,n,t){e.appendChild(n,t)}function yv(e,n,t,i,r){null!==i?bi(e,n,t,i,r):_v(e,n,t)}function vd(e,n){return e.parentNode(n)}let _d,Dv=function wv(e,n,t){return 40&e.type?lt(e,t):null};function Ua(e,n,t,i){const r=md(e,i,n),o=n[j],a=function Cv(e,n,t){return Dv(e,n,t)}(i.parent||n[Ke],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lL&&xv(e,n,L,!1),dn(s?2:0,r),t(i,r)}finally{_i(o),dn(s?3:1,r)}}function Dd(e,n,t){if(cu(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Lv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=$n.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?kv(i,t,c,a,l):kv(i,t,c,a)}return i}function kv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function wt(e,n,t,i,r,o,s,a){const l=lt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(Od(e,t,u,i,r),gi(n)&&function xT(e,n){const t=Ot(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function TT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Md(e,n,t,i){if(Eg()){const r=null===i?null:{"":-1},o=function kT(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ko(e,t,r.hostVars,Z),r)}function gn(e,n,t,i,r,o){const s=lt(e,n);!function Td(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function jT(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{da(e.lView)},consumerOnSignalRead(){this.lView[Vt]=this}},KT={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Tn(e.lView);for(;n&&!qv(n[x]);)n=Tn(n);n&&wg(n)},consumerOnSignalRead(){this.lView[Vt]=this}};function qv(e){return 2!==e.type}const JT=100;function Wa(e,n=!0,t=0){const i=e[ln],r=i.rendererFactory;r.begin?.();try{!function XT(e,n){const t=Tg();try{xg(!0),Rd(e,n);let i=0;for(;ua(e);){if(i===JT)throw new T(103,!1);i++,Rd(e,1)}}finally{xg(t)}}(e,t)}catch(s){throw n&&qa(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function ex(e,n,t,i){const r=n[P];if(!(256&~r))return;n[ln].inlineEffectRunner?.flush(),bu(n);let a=!0,l=null,c=null;qv(e)?(c=function qT(e){return e[Vt]??function WT(e){const n=Gv.pop()??Object.create(QT);return n.lView=e,n}(e)}(n),l=Ls(c)):null===function cp(){return Oe}()?(a=!1,c=function YT(e){const n=e[Vt]??Object.create(KT);return n.lView=e,n}(n),l=Ls(c)):n[Vt]&&(Cc(n[Vt]),n[Vt]=null);try{Cg(n),function Og(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Nv(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ma(n,p,null)}else{const p=e.preOrderHooks;null!==p&&va(n,p,0,null),Iu(n,0)}if(function tx(e){for(let n=bm(e);null!==n;n=Em(n)){if(!(n[P]&la.HasTransplantedViews))continue;const t=n[sr];for(let i=0;i-1&&(Ro(n,i),Ys(t,i))}this._attachedToViewContainer=!1}ja(this._lView[x],this._lView)}onDestroy(n){fa(this._lView,n)}markForCheck(){Fo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){gu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Wa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ho(this._lView),t=this._lView[pi];null!==t&&!n&&pd(t,this._lView),gv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;const t=ho(this._lView),i=this._lView[pi];null!==i&&!t&&mv(i,this._lView),gu(this._lView)}}let Rn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ox}return e})();const ix=Rn,rx=class extends ix{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function Cr(e,n,t,i){const r=K(null);try{const o=n.tView,l=za(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[pi]=e[n.index];const u=e[Sn];return null!==u&&(l[Sn]=u.createEmbeddedView(o)),Nd(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Vo(r)}};function ox(){return Za(he(),D())}function Za(e,n){return 4&e.type?new rx(n,e,dr(e,n)):null}class br{}const qo=new R("",{providedIn:"root",factory:()=>!1}),__=new R(""),zd=new R("");class Kx{}class y_{}class Xx{resolveComponentFactory(n){throw function Jx(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}class el{static#e=this.NULL=new Xx}class Gd{}let Xt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function eO(){const e=D(),t=Ot(he().index,e);return(ze(t)?t:e)[j]}()}return e})(),tO=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function nl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Sv(e,t,o.join(" "))}}(h,Me,g,i),void 0!==t&&function dO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hO}return e})();function hO(){return S_(he(),D())}const pO=mn,I_=class extends pO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ca(this._hostTNode,this._hostLView);if(Tu(n)){const t=Co(n,this._hostLView),i=yo(n);return new Ge(t[x].data[i+8],t)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=M_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ne}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Mi(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function co(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new Qo(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Zt,null);C&&(o=C)}X(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Mi(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function $M(e){return tt(e[Fe])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Fe],c=new I_(l,l[Ke],l[Fe]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function wr(e,n,t,i=!0){const r=n[x];if(function uT(e,n,t,i){const r=Ne+i,o=t.length;i>0&&(t[r-1][Qt]=n),i!1;class Yd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Yd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Jd{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ne;d(vc(n),n.value);return t[zt]=n,t}(e),i=t[zt];return n?.equal&&(i.equal=n.equal),t.set=r=>yp(i,r),t.update=r=>function hI(e,n){fp()||_p(),yp(e,n(e.value))}(i,r),t.asReadonly=B_.bind(t),t}function B_(){const e=this[zt];if(void 0===e.readonlyFn){const n=()=>this();n[zt]=e,e.readonlyFn=n}return e.readonlyFn}function j_(e){return function H_(e){return"function"==typeof e&&void 0!==e[zt]}(e)&&"function"==typeof e.set}function ce(e){let n=function J_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Yt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rl(e.inputs),s.inputTransforms=rl(e.inputTransforms),s.declaredInputs=rl(e.declaredInputs),s.outputs=rl(e.outputs);const a=r.hostBindings;a&&VO(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&PO(e,l),c&&FO(e,c),LO(e,r),NI(e.outputs,r.outputs),Yt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=lo(r.hostAttrs,t=lo(t,r.hostAttrs))}}(i)}function LO(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rl(e){return e===an?{}:e===se?[]:e}function PO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function FO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function VO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Oi{}class GO{}class of extends Oi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new b_(this);const o=function et(e,n){const t=e[Fp]||null;if(!t&&!0===n)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=rm(n,t,[{provide:Oi,useValue:this},{provide:el,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class sf extends GO{constructor(n){super(),this.moduleType=n}create(n){return new of(this.moduleType,n,[])}}function ol(e){return!!af(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function af(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vn(e,n,t){return e[n]=t}function Ae(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ni(e,n,t,i){const r=Ae(e,n,t);return Ae(e,n+1,i)||r}function Jo(e,n,t,i,r,o,s,a,l,c){const u=t+L,d=n.firstCreatePass?function JO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ii(n,e,4,s||null,a||null);Md(n,t,u,Ht(c,l)),ga(n,u);const d=u.tView=Id(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Kt(d,!1);const h=ry(n,e,d,t);vo()&&Ua(n,e,h,d),rt(h,e);const p=Vv(h,e,h,d);return e[u]=p,Ga(e,p),function x_(e,n,t){return Qd(e,n,t)}(p,d,e),ca(d)&&bd(n,e,d),null!=l&&Ed(e,d,c),d}function V(e,n,t,i,r,o,s,a){const l=D(),c=J();return Jo(l,c,e,n,t,i,r,Ht(c.consts,o),s,a),V}let ry=function oy(e,n,t,i){return fn(!0),n[j].createComment("")};var Tr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tr||{});let dy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();class ts{constructor(){this.ngZone=k(pe),this.scheduler=k(br),this.errorHandler=k(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tr.EarlyRead,Tr.Write,Tr.MixedReadWrite,Tr.Read];execute(){this.executing=!0;for(const n of ts.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ne({token:ts,providedIn:"root",factory:()=>new ts})}function ft(e,n,t,i){const r=D();return Ae(r,Jt(),n)&&(J(),gn(ye(),r,e,n,t,i)),ft}function kr(e,n,t,i){return Ae(e,Jt(),t)?n+W(t)+i:Z}function fl(e,n){return e<<17|n<<2}function Jn(e){return e>>17&32767}function yf(e){return 2|e}function Ri(e){return(131068&e)>>2}function Cf(e,n){return-131069&e|n<<2}function wf(e){return 1|e}function Hy(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Jn(r):Ri(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];BN(e[s],n)&&(a=!0,e[s+1]=i?wf(c):yf(c)),s=i?Jn(c):Ri(c)}a&&(e[t+1]=i?yf(r):wf(r))}function BN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ji(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function By(e){return e.substring(qe.key,qe.keyEnd)}function jy(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function zN(e,n,t){for(;n32;)n++;return n}(e,qe.key=n,t),$r(e,n,t))}function $r(e,n,t){for(;n=0;t=jy(n,t))xt(e,By(n),!0)}function en(e,n,t,i){const r=D(),o=J(),s=On(2);o.firstUpdatePass&&Wy(o,e,s,i),n!==Z&&Ae(r,s,n)&&Qy(o,o.data[Je()],r,r[j],e,r[s+1]=function n1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je(Wn(e)))),e}(n,t),i,s)}function qy(e,n){return n>=e.expandoStartIndex}function Wy(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=qy(e,t);Ky(o,i)&&null===n&&!s&&(n=!1),n=function QN(e,n,t,i){const r=function wu(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=is(t=bf(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=bf(r,e,n,t,i),null===o){let l=function YN(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ri(i))return e[Jn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=bf(null,e,n,l[1],i),l=is(l,n.attrs,i),function KN(e,n,t,i){e[Jn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function JN(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Jn(e[a+1]);e[i+1]=fl(h,a),0!==h&&(e[h+1]=Cf(e[h+1],i)),e[a+1]=function PN(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fl(a,0),0!==a&&(e[a+1]=Cf(e[a+1],i)),a=i;else e[i+1]=fl(l,0),0===a?a=i:e[l+1]=Cf(e[l+1],i),l=i;c&&(e[i+1]=yf(e[i+1])),Hy(e,u,i,!0),Hy(e,u,i,!1),function HN(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ji(o,n)>=0&&(t[i+1]=wf(t[i+1]))}(n,u,e,i,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function bf(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Z&&(h=d?se:void 0);let p=d?Qc(h,i):u===i?h:void 0;if(c&&!pl(p)&&(p=Qc(l,i)),pl(p)&&(a=p,s))return a;const g=e[r+1];r=s?Jn(g):Ri(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Qc(l,i))}return a}function pl(e){return void 0!==e}function Ky(e,n){return!!(e.flags&(n?8:16))}function Cn(e,n,t){!function tn(e,n,t,i){const r=J(),o=On(2);r.firstUpdatePass&&Wy(r,null,o,i);const s=D();if(t!==Z&&Ae(s,o,t)){const a=r.data[Je()];if(Ky(a,i)&&!qy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Rc(l,t||"")),Df(r,a,s,t,i)}else!function t1(e,n,t,i,r,o,s,a){r===Z&&(r=se);let l=0,c=0,u=0(fn(!0),Ba(i,r,function Vg(){return U.lFrame.currentNamespace}()));function ee(e,n,t){const i=D(),r=J(),o=e+L,s=r.firstCreatePass?function S1(e,n,t,i,r){const o=n.consts,s=Ht(o,i),a=Ii(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),Md(n,t,a,Ht(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Kt(s,!0);const a=iC(r,i,s,e);return i[o]=a,vo()&&Ua(r,i,a,s),rt(a,i),ca(s)&&(bd(r,i,s),Dd(r,s,i)),null!=t&&Ed(i,s),ee}function te(){let e=he();const n=J();return _u()?yu():(e=e.parent,Kt(e,!1)),n.firstCreatePass&&(ga(n,e),cu(e)&&n.queries.elementEnd(e)),te}let iC=(e,n,t,i)=>(fn(!0),hd(n[j],""));function Ee(){return D()}const ml="en-US";let lC=ml,MC=(e,n,t)=>{};function q(e,n,t,i){const r=D(),o=J(),s=he();return xf(o,r,r[j],s,e,n,i),q}function xf(e,n,t,i,r,o,s){const a=ca(i),c=e.firstCreatePass&&jv(e),u=n[_e],d=Bv(n);let h=!0;if(3&i.type||s){const C=lt(i,n),b=s?s(C):C,M=d.length,w=s?Q=>s(ae(Q[i.index])):i.index;let F=null;if(!s&&a&&(F=function CA(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,h=!1;else{o=OC(i,n,u,o),MC(C,r,o);const Q=t.listen(b,r,o);d.push(o,Q),c&&c.push(r,w,M,M+1)}}else o=OC(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let b=0;b-1?Ot(e.index,n):n,5);let a=xC(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=xC(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function n0(e){return(U.lFrame.contextLView=function Dg(e,n){for(;e>0;)n=n[ir],e--;return n}(e,U.lFrame.contextLView))[_e]}(e)}function kn(e,n,t){return Of(e,"",n,"",t),kn}function Of(e,n,t,i,r){const o=D(),s=kr(o,n,t,i);return s!==Z&&wt(J(),ye(),o,e,s,o[j],r,!1),Of}function HC(e,n,t,i){!function k_(e,n,t,i){const r=J();if(r.firstCreatePass){const o=he();P_(r,new N_(n,t,i),o.index),function EO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return R_(r,D(),t)}(e,n,t,i)}function Lt(e,n,t){!function L_(e,n,t){const i=J();return i.firstCreatePass&&(P_(i,new N_(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),R_(i,D(),n)}(e,n,t)}function bt(e){const n=D(),t=J(),i=Du();pa(i+1);const r=nf(t,i);if(e.dirty&&function UM(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=F_(n,i);e.reset(o,hm),e.notifyOnChanges()}return!0}return!1}function Et(){return function tf(e,n){return e[Sn].queries[n].queryList}(D(),Du())}function E(e,n=""){const t=D(),i=J(),r=e+L,o=i.firstCreatePass?Ii(i,r,1,n,null):i.data[r],s=QC(i,t,o,n,e);t[r]=s,vo()&&Ua(i,t,s,o),Kt(o,!1)}let QC=(e,n,t,i,r)=>(fn(!0),function fd(e,n){return e.createText(n)}(n[j],i));function N(e){return Y("",e,""),N}function Y(e,n,t){const i=D(),r=kr(i,e,n,t);return r!==Z&&function An(e,n,t){const i=po(n,e);!function pv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,Je(),r),Y}function Xe(e,n,t){j_(n)&&(n=n());const i=D();return Ae(i,Jt(),n)&&wt(J(),ye(),i,e,n,i[j],t,!1),Xe}function xe(e,n){const t=j_(e);return t&&e.set(n),t}function ot(e,n){const t=D(),i=J(),r=he();return xf(i,t,t[j],r,e,n),ot}function Af(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new _o(c,r,S),g=Lf(l,n,r?u:u+h,d);-1===g?(Nu(ya(a,s),o,l),Rf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Lf(l,n,u+h,d),g=Lf(l,n,u,u+h),b=g>=0&&t[g];if(r&&!b||!r&&!(p>=0&&t[p])){Nu(ya(a,s),o,l);const M=function GA(e,n,t,i,r){const o=new _o(e,t,S);return o.multi=[],o.index=n,o.componentProviders=0,sw(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&b&&(t[g].providerFactory=M),Rf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else Rf(o,e,p>-1?p:g,sw(t[r?g:p],c,!r&&i));!r&&i&&b&&t[g].componentProviders++}}}function Rf(e,n,t,i){const r=hi(n),o=function _M(e){return!!e.useClass}(n);if(r||o){const l=(o?B(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function sw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=J();if(i.firstCreatePass){const r=Yt(e);Af(t,i.data,i.blueprint,r,!0),Af(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function cs(e,n,t,i){return function cw(e,n,t,i,r,o){const s=n+t;return Ae(e,s,r)?vn(e,s+1,o?i.call(o,r):i(r)):us(e,s+1)}(D(),ct(),e,n,t,i)}function Pf(e,n,t,i,r){return function uw(e,n,t,i,r,o,s){const a=n+t;return Ni(e,a,r,o)?vn(e,a+2,s?i.call(s,r,o):i(r,o)):us(e,a+2)}(D(),ct(),e,n,t,i,r)}function We(e,n,t,i,r,o){return dw(D(),ct(),e,n,t,i,r,o)}function us(e,n){const t=e[n];return t===Z?void 0:t}function dw(e,n,t,i,r,o,s,a){const l=n+t;return function sl(e,n,t,i,r){const o=Ni(e,n,t,i);return Ae(e,n+2,r)||o}(e,l,r,o,s)?vn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):us(e,l+3)}function gw(e,n,t,i,r){const o=e+L,s=D(),a=function mi(e,n){return e[n]}(s,o);return function ds(e,n){return e[x].data[n].pure}(s,o)?dw(s,ct(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const kw=new R(""),Il=new R("");let zf,Uf=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,zf||(function iL(e){zf=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(pe),oe($f),oe(Il))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),$f=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}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,i=!0){return zf?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ml(e){return!!e&&"function"==typeof e.then}function Pw(e){return!!e&&"function"==typeof e.subscribe}const rL=new R("");let Fw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(rL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ml(o))t.push(o);else if(Pw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Gf=new R("");function Hw(e,n){return Array.isArray(n)?n.reduce(Hw,e):{...e,...n}}let Pn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(B0),this.afterRenderManager=k(dy),this.zonelessEnabled=k(qo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new sn,this.afterTick=new sn,this.componentTypes=[],this.components=[],this.isStable=k(ur).hasPendingTasks.pipe(Nc(t=>!t)),this._injector=k(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof y_;if(!this._injector.get(Fw).done)throw!r&&function fi(e){const n=X(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(el).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function oL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(it.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(kw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);const t=K(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,K(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Gd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)lL(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>ua(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Gf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Sl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function lL(e,n,t,i){(t||ua(e))&&Wa(e,n,t&&!i?0:1)}let fL=(()=>{class e{constructor(){this.zone=k(pe),this.changeDetectionScheduler=k(br),this.applicationRef=k(Pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qf({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new pe({...Wf(),scheduleInRootZone:t}),[{provide:pe,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=k(fL,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=k(pL);return()=>{i.initialize()}}},!0===n?{provide:__,useValue:!0}:[],{provide:zd,useValue:t??sm}]}function Wf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let pL=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=k(pe),this.pendingTasks=k(ur)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ps=(()=>{class e{constructor(){this.appRef=k(Pn),this.taskService=k(ur),this.ngZone=k(pe),this.zonelessEnabled=k(qo),this.disableScheduling=k(__,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new It,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(zd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Vu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?lm:am;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new R("",{providedIn:"root",factory:()=>k(Xn,ie.Optional|ie.SkipSelf)||function gL(){return typeof $localize<"u"&&$localize.locale||ml}()}),xl=new R("");function Ol(e){return!e.moduleRef}let qw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[qf({ngZoneFactory:()=>function H0(e="zone.js",n){return"noop"===e?new Vu:"zone.js"===e?new pe(n):e}(i?.ngZone,{...Wf({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:br,useExisting:ps}],l=function WO(e,n,t){return new of(e,n,t,!1)}(t.moduleType,this.injector,a);return function Gw(e){const n=Ol(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{Ol(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(pn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Ol(e)){const o=()=>n.destroy(),s=e.platformInjector.get(xl);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(xl);s.add(o),e.moduleRef.onDestroy(()=>{Sl(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function aL(e,n,t){try{const i=t();return Ml(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(Fw);return o.runInitializers(),o.donePromise.then(()=>{if(function P1(e){"string"==typeof e&&(lC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Xn,ml)||ml),Ol(e)){const a=n.get(Pn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function wL(e,n){const t=e.injector.get(Pn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new T(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=Hw({},i);return function dL(e,n,t){const i=new sf(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(xl,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(it))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ei=null;const Ww=new R("");function Zw(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=Qf();if(!s||s.injector.get(Ww,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function DL(e){if(ei&&!ei.get(Ww,!1))throw new T(400,!1);(function Vw(){!function dI(e){vp=e}(()=>{throw new T(600,!1)})})(),ei=e;const n=e.get(qw);(function Yw(e){e.get(Rm,null)?.forEach(t=>t())})(e)}(function Qw(e=[],n){return it.create({name:n,providers:[{provide:nu,useValue:"platform"},{provide:xl,useValue:new Set([()=>ei=null])},...e]})}(a,i))}return function bL(){const n=Qf();if(!n)throw new T(401,!1);return n}()}}function Qf(){return ei?.get(qw)??null}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IL}return e})();function IL(e){return function ML(e,n,t){if(gi(e)&&!t){const i=Ot(e.index,n);return new Vo(i,i)}return 175&e.type?new Vo(n[Te],n):null}(he(),D(),!(16&~e))}class tD{constructor(){}supports(n){return ol(n)}create(n){return new NL(n)}}const OL=(e,n)=>n;class NL{constructor(n){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=n||OL}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new AL(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new nD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class AL{constructor(n,t){this.item=n,this.trackById=t,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 RL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class nD{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new RL,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iD(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new kL(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class kL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function oD(){return new eh([new tD])}let eh=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:oD});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||oD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function sD(){return new Rl([new rD])}let Rl=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:sD});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||sD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const VL=Zw(null,"core",[]);let HL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Pn))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function _s(e,n){dt("NgSignals");const t=function lI(e){const n=Object.create(cI);n.computation=e;const t=()=>{if(up(n),vc(n),n.value===Fs)throw n.error;return n.value};return t[zt]=n,t}(e);return n?.equal&&(t[zt].equal=n.equal),t}function wn(e){const n=K(null);try{return e()}finally{K(n)}}let xD=null;function ys(){return xD}class bk{}const Fi=new R(""),hh=/\s+/,VD=[];let Zr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=VD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(hh):VD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(hh):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(hh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class dP{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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 Vi=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new dP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),BD(a,r)}});for(let r=0,o=i.length;r{BD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn),S(eh))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function BD(e,n){e.context.$implicit=n.item}let Hn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new fP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jD("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,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class fP{constructor(){this.$implicit=null,this.ngIf=null}}function jD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let $D=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,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,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Qn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Rl),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),zD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[un]})}return e})();let qD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function rn(e,n){return new T(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=yt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),WD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function QD(e){return"server"===e}class pF extends bk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wh extends pF{static makeCurrent(){!function Dk(e){xD??=e}(new wh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function gF(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==t?null:function mF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function cP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let bs=null,_F=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Dh=new R("");let sb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Dh),oe(pe))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class ab{constructor(n){this._doc=n}}const bh="ng-app-id";let lb=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=QD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${bh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(bh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(bh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi),oe(hr),oe(Lm,8),oe(wi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ih=/%COMP%/g,DF=new R("",{providedIn:"root",factory:()=>!0});function ub(e,n){return n.map(t=>t.replace(Ih,e))}let db=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=QD(a),this.defaultRenderer=new Mh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gt.ShadowDom&&(i={...i,encapsulation:Gt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof hb?r.applyToHost(t):r instanceof Sh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Gt.Emulated:o=new hb(l,c,i,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new MF(l,c,t,i,s,a,this.nonce,d);default:o=new Sh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(sb),oe(lb),oe(hr),oe(DF),oe(Fi),oe(wi),oe(pe),oe(Lm))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Mh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(fb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(fb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Eh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Eh[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(t,i,r&Qn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ys().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function fb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class MF extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ub(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Sh extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?ub(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class hb extends Sh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function bF(e){return"_ngcontent-%COMP%".replace(Ih,e)}(c),this.hostAttr=function EF(e){return"_nghost-%COMP%".replace(Ih,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let SF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const pb=["alt","control","meta","shift"],TF={"\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"},xF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ys().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),pb.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=TF[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),pb.forEach(s=>{s!==r&&(0,xF[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const LF=Zw(VL,"browser",[{provide:wi,useValue:"browser"},{provide:Rm,useValue:function NF(){wh.makeCurrent()},multi:!0},{provide:Fi,useFactory:function RF(){return function lS(e){zu=e}(document),document},deps:[]}]),kF=new R(""),vb=[{provide:Il,useClass:class vF{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ys().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:kw,useClass:Uf,deps:[pe,$f,Il]},{provide:Uf,useClass:Uf,deps:[pe,$f,Il]}],_b=[{provide:nu,useValue:"root"},{provide:pn,useFactory:function AF(){return new pn},deps:[]},{provide:Dh,useClass:SF,multi:!0,deps:[Fi,pe,wi]},{provide:Dh,useClass:OF,multi:!0,deps:[Fi]},db,lb,sb,{provide:Gd,useExisting:db},{provide:class BP{},useClass:_F,deps:[]},[]];let PF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:hr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(kF,12))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({providers:[..._b,...vb],imports:[WD,HL]})}return e})();function ti(e){return this instanceof ti?(this.v=e,this):new ti(e)}function Eb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ib=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Mb(e){return Pe(e?.then)}function Sb(e){return Pe(e[xc])}function Tb(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function xb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ob=function a2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Nb(e){return Pe(e?.[Ob])}function Ab(e){return function bb(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(b,M){o.push([p,C,b,M])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof ti?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ti(t.read());if(r)return yield ti(void 0);yield yield ti(i)}}finally{t.releaseLock()}})}function Rb(e){return Pe(e?.getReader)}function Es(e){if(e instanceof Mt)return e;if(null!=e){if(Sb(e))return function l2(e){return new Mt(n=>{const t=e[xc]();if(Pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ib(e))return function c2(e){return new Mt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ip)})}(e);if(Tb(e))return Lb(e);if(Nb(e))return function d2(e){return new Mt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Rb(e))return function f2(e){return Lb(Ab(e))}(e)}throw xb(e)}function Lb(e){return new Mt(n=>{(function h2(e,n){var t,i,r,o;return function wb(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Eb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function kb(e,n=0){return ui((t,i)=>{t.subscribe(Bn(i,r=>Bi(i,e,()=>i.next(r),n),()=>Bi(i,e,()=>i.complete(),n),r=>Bi(i,e,()=>i.error(r),n)))})}function Pb(e,n=0){return ui((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Fb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Mt(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:w2}=Array,{getPrototypeOf:D2,prototype:b2,keys:E2}=Object;const{isArray:T2}=Array;function N2(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function A2(...e){const n=function S2(e){return Pe(function Ah(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function I2(e){if(1===e.length){const n=e[0];if(w2(n))return{args:n,keys:null};if(function M2(e){return e&&"object"==typeof e&&D2(e)===b2}(n)){const t=E2(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Mt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?N2(i,a):a),o.complete())}))}});return n?r.pipe(function O2(e){return Nc(n=>function x2(e,n){return T2(n)?e(...n):e(n)}(e,n))}(n)):r}let Vb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut))};static#t=this.\u0275dir=$({type:e})}return e})(),ji=(()=>{class e extends Vb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const on=new R(""),R2={provide:on,useExisting:ge(()=>Rh),multi:!0};let Rh=(()=>{class e extends ji{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([R2]),ce]})}return e})();const L2={provide:on,useExisting:ge(()=>Is),multi:!0},P2=new R("");let Is=(()=>{class e extends Vb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k2(){const e=ys()?ys().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",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)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(P2,8))};static#t=this.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&q("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([L2]),ce]})}return e})();const st=new R(""),ii=new R("");function Zb(e){return null!=e}function Qb(e){return Ml(e)?function C2(e,n){return n?function y2(e,n){if(null!=e){if(Sb(e))return function p2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Ib(e))return function m2(e,n){return new Mt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Mb(e))return function g2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Tb(e))return Fb(e,n);if(Nb(e))return function v2(e,n){return new Mt(t=>{let i;return Bi(t,n,()=>{i=e[Ob](),Bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Pe(i?.return)&&i.return()})}(e,n);if(Rb(e))return function _2(e,n){return Fb(Ab(e),n)}(e,n)}throw xb(e)}(e,n):Es(e)}(e):e}function Yb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Kb(e,n){return n.map(t=>t(e))}function Jb(e){return e.map(n=>function V2(e){return!e.validate}(n)?n:t=>n.validate(t))}function Lh(e){return null!=e?function Xb(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return Yb(Kb(t,n))}}(Jb(e)):null}function kh(e){return null!=e?function eE(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return A2(Kb(t,n).map(Qb)).pipe(Nc(Yb))}}(Jb(e)):null}function tE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Ph(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,n){return Array.isArray(e)?e.includes(n):e===n}function rE(e,n){const t=Ph(n);return Ph(e).forEach(r=>{nc(t,r)||t.push(r)}),t}function oE(e,n){return Ph(n).filter(t=>!nc(e,t))}class sE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Lh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=kh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class mt extends sE{get formDirective(){return null}get path(){return null}}class ri extends sE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class aE{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ic=(()=>{class e extends aE{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ri,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ln("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ce]})}return e})();const Ms="VALID",oc="INVALID",Yr="PENDING",Ss="DISABLED";class Kr{}class cE extends Kr{constructor(n,t){super(),this.value=n,this.source=t}}class Hh extends Kr{constructor(n,t){super(),this.pristine=n,this.source=t}}class Bh extends Kr{constructor(n,t){super(),this.touched=n,this.source=t}}class sc extends Kr{constructor(n,t){super(),this.status=n,this.source=t}}function ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class $h{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_s(()=>this.statusReactive()),this.statusReactive=Er(void 0),this._pristine=_s(()=>this.pristineReactive()),this.pristineReactive=Er(!0),this._touched=_s(()=>this.touchedReactive()),this.touchedReactive=Er(!1),this._events=new sn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return wn(this.statusReactive)}set status(n){wn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ms}get invalid(){return this.status===oc}get pending(){return this.status==Yr}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return wn(this.pristineReactive)}set pristine(n){wn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return wn(this.touchedReactive)}set touched(n){wn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oE(n,this._rawAsyncValidators))}hasValidator(n){return nc(this._rawValidators,n)}hasAsyncValidator(n){return nc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Bh(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new Bh(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Hh(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Hh(!0,i))}markAsPending(n={}){this.status=Yr;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new sc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,i)),this._events.next(new sc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Yr)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,t)),this._events.next(new sc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Yr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Qb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new sc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ce,this.statusChanges=new Ce}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?oc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yr)?Yr:this._anyControlsHaveStatus(oc)?oc:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Hh(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Bh(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q2(e){return Array.isArray(e)?Lh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function W2(e){return Array.isArray(e)?kh(e):e||null}(this._rawAsyncValidators)}}const Jr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>lc}),lc="always";function Ts(e,n,t=lc){(function Gh(e,n){const t=function nE(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(tE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function iE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(tE(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();dc(n._rawValidators,r),dc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Y2(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fE(e,n)})}(e,n),function J2(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function K2(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q2(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function dc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function gE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function mE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const vE=class extends $h{constructor(n=null,t,i){super(function jh(e){return(ac(e)?e.validators:e)||null}(t),function Uh(e,n){return(ac(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=mE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){mE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},sV={provide:ri,useExisting:ge(()=>Os)},CE=Promise.resolve();let Os=(()=>{class e extends ri{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new vE,this._registered=!1,this.name="",this.update=new Ce,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Zh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Is?t=o:function tV(e){return Object.getPrototypeOf(e.constructor)===ji}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Wh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(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(){Ts(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){CE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function ih(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);CE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function cc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(S(mt,9),S(st,10),S(ii,10),S(on,10),S(ki,8),S(Jr,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([sV]),ce,un]})}return e})();const dV={provide:on,useExisting:ge(()=>Yh),multi:!0};let Yh=(()=>{class e extends ji{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Ie([dV]),ce]})}return e})();const vV={provide:on,useExisting:ge(()=>Ns),multi:!0};function SE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ns=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=SE(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function _V(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([vV]),ce]})}return e})(),ep=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(SE(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))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(Ns,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const yV={provide:on,useExisting:ge(()=>tp),multi:!0};function TE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let tp=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([yV]),ce]})}return e})(),np=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(TE(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))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(tp,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),xV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jr,useValue:t.callSetDisabledState??lc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({imports:[xV]})}return e})();class AV extends It{constructor(n,t){super()}schedule(n,t=0){return this}}const hc={setInterval(e,n,...t){const{delegate:i}=hc;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=hc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},VE={now:()=>(VE.delegate||Date).now(),delegate:void 0};class As{constructor(n,t=As.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}As.now=VE.now;const HE=new class LV extends As{constructor(n,t=As.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class RV extends AV{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return hc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&hc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),kV=HE;function BE(e,n=HE,t){const i=function HV(e=0,n,t=kV){let i=-1;return null!=n&&(function FV(e){return e&&Pe(e.schedule)}(n)?t=n:i=n),new Mt(r=>{let o=function VV(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function PV(e,n){return ui((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Es(e(g)).subscribe(Bn(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Bn(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function jE(e,n,t){const i=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?ui((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Bn(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Oc}function UE(e,n=Oc){return e=e??BV,ui((t,i)=>{let r,o=!0;t.subscribe(Bn(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function BV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Xr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),$E=!1,zE=function(){};Pt.addEventListener&&Pt.addEventListener("p",zE,{get passive(){return $E=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",zE,!1);var GE=$E,rp="ontouchstart"in Pt,WE=(rp||"TouchEvent"in Pt&&Xr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Xr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(WE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Xr("(pointer: coarse)").matches||!Xr("(pointer: fine)").matches&&rp)&&/Windows.*Firefox/.test(WE),Xr("(any-pointer: fine)").matches||Xr("(any-hover: hover)");const WV=(e,n,t)=>({tooltip:e,placement:n,content:t});function ZV(e,n){}function QV(e,n){1&e&&V(0,ZV,0,0,"ng-template")}function YV(e,n){if(1&e&&(ee(0),V(1,QV,1,0,null,1),te()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",We(2,WV,t.tooltip,t.placement,t.content))}}function KV(e,n){if(1&e&&(ee(0),y(1,"div",2),E(2),_(),te()),2&e){const t=v();f(),ft("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const JV=["tooltipTemplate"],XV=["leftOuterSelectionBar"],eH=["rightOuterSelectionBar"],tH=["fullBar"],nH=["selectionBar"],iH=["minHandle"],rH=["maxHandle"],oH=["floorLabel"],sH=["ceilLabel"],aH=["minHandleLabel"],lH=["maxHandleLabel"],cH=["combinedLabel"],uH=["ticksElement"],dH=e=>({"ngx-slider-selected":e});function fH(e,n){if(1&e&&O(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function hH(e,n){1&e&&O(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function pH(e,n){1&e&&O(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,rv)}function gH(e,n){if(1&e&&(y(0,"span",27),O(1,"ngx-slider-tooltip-wrapper",28),V(2,fH,1,4,"ngx-slider-tooltip-wrapper",29)(3,hH,1,1,"span",30)(4,pH,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",cs(8,dH,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var Dn=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(Dn||{});class pc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const YE=new R("AllowUnsafeHtmlInSlider");var A=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(A||{});class mH{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new KE;return o.eventName=t,o.events=new sn,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let si=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new JE(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&hl("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),op=(()=>{class e extends si{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ft("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Ln("ngx-slider-active",r.active))},features:[ce]})}return e})(),eo=(()=>{class e extends si{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki),S(YE,8))};static \u0275dir=$({type:e,selectors:[["","ngxSliderLabel",""]],features:[ce]})}return e})(),vH=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&V(0,YV,2,6,"ng-container",0)(1,KV,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[Hn,zD],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class _H{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class XE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class gc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class eI extends gc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const yH={provide:on,useExisting:ge(()=>tI),multi:!0};let tI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ce;highValue=null;highValueChange=new Ce;options=new pc;userChangeStart=new Ce;userChange=new Ce;userChangeEnd=new Ce;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new sn;inputModelChangeSubscription=null;outputModelChangeSubject=new sn;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new pc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new XE;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new JE(this.renderer)}ngOnInit(){this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(UE(eI.compare),function jV(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(UE(eI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){oi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){oi.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===A.Min?this.minHandleElement:t===A.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===A.Min?this.viewLowValue:this.currentTrackingPointer===A.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!gc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new gc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);gc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==A.Min&&t!==A.Max&&(t=A.Min),t===A.Min?this.minHandleElement.focus():this.range&&t===A.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Dn.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Dn.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new _H;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,Dn.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Dn.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Dn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===A.Min?this.updateLowHandle(i):t===A.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===A.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===A.Min||!this.viewOptions.rightToLeft&&t===A.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Dn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(A.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(A.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Dn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(A.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(A.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===A.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,Dn.Low),r=this.getDisplayValue(this.viewHighValue,Dn.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?A.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?A.Min:A.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(A.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(A.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!oi.isTouchEvent(i)&&!GE&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),oi.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(oi.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){oi.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===A.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===A.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(t)),this.updateHandles(A.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===A.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===A.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(A.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=A.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===A.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===A.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===A.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===A.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===A.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===A.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===A.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new mH;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(ki),S(pe),S(YE,8))};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&HC(o,JV,5),2&i){let s;bt(s=Et())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Lt(XV,5,si),Lt(eH,5,si),Lt(tH,5,si),Lt(nH,5,si),Lt(iH,5,op),Lt(rH,5,op),Lt(oH,5,eo),Lt(sH,5,eo),Lt(aH,5,eo),Lt(lH,5,eo),Lt(cH,5,eo),Lt(uH,5,si)),2&i){let o;bt(o=Et())&&(r.leftOuterSelectionBarElement=o.first),bt(o=Et())&&(r.rightOuterSelectionBarElement=o.first),bt(o=Et())&&(r.fullBarElement=o.first),bt(o=Et())&&(r.selectionBarElement=o.first),bt(o=Et())&&(r.minHandleElement=o.first),bt(o=Et())&&(r.maxHandleElement=o.first),bt(o=Et())&&(r.floorLabelElement=o.first),bt(o=Et())&&(r.ceilLabelElement=o.first),bt(o=Et())&&(r.minHandleLabelElement=o.first),bt(o=Et())&&(r.maxHandleLabelElement=o.first),bt(o=Et())&&(r.combinedLabelElement=o.first),bt(o=Et())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&q("resize",function(s){return r.onResize(s)},0,Ha),2&i&&(ft("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Ln("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Ie([yH]),un],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),O(2,"span",13),_(),y(3,"span",14,1),O(5,"span",13),_(),y(6,"span",15,2),O(8,"span",13),_(),y(9,"span",16,3),O(11,"span",17),_(),O(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),V(28,gH,5,10,"span",26),_()),2&i&&(f(6),Ln("ngx-slider-transparent",r.fullBarTransparentClass),f(3),Ln("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),hl("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),Ln("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Zr,Vi,Hn,$D,si,op,eo,vH],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),CH=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=zn({type:e});static \u0275inj=En({imports:[WD]})}return e})();class nI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class wH{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class DH{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class $t{static roundNumber(n){return Math.floor(n*Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new DH(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:$t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function bH(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),EH=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(E(0,"\xa0"),y(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),kn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function IH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),G(r)}),q("change",function(){z(t);const r=v();return G(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Xe("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function MH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v().translations)}function SH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function TH(e,n){1&e&&(y(0,"a",13),O(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Zn)}function xH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),q("change",function(){const r=z(t).$implicit;return G(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),V(5,TH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function OH(e,n){if(1&e&&(ee(0),O(1,"br")(2,"br"),y(3,"b"),E(4),_(),V(5,SH,1,1,"pro-button",7)(6,xH,6,4,"div",10),te()),2&e){const t=v();f(4),N(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let NH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ce,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ce,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ce,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ce,this.visibleMetrics=[],this.visibleMetricsChange=new Ce}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),q("click",function(){return r.close()}),y(1,"div",1),q("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),q("click",function(){return r.close()}),E(3,"X"),_(),y(4,"b"),E(5),_(),y(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),q("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),V(10,IH,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),q("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),V(15,MH,1,1,"pro-button",7),_(),V(16,OH,7,3,"ng-container",8),_()()),2&i&&(f(5),N(r.translations.coverageTypes),f(3),Xe("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),Xe("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Vi,Hn,Rh,ic,Os,EH],encapsulation:2})}return e})();function AH(e,n){1&e&&O(0,"td",3)}function RH(e,n){1&e&&O(0,"td"),2&e&&Cn("green ",v().greenClass,"")}function LH(e,n){1&e&&O(0,"td"),2&e&&Cn("red ",v().redClass,"")}let rI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),V(1,AH,1,0,"td",1)(2,RH,1,3,"td",2)(3,LH,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[Hn],encapsulation:2,changeDetection:0})}return e})();const kH=["codeelement-row",""],PH=(e,n)=>({"icon-plus":e,"icon-minus":n});function FH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function VH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function HH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function BH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function jH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function UH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function $H(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function zH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function GH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function qH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function WH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ZH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function QH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function YH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function KH(e,n){1&e&&O(0,"th",5)}let JH=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:kH,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),q("click",function(s){return r.element.toggleCollapse(s)}),O(2,"i",1),E(3),_()(),V(4,FH,2,1,"th",2)(5,VH,2,1,"th",2)(6,HH,2,1,"th",2)(7,BH,2,1,"th",2)(8,jH,2,2,"th",3)(9,UH,2,1,"th",2)(10,$H,2,1,"th",2)(11,zH,2,1,"th",2)(12,GH,2,2,"th",3)(13,qH,2,1,"th",2)(14,WH,2,1,"th",2)(15,ZH,2,1,"th",2)(16,QH,2,2,"th",3)(17,YH,2,1,"th",2)(18,KH,1,0,"th",4)),2&i&&(f(2),m("ngClass",Pf(17,PH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Zr,Vi,Hn,rI],encapsulation:2,changeDetection:0})}return e})();const XH=["coverage-history-chart",""];let eB=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function nB(e,n){if(1&e&&(y(0,"a",5),E(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Zn),f(),N(t.clazz.name)}}function iB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v();f(),N(t.clazz.name)}}function rB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function oB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function sB(e,n){if(1&e&&(y(0,"td",6),V(1,rB,5,6,"ng-container",1)(2,oB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function aB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function lB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function cB(e,n){if(1&e&&(y(0,"td",6),V(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.cal)}}function dB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function fB(e,n){if(1&e&&(y(0,"td",6),V(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tl)}}function pB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function gB(e,n){if(1&e&&(y(0,"td",6),V(1,hB,5,3,"ng-container",1)(2,pB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function mB(e,n){if(1&e&&O(0,"div",11),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function vB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function _B(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function yB(e,n){if(1&e&&(y(0,"td",9),V(1,mB,1,5,"div",10)(2,vB,5,6,"ng-container",1)(3,_B,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function CB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function wB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function DB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function bB(e,n){if(1&e&&(y(0,"td",6),V(1,wB,5,6,"ng-container",1)(2,DB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function EB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function IB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function MB(e,n){if(1&e&&(y(0,"td",6),V(1,EB,5,3,"ng-container",1)(2,IB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function SB(e,n){if(1&e&&O(0,"div",14),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function TB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function xB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function OB(e,n){if(1&e&&(y(0,"td",9),V(1,SB,1,5,"div",13)(2,TB,5,6,"ng-container",1)(3,xB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function NB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function AB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function RB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function LB(e,n){if(1&e&&(y(0,"td",6),V(1,AB,5,6,"ng-container",1)(2,RB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function kB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function PB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function FB(e,n){if(1&e&&(y(0,"td",6),V(1,kB,5,3,"ng-container",1)(2,PB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function VB(e,n){if(1&e&&O(0,"div",16),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function HB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function BB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function jB(e,n){if(1&e&&(y(0,"td",9),V(1,VB,1,5,"div",15)(2,HB,5,6,"ng-container",1)(3,BB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function UB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function $B(e,n){if(1&e&&(y(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),N(i.clazz.metrics[t.abbreviation])}}let zB=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function GB(e,n){if(1&e){const t=Ee();y(0,"popup",30),ot("visibleChange",function(r){z(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),G(r)})("showLineCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),G(r)})("showBranchCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),G(r)})("showMethodCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),G(r)})("visibleMetricsChange",function(r){z(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),G(r)}),_()}if(2&e){const t=v(2);Xe("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Xe("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function qB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.noGrouping)}}function WB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byAssembly)}}function ZB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byNamespace+" "+t.settings.grouping)}}function QB(e,n){if(1&e&&(y(0,"option",34),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function YB(e,n){1&e&&O(0,"br")}function KB(e,n){if(1&e&&(y(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function JB(e,n){if(1&e&&(y(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function XB(e,n){if(1&e&&(y(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function ej(e,n){if(1&e&&(y(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function tj(e,n){if(1&e){const t=Ee();y(0,"div")(1,"select",31),ot("ngModelChange",function(r){z(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),G(r)}),y(2,"option",32),E(3),_(),y(4,"option",35),E(5),_(),y(6,"option",36),E(7),_(),y(8,"option",37),E(9),_(),V(10,KB,2,1,"option",38)(11,JB,2,1,"option",39)(12,XB,2,1,"option",40)(13,ej,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Xe("ngModel",t.settings.historyComparisionType),f(2),N(t.translations.filter),f(2),N(t.translations.allChanges),f(2),N(t.translations.lineCoverageIncreaseOnly),f(2),N(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function nj(e,n){if(1&e){const t=Ee();ee(0),y(1,"div"),E(2),y(3,"select",31),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),G(r)}),q("ngModelChange",function(){return z(t),G(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),E(5),_(),V(6,QB,2,2,"option",33),_()(),V(7,YB,1,0,"br",0)(8,tj,14,9,"div",0),te()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Xe("ngModel",t.settings.historyComparisionDate),f(2),N(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function ij(e,n){1&e&&O(0,"col",46)}function rj(e,n){1&e&&O(0,"col",47)}function oj(e,n){1&e&&O(0,"col",48)}function sj(e,n){1&e&&O(0,"col",49)}function aj(e,n){1&e&&O(0,"col",50)}function lj(e,n){1&e&&O(0,"col",51)}function cj(e,n){1&e&&O(0,"col",46)}function uj(e,n){1&e&&O(0,"col",49)}function dj(e,n){1&e&&O(0,"col",50)}function fj(e,n){1&e&&O(0,"col",51)}function hj(e,n){1&e&&O(0,"col",46)}function pj(e,n){1&e&&O(0,"col",49)}function gj(e,n){1&e&&O(0,"col",50)}function mj(e,n){1&e&&O(0,"col",51)}function vj(e,n){1&e&&O(0,"col",51)}function _j(e,n){if(1&e&&(y(0,"th",52),E(1),_()),2&e){const t=v(2);f(),N(t.translations.coverage)}}function yj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.branchCoverage)}}function Cj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.methodCoverage)}}function wj(e,n){if(1&e&&(y(0,"th",54),E(1),_()),2&e){const t=v(2);ft("colspan",t.settings.visibleMetrics.length),f(),N(t.translations.metrics)}}function Dj(e,n){if(1&e){const t=Ee();y(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function bj(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function Ej(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function Ij(e,n){1&e&&O(0,"td",54),2&e&&ft("colspan",v(2).settings.visibleMetrics.length)}function Mj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Sj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("uncovered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function Tj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverable",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function xj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Oj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Nj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Aj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Rj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("branchcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Lj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function kj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Pj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("methodcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Fj(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),q("click",function(r){const o=z(t).$implicit;return G(v(2).updateSorting(o.abbreviation,r))}),O(2,"i",26),E(3),_(),y(4,"a",58),O(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",We(3,Ft,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function Vj(e,n){if(1&e&&O(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function Hj(e,n){if(1&e&&O(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Bj(e,n){if(1&e&&(ee(0),V(1,Hj,1,7,"tr",62),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function jj(e,n){if(1&e&&O(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Uj(e,n){if(1&e&&(ee(0),V(1,jj,1,7,"tr",65),te()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function $j(e,n){if(1&e&&(ee(0),O(1,"tr",64),V(2,Uj,2,1,"ng-container",29),te()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function zj(e,n){if(1&e&&(ee(0),V(1,$j,3,7,"ng-container",0),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Gj(e,n){if(1&e&&(ee(0),V(1,Vj,1,6,"tr",60)(2,Bj,2,1,"ng-container",29)(3,zj,2,1,"ng-container",29),te()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function qj(e,n){if(1&e){const t=Ee();y(0,"div"),V(1,GB,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),q("click",function(r){return z(t),G(v().collapseAll(r))}),E(5),_(),E(6," | "),y(7,"a",3),q("click",function(r){return z(t),G(v().expandAll(r))}),E(8),_()(),y(9,"div",4)(10,"span",5),V(11,qB,2,1,"ng-container",0)(12,WB,2,1,"ng-container",0)(13,ZB,2,1,"ng-container",0),_(),O(14,"br"),E(15),y(16,"input",6),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateCoverageInfo())}),_()(),y(17,"div",4),V(18,nj,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),q("click",function(){return z(t),G(v().popupVisible=!0)}),O(21,"i",9),E(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),O(26,"col",12),V(27,ij,1,0,"col",13)(28,rj,1,0,"col",14)(29,oj,1,0,"col",15)(30,sj,1,0,"col",16)(31,aj,1,0,"col",17)(32,lj,1,0,"col",18)(33,cj,1,0,"col",13)(34,uj,1,0,"col",16)(35,dj,1,0,"col",17)(36,fj,1,0,"col",18)(37,hj,1,0,"col",13)(38,pj,1,0,"col",16)(39,gj,1,0,"col",17)(40,mj,1,0,"col",18)(41,vj,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),O(44,"th"),V(45,_j,2,1,"th",21)(46,yj,2,1,"th",22)(47,Cj,2,1,"th",22)(48,wj,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),_()(),V(52,Dj,2,3,"td",21)(53,bj,2,3,"td",22)(54,Ej,2,3,"td",22)(55,Ij,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),q("click",function(r){return z(t),G(v().updateSorting("name",r))}),O(59,"i",26),E(60),_()(),V(61,Mj,4,6,"th",27)(62,Sj,4,6,"th",27)(63,Tj,4,6,"th",27)(64,xj,4,6,"th",27)(65,Oj,4,6,"th",28)(66,Nj,4,6,"th",27)(67,Aj,4,6,"th",27)(68,Rj,4,6,"th",28)(69,Lj,4,6,"th",27)(70,kj,4,6,"th",27)(71,Pj,4,6,"th",28)(72,Fj,6,7,"th",29),_()(),y(73,"tbody"),V(74,Gj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),Xe("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),kn("placeholder",t.translations.filter),Xe("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",We(51,Ft,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let Wj=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new wH,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,$t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ap))};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&q("beforeunload",function(){return r.onBeforeUnload()},0,Ha)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&V(0,qj,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Yh,Ns,ic,Os,tI,NH,JH,zB],encapsulation:2})}return e})();class Zj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const mc=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Qj=(e,n)=>({lightred:e,lightgreen:n});function Yj(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function Kj(e,n){if(1&e&&(y(0,"span"),E(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function Jj(e,n){1&e&&(y(0,"option",23),E(1,"20"),_())}function Xj(e,n){1&e&&(y(0,"option",24),E(1,"50"),_())}function e3(e,n){1&e&&(y(0,"option",25),E(1,"100"),_())}function t3(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function n3(e,n){if(1&e){const t=Ee();y(0,"select",17),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),G(r)}),y(1,"option",18),E(2,"10"),_(),V(3,Jj,2,0,"option",19)(4,Xj,2,0,"option",20)(5,e3,2,0,"option",21)(6,t3,2,2,"option",22),_()}if(2&e){const t=v(2);Xe("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function i3(e,n){1&e&&O(0,"col",26)}function r3(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),q("click",function(r){const o=z(t).index;return G(v(2).updateSorting(""+o,r))}),O(2,"i",14),E(3),_(),y(4,"a",27),O(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",We(3,mc,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function o3(e,n){if(1&e&&(y(0,"td",32),E(1),_()),2&e){const t=n.$implicit;m("ngClass",Pf(2,Qj,t.exceeded,!t.exceeded)),f(),N(t.value)}}function s3(e,n){if(1&e&&(y(0,"tr")(1,"td"),E(2),_(),y(3,"td")(4,"a",29),E(5),_()(),y(6,"td",30)(7,"a",29),E(8),_()(),V(9,o3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),N(t.assembly),f(2),m("href",t.reportPath+i.queryString,Zn),f(),N(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Zn),f(),Y(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function a3(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),y(4,"option",3),E(5),_(),V(6,Yj,2,2,"option",4),_()(),y(7,"div",5),V(8,Kj,2,1,"span",0)(9,n3,7,5,"select",6),_(),O(10,"div",5),y(11,"div",7)(12,"span"),E(13),_(),y(14,"input",8),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),O(18,"col",11)(19,"col",11)(20,"col",11),V(21,i3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),q("click",function(r){return z(t),G(v().updateSorting("assembly",r))}),O(26,"i",14),E(27),_()(),y(28,"th")(29,"a",13),q("click",function(r){return z(t),G(v().updateSorting("class",r))}),O(30,"i",14),E(31),_()(),y(32,"th")(33,"a",13),q("click",function(r){return z(t),G(v().updateSorting("method",r))}),O(34,"i",14),E(35),_()(),V(36,r3,6,7,"th",15),_()(),y(37,"tbody"),V(38,s3,10,7,"tr",15),function pw(e,n){const t=J();let i;const r=e+L;t.firstCreatePass?(i=function rR(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=di(i.type)),a=vt(S);try{const l=_a(!1),c=o();return _a(l),function Nf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,D(),r,c),c}finally{vt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Xe("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Xe("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",We(20,mc,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),m("ngClass",We(24,mc,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),m("ngClass",We(28,mc,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",gw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let l3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Zj,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Ns,ic,Os,qD],encapsulation:2})}return e})(),c3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e,bootstrap:[l3,Wj]});static#n=this.\u0275inj=En({providers:[ap],imports:[PF,NV,CH]})}return e})();LF().bootstrapModule(c3).catch(e=>console.error(e))}},no=>{no(no.s=197)}]); \ No newline at end of file