From 3e5fd9de8e876e5b021c0d671b44ecb713793cc5 Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Tue, 14 May 2024 21:03:24 +0200 Subject: [PATCH] Release 5.3.0 --- .github/workflows/ci.yml | 2 +- .../reports/Badges/badge_branchcoverage.svg | 2 +- .../reports/Badges/badge_combined.svg | 2 +- .../reports/Badges/badge_linecoverage.svg | 2 +- .../reports/Badges/badge_methodcoverage.svg | 2 +- docs/resources/reports/Clover/Clover.xml | 6 +- .../resources/reports/Cobertura/Cobertura.xml | 2 +- .../reports/CodeClimate/codeclimate.json | 12 +-- docs/resources/reports/CsvSummary/Summary.csv | 2 +- .../reports/Html/Sample_PartialClass.html | 8 +- .../reports/Html/Sample_Program.html | 8 +- .../reports/Html/Sample_TestClass.html | 8 +- .../reports/Html/Sample_TestClass2.html | 8 +- docs/resources/reports/Html/index.html | 8 +- docs/resources/reports/Html/main.js | 14 +-- docs/resources/reports/Html/report.css | 37 +++++++- .../reports/HtmlChart/CoverageHistory.htm | 57 +++++++++--- .../reports/HtmlChart/CoverageHistory.html | 57 +++++++++--- .../HtmlInline/Sample_PartialClass.html | 45 ++++++++- .../reports/HtmlInline/Sample_Program.html | 45 ++++++++- .../reports/HtmlInline/Sample_TestClass.html | 45 ++++++++- .../reports/HtmlInline/Sample_TestClass2.html | 45 ++++++++- docs/resources/reports/HtmlInline/index.html | 59 +++++++++--- .../Sample_PartialClass.html | 46 +++++++++- .../Sample_Program.html | 46 +++++++++- .../Sample_TestClass.html | 46 +++++++++- .../Sample_TestClass2.html | 46 +++++++++- .../HtmlInline_AzurePipelines/index.html | 60 +++++++++--- .../Sample_PartialClass.html | 46 +++++++++- .../Sample_Program.html | 46 +++++++++- .../Sample_TestClass.html | 46 +++++++++- .../Sample_TestClass2.html | 46 +++++++++- .../HtmlInline_AzurePipelines_Dark/index.html | 60 +++++++++--- .../Sample_PartialClass.html | 46 +++++++++- .../Sample_Program.html | 46 +++++++++- .../Sample_TestClass.html | 46 +++++++++- .../Sample_TestClass2.html | 46 +++++++++- .../index.html | 60 +++++++++--- .../reports/HtmlSummary/summary.html | 59 +++++++++--- .../Html_BlueRed/Sample_PartialClass.html | 8 +- .../reports/Html_BlueRed/Sample_Program.html | 8 +- .../Html_BlueRed/Sample_TestClass.html | 8 +- .../Html_BlueRed/Sample_TestClass2.html | 8 +- .../resources/reports/Html_BlueRed/index.html | 8 +- docs/resources/reports/Html_BlueRed/main.js | 14 +-- .../resources/reports/Html_BlueRed/report.css | 37 +++++++- .../reports/Html_BlueRed_Summary/summary.html | 59 +++++++++--- .../Html_Dark/Sample_PartialClass.html | 8 +- .../reports/Html_Dark/Sample_Program.html | 8 +- .../reports/Html_Dark/Sample_TestClass.html | 8 +- .../reports/Html_Dark/Sample_TestClass2.html | 8 +- docs/resources/reports/Html_Dark/index.html | 8 +- docs/resources/reports/Html_Dark/main.js | 14 +-- docs/resources/reports/Html_Dark/report.css | 37 +++++++- .../Html_Light/Sample_PartialClass.html | 8 +- .../reports/Html_Light/Sample_Program.html | 8 +- .../reports/Html_Light/Sample_TestClass.html | 8 +- .../reports/Html_Light/Sample_TestClass2.html | 8 +- docs/resources/reports/Html_Light/index.html | 8 +- docs/resources/reports/Html_Light/main.js | 14 +-- docs/resources/reports/Html_Light/report.css | 37 +++++++- .../reports/JsonSummary/Summary.json | 2 +- docs/resources/reports/Latex/Summary.tex | 6 +- .../reports/LatexSummary/Summary.tex | 6 +- docs/resources/reports/MHtml/Summary.mht | 91 +++++++++++++------ .../MarkdownAssembliesSummary/Summary.md | 2 + .../MarkdownDeltaSummary/DeltaSummary.md | 4 +- .../reports/MarkdownSummary/Summary.md | 2 +- .../MarkdownSummaryGithub/SummaryGithub.md | 2 +- .../resources/reports/OpenCover/OpenCover.xml | 2 +- .../reports/TextDeltaSummary/DeltaSummary.txt | 4 +- .../resources/reports/TextSummary/Summary.txt | 2 +- docs/resources/reports/Xml/Summary.xml | 2 +- docs/resources/reports/XmlSummary/Summary.xml | 2 +- src/AzureDevopsTask/ReportGenerator/task.json | 4 +- src/AzureDevopsTask/vss-extension.json | 2 +- .../nuget/Readme_ReportGenerator.md | 6 +- ...eadme_dotnet-reportgenerator-globaltool.md | 6 +- .../ReportGenerator.Console.NetCore.csproj | 4 +- .../ReportGenerator.Console.Net.csproj | 4 +- .../ReportGenerator.Core.Test.csproj | 4 +- .../ReportGenerator.Core.csproj | 4 +- ...ortGenerator.DotnetCorePluginLoader.csproj | 4 +- .../ReportGenerator.DotnetGlobalTool.csproj | 4 +- .../ReportGenerator.MSBuild.csproj | 4 +- src/build.proj | 2 +- 86 files changed, 1403 insertions(+), 371 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 015bc6c0..a0a85b7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.2.5 + version: 5.3.0 dotnetSDKVersion: 8.0.204 nodeVersion: 20 diff --git a/docs/resources/reports/Badges/badge_branchcoverage.svg b/docs/resources/reports/Badges/badge_branchcoverage.svg index f2da0a35..c5920a44 100644 --- a/docs/resources/reports/Badges/badge_branchcoverage.svg +++ b/docs/resources/reports/Badges/badge_branchcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.2.1.0 + Generated by: ReportGenerator 5.3.0.0 diff --git a/docs/resources/reports/Badges/badge_combined.svg b/docs/resources/reports/Badges/badge_combined.svg index ebe36c00..6cf1b86e 100644 --- a/docs/resources/reports/Badges/badge_combined.svg +++ b/docs/resources/reports/Badges/badge_combined.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.2.1.0 + Generated by: ReportGenerator 5.3.0.0 diff --git a/docs/resources/reports/Badges/badge_linecoverage.svg b/docs/resources/reports/Badges/badge_linecoverage.svg index 60e0f7d1..e3db446a 100644 --- a/docs/resources/reports/Badges/badge_linecoverage.svg +++ b/docs/resources/reports/Badges/badge_linecoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.2.1.0 + Generated by: ReportGenerator 5.3.0.0 diff --git a/docs/resources/reports/Badges/badge_methodcoverage.svg b/docs/resources/reports/Badges/badge_methodcoverage.svg index bf612d97..45290e4a 100644 --- a/docs/resources/reports/Badges/badge_methodcoverage.svg +++ b/docs/resources/reports/Badges/badge_methodcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.2.1.0 + Generated by: ReportGenerator 5.3.0.0 diff --git a/docs/resources/reports/Clover/Clover.xml b/docs/resources/reports/Clover/Clover.xml index a14021ee..9dc4734e 100644 --- a/docs/resources/reports/Clover/Clover.xml +++ b/docs/resources/reports/Clover/Clover.xml @@ -1,6 +1,6 @@ - - + + @@ -133,7 +133,7 @@ - + \ No newline at end of file diff --git a/docs/resources/reports/Cobertura/Cobertura.xml b/docs/resources/reports/Cobertura/Cobertura.xml index 250c6e17..fbbb89e7 100644 --- a/docs/resources/reports/Cobertura/Cobertura.xml +++ b/docs/resources/reports/Cobertura/Cobertura.xml @@ -1,6 +1,6 @@ - + diff --git a/docs/resources/reports/CodeClimate/codeclimate.json b/docs/resources/reports/CodeClimate/codeclimate.json index 07bad360..ff4fbcea 100644 --- a/docs/resources/reports/CodeClimate/codeclimate.json +++ b/docs/resources/reports/CodeClimate/codeclimate.json @@ -3,23 +3,23 @@ "branch": "main", "build_identifier": "", "build_url": "", - "commit_sha": "e2a0d2b74651749aeb48a8eaecc51d7cf49c5dc8", - "committed_at": 1706817706, + "commit_sha": "7684c4105200f76416f4dd53fe2d9327e4e895b8", + "committed_at": 1715712910, "name": "" }, "environment": { "gem_version": "", "package_version": "", - "pwd": "C:\\temp", - "prefix": "C:\\temp", + "pwd": "C:\\Users\\Daniel Palme\\Documents\\Projects\\ReportGenerator\\src\\resources\\SampleReportsInAllFormats", + "prefix": "C:\\Users\\Daniel Palme\\Documents\\Projects\\ReportGenerator\\src\\resources\\SampleReportsInAllFormats", "rails_root": "", "reporter_version": "0.11.1", "simplecov_root": "" }, "git": { "branch": "main", - "head": "e2a0d2b74651749aeb48a8eaecc51d7cf49c5dc8", - "committed_at": 1706817706 + "head": "7684c4105200f76416f4dd53fe2d9327e4e895b8", + "committed_at": 1715712910 }, "covered_percent": 69.4, "covered_strength": 0, diff --git a/docs/resources/reports/CsvSummary/Summary.csv b/docs/resources/reports/CsvSummary/Summary.csv index 42d4b594..11e78fe6 100644 --- a/docs/resources/reports/CsvSummary/Summary.csv +++ b/docs/resources/reports/CsvSummary/Summary.csv @@ -1,5 +1,5 @@ Summary -Generated on:;14.01.2024 - 21:25:32 +Generated on:;14.05.2024 - 20:56:30 Parser:;OpenCover Assemblies:;1 Classes:;4 diff --git a/docs/resources/reports/Html/Sample_PartialClass.html b/docs/resources/reports/Html/Sample_PartialClass.html index 7d43bb20..7bfd7f03 100644 --- a/docs/resources/reports/Html/Sample_PartialClass.html +++ b/docs/resources/reports/Html/Sample_PartialClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -279,7 +279,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/Sample_Program.html b/docs/resources/reports/Html/Sample_Program.html index 6b0cc2ee..f3aea09c 100644 --- a/docs/resources/reports/Html/Sample_Program.html +++ b/docs/resources/reports/Html/Sample_Program.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -298,7 +298,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/Sample_TestClass.html b/docs/resources/reports/Html/Sample_TestClass.html index a017934d..94637509 100644 --- a/docs/resources/reports/Html/Sample_TestClass.html +++ b/docs/resources/reports/Html/Sample_TestClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -256,7 +256,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/Sample_TestClass2.html b/docs/resources/reports/Html/Sample_TestClass2.html index b81790e8..50883839 100644 --- a/docs/resources/reports/Html/Sample_TestClass2.html +++ b/docs/resources/reports/Html/Sample_TestClass2.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -305,7 +305,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/index.html b/docs/resources/reports/Html/index.html index a661ee33..0ef84ddd 100644 --- a/docs/resources/reports/Html/index.html +++ b/docs/resources/reports/Html/index.html @@ -111,7 +111,7 @@

Summary +

Risk Hotspots

@@ -229,7 +229,7 @@

Coverage

-

+ @@ -1098,10 +1133,10 @@ { "name": "Sample", "classes": [ - { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.01.2024 - 21:25:26", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, - { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.01.2024 - 21:25:26", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, - { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.01.2024 - 21:25:26", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, - { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.01.2024 - 21:25:26", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, + { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.05.2024 - 20:56:24", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, + { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.05.2024 - 20:56:24", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, + { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.05.2024 - 20:56:24", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, + { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.05.2024 - 20:56:24", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, ]}, ]; @@ -1162,8 +1197,8 @@ }; -(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); +(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(935)},935:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=50)}]); -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{355:()=>{let Ie=null,lr=1;function De(e){const n=Ie;return Ie=e,n}function Sf(e){if((!vo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==lr)){if(!e.producerMustRecompute(e)&&!tc(e))return e.dirty=!1,void(e.lastCleanEpoch=lr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=lr}}function tc(e){ur(e);for(let n=0;n0}function ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Pf=null;function je(e){return"function"==typeof e}function Vf(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const oc=Vf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ic(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._teardowns=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 i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(je(r))try{r()}catch(i){n=i instanceof oc?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{jf(i)}catch(s){n=n??[],s instanceof oc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new oc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jf(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&ic(t,n)}remove(n){const{_teardowns:t}=this;t&&ic(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Hf=It.EMPTY;function Bf(e){return e instanceof It||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function jf(e){je(e)?e():e.unsubscribe()}const Pn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout(...e){const{delegate:n}=ki;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=ki;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $f(e){ki.setTimeout(()=>{const{onUnhandledError:n}=Pn;if(!n)throw e;n(e)})}function Li(){}const fw=sc("C",void 0,void 0);function sc(e,n,t){return{kind:e,value:n,error:t}}let kn=null;function Vi(e){if(Pn.useDeprecatedSynchronousErrorHandling){const n=!kn;if(n&&(kn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=kn;if(kn=null,t)throw r}}else e()}class ac extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Bf(n)&&n.add(this)):this.destination=mw}static create(n,t,r){return new Uf(n,t,r)}next(n){this.isStopped?lc(function pw(e){return sc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?lc(function hw(e){return sc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?lc(fw,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()}}}class Uf extends ac{constructor(n,t,r){let o;if(super(),je(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&Pn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?cc(o):Li,error:cc(t??zf),complete:r?cc(r):Li}}}function cc(e,n){return(...t)=>{try{e(...t)}catch(r){Pn.useDeprecatedSynchronousErrorHandling?function gw(e){Pn.useDeprecatedSynchronousErrorHandling&&kn&&(kn.errorThrown=!0,kn.error=e)}(r):$f(r)}}}function zf(e){throw e}function lc(e,n){const{onStoppedNotification:t}=Pn;t&&ki.setTimeout(()=>t(e,n))}const mw={closed:!0,next:Li,error:zf,complete:Li},uc="function"==typeof Symbol&&Symbol.observable||"@@observable";function vw(e){return e}let _t=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function yw(e){return e&&e instanceof ac||function _w(e){return e&&je(e.next)&&je(e.error)&&je(e.complete)}(e)&&Bf(e)}(t)?t:new Uf(t,r,o);return Vi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=qf(r))((o,i)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(c){i(c),s?.unsubscribe()}},i,o)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[uc](){return this}pipe(...t){return function Gf(e){return 0===e.length?vw:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=qf(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function qf(e){var n;return null!==(n=e??Pn.Promise)&&void 0!==n?n:Promise}const Cw=Vf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let dc=(()=>{class e extends _t{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Wf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Cw}next(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Vi(()=>{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=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:r,isStopped:o,observers:i}=this;return r||o?Hf:(i.push(t),new It(()=>ic(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new _t;return t.source=this,t}}return e.create=(n,t)=>new Wf(n,t),e})();class Wf extends dc{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.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,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Hf}}class Dw extends dc{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:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function fc(e){return n=>{if(function ww(e){return je(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class hc extends ac{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function pc(e,n){return fc((t,r)=>{let o=0;t.subscribe(new hc(r,i=>{r.next(e.call(n,i,o++))}))})}function ae(e){for(let n in e)if(e[n]===ae)return n;throw Error("Could not find renamed property on target object.")}function Hi(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).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 gc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const bw=ae({__forward_ref__:ae});function de(e){return e.__forward_ref__=de,e.toString=function(){return Pe(this())},e}function F(e){return Bi(e)?e():e}function Bi(e){return"function"==typeof e&&e.hasOwnProperty(bw)&&e.__forward_ref__===de}function mc(e){return e&&!!e.\u0275providers}const Zf="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function dr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const _o=ae({\u0275cmp:ae}),vc=ae({\u0275dir:ae}),_c=ae({\u0275pipe:ae}),Qf=ae({\u0275mod:ae}),Xt=ae({\u0275fac:ae}),yo=ae({__NG_ELEMENT_ID__:ae}),Yf=ae({__NG_ENV_ID__:ae});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function yc(e,n){throw new S(-201,!1)}function it(e,n){null==e&&function P(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function J(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 ji(e){return Kf(e,Ui)||Kf(e,Jf)}function Kf(e,n){return e.hasOwnProperty(n)?e[n]:null}function $i(e){return e&&(e.hasOwnProperty(Cc)||e.hasOwnProperty(xw))?e[Cc]:null}const Ui=ae({\u0275prov:ae}),Cc=ae({\u0275inj:ae}),Jf=ae({ngInjectableDef:ae}),xw=ae({ngInjectorDef:ae});var X=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(X||{});let Dc;function st(e){const n=Dc;return Dc=e,n}function eh(e,n,t){const r=ji(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&X.Optional?null:void 0!==n?n:void yc()}const fe=globalThis;class O{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=J({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Co={},Mc="__NG_DI_FLAG__",zi="ngTempTokenPath",Fw=/\n/gm,nh="__source";let fr;function mn(e){const n=fr;return fr=e,n}function Lw(e,n=X.Default){if(void 0===fr)throw new S(-203,!1);return null===fr?eh(e,void 0,n):fr.get(e,n&X.Optional?null:void 0,n)}function ne(e,n=X.Default){return(function Xf(){return Dc}()||Lw)(F(e),n)}function ee(e,n=X.Default){return ne(e,Gi(n))}function Gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==oh(p,l,0)||2&r&&l!==h){if(St(r))return!1;s=!0}}}}else{if(!s&&!St(r)&&!St(c))return!1;if(s&&St(c))continue;s=!1,r=c|1&r}}return St(r)||s}function St(e){return 0==(1&e)}function zw(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!St(s)&&(n+=dh(i,o),o=""),r=s,i=i||!St(r);t++}return""!==o&&(n+=dh(i,o)),n}function nn(e){return tn(()=>{const n=hh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};ph(t);const r=e.dependencies;return t.directiveDefs=Wi(r,!1),t.pipeDefs=Wi(r,!0),t.id=function tb(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 o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function Jw(e){return Q(e)||ke(e)}function Xw(e){return null!==e}function vn(e){return tn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fh(e,n){if(null==e)return Lt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function $(e){return tn(()=>{const n=hh(e);return ph(n),n})}function at(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 Q(e){return e[_o]||null}function ke(e){return e[vc]||null}function Ue(e){return e[_c]||null}function hh(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||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fh(e.inputs,n),outputs:fh(e.outputs),debugInfo:null}}function ph(e){e.features?.forEach(n=>n(e))}function Wi(e,n){if(!e)return null;const t=n?Ue:Jw;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(Xw)}const we=0,I=1,R=2,Me=3,Tt=4,Ge=5,At=6,hr=7,he=8,Je=9,Vt=10,U=11,bo=12,gh=13,pr=14,Ce=15,Eo=16,gr=17,Ht=18,Io=19,mh=20,_n=21,Zi=22,Vn=23,j=25,Ac=1,Bt=7,mr=9,Se=10;var Nc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Nc||{});function qe(e){return Array.isArray(e)&&"object"==typeof e[Ac]}function We(e){return Array.isArray(e)&&!0===e[Ac]}function xc(e){return 0!=(4&e.flags)}function Hn(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function Nt(e){return!!e.template}function Oc(e){return 0!=(512&e[R])}function Bn(e,n){return e.hasOwnProperty(Xt)?e[Xt]:null}class ib{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function rn(){return Ch}function Ch(e){return e.type.prototype.ngOnChanges&&(e.setInput=ab),sb}function sb(){const e=wh(this),n=e?.current;if(n){const t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ab(e,n,t,r){const o=this.declaredInputs[t],i=wh(e)||function cb(e,n){return e[Dh]=n}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,c=a[o];s[o]=new ib(c&&c.currentValue,n,a===Lt),e[r]=n}rn.ngInherit=!0;const Dh="__ngSimpleChanges__";function wh(e){return e[Dh]||null}const jt=function(e,n,t){};let Ih=!1;function pe(e){for(;Array.isArray(e);)e=e[we];return e}function So(e,n){return pe(n[e])}function Xe(e,n){return pe(n[e.index])}function To(e,n){return e.data[n]}function ft(e,n){const t=n[e];return qe(t)?t:t[we]}function Lc(e){return 128==(128&e[R])}function $t(e,n){return null==n?null:e[n]}function Mh(e){e[gr]=0}function pb(e){1024&e[R]||(e[R]|=1024,Lc(e)&&Ao(e))}function Th(e){return 9216&e[R]||e[Vn]?.dirty}function Vc(e){Th(e)?Ao(e):64&e[R]&&(function ub(){return Ih}()?(e[R]|=1024,Ao(e)):e[Vt].changeDetectionScheduler?.notify())}function Ao(e){e[Vt].changeDetectionScheduler?.notify();let n=jn(e);for(;null!==n&&!(8192&n[R])&&(n[R]|=8192,Lc(n));)n=jn(n)}function jn(e){const n=e[Me];return We(n)?n[Me]:n}const V={lFrame:Vh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nh(){return V.bindingsEnabled}function C(){return V.lFrame.lView}function te(){return V.lFrame.tView}function W(e){return V.lFrame.contextLView=e,e[he]}function Z(e){return V.lFrame.contextLView=null,e}function le(){let e=xh();for(;null!==e&&64===e.type;)e=e.parent;return e}function xh(){return V.lFrame.currentTNode}function Ut(e,n){const t=V.lFrame;t.currentTNode=e,t.isParent=n}function Bc(){return V.lFrame.isParent}function jc(){V.lFrame.isParent=!1}function et(){const e=V.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function zt(){return V.lFrame.bindingIndex++}function sn(e){const n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ib(e,n){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,$c(n)}function $c(e){V.lFrame.currentDirectiveIndex=e}function zc(e){V.lFrame.currentQueryIndex=e}function Sb(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[Ge]:null}function kh(e,n,t){if(t&X.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&X.Host||(o=Sb(i),null===o||(i=i[pr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=V.lFrame=Lh();return r.currentTNode=n,r.lView=e,!0}function Gc(e){const n=Lh(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lh(){const e=V.lFrame,n=null===e?null:e.child;return null===n?Vh(e):n}function Vh(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 Hh(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bh=Hh;function qc(){const e=Hh();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 Ze(){return V.lFrame.selectedIndex}function $n(e){V.lFrame.selectedIndex=e}function ve(){const e=V.lFrame;return To(e.tView,e.selectedIndex)}let Uh=!0;function Ji(){return Uh}function yn(e){Uh=e}function Xi(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[gr]+=65536),(a>14>16&&(3&e[R])===n&&(e[R]+=16384,Gh(a,i)):Gh(a,i)}const yr=-1;class xo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Qc(e){return e!==yr}function Oo(e){return 32767&e}function Ro(e,n){let t=function Vb(e){return e>>16}(e),r=n;for(;t>0;)r=r[pr],t--;return r}let Yc=!0;function ns(e){const n=Yc;return Yc=e,n}const qh=255,Wh=5;let Hb=0;const Gt={};function rs(e,n){const t=Zh(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Kc(r.data,e),Kc(n,null),Kc(r.blueprint,null));const o=os(e,n),i=e.injectorIndex;if(Qc(o)){const s=Oo(o),a=Ro(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Kc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Zh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function os(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=tp(o),null===r)return yr;if(t++,o=o[pr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return yr}function Jc(e,n,t){!function Bb(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(yo)&&(r=t[yo]),null==r&&(r=t[yo]=Hb++);const o=r&qh;n.data[e+(o>>Wh)]|=1<=0?n&qh:zb:n}(t);if("function"==typeof i){if(!kh(n,e,r))return r&X.Host?Qh(o,0,r):Yh(n,t,r,o);try{let s;if(s=i(r),null!=s||r&X.Optional)return s;yc()}finally{Bh()}}else if("number"==typeof i){let s=null,a=Zh(e,n),c=yr,l=r&X.Host?n[Ce][Ge]:null;for((-1===a||r&X.SkipSelf)&&(c=-1===a?os(e,n):n[a+8],c!==yr&&ep(r,!1)?(s=n[I],a=Oo(c),n=Ro(c,n)):a=-1);-1!==a;){const u=n[I];if(Xh(i,a,u.data)){const d=$b(a,n,t,s,r,l);if(d!==Gt)return d}c=n[a+8],c!==yr&&ep(r,n[I].data[a+8]===l)&&Xh(i,a,n)?(s=u,a=Oo(c),n=Ro(c,n)):a=-1}}return o}function $b(e,n,t,r,o,i){const s=n[I],a=s.data[e+8],u=function is(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=c&&m.type===t)return p}if(o){const p=s[c];if(p&&Nt(p)&&p.type===t)return c}return null}(a,s,t,null==r?Hn(a)&&Yc:r!=s&&0!=(3&a.type),o&X.Host&&i===a);return null!==u?Un(n,s,u,a):Gt}function Un(e,n,t,r){let o=e[t];const i=n.data;if(function Fb(e){return e instanceof xo}(o)){const s=o;s.resolving&&function Iw(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${t}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=ns(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?st(s.injectImpl):null;kh(e,r,X.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Ob(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Ch(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&st(l),ns(a),s.resolving=!1,Bh()}}return o}function Xh(e,n,t){return!!(t[n+(e>>Wh)]&1<{const n=e.prototype.constructor,t=n[Xt]||Xc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Xt]||Xc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xc(e){return Bi(e)?()=>{const n=Xc(F(e));return n&&n()}:Bn(e)}function tp(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[Ge]:null}const br="__parameters__";function Ir(e,n,t){return tn(()=>{const r=function tl(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(br)?c[br]:Object.defineProperty(c,br,{value:[]})[br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Sr(e,n){e.forEach(t=>Array.isArray(t)?Sr(t,n):n(t))}function rp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ss(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ht(e,n,t){let r=Tr(e,n);return r>=0?e[1|r]=t:(r=~r,function op(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function rl(e,n){const t=Tr(e,n);if(t>=0)return e[1|t]}function Tr(e,n){return function ip(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return Sr(n,s=>{const a=s;ds(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&dp(o,i),t}function dp(e,n){for(let t=0;t{n(i,r)})}}function ds(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=$i(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=$i(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)ds(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Sr(i.imports,u=>{ds(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&dp(l,n)}if(!a){const l=Bn(o)||(()=>new o);n({provide:o,useFactory:l,deps:re},o),n({provide:cl,useValue:o,multi:!0},o),n({provide:Nr,useValue:()=>ne(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;ul(c,u=>{n(u,l)})}}}return o!==e&&void 0!==e.providers}function ul(e,n){for(let t of e)mc(t)&&(t=t.\u0275providers),Array.isArray(t)?ul(t,n):n(t)}const pE=ae({provide:String,useValue:ae});function dl(e){return null!==e&&"object"==typeof e&&pE in e}function zn(e){return"function"==typeof e}const fl=new O("Set Injector scope."),fs={},mE={};let hl;function hs(){return void 0===hl&&(hl=new us),hl}class an{}class xr extends an{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gl(n,s=>this.processProvider(s)),this.records.set(lp,Or(void 0,this)),o.has("environment")&&this.records.set(an,Or(void 0,this));const i=this.records.get(fl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cl,re,X.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=mn(this),r=st(void 0);try{return n()}finally{mn(t),st(r)}}get(n,t=Co,r=X.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Yf))return n[Yf](this);r=Gi(r);const i=mn(this),s=st(void 0);try{if(!(r&X.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function DE(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&ji(n);c=l&&this.injectableDefInScope(l)?Or(pl(n),fs):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&X.Self?hs():this.parent).get(n,t=r&X.Optional&&t===Co?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[zi]=a[zi]||[]).unshift(Pe(n)),i)throw a;return function Hw(e,n,t,r){const o=e[zi];throw n[nh]&&o.unshift(n[nh]),e.message=function Bw(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Pe(n);if(Array.isArray(n))o=n.map(Pe).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(Fw,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[zi]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{st(s),mn(i)}}resolveInjectorInitializers(){const n=mn(this),t=st(void 0);try{const o=this.get(Nr,re,X.Self);for(const i of o)i()}finally{mn(n),st(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=zn(n=F(n))?n:F(n&&n.provide);const r=function _E(e){return dl(e)?Or(void 0,e.useValue):Or(pp(e),fs)}(n);if(!zn(n)&&!0===n.multi){let o=this.records.get(t);o||(o=Or(void 0,fs,!0),o.factory=()=>Sc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===fs&&(t.value=mE,t.value=t.factory()),"object"==typeof t.value&&t.value&&function CE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(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 pl(e){const n=ji(e),t=null!==n?n.factory:Bn(e);if(null!==t)return t;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return function vE(e){if(e.length>0)throw new S(204,!1);const t=function Nw(e){return e&&(e[Ui]||e[Jf])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new S(204,!1)}function pp(e,n,t){let r;if(zn(e)){const o=F(e);return Bn(o)||pl(o)}if(dl(e))r=()=>F(e.useValue);else if(function hp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(function fp(e){return!(!e||!e.useExisting)}(e))r=()=>ne(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function yE(e){return!!e.deps}(e))return Bn(o)||pl(o);r=()=>new o(...Sc(e.deps))}return r}function Or(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gl(e,n){for(const t of e)Array.isArray(t)?gl(t,n):t&&mc(t)?gl(t.\u0275providers,n):n(t)}function _p(e,n=null,t=null,r){const o=yp(e,n,t,r);return o.resolveInjectorInitializers(),o}function yp(e,n=null,t=null,r,o=new Set){const i=[t||re,hE(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new xr(i,n||hs(),r||null,o)}let _l,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Co;static#t=this.NULL=new us;static create(t,r){if(Array.isArray(t))return _p({name:""},r,t,"");{const o=t.name??"";return _p({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=J({token:e,providedIn:"any",factory:()=>ne(lp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const gs=new O("AppId",{providedIn:"root",factory:()=>NE}),NE="ng",Dp=new O("Platform Initializer"),Rr=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wp=new O("CSP nonce",{providedIn:"root",factory:()=>function Cn(){if(void 0!==_l)return _l;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function yl(e){return e.ownerDocument.defaultView}function ys(e){return 128==(128&e.flags)}var bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bn||{});const HE=/^>|^->||--!>|)/g,jE="\u200b$1\u200b";const El=new Map;let $E=0;const Ml="__ngContext__";function Ye(e,n){qe(n)?(e[Ml]=n[Io],function zE(e){El.set(e[Io],e)}(n)):e[Ml]=n}let Sl;function Tl(e,n){return Sl(e,n)}function Pr(e,n,t,r,o){if(null!=r){let i,s=!1;We(r)?i=r:qe(r)&&(s=!0,r=r[we]);const a=pe(r);0===e&&null!==t?null==o?zp(n,t,a):qn(n,t,a,o||null,!0):1===e&&null!==t?qn(n,t,a,o||null,!0):2===e?function Ms(e,n,t){const r=Es(e,n);r&&function sI(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function lI(e,n,t,r,o){const i=t[Bt];i!==pe(t)&&Pr(n,e,r,i,o);for(let a=Se;an.replace(BE,jE))}(n))}function ws(e,n,t){return e.createElement(n,t)}function jp(e,n){n[Vt].changeDetectionScheduler?.notify(),Ss(e,n,n[U],2,null,null)}function $p(e,n){const t=e[mr],r=t.indexOf(n);t.splice(r,1)}function Bo(e,n){if(e.length<=Se)return;const t=Se+n,r=e[t];if(r){const o=r[Eo];null!==o&&o!==e&&$p(o,r),n>0&&(e[t-1][Tt]=r[Tt]);const i=ss(e,Se+n);!function XE(e,n){jp(e,n),n[we]=null,n[Ge]=null}(r[I],r);const s=i[Ht];null!==s&&s.detachView(i[I]),r[Me]=null,r[Tt]=null,r[R]&=-129}return r}function bs(e,n){if(!(256&n[R])){const t=n[U];t.destroyNode&&Ss(e,n,t,3,null,null),function tI(e){let n=e[bo];if(!n)return Nl(e[I],e);for(;n;){let t=null;if(qe(n))t=n[bo];else{const r=n[Se];r&&(t=r)}if(!t){for(;n&&!n[Tt]&&n!==e;)qe(n)&&Nl(n[I],n),n=n[Me];null===n&&(n=e),qe(n)&&Nl(n[I],n),t=n&&n[Tt]}n=t}}(n)}}function Nl(e,n){if(!(256&n[R])){n[R]&=-129,n[R]|=256,n[Vn]&&function Of(e){if(ur(e),vo(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[hr]=null);const o=n[_n];if(null!==o){n[_n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mt.None||i===Mt.Emulated)return null}return Xe(r,t)}}(e,n.parent,t)}function qn(e,n,t,r,o){e.insertBefore(n,t,r,o)}function zp(e,n,t){e.appendChild(n,t)}function Gp(e,n,t,r,o){null!==r?qn(e,n,t,r,o):zp(e,n,t)}function Es(e,n){return e.parentNode(n)}let Ol,Zp=function Wp(e,n,t){return 40&e.type?Xe(e,t):null};function Is(e,n,t,r){const o=xl(e,r,n),i=n[U],a=function qp(e,n,t){return Zp(e,n,t)}(r.parent||n[Ge],r,n);if(null!=o)if(Array.isArray(t))for(let c=0;cnull;function Zl(e,n,t=!1){return hg(e,n,t)}class qI{}class mg{}class ZI{resolveComponentFactory(n){throw function WI(e){const n=Error(`No component factory found for ${Pe(e)}.`);return n.ngComponent=e,n}(n)}}let ks=(()=>{class e{static#e=this.NULL=new ZI}return e})();function QI(){return Br(le(),C())}function Br(e,n){return new xt(Xe(e,n))}let xt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=QI}return e})();class _g{}let Wn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function KI(){const e=C(),t=ft(le().index,e);return(qe(t)?t:e)[U]}()}return e})(),JI=(()=>{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>null})}return e})();const Kl={};function Ls(e){return!!function Jl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Cg{constructor(){}supports(n){return Ls(n)}create(n){return new rM(n)}}const nM=(e,n)=>n;class rM{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||nM}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;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,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new oM(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Dg),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._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 Dg),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 oM{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 iM{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Dg{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new iM,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.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 wg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:Eg});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Eg()),deps:[[e,new sl,new il]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new S(901,!1)}}return e})();function Wo(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(pe(i)),We(i)&&Mg(i,r);const s=t.type;if(8&s)Wo(e,n,t.child,r);else if(32&s){const a=Tl(t,n);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Yp(n,t);if(Array.isArray(a))r.push(...a);else{const c=jn(n[Ce]);Wo(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Mg(e,n){for(let t=Se;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ao(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}};function Tg(e){return Ng(e[bo])}function Ag(e){return Ng(e[Tt])}function Ng(e){for(;null!==e&&!We(e);)e=e[Tt];return e}function eu(e){return e.ngOriginalError}class ln{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&&eu(n);for(;t&&eu(t);)t=eu(t);return t||null}}const Og=new O("",{providedIn:"root",factory:()=>ee(ln).handleError.bind(void 0)}),Fg=new O("",{providedIn:"root",factory:()=>!1}),z={};function f(e=1){Vg(te(),C(),Ze()+e,!1)}function Vg(e,n,t,r){if(!r)if(3==(3&n[R])){const i=e.preOrderCheckHooks;null!==i&&es(n,i,t)}else{const i=e.preOrderHooks;null!==i&&ts(n,i,0,t)}$n(t)}function M(e,n=X.Default){const t=C();return null===t?ne(e,n):Kh(le(),t,F(e),n)}function Bs(e,n,t,r,o,i,s,a,c,l,u){const d=n.blueprint.slice();return d[we]=o,d[R]=204|r,(null!==l||e&&2048&e[R])&&(d[R]|=2048),Mh(d),d[Me]=d[pr]=e,d[he]=t,d[Vt]=s||e&&e[Vt],d[U]=a||e&&e[U],d[Je]=c||e&&e[Je]||null,d[Ge]=i,d[Io]=function UE(){return $E++}(),d[At]=u,d[mh]=l,d[Ce]=2==n.type?e[Ce]:d,d}function jr(e,n,t,r,o){let i=e.data[n];if(null===i)i=function tu(e,n,t,r,o){const i=xh(),s=Bc(),c=e.data[n]=function TM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function _r(){return null!==V.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=c),null!==i&&(s?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c,c.prev=i)),c}(e,n,t,r,o),function Eb(){return V.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function No(){const e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function Zo(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;ij&&Vg(e,n,j,!1),jt(s?2:0,o),t(r,o)}finally{$n(i),jt(s?3:1,o)}}function nu(e,n,t){if(xc(n)){const r=De(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function $g(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?Ug(t,n,o,i):r.hasOwnProperty(o)&&Ug(t,n,r[o],i)}return t}function Ug(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function gt(e,n,t,r,o,i,s,a){const c=Xe(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(uu(e,t,u,r,o),Hn(n)&&function xM(e,n){const t=ft(n,e);16&t[R]||(t[R]|=64)}(t,n.index)):3&n.type&&(r=function NM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(c,r,o))}function su(e,n,t,r){if(Nh()){const o=null===r?null:{"":-1},i=function LM(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Zo(e,t,o.hostVars,z),o)}function qt(e,n,t,r,o,i){const s=Xe(e,n);!function cu(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[U],s,i,e.value,t,r,o)}function UM(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function dM(e){e.lView[Vn]!==e&&(e.lView=null,Sg.push(e))}(a)),qc()}}function Jg(e,n){for(let t=Tg(e);null!==t;t=Ag(t))for(let r=Se;r-1&&(Bo(n,r),ss(t,r))}this._attachedToViewContainer=!1}bs(this._lView[I],this._lView)}onDestroy(n){!function Ki(e,n){if(256==(256&e[R]))throw new S(911,!1);null===e[_n]&&(e[_n]=[]),e[_n].push(n)}(this._lView,n)}markForCheck(){Qo(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Vc(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,function du(e,n=!0){const t=e[Vt],r=t.rendererFactory;r.begin?.();try{!function qM(e){fu(e,0);let n=0;for(;Th(e);){if(100===n)throw new S(103,!1);n++,fu(e,1)}}(e)}catch(i){throw n&&$s(e,i),i}finally{r.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,jp(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n,Vc(this._lView)}}let hu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=KM}return e})();function KM(e){return function JM(e,n,t){if(Hn(e)&&!t){const r=ft(e.index,n);return new Yo(r,r)}return 47&e.type?new Yo(n[Ce],n):null}(le(),C(),16==(16&e))}function gu(e){return n=>{setTimeout(e,void 0,n)}}const Te=class l0 extends dc{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=gu(i),o&&(o=gu(o)),s&&(s=gu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof It&&n.add(a),a}};function nm(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function u0(){const e="function"==typeof fe.requestAnimationFrame;let n=fe[e?"requestAnimationFrame":"setTimeout"],t=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function h0(e){const n=()=>{!function f0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vu(e),e.isCheckStableRunning=!0,mu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function p0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return rm(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),om(e)}},onInvoke:(t,r,o,i,s,a,c)=>{try{return rm(e),t.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),om(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,vu(e),mu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new S(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,d0,nm,nm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const d0={};function mu(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 vu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function om(e){e._nesting--,mu(e)}class im{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}let Ko=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of t)o();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>new e})}return e})();function _0(e,n){const t=ft(n,e),r=t[I];!function y0(e,n){for(let t=n.length;t0&&Xp(e,t,i.join(" "))}}(h,q,m,r),void 0!==t&&function A0(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=wo(o.hostAttrs,t=wo(t,o.hostAttrs))}}(r)}function zs(e){return e===Lt?{}:e===re?[]:e}function O0(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function R0(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function F0(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Wt(e,n,t){return e[n]=t}function xe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Yn(e,n,t,r){const o=xe(e,n,t);return xe(e,n+1,r)||o}function Ot(e,n,t,r){const o=C();return xe(o,zt(),n)&&(te(),qt(ve(),o,e,n,t,r)),Ot}function Ur(e,n,t,r){return xe(e,zt(),t)?n+B(t)+r:z}function qs(e,n){return e<<17|n<<2}function Mn(e){return e>>17&32767}function yu(e){return 2|e}function Kn(e){return(131068&e)>>2}function Cu(e,n){return-131069&e|n<<2}function Du(e){return 1|e}function Im(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Mn(o):Kn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];q0(e[s],n)&&(a=!0,e[s+1]=r?Du(l):yu(l)),s=r?Mn(l):Kn(l)}a&&(e[t+1]=r?yu(o):Du(o))}function q0(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Tr(e,n)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mm(e){return e.substring(He.key,He.keyEnd)}function Sm(e,n){const t=He.textEnd;return t===n?-1:(n=He.keyEnd=function Y0(e,n,t){for(;n32;)n++;return n}(e,He.key=n,t),Kr(e,n,t))}function Kr(e,n,t){for(;n=0;t=Sm(n,t))ht(e,Mm(n),!0)}function Rm(e,n){return n>=e.expandoStartIndex}function Fm(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[Ze()],s=Rm(e,t);Vm(i,r)&&null===n&&!s&&(n=!1),n=function tS(e,n,t,r){const o=function Uc(e){const n=V.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=ei(t=bu(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=bu(o,e,n,t,r),null===i){let c=function nS(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Kn(r))return e[Mn(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=bu(null,e,n,c[1],r),c=ei(c,n.attrs,r),function rS(e,n,t,r){e[Mn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else i=function oS(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):u=t,o)if(0!==c){const h=Mn(e[a+1]);e[r+1]=qs(h,a),0!==h&&(e[h+1]=Cu(e[h+1],r)),e[a+1]=function $0(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=qs(a,0),0!==a&&(e[a+1]=Cu(e[a+1],r)),a=r;else e[r+1]=qs(c,0),0===a?a=r:e[c+1]=Cu(e[c+1],r),c=r;l&&(e[r+1]=yu(e[r+1])),Im(e,u,r,!0),Im(e,u,r,!1),function G0(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Tr(i,n)>=0&&(t[r+1]=Du(t[r+1]))}(n,u,e,r,i),s=qs(a,c),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function bu(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=t[o+1];h===z&&(h=d?re:void 0);let p=d?rl(h,r):u===r?h:void 0;if(l&&!Zs(p)&&(p=rl(c,r)),Zs(p)&&(a=p,s))return a;const m=e[o+1];o=s?Mn(m):Kn(m)}if(null!==n){let c=i?n.residualClasses:n.residualStyles;null!=c&&(a=rl(c,r))}return a}function Zs(e){return void 0!==e}function Vm(e,n){return 0!=(e.flags&(n?8:16))}function Yt(e,n,t){!function Ft(e,n,t,r){const o=te(),i=sn(2);o.firstUpdatePass&&Fm(o,null,i,r);const s=C();if(t!==z&&xe(s,i,t)){const a=o.data[Ze()];if(Vm(a,r)&&!Rm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(t=gc(c,t||"")),wu(o,a,s,t,r)}else!function aS(e,n,t,r,o,i,s,a){o===z&&(o=re);let c=0,l=0,u=00&&(t[o-1][Tt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=jS}return e})();function jS(){return function Km(e,n){let t;const r=n[e.index];return We(r)?t=r:(t=Wg(r,n,null,e),n[e.index]=t,js(n,t)),Jm(t,n,e,r),new Qm(t,e,n)}(le(),C())}const $S=Kt,Qm=class extends $S{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const n=os(this._hostTNode,this._hostLView);if(Qc(n)){const t=Ro(n,this._hostLView),r=Oo(n);return new Le(t[I].data[r+8],t)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ym(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,Xr(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function Fo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const c=s?n:new Jo(Q(n)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const w=(s?l:this.parentInjector).get(an,null);w&&(i=w)}Q(c.componentType??{});const p=c.create(l,o,null,i);return this.insertImpl(p.hostView,a,Xr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function hb(e){return We(e[Me])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const c=o[Me],l=new Qm(c,c[Ge],c[Me]);l.detach(l.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return si(s,o,i,r),n.attachToViewContainerRef(),rp(Ou(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ym(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);r&&(ss(Ou(this._lContainer),t),bs(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);return r&&null!=ss(Ou(this._lContainer),t)?new Yo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ym(e){return e[8]}function Ou(e){return e[8]||(e[8]=[])}let Jm=function ev(e,n,t,r){if(e[Bt])return;let o;o=8&t.type?pe(r):function US(e,n){const t=e[U],r=t.createComment(""),o=Xe(n,e);return qn(t,Es(t,o),r,function aI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Bt]=o},Ru=()=>!1;function k(e,n,t,r,o,i,s,a){const c=C(),l=te(),u=e+j,d=l.firstCreatePass?function WS(e,n,t,r,o,i,s,a,c){const l=n.consts,u=jr(n,e,4,s||null,$t(l,a));su(n,t,u,$t(l,c)),Xi(n,u);const d=u.tView=iu(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,r,o,i,s):l.data[u];Ut(d,!1);const h=tv(l,c,d,e);Ji()&&Is(l,c,h,d),Ye(h,c);const p=Wg(h,c,h,d);return c[u]=p,js(c,p),function Xm(e,n,t){return Ru(e,n,t)}(p,d,c),Yi(d)&&ru(l,c,d),null!=s&&ou(c,d,a),k}let tv=function nv(e,n,t,r){return yn(!0),n[U].createComment("")};function y(e,n,t,r){const o=C(),i=te(),s=j+e,a=o[U],c=i.firstCreatePass?function kT(e,n,t,r,o,i){const s=n.consts,c=jr(n,e,2,r,$t(s,o));return su(n,t,c,$t(s,i)),null!==c.attrs&&Us(c,c.attrs,!1),null!==c.mergedAttrs&&Us(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,i,o,n,t,r):i.data[s],l=Iv(i,o,c,a,n,e);o[s]=l;const u=Yi(c);return Ut(c,!0),eg(a,l,c),32!=(32&c.flags)&&Ji()&&Is(i,o,l,c),0===function gb(){return V.lFrame.elementDepthCount}()&&Ye(l,o),function mb(){V.lFrame.elementDepthCount++}(),u&&(ru(i,o,c),nu(i,c,o)),null!==r&&ou(o,c),y}function _(){let e=le();Bc()?jc():(e=e.parent,Ut(e,!1));const n=e;(function _b(e){return V.skipHydrationRootTNode===e})(n)&&function wb(){V.skipHydrationRootTNode=null}(),function vb(){V.lFrame.elementDepthCount--}();const t=te();return t.firstCreatePass&&(Xi(t,e),xc(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kb(e){return 0!=(8&e.flags)}(n)&&wu(t,n,C(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Lb(e){return 0!=(16&e.flags)}(n)&&wu(t,n,C(),n.stylesWithoutHost,!1),_}function A(e,n,t,r){return y(e,n,t,r),_(),A}let Iv=(e,n,t,r,o,i)=>(yn(!0),ws(r,o,function $h(){return V.lFrame.currentNamespace}()));function Y(e,n,t){const r=C(),o=te(),i=e+j,s=o.firstCreatePass?function HT(e,n,t,r,o){const i=n.consts,s=$t(i,r),a=jr(n,e,8,"ng-container",s);return null!==s&&Us(a,s,!0),su(n,t,a,$t(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Ut(s,!0);const a=Sv(o,r,s,e);return r[i]=a,Ji()&&Is(o,r,a,s),Ye(a,r),Yi(s)&&(ru(o,r,s),nu(o,s,r)),null!=t&&ou(r,s),Y}function K(){let e=le();const n=te();return Bc()?jc():(e=e.parent,Ut(e,!1)),n.firstCreatePass&&(Xi(n,e),xc(e)&&n.queries.elementEnd(e)),K}let Sv=(e,n,t,r)=>(yn(!0),Al(n[U],""));function be(){return C()}const ao="en-US";let Ov=ao;function ca(e){return!!e&&"function"==typeof e.then}function r_(e){return!!e&&"function"==typeof e.subscribe}function L(e,n,t,r){const o=C(),i=te(),s=le();return function i_(e,n,t,r,o,i,s){const a=Yi(r),l=e.firstCreatePass&&function Yg(e){return e.cleanup||(e.cleanup=[])}(e),u=n[he],d=function Qg(e){return e[hr]||(e[hr]=[])}(n);let h=!0;if(3&r.type||s){const w=Xe(r,n),E=s?s(w):w,T=d.length,D=s?H=>s(pe(H[r.index])):r.index;let x=null;if(!s&&a&&(x=function V1(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=a_(r,n,u,i,!1);const H=t.listen(E,o,i);d.push(i,H),l&&l.push(o,D,T,T+1)}}else i=a_(r,n,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let E=0;E-1?ft(e.index,n):n);let c=s_(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)c=s_(n,t,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function v(e=1){return function Tb(e){return(V.lFrame.contextLView=function Sh(e,n){for(;e>0;)n=n[pr],e--;return n}(e,V.lFrame.contextLView))[he]}(e)}function Tn(e,n,t){return qu(e,"",n,"",t),Tn}function qu(e,n,t,r,o){const i=C(),s=Ur(i,n,t,r);return s!==z&>(te(),ve(),i,e,s,i[U],o,!1),qu}function b(e,n=""){const t=C(),r=te(),o=e+j,i=r.firstCreatePass?jr(r,o,1,n,null):r.data[o],s=I_(r,t,i,n,e);t[o]=s,Ji()&&Is(r,t,s,i),Ut(i,!1)}let I_=(e,n,t,r,o)=>(yn(!0),function Ds(e,n){return e.createText(n)}(n[U],r));function N(e){return G("",e,""),N}function G(e,n,t){const r=C(),o=Ur(r,e,n,t);return o!==z&&function un(e,n,t){const r=So(n,e);!function Bp(e,n,t){e.setValue(n,t)}(e[U],r,t)}(r,Ze(),o),G}function Wu(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(zn(e)||!e.multi){const p=new xo(l,o,M),m=Qu(c,n,o?u:u+h,d);-1===m?(Jc(rs(a,s),i,c),Zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=Qu(c,n,u+h,d),m=Qu(c,n,u,u+h),E=m>=0&&t[m];if(o&&!E||!o&&!(p>=0&&t[p])){Jc(rs(a,s),i,c);const T=function oA(e,n,t,r,o){const i=new xo(e,t,M);return i.multi=[],i.index=n,i.componentProviders=0,F_(i,o,r&&!t),i}(o?rA:nA,t.length,o,r,l);!o&&E&&(t[m].providerFactory=T),Zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else Zu(i,e,p>-1?p:m,F_(t[o?m:p],l,!o&&r));!o&&r&&E&&t[m].componentProviders++}}}function Zu(e,n,t,r){const o=zn(n),i=function gE(e){return!!e.useClass}(n);if(o||i){const c=(i?F(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function F_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Qu(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function tA(e,n,t){const r=te();if(r.firstCreatePass){const o=Nt(e);Wu(t,r.data,r.blueprint,o,!0),Wu(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class er{}class iA{}class Ku extends er{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new um(this);const o=function ze(e,n){const t=e[Qf]||null;if(!t&&!0===n)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function pt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=yp(n,t,[{provide:er,useValue:this},{provide:ks,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ju extends iA{constructor(n){super(),this.moduleType=n}create(n){return new Ku(this.moduleType,n,[])}}function da(e,n,t,r){return function U_(e,n,t,r,o,i){const s=n+t;return xe(e,s,o)?Wt(e,s+1,i?r.call(i,o):r(o)):gi(e,s+1)}(C(),et(),e,n,t,r)}function ed(e,n,t,r,o){return function z_(e,n,t,r,o,i,s){const a=n+t;return Yn(e,a,o,i)?Wt(e,a+2,s?r.call(s,o,i):r(o,i)):gi(e,a+2)}(C(),et(),e,n,t,r,o)}function $e(e,n,t,r,o,i){return G_(C(),et(),e,n,t,r,o,i)}function gi(e,n){const t=e[n];return t===z?void 0:t}function G_(e,n,t,r,o,i,s,a){const c=n+t;return function Gs(e,n,t,r,o){const i=Yn(e,n,t,r);return xe(e,n+2,o)||i}(e,c,o,i,s)?Wt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):gi(e,c+3)}function Q_(e,n,t,r,o){const i=e+j,s=C(),a=function vr(e,n){return e[n]}(s,i);return function mi(e,n){return e[I].data[n].pure}(s,i)?G_(s,et(),n,a.transform,t,r,o,a):a.transform(t,r,o)}Symbol;let dn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kA}return e})();const FA=dn,PA=class extends FA{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function ii(e,n,t,r){const o=n.tView,a=Bs(e,o,t,4096&e[R]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Eo]=e[n.index];const l=e[Ht];return null!==l&&(a[Ht]=l.createEmbeddedView(o)),_u(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new Yo(o)}};function kA(){return function fa(e,n){return 4&e.type?new PA(n,e,Br(e,n)):null}(le(),C())}let dd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Dw(!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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cy=new O(""),ma=new O("");let gd,hd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gd||(function UN(e){gd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ne(_e),ne(pd),ne(ma))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),pd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return gd?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const zN=new O("Application Initializer");let md=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=ee(zN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(ca(i))t.push(i);else if(r_(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dy=new O("appBootstrapListener");function Ey(e,n){return Array.isArray(n)?n.reduce(Ey,e):{...e,...n}}let uo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ee(Og),this.afterRenderEffectManager=ee(Ko),this.componentTypes=[],this.components=[],this.isStable=ee(dd).hasPendingTasks.pipe(pc(t=>!t)),this._injector=ee(an)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof mg;if(!this._injector.get(md).done)throw!o&&function Ln(e){const n=Q(e)||ke(e)||Ue(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=o?t:this._injector.get(ks).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function qN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(er),l=s.create(yt.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Cy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),va(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;va(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Dy,[]);[...this._bootstrapListeners,...r].forEach(o=>o(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),()=>va(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function va(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ZN=(()=>{class e{constructor(){this.zone=ee(_e),this.applicationRef=ee(uo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QN(){const e=ee(_e),n=ee(ln);return t=>e.runOutsideAngular(()=>n.handleError(t))}let KN=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=ee(_e),this.pendingTasks=ee(dd)}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(()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fn=new O("LocaleId",{providedIn:"root",factory:()=>ee(fn,X.Optional|X.SkipSelf)||function JN(){return typeof $localize<"u"&&$localize.locale||ao}()}),vd=new O("PlatformDestroyListeners");let Ty=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function g0(e="zone.js",n){return"noop"===e?new im:"zone.js"===e?new _e(n):e}(r?.ngZone,function Sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function aA(e,n,t){return new Ku(e,n,t)}(t.moduleType,this.injector,function My(e){return[{provide:_e,useFactory:e},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(ZN,{optional:!0});return()=>n.initialize()}},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(KN);return()=>{n.initialize()}}},{provide:Og,useFactory:QN}]}(()=>o)),s=i.injector.get(ln,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{va(this._modules,i),a.unsubscribe()})}),function by(e,n,t){try{const r=t();return ca(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(md);return a.runInitializers(),a.donePromise.then(()=>(function Rv(e){it(e,"Expected localeId to be defined"),"string"==typeof e&&(Ov=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=Ey({},r);return function GN(e,n,t){const r=new Ju(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(uo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new S(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(vd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ne(yt))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),An=null;const Ay=new O("AllowMultipleToken");function Ny(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=_d();if(!s||s.injector.get(Ay,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function tx(e){if(An&&!An.get(Ay,!1))throw new S(400,!1);(function wy(){!function cw(e){Pf=e}(()=>{throw new S(600,!1)})})(),An=e;const n=e.get(Ty);(function Oy(e){e.get(Dp,null)?.forEach(t=>t())})(e)}(function xy(e=[],n){return yt.create({name:n,providers:[{provide:fl,useValue:"platform"},{provide:vd,useValue:new Set([()=>An=null])},...e]})}(a,r))}return function nx(e){const n=_d();if(!n)throw new S(401,!1);return n}()}}function _d(){return An?.get(Ty)??null}const cx=Ny(null,"core",[]);let lx=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(ne(uo))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();let Td=null;function Di(){return Td}class Lx{}const nr=new O("DocumentToken"),Vd=/\s+/,lC=[];let Ei=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=lC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Vd):lC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Vd):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Vd).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(M(xt),M(Wn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class IO{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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 po=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,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 r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new IO(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),dC(a,o)}});for(let o=0,i=r.length;o{dC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn),M(Xl))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function dC(e,n){e.context.$implicit=n.item}let rr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new MO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){fC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){fC("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,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class MO{constructor(){this.$implicit=null,this.ngIf=null}}function fC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(n)}'.`)}let gC=(()=>{class e{transform(t,r,o){if(null==t)return null;if(!this.supports(t))throw function kt(e,n){return new S(2100,!1)}();return t.slice(r,o)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=at({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),JO=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();function vC(e){return"server"===e}class MR extends Lx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gd extends MR{static makeCurrent(){!function kx(e){Td||(Td=e)}(new Gd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 SR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==t?null:function TR(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function bO(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let Mi=null,NR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qd=new O("EventManagerPlugins");let DC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ne(qd),ne(_e))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class wC{constructor(n){this._doc=n}}const Wd="ng-app-id";let bC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Wd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Wd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Wd,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr),ne(gs),ne(wp,8),ne(Rr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const Zd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qd=/%COMP%/g,FR=new O("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function IC(e,n){return n.map(t=>t.replace(Qd,e))}let MC=(()=>{class e{constructor(t,r,o,i,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=vC(a),this.defaultRenderer=new Yd(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mt.ShadowDom&&(r={...r,encapsulation:Mt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof TC?o.applyToHost(t):o instanceof Kd&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mt.Emulated:i=new TC(c,l,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new VR(c,l,t,r,s,a,this.nonce,d);default:i=new Kd(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ne(DC),ne(bC),ne(gs),ne(FR),ne(nr),ne(Rr),ne(_e),ne(wp))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class Yd{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Zd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(SC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(SC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new S(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Zd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Zd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(bn.DashCase|bn.Important)?n.style.setProperty(t,r,o&bn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Di().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function SC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class VR extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=IC(o.id,o.styles);for(const u of l){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,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Kd extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?IC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class TC extends Kd{constructor(n,t,r,o,i,s,a,c){const l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=function PR(e){return"_ngcontent-%COMP%".replace(Qd,e)}(l),this.hostAttr=function kR(e){return"_nghost-%COMP%".replace(Qd,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let HR=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const AC=["alt","control","meta","shift"],BR={"\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"},jR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $R=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Di().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),AC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=BR[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),AC.forEach(s=>{s!==o&&(0,jR[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qR=Ny(cx,"browser",[{provide:Rr,useValue:"browser"},{provide:Dp,useValue:function UR(){Gd.makeCurrent()},multi:!0},{provide:nr,useFactory:function GR(){return function AE(e){_l=e}(document),document},deps:[]}]),WR=new O(""),OC=[{provide:ma,useClass:class AR{addToWindow(n){fe.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),fe.getAllAngularRootElements=()=>n.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(r=>{const o=fe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(c){s=s||c,i--,0==i&&r(s)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Di().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Cy,useClass:hd,deps:[_e,pd,ma]},{provide:hd,useClass:hd,deps:[_e,pd,ma]}],RC=[{provide:fl,useValue:"root"},{provide:ln,useFactory:function zR(){return new ln},deps:[]},{provide:qd,useClass:HR,multi:!0,deps:[nr,_e,Rr]},{provide:qd,useClass:$R,multi:!0,deps:[nr]},MC,bC,DC,{provide:_g,useExisting:MC},{provide:class rR{},useClass:NR,deps:[]},[]];let ZR=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:gs,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ne(WR,12))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({providers:[...RC,...OC],imports:[JO,lx]})}return e})();function or(e){return this instanceof or?(this.v=e,this):new or(e)}function oF(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 HC(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window;const BC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function jC(e){return je(e?.then)}function $C(e){return je(e[uc])}function UC(e){return Symbol.asyncIterator&&je(e?.[Symbol.asyncIterator])}function zC(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 GC=function sF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qC(e){return je(e?.[GC])}function WC(e){return function rF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function c(h){h.value instanceof or?Promise.resolve(h.value.v).then(l,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield or(t.read());if(o)return yield or(void 0);yield yield or(r)}}finally{t.releaseLock()}})}function ZC(e){return je(e?.getReader)}function Va(e){if(e instanceof _t)return e;if(null!=e){if($C(e))return function aF(e){return new _t(n=>{const t=e[uc]();if(je(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(BC(e))return function cF(e){return new _t(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$f)})}(e);if(UC(e))return QC(e);if(qC(e))return function uF(e){return new _t(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ZC(e))return function dF(e){return QC(WC(e))}(e)}throw zC(e)}function QC(e){return new _t(n=>{(function fF(e,n){var t,r,o,i;return function tF(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=oF(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ir(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function YC(e,n=0){return fc((t,r)=>{t.subscribe(new hc(r,o=>ir(r,e,()=>r.next(o),n),()=>ir(r,e,()=>r.complete(),n),o=>ir(r,e,()=>r.error(o),n)))})}function KC(e,n=0){return fc((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function JC(e,n){if(!e)throw new Error("Iterable cannot be null");return new _t(t=>{ir(t,n,()=>{const r=e[Symbol.asyncIterator]();ir(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}const{isArray:CF}=Array,{getPrototypeOf:DF,prototype:wF,keys:bF}=Object;const{isArray:SF}=Array;function NF(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function xF(...e){const n=function MF(e){return je(function ef(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:r}=function EF(e){if(1===e.length){const n=e[0];if(CF(n))return{args:n,keys:null};if(function IF(e){return e&&"object"==typeof e&&DF(e)===wF}(n)){const t=bF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),o=new _t(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?NF(r,a):a),i.complete())}))}});return n?o.pipe(function AF(e){return pc(n=>function TF(e,n){return SF(n)?e(...n):e(n)}(e,n))}(n)):o}let XC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Wn),M(xt))};static#t=this.\u0275dir=$({type:e})}return e})(),sr=(()=>{class e extends XC{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const Jt=new O("NgValueAccessor"),OF={provide:Jt,useExisting:de(()=>tf),multi:!0};let tf=(()=>{class e extends sr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[ye([OF]),ce]})}return e})();const RF={provide:Jt,useExisting:de(()=>Si),multi:!0},PF=new O("CompositionEventMode");let Si=(()=>{class e extends XC{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function FF(){const e=Di()?Di().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(r){return new(r||e)(M(Wn),M(xt),M(PF,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(r,o){1&r&&L("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ye([RF]),ce]})}return e})();const Ke=new O("NgValidators"),On=new O("NgAsyncValidators");function lD(e){return null!=e}function uD(e){return ca(e)?function yF(e,n){return n?function _F(e,n){if(null!=e){if($C(e))return function hF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(BC(e))return function gF(e,n){return new _t(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(jC(e))return function pF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(UC(e))return JC(e,n);if(qC(e))return function mF(e,n){return new _t(t=>{let r;return ir(t,n,()=>{r=e[GC](),ir(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>je(r?.return)&&r.return()})}(e,n);if(ZC(e))return function vF(e,n){return JC(WC(e),n)}(e,n)}throw zC(e)}(e,n):Va(e)}(e):e}function dD(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function fD(e,n){return n.map(t=>t(e))}function hD(e){return e.map(n=>function LF(e){return!e.validate}(n)?n:t=>n.validate(t))}function nf(e){return null!=e?function pD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return dD(fD(t,n))}}(hD(e)):null}function rf(e){return null!=e?function gD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return xF(fD(t,n).map(uD)).pipe(pc(dD))}}(hD(e)):null}function mD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function of(e){return e?Array.isArray(e)?e:[e]:[]}function Ba(e,n){return Array.isArray(e)?e.includes(n):e===n}function yD(e,n){const t=of(n);return of(e).forEach(o=>{Ba(t,o)||t.push(o)}),t}function CD(e,n){return of(n).filter(t=>!Ba(e,t))}class DD{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=nf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=rf(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 ot extends DD{get formDirective(){return null}get path(){return null}}class Rn extends DD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ja=(()=>{class e extends wD{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Rn,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ws("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ce]})}return e})();const Ti="VALID",Ua="INVALID",go="PENDING",Ai="DISABLED";function za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class MD{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===Ti}get invalid(){return this.status===Ua}get pending(){return this.status==go}get disabled(){return this.status===Ai}get enabled(){return this.status!==Ai}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(yD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(yD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(CD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(CD(n,this._rawAsyncValidators))}hasValidator(n){return Ba(this._rawValidators,n)}hasAsyncValidator(n){return Ba(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=go,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ai,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ti,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ti||this.status===go)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ai:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=go,this._hasOwnPendingAsyncValidator=!0;const t=uD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Ai:this.errors?Ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(go)?go:this._anyControlsHaveStatus(Ua)?Ua:Ti}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){za(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 $F(e){return Array.isArray(e)?nf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function UF(e){return Array.isArray(e)?rf(e):e||null}(this._rawAsyncValidators)}}const mo=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Ga}),Ga="always";function Ni(e,n,t=Ga){(function df(e,n){const t=function vD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(mD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function _D(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(mD(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Za(n._rawValidators,o),Za(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function qF(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&SD(e,n)})}(e,n),function ZF(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function WF(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&SD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function GF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Za(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function SD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ND(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function xD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const OD=class extends MD{constructor(n=null,t,r){super(function cf(e){return(za(e)?e.validators:e)||null}(t),function lf(e,n){return(za(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),za(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=xD(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(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){ND(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ND(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){xD(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}},nP={provide:Rn,useExisting:de(()=>Oi)},PD=(()=>Promise.resolve())();let Oi=(()=>{class e extends Rn{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new OD,this._registered=!1,this.name="",this.update=new Te,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Si?t=i:function KF(e){return Object.getPrototypeOf(e.constructor)===sr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function hf(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(){Ni(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){PD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function Sd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);PD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function qa(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(M(ot,9),M(Ke,10),M(On,10),M(Jt,10),M(hu,8),M(mo,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ye([nP]),ce,rn]})}return e})(),LD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();const aP={provide:Jt,useExisting:de(()=>mf),multi:!0};let mf=(()=>{class e extends sr{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[ye([aP]),ce]})}return e})();const hP={provide:Jt,useExisting:de(()=>Ri),multi:!0};function UD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ri=(()=>{class e extends sr{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 o=UD(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function pP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([hP]),ce]})}return e})(),Cf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(UD(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(r){return new(r||e)(M(xt),M(Wn),M(Ri,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const gP={provide:Jt,useExisting:de(()=>Df),multi:!0};function zD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Df=(()=>{class e extends sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([gP]),ce]})}return e})(),wf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(zD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(zD(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(r){return new(r||e)(M(xt),M(Wn),M(Df,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),IP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[LD]})}return e})(),SP=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:mo,useValue:t.callSetDisabledState??Ga}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[IP]})}return e})();class ew{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class TP{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.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class AP{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 Et{static roundNumber(n){return Math.floor(n*Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new AP(r))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Et.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n,t){if(""!==n&&-1===this.name.toLowerCase().indexOf(n.toLowerCase()))return!1;if(""===t||null===this.currentHistoricCoverage)return!0;if("allChanges"===t){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n,t){if(""!==n&&this.name.toLowerCase().indexOf(n.toLowerCase())>-1)return!0;for(let r=0;r{class e{get nativeWindow(){return function NP(){return window}()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),xP=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&r&&(f(),Tn("title",o.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function OP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",4),L("ngModelChange",function(o){return W(t),Z(v().showBranchCoverage=o)})("change",function(){W(t);const o=v();return Z(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),g("ngModel",t.showBranchCoverage),f(),G(" ",t.translations.branchCoverage,"")}}function RP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v().translations)}function FP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function PP(e,n){1&e&&(y(0,"a",13),A(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,In)}function kP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",11),L("change",function(){const i=W(t).$implicit;return Z(v(2).toggleMetric(i))}),_(),b(3),_(),b(4,"\xa0"),k(5,PP,2,1,"a",12),_()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("checked",r.isMetricSelected(t))("disabled",!r.methodCoverageAvailable),f(),G(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function LP(e,n){if(1&e&&(Y(0),A(1,"br")(2,"br"),y(3,"b"),b(4),_(),k(5,FP,1,1,"pro-button",7)(6,kP,6,4,"div",10),K()),2&e){const t=v();f(4),N(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let VP=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Te,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Te,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Te,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Te,this.visibleMetrics=[],this.visibleMetricsChange=new Te}isMetricSelected(t){return void 0!==this.visibleMetrics.find(r=>r.name===t.name)}toggleMetric(t){let r=this.visibleMetrics.find(o=>o.name===t.name);r?this.visibleMetrics.splice(this.visibleMetrics.indexOf(r),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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),L("click",function(){return o.close()}),y(1,"div",1),L("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),L("click",function(){return o.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),L("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),_(),b(9),_()(),k(10,OP,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),L("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),_(),b(14),_(),k(15,RP,1,1,"pro-button",7),_(),k(16,LP,7,3,"ng-container",8),_()()),2&r&&(f(5),N(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(),G(" ",o.translations.coverage,""),f(),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(),G(" ",o.translations.methodCoverage,""),f(),g("ngIf",!o.methodCoverageAvailable),f(),g("ngIf",o.metrics.length>0))},dependencies:[po,rr,tf,ja,Oi,xP],encapsulation:2})}return e})();function HP(e,n){1&e&&A(0,"td",3)}function BP(e,n){1&e&&A(0,"td"),2&e&&Yt("green ",v().greenClass,"")}function jP(e,n){1&e&&A(0,"td"),2&e&&Yt("red ",v().redClass,"")}let nw=(()=>{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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(y(0,"table",0),k(1,HP,1,0,"td",1)(2,BP,1,3,"td",2)(3,jP,1,3,"td",2),_()),2&r&&(f(),g("ngIf",o.grayVisible),f(),g("ngIf",o.greenVisible),f(),g("ngIf",o.redVisible))},dependencies:[rr],encapsulation:2,changeDetection:0})}return e})();const $P=["codeelement-row",""];function UP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function zP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function GP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function qP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function WP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function ZP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function QP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function YP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function KP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function JP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function XP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ek(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function tk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function nk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function rk(e,n){1&e&&A(0,"th",5)}const ok=(e,n)=>({"icon-plus":e,"icon-minus":n});let ik=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:$P,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(r,o){1&r&&(y(0,"th")(1,"a",0),L("click",function(s){return o.element.toggleCollapse(s)}),A(2,"i",1),b(3),_()(),k(4,UP,2,1,"th",2)(5,zP,2,1,"th",2)(6,GP,2,1,"th",2)(7,qP,2,1,"th",2)(8,WP,2,2,"th",3)(9,ZP,2,1,"th",2)(10,QP,2,1,"th",2)(11,YP,2,1,"th",2)(12,KP,2,2,"th",3)(13,JP,2,1,"th",2)(14,XP,2,1,"th",2)(15,ek,2,1,"th",2)(16,tk,2,2,"th",3)(17,nk,2,1,"th",2)(18,rk,1,0,"th",4)),2&r&&(f(2),g("ngClass",ed(17,ok,o.element.collapsed,!o.element.collapsed)),f(),G(" ",o.element.name,""),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngForOf",o.visibleMetrics))},dependencies:[Ei,po,rr,nw],encapsulation:2,changeDetection:0})}return e})();const sk=["coverage-history-chart",""];let ak=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let r="";for(let o=0;o({historiccoverageoffset:e});function bk(e,n){if(1&e&&A(0,"div",11),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Ek(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),G(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Ik(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveragePercentage," ")}}function Mk(e,n){if(1&e&&(y(0,"td",9),k(1,bk,1,5,"div",10)(2,Ek,5,6,"ng-container",1)(3,Ik,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Sk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function Tk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),G(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cb," ")}}function Ak(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredBranches," ")}}function Nk(e,n){if(1&e&&(y(0,"td",6),k(1,Tk,5,6,"ng-container",1)(2,Ak,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function xk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function Ok(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalBranches," ")}}function Rk(e,n){if(1&e&&(y(0,"td",6),k(1,xk,5,3,"ng-container",1)(2,Ok,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Fk(e,n){if(1&e&&A(0,"div",14),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Pk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),G(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.bcq,"%")}}function kk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.branchCoveragePercentage," ")}}function Lk(e,n){if(1&e&&(y(0,"td",9),k(1,Fk,1,5,"div",13)(2,Pk,5,6,"ng-container",1)(3,kk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Vk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function Hk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),G(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cm," ")}}function Bk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredMethods," ")}}function jk(e,n){if(1&e&&(y(0,"td",6),k(1,Hk,5,6,"ng-container",1)(2,Bk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function $k(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function Uk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalMethods," ")}}function zk(e,n){if(1&e&&(y(0,"td",6),k(1,$k,5,3,"ng-container",1)(2,Uk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Gk(e,n){if(1&e&&A(0,"div",16),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function qk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),G(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.mcq,"%")}}function Wk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.methodCoveragePercentage," ")}}function Zk(e,n){if(1&e&&(y(0,"td",9),k(1,Gk,1,5,"div",15)(2,qk,5,6,"ng-container",1)(3,Wk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Qk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function Yk(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,r=v();f(),N(r.clazz.metrics[t.abbreviation])}}let Kk=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,r){return t>r?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function A2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function N2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("uncovered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function x2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverable",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function O2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function R2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function F2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function P2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function k2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("branchcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function L2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function V2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function H2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("methodcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function B2(e,n){if(1&e){const t=be();y(0,"th")(1,"a",3),L("click",function(o){const s=W(t).$implicit;return Z(v(2).updateSorting(s.abbreviation,o))}),A(2,"i",25),b(3),_(),y(4,"a",56),A(5,"i",57),_()()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("ngClass",$e(3,vt,r.settings.sortBy===t.abbreviation&&"desc"===r.settings.sortOrder,r.settings.sortBy===t.abbreviation&&"asc"===r.settings.sortOrder,r.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}function j2(e,n){if(1&e&&A(0,"tr",59),2&e){const t=v().$implicit,r=v(2);g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)}}function $2(e,n){if(1&e&&A(0,"tr",61),2&e){const t=v().$implicit,r=v(3);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function U2(e,n){if(1&e&&(Y(0),k(1,$2,1,7,"tr",60),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function z2(e,n){if(1&e&&A(0,"tr",64),2&e){const t=v().$implicit,r=v(5);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function G2(e,n){if(1&e&&(Y(0),k(1,z2,1,7,"tr",63),K()),2&e){const t=n.$implicit,r=v(2).$implicit,o=v(3);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function q2(e,n){if(1&e&&(Y(0),A(1,"tr",62),k(2,G2,2,1,"ng-container",28),K()),2&e){const t=v().$implicit,r=v(3);f(),g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics),f(),g("ngForOf",t.classes)}}function W2(e,n){if(1&e&&(Y(0),k(1,q2,3,7,"ng-container",0),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function Z2(e,n){if(1&e&&(Y(0),k(1,j2,1,6,"tr",58)(2,U2,2,1,"ng-container",28)(3,W2,2,1,"ng-container",28),K()),2&e){const t=n.$implicit,r=v(2);f(),g("ngIf",t.visible(r.settings.filter,r.settings.historyComparisionType)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function Q2(e,n){if(1&e){const t=be();y(0,"div"),k(1,Jk,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),L("click",function(o){return W(t),Z(v().collapseAll(o))}),b(5),_(),b(6," | "),y(7,"a",3),L("click",function(o){return W(t),Z(v().expandAll(o))}),b(8),_()(),y(9,"div",4)(10,"span",5),k(11,Xk,2,1,"ng-container",0)(12,e2,2,1,"ng-container",0)(13,t2,2,1,"ng-container",0),_(),A(14,"br"),b(15),y(16,"input",6),L("ngModelChange",function(o){return W(t),Z(v().settings.grouping=o)})("ngModelChange",function(){return W(t),Z(v().updateCoverageInfo())}),_()(),y(17,"div",4),k(18,l2,9,6,"ng-container",0),_(),y(19,"div",7)(20,"div")(21,"button",8),L("click",function(){return W(t),Z(v().popupVisible=!0)}),A(22,"i",9),b(23),_()(),A(24,"br"),y(25,"div")(26,"span"),b(27),_(),y(28,"input",10),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)}),_()()()(),y(29,"div",11)(30,"table",12)(31,"colgroup"),A(32,"col",13),k(33,u2,1,0,"col",14)(34,d2,1,0,"col",15)(35,f2,1,0,"col",16)(36,h2,1,0,"col",17)(37,p2,1,0,"col",18)(38,g2,1,0,"col",19)(39,m2,1,0,"col",14)(40,v2,1,0,"col",17)(41,_2,1,0,"col",18)(42,y2,1,0,"col",19)(43,C2,1,0,"col",14)(44,D2,1,0,"col",17)(45,w2,1,0,"col",18)(46,b2,1,0,"col",19)(47,E2,1,0,"col",20),_(),y(48,"thead")(49,"tr",21),A(50,"th"),k(51,I2,2,1,"th",22)(52,M2,2,1,"th",23)(53,S2,2,1,"th",23)(54,T2,2,2,"th",24),_(),y(55,"tr")(56,"th")(57,"a",3),L("click",function(o){return W(t),Z(v().updateSorting("name",o))}),A(58,"i",25),b(59),_()(),k(60,A2,4,6,"th",26)(61,N2,4,6,"th",26)(62,x2,4,6,"th",26)(63,O2,4,6,"th",26)(64,R2,4,6,"th",27)(65,F2,4,6,"th",26)(66,P2,4,6,"th",26)(67,k2,4,6,"th",27)(68,L2,4,6,"th",26)(69,V2,4,6,"th",26)(70,H2,4,6,"th",27)(71,B2,6,7,"th",28),_()(),y(72,"tbody"),k(73,Z2,4,3,"ng-container",28),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),G(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(5),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",$e(47,vt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let Y2=(()=>{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 TP,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,Et.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 o=0,i=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(r)),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 ew;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(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let c=0;c{for(let o=0;o{for(let i=0;it&&(o[i].collapsed=this.settings.collapseStates[t]),t++,r(o[i].subElements)};r(this.codeElements)}static#e=this.\u0275fac=function(r){return new(r||e)(M(If))};static#t=this.\u0275cmp=nn({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&L("beforeunload",function(){return o.onBeforeUnload()},0,yl)},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,"max","ngModel","ngModelChange"],[1,"col-right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[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,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["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"],[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(r,o){1&r&&k(0,Q2,74,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Ei,po,rr,Cf,wf,Si,mf,Ri,ja,Oi,VP,ik,Kk],encapsulation:2})}return e})();class K2{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function J2(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=n.$implicit;g("value",t),f(),N(t)}}function X2(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function eL(e,n){1&e&&(y(0,"option",23),b(1,"20"),_())}function tL(e,n){1&e&&(y(0,"option",24),b(1,"50"),_())}function nL(e,n){1&e&&(y(0,"option",25),b(1,"100"),_())}function rL(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function oL(e,n){if(1&e){const t=be();y(0,"select",17),L("ngModelChange",function(o){return W(t),Z(v(2).settings.numberOfRiskHotspots=o)}),y(1,"option",18),b(2,"10"),_(),k(3,eL,2,0,"option",19)(4,tL,2,0,"option",20)(5,nL,2,0,"option",21)(6,rL,2,2,"option",22),_()}if(2&e){const t=v(2);g("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function iL(e,n){1&e&&A(0,"col",26)}const Ya=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function sL(e,n){if(1&e){const t=be();y(0,"th")(1,"a",13),L("click",function(o){const s=W(t).index;return Z(v(2).updateSorting(""+s,o))}),A(2,"i",14),b(3),_(),y(4,"a",27),A(5,"i",28),_()()}if(2&e){const t=n.$implicit,r=n.index,o=v(2);f(2),g("ngClass",$e(3,Ya,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}const aL=(e,n)=>({lightred:e,lightgreen:n});function cL(e,n){if(1&e&&(y(0,"td",32),b(1),_()),2&e){const t=n.$implicit;g("ngClass",ed(2,aL,t.exceeded,!t.exceeded)),f(),N(t.value)}}function lL(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",29),b(5),_()(),y(6,"td",30)(7,"a",29),b(8),_()(),k(9,cL,2,5,"td",31),_()),2&e){const t=n.$implicit,r=v(2);f(2),N(t.assembly),f(2),g("href",t.reportPath+r.queryString,In),f(),N(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+r.queryString+"#file"+t.fileIndex+"_line"+t.line,In),f(),G(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function uL(e,n){if(1&e){const t=be();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),L("ngModelChange",function(o){return W(t),Z(v().settings.assembly=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),k(6,J2,2,2,"option",4),_()(),y(7,"div",5),k(8,X2,2,1,"span",0)(9,oL,7,5,"select",6),_(),A(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),A(18,"col",11)(19,"col",11)(20,"col",11),k(21,iL,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("assembly",o))}),A(26,"i",14),b(27),_()(),y(28,"th")(29,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("class",o))}),A(30,"i",14),b(31),_()(),y(32,"th")(33,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("method",o))}),A(34,"i",14),b(35),_()(),k(36,sL,6,7,"th",15),_()(),y(37,"tbody"),k(38,lL,10,7,"tr",15),function Z_(e,n){const t=te();let r;const o=e+j;t.firstCreatePass?(r=function TA(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Bn(r.type)),a=st(M);try{const c=ns(!1),l=i();return ns(c),function $1(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,C(),o,l),l}finally{st(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),g("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",$e(20,Ya,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),g("ngClass",$e(24,Ya,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),g("ngClass",$e(28,Ya,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",Q_(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let dL=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new K2,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 ew;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:[Ei,po,rr,Cf,wf,Si,Ri,ja,Oi,gC],encapsulation:2})}return e})(),fL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e,bootstrap:[dL,Y2]});static#n=this.\u0275inj=en({providers:[If],imports:[ZR,SP]})}return e})();qR().bootstrapModule(fL).catch(e=>console.error(e))}},Ja=>{Ja(Ja.s=355)}]); /* ]]> */ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlChart/CoverageHistory.html b/docs/resources/reports/HtmlChart/CoverageHistory.html index 1a4f834a..3171ed67 100644 --- a/docs/resources/reports/HtmlChart/CoverageHistory.html +++ b/docs/resources/reports/HtmlChart/CoverageHistory.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -794,7 +829,7 @@ .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
-
+
@@ -1098,10 +1133,10 @@ { "name": "Sample", "classes": [ - { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.01.2024 - 21:25:26", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, - { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.01.2024 - 21:25:26", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, - { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.01.2024 - 21:25:26", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, - { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.01.2024 - 21:25:26", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, + { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.05.2024 - 20:56:24", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, + { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.05.2024 - 20:56:24", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, + { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.05.2024 - 20:56:24", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, + { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.05.2024 - 20:56:24", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, ]}, ]; @@ -1162,8 +1197,8 @@ }; -(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); +(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(935)},935:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=50)}]); -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{355:()=>{let Ie=null,lr=1;function De(e){const n=Ie;return Ie=e,n}function Sf(e){if((!vo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==lr)){if(!e.producerMustRecompute(e)&&!tc(e))return e.dirty=!1,void(e.lastCleanEpoch=lr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=lr}}function tc(e){ur(e);for(let n=0;n0}function ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Pf=null;function je(e){return"function"==typeof e}function Vf(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const oc=Vf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ic(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._teardowns=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 i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(je(r))try{r()}catch(i){n=i instanceof oc?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{jf(i)}catch(s){n=n??[],s instanceof oc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new oc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jf(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&ic(t,n)}remove(n){const{_teardowns:t}=this;t&&ic(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Hf=It.EMPTY;function Bf(e){return e instanceof It||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function jf(e){je(e)?e():e.unsubscribe()}const Pn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout(...e){const{delegate:n}=ki;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=ki;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $f(e){ki.setTimeout(()=>{const{onUnhandledError:n}=Pn;if(!n)throw e;n(e)})}function Li(){}const fw=sc("C",void 0,void 0);function sc(e,n,t){return{kind:e,value:n,error:t}}let kn=null;function Vi(e){if(Pn.useDeprecatedSynchronousErrorHandling){const n=!kn;if(n&&(kn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=kn;if(kn=null,t)throw r}}else e()}class ac extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Bf(n)&&n.add(this)):this.destination=mw}static create(n,t,r){return new Uf(n,t,r)}next(n){this.isStopped?lc(function pw(e){return sc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?lc(function hw(e){return sc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?lc(fw,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()}}}class Uf extends ac{constructor(n,t,r){let o;if(super(),je(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&Pn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?cc(o):Li,error:cc(t??zf),complete:r?cc(r):Li}}}function cc(e,n){return(...t)=>{try{e(...t)}catch(r){Pn.useDeprecatedSynchronousErrorHandling?function gw(e){Pn.useDeprecatedSynchronousErrorHandling&&kn&&(kn.errorThrown=!0,kn.error=e)}(r):$f(r)}}}function zf(e){throw e}function lc(e,n){const{onStoppedNotification:t}=Pn;t&&ki.setTimeout(()=>t(e,n))}const mw={closed:!0,next:Li,error:zf,complete:Li},uc="function"==typeof Symbol&&Symbol.observable||"@@observable";function vw(e){return e}let _t=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function yw(e){return e&&e instanceof ac||function _w(e){return e&&je(e.next)&&je(e.error)&&je(e.complete)}(e)&&Bf(e)}(t)?t:new Uf(t,r,o);return Vi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=qf(r))((o,i)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(c){i(c),s?.unsubscribe()}},i,o)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[uc](){return this}pipe(...t){return function Gf(e){return 0===e.length?vw:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=qf(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function qf(e){var n;return null!==(n=e??Pn.Promise)&&void 0!==n?n:Promise}const Cw=Vf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let dc=(()=>{class e extends _t{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Wf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Cw}next(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Vi(()=>{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=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:r,isStopped:o,observers:i}=this;return r||o?Hf:(i.push(t),new It(()=>ic(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new _t;return t.source=this,t}}return e.create=(n,t)=>new Wf(n,t),e})();class Wf extends dc{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.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,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Hf}}class Dw extends dc{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:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function fc(e){return n=>{if(function ww(e){return je(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class hc extends ac{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function pc(e,n){return fc((t,r)=>{let o=0;t.subscribe(new hc(r,i=>{r.next(e.call(n,i,o++))}))})}function ae(e){for(let n in e)if(e[n]===ae)return n;throw Error("Could not find renamed property on target object.")}function Hi(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).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 gc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const bw=ae({__forward_ref__:ae});function de(e){return e.__forward_ref__=de,e.toString=function(){return Pe(this())},e}function F(e){return Bi(e)?e():e}function Bi(e){return"function"==typeof e&&e.hasOwnProperty(bw)&&e.__forward_ref__===de}function mc(e){return e&&!!e.\u0275providers}const Zf="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function dr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const _o=ae({\u0275cmp:ae}),vc=ae({\u0275dir:ae}),_c=ae({\u0275pipe:ae}),Qf=ae({\u0275mod:ae}),Xt=ae({\u0275fac:ae}),yo=ae({__NG_ELEMENT_ID__:ae}),Yf=ae({__NG_ENV_ID__:ae});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function yc(e,n){throw new S(-201,!1)}function it(e,n){null==e&&function P(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function J(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 ji(e){return Kf(e,Ui)||Kf(e,Jf)}function Kf(e,n){return e.hasOwnProperty(n)?e[n]:null}function $i(e){return e&&(e.hasOwnProperty(Cc)||e.hasOwnProperty(xw))?e[Cc]:null}const Ui=ae({\u0275prov:ae}),Cc=ae({\u0275inj:ae}),Jf=ae({ngInjectableDef:ae}),xw=ae({ngInjectorDef:ae});var X=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(X||{});let Dc;function st(e){const n=Dc;return Dc=e,n}function eh(e,n,t){const r=ji(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&X.Optional?null:void 0!==n?n:void yc()}const fe=globalThis;class O{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=J({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Co={},Mc="__NG_DI_FLAG__",zi="ngTempTokenPath",Fw=/\n/gm,nh="__source";let fr;function mn(e){const n=fr;return fr=e,n}function Lw(e,n=X.Default){if(void 0===fr)throw new S(-203,!1);return null===fr?eh(e,void 0,n):fr.get(e,n&X.Optional?null:void 0,n)}function ne(e,n=X.Default){return(function Xf(){return Dc}()||Lw)(F(e),n)}function ee(e,n=X.Default){return ne(e,Gi(n))}function Gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==oh(p,l,0)||2&r&&l!==h){if(St(r))return!1;s=!0}}}}else{if(!s&&!St(r)&&!St(c))return!1;if(s&&St(c))continue;s=!1,r=c|1&r}}return St(r)||s}function St(e){return 0==(1&e)}function zw(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!St(s)&&(n+=dh(i,o),o=""),r=s,i=i||!St(r);t++}return""!==o&&(n+=dh(i,o)),n}function nn(e){return tn(()=>{const n=hh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};ph(t);const r=e.dependencies;return t.directiveDefs=Wi(r,!1),t.pipeDefs=Wi(r,!0),t.id=function tb(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 o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function Jw(e){return Q(e)||ke(e)}function Xw(e){return null!==e}function vn(e){return tn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fh(e,n){if(null==e)return Lt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function $(e){return tn(()=>{const n=hh(e);return ph(n),n})}function at(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 Q(e){return e[_o]||null}function ke(e){return e[vc]||null}function Ue(e){return e[_c]||null}function hh(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||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fh(e.inputs,n),outputs:fh(e.outputs),debugInfo:null}}function ph(e){e.features?.forEach(n=>n(e))}function Wi(e,n){if(!e)return null;const t=n?Ue:Jw;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(Xw)}const we=0,I=1,R=2,Me=3,Tt=4,Ge=5,At=6,hr=7,he=8,Je=9,Vt=10,U=11,bo=12,gh=13,pr=14,Ce=15,Eo=16,gr=17,Ht=18,Io=19,mh=20,_n=21,Zi=22,Vn=23,j=25,Ac=1,Bt=7,mr=9,Se=10;var Nc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Nc||{});function qe(e){return Array.isArray(e)&&"object"==typeof e[Ac]}function We(e){return Array.isArray(e)&&!0===e[Ac]}function xc(e){return 0!=(4&e.flags)}function Hn(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function Nt(e){return!!e.template}function Oc(e){return 0!=(512&e[R])}function Bn(e,n){return e.hasOwnProperty(Xt)?e[Xt]:null}class ib{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function rn(){return Ch}function Ch(e){return e.type.prototype.ngOnChanges&&(e.setInput=ab),sb}function sb(){const e=wh(this),n=e?.current;if(n){const t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ab(e,n,t,r){const o=this.declaredInputs[t],i=wh(e)||function cb(e,n){return e[Dh]=n}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,c=a[o];s[o]=new ib(c&&c.currentValue,n,a===Lt),e[r]=n}rn.ngInherit=!0;const Dh="__ngSimpleChanges__";function wh(e){return e[Dh]||null}const jt=function(e,n,t){};let Ih=!1;function pe(e){for(;Array.isArray(e);)e=e[we];return e}function So(e,n){return pe(n[e])}function Xe(e,n){return pe(n[e.index])}function To(e,n){return e.data[n]}function ft(e,n){const t=n[e];return qe(t)?t:t[we]}function Lc(e){return 128==(128&e[R])}function $t(e,n){return null==n?null:e[n]}function Mh(e){e[gr]=0}function pb(e){1024&e[R]||(e[R]|=1024,Lc(e)&&Ao(e))}function Th(e){return 9216&e[R]||e[Vn]?.dirty}function Vc(e){Th(e)?Ao(e):64&e[R]&&(function ub(){return Ih}()?(e[R]|=1024,Ao(e)):e[Vt].changeDetectionScheduler?.notify())}function Ao(e){e[Vt].changeDetectionScheduler?.notify();let n=jn(e);for(;null!==n&&!(8192&n[R])&&(n[R]|=8192,Lc(n));)n=jn(n)}function jn(e){const n=e[Me];return We(n)?n[Me]:n}const V={lFrame:Vh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nh(){return V.bindingsEnabled}function C(){return V.lFrame.lView}function te(){return V.lFrame.tView}function W(e){return V.lFrame.contextLView=e,e[he]}function Z(e){return V.lFrame.contextLView=null,e}function le(){let e=xh();for(;null!==e&&64===e.type;)e=e.parent;return e}function xh(){return V.lFrame.currentTNode}function Ut(e,n){const t=V.lFrame;t.currentTNode=e,t.isParent=n}function Bc(){return V.lFrame.isParent}function jc(){V.lFrame.isParent=!1}function et(){const e=V.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function zt(){return V.lFrame.bindingIndex++}function sn(e){const n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ib(e,n){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,$c(n)}function $c(e){V.lFrame.currentDirectiveIndex=e}function zc(e){V.lFrame.currentQueryIndex=e}function Sb(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[Ge]:null}function kh(e,n,t){if(t&X.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&X.Host||(o=Sb(i),null===o||(i=i[pr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=V.lFrame=Lh();return r.currentTNode=n,r.lView=e,!0}function Gc(e){const n=Lh(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lh(){const e=V.lFrame,n=null===e?null:e.child;return null===n?Vh(e):n}function Vh(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 Hh(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bh=Hh;function qc(){const e=Hh();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 Ze(){return V.lFrame.selectedIndex}function $n(e){V.lFrame.selectedIndex=e}function ve(){const e=V.lFrame;return To(e.tView,e.selectedIndex)}let Uh=!0;function Ji(){return Uh}function yn(e){Uh=e}function Xi(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[gr]+=65536),(a>14>16&&(3&e[R])===n&&(e[R]+=16384,Gh(a,i)):Gh(a,i)}const yr=-1;class xo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Qc(e){return e!==yr}function Oo(e){return 32767&e}function Ro(e,n){let t=function Vb(e){return e>>16}(e),r=n;for(;t>0;)r=r[pr],t--;return r}let Yc=!0;function ns(e){const n=Yc;return Yc=e,n}const qh=255,Wh=5;let Hb=0;const Gt={};function rs(e,n){const t=Zh(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Kc(r.data,e),Kc(n,null),Kc(r.blueprint,null));const o=os(e,n),i=e.injectorIndex;if(Qc(o)){const s=Oo(o),a=Ro(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Kc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Zh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function os(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=tp(o),null===r)return yr;if(t++,o=o[pr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return yr}function Jc(e,n,t){!function Bb(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(yo)&&(r=t[yo]),null==r&&(r=t[yo]=Hb++);const o=r&qh;n.data[e+(o>>Wh)]|=1<=0?n&qh:zb:n}(t);if("function"==typeof i){if(!kh(n,e,r))return r&X.Host?Qh(o,0,r):Yh(n,t,r,o);try{let s;if(s=i(r),null!=s||r&X.Optional)return s;yc()}finally{Bh()}}else if("number"==typeof i){let s=null,a=Zh(e,n),c=yr,l=r&X.Host?n[Ce][Ge]:null;for((-1===a||r&X.SkipSelf)&&(c=-1===a?os(e,n):n[a+8],c!==yr&&ep(r,!1)?(s=n[I],a=Oo(c),n=Ro(c,n)):a=-1);-1!==a;){const u=n[I];if(Xh(i,a,u.data)){const d=$b(a,n,t,s,r,l);if(d!==Gt)return d}c=n[a+8],c!==yr&&ep(r,n[I].data[a+8]===l)&&Xh(i,a,n)?(s=u,a=Oo(c),n=Ro(c,n)):a=-1}}return o}function $b(e,n,t,r,o,i){const s=n[I],a=s.data[e+8],u=function is(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=c&&m.type===t)return p}if(o){const p=s[c];if(p&&Nt(p)&&p.type===t)return c}return null}(a,s,t,null==r?Hn(a)&&Yc:r!=s&&0!=(3&a.type),o&X.Host&&i===a);return null!==u?Un(n,s,u,a):Gt}function Un(e,n,t,r){let o=e[t];const i=n.data;if(function Fb(e){return e instanceof xo}(o)){const s=o;s.resolving&&function Iw(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${t}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=ns(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?st(s.injectImpl):null;kh(e,r,X.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Ob(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Ch(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&st(l),ns(a),s.resolving=!1,Bh()}}return o}function Xh(e,n,t){return!!(t[n+(e>>Wh)]&1<{const n=e.prototype.constructor,t=n[Xt]||Xc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Xt]||Xc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xc(e){return Bi(e)?()=>{const n=Xc(F(e));return n&&n()}:Bn(e)}function tp(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[Ge]:null}const br="__parameters__";function Ir(e,n,t){return tn(()=>{const r=function tl(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(br)?c[br]:Object.defineProperty(c,br,{value:[]})[br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Sr(e,n){e.forEach(t=>Array.isArray(t)?Sr(t,n):n(t))}function rp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ss(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ht(e,n,t){let r=Tr(e,n);return r>=0?e[1|r]=t:(r=~r,function op(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function rl(e,n){const t=Tr(e,n);if(t>=0)return e[1|t]}function Tr(e,n){return function ip(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return Sr(n,s=>{const a=s;ds(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&dp(o,i),t}function dp(e,n){for(let t=0;t{n(i,r)})}}function ds(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=$i(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=$i(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)ds(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Sr(i.imports,u=>{ds(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&dp(l,n)}if(!a){const l=Bn(o)||(()=>new o);n({provide:o,useFactory:l,deps:re},o),n({provide:cl,useValue:o,multi:!0},o),n({provide:Nr,useValue:()=>ne(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;ul(c,u=>{n(u,l)})}}}return o!==e&&void 0!==e.providers}function ul(e,n){for(let t of e)mc(t)&&(t=t.\u0275providers),Array.isArray(t)?ul(t,n):n(t)}const pE=ae({provide:String,useValue:ae});function dl(e){return null!==e&&"object"==typeof e&&pE in e}function zn(e){return"function"==typeof e}const fl=new O("Set Injector scope."),fs={},mE={};let hl;function hs(){return void 0===hl&&(hl=new us),hl}class an{}class xr extends an{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gl(n,s=>this.processProvider(s)),this.records.set(lp,Or(void 0,this)),o.has("environment")&&this.records.set(an,Or(void 0,this));const i=this.records.get(fl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cl,re,X.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=mn(this),r=st(void 0);try{return n()}finally{mn(t),st(r)}}get(n,t=Co,r=X.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Yf))return n[Yf](this);r=Gi(r);const i=mn(this),s=st(void 0);try{if(!(r&X.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function DE(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&ji(n);c=l&&this.injectableDefInScope(l)?Or(pl(n),fs):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&X.Self?hs():this.parent).get(n,t=r&X.Optional&&t===Co?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[zi]=a[zi]||[]).unshift(Pe(n)),i)throw a;return function Hw(e,n,t,r){const o=e[zi];throw n[nh]&&o.unshift(n[nh]),e.message=function Bw(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Pe(n);if(Array.isArray(n))o=n.map(Pe).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(Fw,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[zi]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{st(s),mn(i)}}resolveInjectorInitializers(){const n=mn(this),t=st(void 0);try{const o=this.get(Nr,re,X.Self);for(const i of o)i()}finally{mn(n),st(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=zn(n=F(n))?n:F(n&&n.provide);const r=function _E(e){return dl(e)?Or(void 0,e.useValue):Or(pp(e),fs)}(n);if(!zn(n)&&!0===n.multi){let o=this.records.get(t);o||(o=Or(void 0,fs,!0),o.factory=()=>Sc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===fs&&(t.value=mE,t.value=t.factory()),"object"==typeof t.value&&t.value&&function CE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(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 pl(e){const n=ji(e),t=null!==n?n.factory:Bn(e);if(null!==t)return t;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return function vE(e){if(e.length>0)throw new S(204,!1);const t=function Nw(e){return e&&(e[Ui]||e[Jf])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new S(204,!1)}function pp(e,n,t){let r;if(zn(e)){const o=F(e);return Bn(o)||pl(o)}if(dl(e))r=()=>F(e.useValue);else if(function hp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(function fp(e){return!(!e||!e.useExisting)}(e))r=()=>ne(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function yE(e){return!!e.deps}(e))return Bn(o)||pl(o);r=()=>new o(...Sc(e.deps))}return r}function Or(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gl(e,n){for(const t of e)Array.isArray(t)?gl(t,n):t&&mc(t)?gl(t.\u0275providers,n):n(t)}function _p(e,n=null,t=null,r){const o=yp(e,n,t,r);return o.resolveInjectorInitializers(),o}function yp(e,n=null,t=null,r,o=new Set){const i=[t||re,hE(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new xr(i,n||hs(),r||null,o)}let _l,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Co;static#t=this.NULL=new us;static create(t,r){if(Array.isArray(t))return _p({name:""},r,t,"");{const o=t.name??"";return _p({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=J({token:e,providedIn:"any",factory:()=>ne(lp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const gs=new O("AppId",{providedIn:"root",factory:()=>NE}),NE="ng",Dp=new O("Platform Initializer"),Rr=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wp=new O("CSP nonce",{providedIn:"root",factory:()=>function Cn(){if(void 0!==_l)return _l;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function yl(e){return e.ownerDocument.defaultView}function ys(e){return 128==(128&e.flags)}var bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bn||{});const HE=/^>|^->||--!>|)/g,jE="\u200b$1\u200b";const El=new Map;let $E=0;const Ml="__ngContext__";function Ye(e,n){qe(n)?(e[Ml]=n[Io],function zE(e){El.set(e[Io],e)}(n)):e[Ml]=n}let Sl;function Tl(e,n){return Sl(e,n)}function Pr(e,n,t,r,o){if(null!=r){let i,s=!1;We(r)?i=r:qe(r)&&(s=!0,r=r[we]);const a=pe(r);0===e&&null!==t?null==o?zp(n,t,a):qn(n,t,a,o||null,!0):1===e&&null!==t?qn(n,t,a,o||null,!0):2===e?function Ms(e,n,t){const r=Es(e,n);r&&function sI(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function lI(e,n,t,r,o){const i=t[Bt];i!==pe(t)&&Pr(n,e,r,i,o);for(let a=Se;an.replace(BE,jE))}(n))}function ws(e,n,t){return e.createElement(n,t)}function jp(e,n){n[Vt].changeDetectionScheduler?.notify(),Ss(e,n,n[U],2,null,null)}function $p(e,n){const t=e[mr],r=t.indexOf(n);t.splice(r,1)}function Bo(e,n){if(e.length<=Se)return;const t=Se+n,r=e[t];if(r){const o=r[Eo];null!==o&&o!==e&&$p(o,r),n>0&&(e[t-1][Tt]=r[Tt]);const i=ss(e,Se+n);!function XE(e,n){jp(e,n),n[we]=null,n[Ge]=null}(r[I],r);const s=i[Ht];null!==s&&s.detachView(i[I]),r[Me]=null,r[Tt]=null,r[R]&=-129}return r}function bs(e,n){if(!(256&n[R])){const t=n[U];t.destroyNode&&Ss(e,n,t,3,null,null),function tI(e){let n=e[bo];if(!n)return Nl(e[I],e);for(;n;){let t=null;if(qe(n))t=n[bo];else{const r=n[Se];r&&(t=r)}if(!t){for(;n&&!n[Tt]&&n!==e;)qe(n)&&Nl(n[I],n),n=n[Me];null===n&&(n=e),qe(n)&&Nl(n[I],n),t=n&&n[Tt]}n=t}}(n)}}function Nl(e,n){if(!(256&n[R])){n[R]&=-129,n[R]|=256,n[Vn]&&function Of(e){if(ur(e),vo(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[hr]=null);const o=n[_n];if(null!==o){n[_n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mt.None||i===Mt.Emulated)return null}return Xe(r,t)}}(e,n.parent,t)}function qn(e,n,t,r,o){e.insertBefore(n,t,r,o)}function zp(e,n,t){e.appendChild(n,t)}function Gp(e,n,t,r,o){null!==r?qn(e,n,t,r,o):zp(e,n,t)}function Es(e,n){return e.parentNode(n)}let Ol,Zp=function Wp(e,n,t){return 40&e.type?Xe(e,t):null};function Is(e,n,t,r){const o=xl(e,r,n),i=n[U],a=function qp(e,n,t){return Zp(e,n,t)}(r.parent||n[Ge],r,n);if(null!=o)if(Array.isArray(t))for(let c=0;cnull;function Zl(e,n,t=!1){return hg(e,n,t)}class qI{}class mg{}class ZI{resolveComponentFactory(n){throw function WI(e){const n=Error(`No component factory found for ${Pe(e)}.`);return n.ngComponent=e,n}(n)}}let ks=(()=>{class e{static#e=this.NULL=new ZI}return e})();function QI(){return Br(le(),C())}function Br(e,n){return new xt(Xe(e,n))}let xt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=QI}return e})();class _g{}let Wn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function KI(){const e=C(),t=ft(le().index,e);return(qe(t)?t:e)[U]}()}return e})(),JI=(()=>{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>null})}return e})();const Kl={};function Ls(e){return!!function Jl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Cg{constructor(){}supports(n){return Ls(n)}create(n){return new rM(n)}}const nM=(e,n)=>n;class rM{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||nM}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;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,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new oM(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Dg),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._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 Dg),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 oM{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 iM{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Dg{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new iM,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.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 wg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:Eg});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Eg()),deps:[[e,new sl,new il]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new S(901,!1)}}return e})();function Wo(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(pe(i)),We(i)&&Mg(i,r);const s=t.type;if(8&s)Wo(e,n,t.child,r);else if(32&s){const a=Tl(t,n);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Yp(n,t);if(Array.isArray(a))r.push(...a);else{const c=jn(n[Ce]);Wo(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Mg(e,n){for(let t=Se;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ao(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}};function Tg(e){return Ng(e[bo])}function Ag(e){return Ng(e[Tt])}function Ng(e){for(;null!==e&&!We(e);)e=e[Tt];return e}function eu(e){return e.ngOriginalError}class ln{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&&eu(n);for(;t&&eu(t);)t=eu(t);return t||null}}const Og=new O("",{providedIn:"root",factory:()=>ee(ln).handleError.bind(void 0)}),Fg=new O("",{providedIn:"root",factory:()=>!1}),z={};function f(e=1){Vg(te(),C(),Ze()+e,!1)}function Vg(e,n,t,r){if(!r)if(3==(3&n[R])){const i=e.preOrderCheckHooks;null!==i&&es(n,i,t)}else{const i=e.preOrderHooks;null!==i&&ts(n,i,0,t)}$n(t)}function M(e,n=X.Default){const t=C();return null===t?ne(e,n):Kh(le(),t,F(e),n)}function Bs(e,n,t,r,o,i,s,a,c,l,u){const d=n.blueprint.slice();return d[we]=o,d[R]=204|r,(null!==l||e&&2048&e[R])&&(d[R]|=2048),Mh(d),d[Me]=d[pr]=e,d[he]=t,d[Vt]=s||e&&e[Vt],d[U]=a||e&&e[U],d[Je]=c||e&&e[Je]||null,d[Ge]=i,d[Io]=function UE(){return $E++}(),d[At]=u,d[mh]=l,d[Ce]=2==n.type?e[Ce]:d,d}function jr(e,n,t,r,o){let i=e.data[n];if(null===i)i=function tu(e,n,t,r,o){const i=xh(),s=Bc(),c=e.data[n]=function TM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function _r(){return null!==V.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=c),null!==i&&(s?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c,c.prev=i)),c}(e,n,t,r,o),function Eb(){return V.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function No(){const e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function Zo(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;ij&&Vg(e,n,j,!1),jt(s?2:0,o),t(r,o)}finally{$n(i),jt(s?3:1,o)}}function nu(e,n,t){if(xc(n)){const r=De(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function $g(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?Ug(t,n,o,i):r.hasOwnProperty(o)&&Ug(t,n,r[o],i)}return t}function Ug(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function gt(e,n,t,r,o,i,s,a){const c=Xe(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(uu(e,t,u,r,o),Hn(n)&&function xM(e,n){const t=ft(n,e);16&t[R]||(t[R]|=64)}(t,n.index)):3&n.type&&(r=function NM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(c,r,o))}function su(e,n,t,r){if(Nh()){const o=null===r?null:{"":-1},i=function LM(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Zo(e,t,o.hostVars,z),o)}function qt(e,n,t,r,o,i){const s=Xe(e,n);!function cu(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[U],s,i,e.value,t,r,o)}function UM(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function dM(e){e.lView[Vn]!==e&&(e.lView=null,Sg.push(e))}(a)),qc()}}function Jg(e,n){for(let t=Tg(e);null!==t;t=Ag(t))for(let r=Se;r-1&&(Bo(n,r),ss(t,r))}this._attachedToViewContainer=!1}bs(this._lView[I],this._lView)}onDestroy(n){!function Ki(e,n){if(256==(256&e[R]))throw new S(911,!1);null===e[_n]&&(e[_n]=[]),e[_n].push(n)}(this._lView,n)}markForCheck(){Qo(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Vc(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,function du(e,n=!0){const t=e[Vt],r=t.rendererFactory;r.begin?.();try{!function qM(e){fu(e,0);let n=0;for(;Th(e);){if(100===n)throw new S(103,!1);n++,fu(e,1)}}(e)}catch(i){throw n&&$s(e,i),i}finally{r.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,jp(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n,Vc(this._lView)}}let hu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=KM}return e})();function KM(e){return function JM(e,n,t){if(Hn(e)&&!t){const r=ft(e.index,n);return new Yo(r,r)}return 47&e.type?new Yo(n[Ce],n):null}(le(),C(),16==(16&e))}function gu(e){return n=>{setTimeout(e,void 0,n)}}const Te=class l0 extends dc{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=gu(i),o&&(o=gu(o)),s&&(s=gu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof It&&n.add(a),a}};function nm(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function u0(){const e="function"==typeof fe.requestAnimationFrame;let n=fe[e?"requestAnimationFrame":"setTimeout"],t=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function h0(e){const n=()=>{!function f0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vu(e),e.isCheckStableRunning=!0,mu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function p0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return rm(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),om(e)}},onInvoke:(t,r,o,i,s,a,c)=>{try{return rm(e),t.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),om(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,vu(e),mu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new S(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,d0,nm,nm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const d0={};function mu(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 vu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function om(e){e._nesting--,mu(e)}class im{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}let Ko=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of t)o();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>new e})}return e})();function _0(e,n){const t=ft(n,e),r=t[I];!function y0(e,n){for(let t=n.length;t0&&Xp(e,t,i.join(" "))}}(h,q,m,r),void 0!==t&&function A0(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=wo(o.hostAttrs,t=wo(t,o.hostAttrs))}}(r)}function zs(e){return e===Lt?{}:e===re?[]:e}function O0(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function R0(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function F0(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Wt(e,n,t){return e[n]=t}function xe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Yn(e,n,t,r){const o=xe(e,n,t);return xe(e,n+1,r)||o}function Ot(e,n,t,r){const o=C();return xe(o,zt(),n)&&(te(),qt(ve(),o,e,n,t,r)),Ot}function Ur(e,n,t,r){return xe(e,zt(),t)?n+B(t)+r:z}function qs(e,n){return e<<17|n<<2}function Mn(e){return e>>17&32767}function yu(e){return 2|e}function Kn(e){return(131068&e)>>2}function Cu(e,n){return-131069&e|n<<2}function Du(e){return 1|e}function Im(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Mn(o):Kn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];q0(e[s],n)&&(a=!0,e[s+1]=r?Du(l):yu(l)),s=r?Mn(l):Kn(l)}a&&(e[t+1]=r?yu(o):Du(o))}function q0(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Tr(e,n)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mm(e){return e.substring(He.key,He.keyEnd)}function Sm(e,n){const t=He.textEnd;return t===n?-1:(n=He.keyEnd=function Y0(e,n,t){for(;n32;)n++;return n}(e,He.key=n,t),Kr(e,n,t))}function Kr(e,n,t){for(;n=0;t=Sm(n,t))ht(e,Mm(n),!0)}function Rm(e,n){return n>=e.expandoStartIndex}function Fm(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[Ze()],s=Rm(e,t);Vm(i,r)&&null===n&&!s&&(n=!1),n=function tS(e,n,t,r){const o=function Uc(e){const n=V.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=ei(t=bu(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=bu(o,e,n,t,r),null===i){let c=function nS(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Kn(r))return e[Mn(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=bu(null,e,n,c[1],r),c=ei(c,n.attrs,r),function rS(e,n,t,r){e[Mn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else i=function oS(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):u=t,o)if(0!==c){const h=Mn(e[a+1]);e[r+1]=qs(h,a),0!==h&&(e[h+1]=Cu(e[h+1],r)),e[a+1]=function $0(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=qs(a,0),0!==a&&(e[a+1]=Cu(e[a+1],r)),a=r;else e[r+1]=qs(c,0),0===a?a=r:e[c+1]=Cu(e[c+1],r),c=r;l&&(e[r+1]=yu(e[r+1])),Im(e,u,r,!0),Im(e,u,r,!1),function G0(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Tr(i,n)>=0&&(t[r+1]=Du(t[r+1]))}(n,u,e,r,i),s=qs(a,c),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function bu(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=t[o+1];h===z&&(h=d?re:void 0);let p=d?rl(h,r):u===r?h:void 0;if(l&&!Zs(p)&&(p=rl(c,r)),Zs(p)&&(a=p,s))return a;const m=e[o+1];o=s?Mn(m):Kn(m)}if(null!==n){let c=i?n.residualClasses:n.residualStyles;null!=c&&(a=rl(c,r))}return a}function Zs(e){return void 0!==e}function Vm(e,n){return 0!=(e.flags&(n?8:16))}function Yt(e,n,t){!function Ft(e,n,t,r){const o=te(),i=sn(2);o.firstUpdatePass&&Fm(o,null,i,r);const s=C();if(t!==z&&xe(s,i,t)){const a=o.data[Ze()];if(Vm(a,r)&&!Rm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(t=gc(c,t||"")),wu(o,a,s,t,r)}else!function aS(e,n,t,r,o,i,s,a){o===z&&(o=re);let c=0,l=0,u=00&&(t[o-1][Tt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=jS}return e})();function jS(){return function Km(e,n){let t;const r=n[e.index];return We(r)?t=r:(t=Wg(r,n,null,e),n[e.index]=t,js(n,t)),Jm(t,n,e,r),new Qm(t,e,n)}(le(),C())}const $S=Kt,Qm=class extends $S{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const n=os(this._hostTNode,this._hostLView);if(Qc(n)){const t=Ro(n,this._hostLView),r=Oo(n);return new Le(t[I].data[r+8],t)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ym(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,Xr(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function Fo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const c=s?n:new Jo(Q(n)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const w=(s?l:this.parentInjector).get(an,null);w&&(i=w)}Q(c.componentType??{});const p=c.create(l,o,null,i);return this.insertImpl(p.hostView,a,Xr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function hb(e){return We(e[Me])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const c=o[Me],l=new Qm(c,c[Ge],c[Me]);l.detach(l.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return si(s,o,i,r),n.attachToViewContainerRef(),rp(Ou(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ym(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);r&&(ss(Ou(this._lContainer),t),bs(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);return r&&null!=ss(Ou(this._lContainer),t)?new Yo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ym(e){return e[8]}function Ou(e){return e[8]||(e[8]=[])}let Jm=function ev(e,n,t,r){if(e[Bt])return;let o;o=8&t.type?pe(r):function US(e,n){const t=e[U],r=t.createComment(""),o=Xe(n,e);return qn(t,Es(t,o),r,function aI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Bt]=o},Ru=()=>!1;function k(e,n,t,r,o,i,s,a){const c=C(),l=te(),u=e+j,d=l.firstCreatePass?function WS(e,n,t,r,o,i,s,a,c){const l=n.consts,u=jr(n,e,4,s||null,$t(l,a));su(n,t,u,$t(l,c)),Xi(n,u);const d=u.tView=iu(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,r,o,i,s):l.data[u];Ut(d,!1);const h=tv(l,c,d,e);Ji()&&Is(l,c,h,d),Ye(h,c);const p=Wg(h,c,h,d);return c[u]=p,js(c,p),function Xm(e,n,t){return Ru(e,n,t)}(p,d,c),Yi(d)&&ru(l,c,d),null!=s&&ou(c,d,a),k}let tv=function nv(e,n,t,r){return yn(!0),n[U].createComment("")};function y(e,n,t,r){const o=C(),i=te(),s=j+e,a=o[U],c=i.firstCreatePass?function kT(e,n,t,r,o,i){const s=n.consts,c=jr(n,e,2,r,$t(s,o));return su(n,t,c,$t(s,i)),null!==c.attrs&&Us(c,c.attrs,!1),null!==c.mergedAttrs&&Us(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,i,o,n,t,r):i.data[s],l=Iv(i,o,c,a,n,e);o[s]=l;const u=Yi(c);return Ut(c,!0),eg(a,l,c),32!=(32&c.flags)&&Ji()&&Is(i,o,l,c),0===function gb(){return V.lFrame.elementDepthCount}()&&Ye(l,o),function mb(){V.lFrame.elementDepthCount++}(),u&&(ru(i,o,c),nu(i,c,o)),null!==r&&ou(o,c),y}function _(){let e=le();Bc()?jc():(e=e.parent,Ut(e,!1));const n=e;(function _b(e){return V.skipHydrationRootTNode===e})(n)&&function wb(){V.skipHydrationRootTNode=null}(),function vb(){V.lFrame.elementDepthCount--}();const t=te();return t.firstCreatePass&&(Xi(t,e),xc(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kb(e){return 0!=(8&e.flags)}(n)&&wu(t,n,C(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Lb(e){return 0!=(16&e.flags)}(n)&&wu(t,n,C(),n.stylesWithoutHost,!1),_}function A(e,n,t,r){return y(e,n,t,r),_(),A}let Iv=(e,n,t,r,o,i)=>(yn(!0),ws(r,o,function $h(){return V.lFrame.currentNamespace}()));function Y(e,n,t){const r=C(),o=te(),i=e+j,s=o.firstCreatePass?function HT(e,n,t,r,o){const i=n.consts,s=$t(i,r),a=jr(n,e,8,"ng-container",s);return null!==s&&Us(a,s,!0),su(n,t,a,$t(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Ut(s,!0);const a=Sv(o,r,s,e);return r[i]=a,Ji()&&Is(o,r,a,s),Ye(a,r),Yi(s)&&(ru(o,r,s),nu(o,s,r)),null!=t&&ou(r,s),Y}function K(){let e=le();const n=te();return Bc()?jc():(e=e.parent,Ut(e,!1)),n.firstCreatePass&&(Xi(n,e),xc(e)&&n.queries.elementEnd(e)),K}let Sv=(e,n,t,r)=>(yn(!0),Al(n[U],""));function be(){return C()}const ao="en-US";let Ov=ao;function ca(e){return!!e&&"function"==typeof e.then}function r_(e){return!!e&&"function"==typeof e.subscribe}function L(e,n,t,r){const o=C(),i=te(),s=le();return function i_(e,n,t,r,o,i,s){const a=Yi(r),l=e.firstCreatePass&&function Yg(e){return e.cleanup||(e.cleanup=[])}(e),u=n[he],d=function Qg(e){return e[hr]||(e[hr]=[])}(n);let h=!0;if(3&r.type||s){const w=Xe(r,n),E=s?s(w):w,T=d.length,D=s?H=>s(pe(H[r.index])):r.index;let x=null;if(!s&&a&&(x=function V1(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=a_(r,n,u,i,!1);const H=t.listen(E,o,i);d.push(i,H),l&&l.push(o,D,T,T+1)}}else i=a_(r,n,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let E=0;E-1?ft(e.index,n):n);let c=s_(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)c=s_(n,t,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function v(e=1){return function Tb(e){return(V.lFrame.contextLView=function Sh(e,n){for(;e>0;)n=n[pr],e--;return n}(e,V.lFrame.contextLView))[he]}(e)}function Tn(e,n,t){return qu(e,"",n,"",t),Tn}function qu(e,n,t,r,o){const i=C(),s=Ur(i,n,t,r);return s!==z&>(te(),ve(),i,e,s,i[U],o,!1),qu}function b(e,n=""){const t=C(),r=te(),o=e+j,i=r.firstCreatePass?jr(r,o,1,n,null):r.data[o],s=I_(r,t,i,n,e);t[o]=s,Ji()&&Is(r,t,s,i),Ut(i,!1)}let I_=(e,n,t,r,o)=>(yn(!0),function Ds(e,n){return e.createText(n)}(n[U],r));function N(e){return G("",e,""),N}function G(e,n,t){const r=C(),o=Ur(r,e,n,t);return o!==z&&function un(e,n,t){const r=So(n,e);!function Bp(e,n,t){e.setValue(n,t)}(e[U],r,t)}(r,Ze(),o),G}function Wu(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(zn(e)||!e.multi){const p=new xo(l,o,M),m=Qu(c,n,o?u:u+h,d);-1===m?(Jc(rs(a,s),i,c),Zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=Qu(c,n,u+h,d),m=Qu(c,n,u,u+h),E=m>=0&&t[m];if(o&&!E||!o&&!(p>=0&&t[p])){Jc(rs(a,s),i,c);const T=function oA(e,n,t,r,o){const i=new xo(e,t,M);return i.multi=[],i.index=n,i.componentProviders=0,F_(i,o,r&&!t),i}(o?rA:nA,t.length,o,r,l);!o&&E&&(t[m].providerFactory=T),Zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else Zu(i,e,p>-1?p:m,F_(t[o?m:p],l,!o&&r));!o&&r&&E&&t[m].componentProviders++}}}function Zu(e,n,t,r){const o=zn(n),i=function gE(e){return!!e.useClass}(n);if(o||i){const c=(i?F(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function F_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Qu(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function tA(e,n,t){const r=te();if(r.firstCreatePass){const o=Nt(e);Wu(t,r.data,r.blueprint,o,!0),Wu(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class er{}class iA{}class Ku extends er{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new um(this);const o=function ze(e,n){const t=e[Qf]||null;if(!t&&!0===n)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function pt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=yp(n,t,[{provide:er,useValue:this},{provide:ks,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ju extends iA{constructor(n){super(),this.moduleType=n}create(n){return new Ku(this.moduleType,n,[])}}function da(e,n,t,r){return function U_(e,n,t,r,o,i){const s=n+t;return xe(e,s,o)?Wt(e,s+1,i?r.call(i,o):r(o)):gi(e,s+1)}(C(),et(),e,n,t,r)}function ed(e,n,t,r,o){return function z_(e,n,t,r,o,i,s){const a=n+t;return Yn(e,a,o,i)?Wt(e,a+2,s?r.call(s,o,i):r(o,i)):gi(e,a+2)}(C(),et(),e,n,t,r,o)}function $e(e,n,t,r,o,i){return G_(C(),et(),e,n,t,r,o,i)}function gi(e,n){const t=e[n];return t===z?void 0:t}function G_(e,n,t,r,o,i,s,a){const c=n+t;return function Gs(e,n,t,r,o){const i=Yn(e,n,t,r);return xe(e,n+2,o)||i}(e,c,o,i,s)?Wt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):gi(e,c+3)}function Q_(e,n,t,r,o){const i=e+j,s=C(),a=function vr(e,n){return e[n]}(s,i);return function mi(e,n){return e[I].data[n].pure}(s,i)?G_(s,et(),n,a.transform,t,r,o,a):a.transform(t,r,o)}Symbol;let dn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kA}return e})();const FA=dn,PA=class extends FA{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function ii(e,n,t,r){const o=n.tView,a=Bs(e,o,t,4096&e[R]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Eo]=e[n.index];const l=e[Ht];return null!==l&&(a[Ht]=l.createEmbeddedView(o)),_u(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new Yo(o)}};function kA(){return function fa(e,n){return 4&e.type?new PA(n,e,Br(e,n)):null}(le(),C())}let dd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Dw(!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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cy=new O(""),ma=new O("");let gd,hd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gd||(function UN(e){gd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ne(_e),ne(pd),ne(ma))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),pd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return gd?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const zN=new O("Application Initializer");let md=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=ee(zN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(ca(i))t.push(i);else if(r_(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dy=new O("appBootstrapListener");function Ey(e,n){return Array.isArray(n)?n.reduce(Ey,e):{...e,...n}}let uo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ee(Og),this.afterRenderEffectManager=ee(Ko),this.componentTypes=[],this.components=[],this.isStable=ee(dd).hasPendingTasks.pipe(pc(t=>!t)),this._injector=ee(an)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof mg;if(!this._injector.get(md).done)throw!o&&function Ln(e){const n=Q(e)||ke(e)||Ue(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=o?t:this._injector.get(ks).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function qN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(er),l=s.create(yt.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Cy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),va(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;va(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Dy,[]);[...this._bootstrapListeners,...r].forEach(o=>o(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),()=>va(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function va(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ZN=(()=>{class e{constructor(){this.zone=ee(_e),this.applicationRef=ee(uo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QN(){const e=ee(_e),n=ee(ln);return t=>e.runOutsideAngular(()=>n.handleError(t))}let KN=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=ee(_e),this.pendingTasks=ee(dd)}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(()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fn=new O("LocaleId",{providedIn:"root",factory:()=>ee(fn,X.Optional|X.SkipSelf)||function JN(){return typeof $localize<"u"&&$localize.locale||ao}()}),vd=new O("PlatformDestroyListeners");let Ty=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function g0(e="zone.js",n){return"noop"===e?new im:"zone.js"===e?new _e(n):e}(r?.ngZone,function Sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function aA(e,n,t){return new Ku(e,n,t)}(t.moduleType,this.injector,function My(e){return[{provide:_e,useFactory:e},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(ZN,{optional:!0});return()=>n.initialize()}},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(KN);return()=>{n.initialize()}}},{provide:Og,useFactory:QN}]}(()=>o)),s=i.injector.get(ln,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{va(this._modules,i),a.unsubscribe()})}),function by(e,n,t){try{const r=t();return ca(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(md);return a.runInitializers(),a.donePromise.then(()=>(function Rv(e){it(e,"Expected localeId to be defined"),"string"==typeof e&&(Ov=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=Ey({},r);return function GN(e,n,t){const r=new Ju(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(uo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new S(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(vd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ne(yt))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),An=null;const Ay=new O("AllowMultipleToken");function Ny(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=_d();if(!s||s.injector.get(Ay,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function tx(e){if(An&&!An.get(Ay,!1))throw new S(400,!1);(function wy(){!function cw(e){Pf=e}(()=>{throw new S(600,!1)})})(),An=e;const n=e.get(Ty);(function Oy(e){e.get(Dp,null)?.forEach(t=>t())})(e)}(function xy(e=[],n){return yt.create({name:n,providers:[{provide:fl,useValue:"platform"},{provide:vd,useValue:new Set([()=>An=null])},...e]})}(a,r))}return function nx(e){const n=_d();if(!n)throw new S(401,!1);return n}()}}function _d(){return An?.get(Ty)??null}const cx=Ny(null,"core",[]);let lx=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(ne(uo))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();let Td=null;function Di(){return Td}class Lx{}const nr=new O("DocumentToken"),Vd=/\s+/,lC=[];let Ei=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=lC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Vd):lC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Vd):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Vd).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(M(xt),M(Wn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class IO{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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 po=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,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 r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new IO(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),dC(a,o)}});for(let o=0,i=r.length;o{dC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn),M(Xl))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function dC(e,n){e.context.$implicit=n.item}let rr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new MO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){fC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){fC("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,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class MO{constructor(){this.$implicit=null,this.ngIf=null}}function fC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(n)}'.`)}let gC=(()=>{class e{transform(t,r,o){if(null==t)return null;if(!this.supports(t))throw function kt(e,n){return new S(2100,!1)}();return t.slice(r,o)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=at({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),JO=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();function vC(e){return"server"===e}class MR extends Lx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gd extends MR{static makeCurrent(){!function kx(e){Td||(Td=e)}(new Gd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 SR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==t?null:function TR(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function bO(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let Mi=null,NR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qd=new O("EventManagerPlugins");let DC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ne(qd),ne(_e))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class wC{constructor(n){this._doc=n}}const Wd="ng-app-id";let bC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Wd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Wd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Wd,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr),ne(gs),ne(wp,8),ne(Rr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const Zd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qd=/%COMP%/g,FR=new O("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function IC(e,n){return n.map(t=>t.replace(Qd,e))}let MC=(()=>{class e{constructor(t,r,o,i,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=vC(a),this.defaultRenderer=new Yd(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mt.ShadowDom&&(r={...r,encapsulation:Mt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof TC?o.applyToHost(t):o instanceof Kd&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mt.Emulated:i=new TC(c,l,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new VR(c,l,t,r,s,a,this.nonce,d);default:i=new Kd(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ne(DC),ne(bC),ne(gs),ne(FR),ne(nr),ne(Rr),ne(_e),ne(wp))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class Yd{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Zd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(SC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(SC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new S(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Zd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Zd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(bn.DashCase|bn.Important)?n.style.setProperty(t,r,o&bn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Di().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function SC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class VR extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=IC(o.id,o.styles);for(const u of l){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,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Kd extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?IC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class TC extends Kd{constructor(n,t,r,o,i,s,a,c){const l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=function PR(e){return"_ngcontent-%COMP%".replace(Qd,e)}(l),this.hostAttr=function kR(e){return"_nghost-%COMP%".replace(Qd,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let HR=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const AC=["alt","control","meta","shift"],BR={"\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"},jR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $R=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Di().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),AC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=BR[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),AC.forEach(s=>{s!==o&&(0,jR[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qR=Ny(cx,"browser",[{provide:Rr,useValue:"browser"},{provide:Dp,useValue:function UR(){Gd.makeCurrent()},multi:!0},{provide:nr,useFactory:function GR(){return function AE(e){_l=e}(document),document},deps:[]}]),WR=new O(""),OC=[{provide:ma,useClass:class AR{addToWindow(n){fe.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),fe.getAllAngularRootElements=()=>n.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(r=>{const o=fe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(c){s=s||c,i--,0==i&&r(s)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Di().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Cy,useClass:hd,deps:[_e,pd,ma]},{provide:hd,useClass:hd,deps:[_e,pd,ma]}],RC=[{provide:fl,useValue:"root"},{provide:ln,useFactory:function zR(){return new ln},deps:[]},{provide:qd,useClass:HR,multi:!0,deps:[nr,_e,Rr]},{provide:qd,useClass:$R,multi:!0,deps:[nr]},MC,bC,DC,{provide:_g,useExisting:MC},{provide:class rR{},useClass:NR,deps:[]},[]];let ZR=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:gs,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ne(WR,12))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({providers:[...RC,...OC],imports:[JO,lx]})}return e})();function or(e){return this instanceof or?(this.v=e,this):new or(e)}function oF(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 HC(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window;const BC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function jC(e){return je(e?.then)}function $C(e){return je(e[uc])}function UC(e){return Symbol.asyncIterator&&je(e?.[Symbol.asyncIterator])}function zC(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 GC=function sF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qC(e){return je(e?.[GC])}function WC(e){return function rF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function c(h){h.value instanceof or?Promise.resolve(h.value.v).then(l,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield or(t.read());if(o)return yield or(void 0);yield yield or(r)}}finally{t.releaseLock()}})}function ZC(e){return je(e?.getReader)}function Va(e){if(e instanceof _t)return e;if(null!=e){if($C(e))return function aF(e){return new _t(n=>{const t=e[uc]();if(je(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(BC(e))return function cF(e){return new _t(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$f)})}(e);if(UC(e))return QC(e);if(qC(e))return function uF(e){return new _t(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ZC(e))return function dF(e){return QC(WC(e))}(e)}throw zC(e)}function QC(e){return new _t(n=>{(function fF(e,n){var t,r,o,i;return function tF(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=oF(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ir(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function YC(e,n=0){return fc((t,r)=>{t.subscribe(new hc(r,o=>ir(r,e,()=>r.next(o),n),()=>ir(r,e,()=>r.complete(),n),o=>ir(r,e,()=>r.error(o),n)))})}function KC(e,n=0){return fc((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function JC(e,n){if(!e)throw new Error("Iterable cannot be null");return new _t(t=>{ir(t,n,()=>{const r=e[Symbol.asyncIterator]();ir(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}const{isArray:CF}=Array,{getPrototypeOf:DF,prototype:wF,keys:bF}=Object;const{isArray:SF}=Array;function NF(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function xF(...e){const n=function MF(e){return je(function ef(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:r}=function EF(e){if(1===e.length){const n=e[0];if(CF(n))return{args:n,keys:null};if(function IF(e){return e&&"object"==typeof e&&DF(e)===wF}(n)){const t=bF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),o=new _t(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?NF(r,a):a),i.complete())}))}});return n?o.pipe(function AF(e){return pc(n=>function TF(e,n){return SF(n)?e(...n):e(n)}(e,n))}(n)):o}let XC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Wn),M(xt))};static#t=this.\u0275dir=$({type:e})}return e})(),sr=(()=>{class e extends XC{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const Jt=new O("NgValueAccessor"),OF={provide:Jt,useExisting:de(()=>tf),multi:!0};let tf=(()=>{class e extends sr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[ye([OF]),ce]})}return e})();const RF={provide:Jt,useExisting:de(()=>Si),multi:!0},PF=new O("CompositionEventMode");let Si=(()=>{class e extends XC{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function FF(){const e=Di()?Di().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(r){return new(r||e)(M(Wn),M(xt),M(PF,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(r,o){1&r&&L("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ye([RF]),ce]})}return e})();const Ke=new O("NgValidators"),On=new O("NgAsyncValidators");function lD(e){return null!=e}function uD(e){return ca(e)?function yF(e,n){return n?function _F(e,n){if(null!=e){if($C(e))return function hF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(BC(e))return function gF(e,n){return new _t(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(jC(e))return function pF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(UC(e))return JC(e,n);if(qC(e))return function mF(e,n){return new _t(t=>{let r;return ir(t,n,()=>{r=e[GC](),ir(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>je(r?.return)&&r.return()})}(e,n);if(ZC(e))return function vF(e,n){return JC(WC(e),n)}(e,n)}throw zC(e)}(e,n):Va(e)}(e):e}function dD(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function fD(e,n){return n.map(t=>t(e))}function hD(e){return e.map(n=>function LF(e){return!e.validate}(n)?n:t=>n.validate(t))}function nf(e){return null!=e?function pD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return dD(fD(t,n))}}(hD(e)):null}function rf(e){return null!=e?function gD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return xF(fD(t,n).map(uD)).pipe(pc(dD))}}(hD(e)):null}function mD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function of(e){return e?Array.isArray(e)?e:[e]:[]}function Ba(e,n){return Array.isArray(e)?e.includes(n):e===n}function yD(e,n){const t=of(n);return of(e).forEach(o=>{Ba(t,o)||t.push(o)}),t}function CD(e,n){return of(n).filter(t=>!Ba(e,t))}class DD{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=nf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=rf(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 ot extends DD{get formDirective(){return null}get path(){return null}}class Rn extends DD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ja=(()=>{class e extends wD{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Rn,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ws("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ce]})}return e})();const Ti="VALID",Ua="INVALID",go="PENDING",Ai="DISABLED";function za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class MD{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===Ti}get invalid(){return this.status===Ua}get pending(){return this.status==go}get disabled(){return this.status===Ai}get enabled(){return this.status!==Ai}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(yD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(yD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(CD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(CD(n,this._rawAsyncValidators))}hasValidator(n){return Ba(this._rawValidators,n)}hasAsyncValidator(n){return Ba(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=go,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ai,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ti,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ti||this.status===go)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ai:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=go,this._hasOwnPendingAsyncValidator=!0;const t=uD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Ai:this.errors?Ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(go)?go:this._anyControlsHaveStatus(Ua)?Ua:Ti}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){za(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 $F(e){return Array.isArray(e)?nf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function UF(e){return Array.isArray(e)?rf(e):e||null}(this._rawAsyncValidators)}}const mo=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Ga}),Ga="always";function Ni(e,n,t=Ga){(function df(e,n){const t=function vD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(mD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function _D(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(mD(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Za(n._rawValidators,o),Za(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function qF(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&SD(e,n)})}(e,n),function ZF(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function WF(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&SD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function GF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Za(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function SD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ND(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function xD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const OD=class extends MD{constructor(n=null,t,r){super(function cf(e){return(za(e)?e.validators:e)||null}(t),function lf(e,n){return(za(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),za(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=xD(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(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){ND(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ND(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){xD(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}},nP={provide:Rn,useExisting:de(()=>Oi)},PD=(()=>Promise.resolve())();let Oi=(()=>{class e extends Rn{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new OD,this._registered=!1,this.name="",this.update=new Te,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Si?t=i:function KF(e){return Object.getPrototypeOf(e.constructor)===sr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function hf(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(){Ni(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){PD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function Sd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);PD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function qa(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(M(ot,9),M(Ke,10),M(On,10),M(Jt,10),M(hu,8),M(mo,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ye([nP]),ce,rn]})}return e})(),LD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();const aP={provide:Jt,useExisting:de(()=>mf),multi:!0};let mf=(()=>{class e extends sr{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[ye([aP]),ce]})}return e})();const hP={provide:Jt,useExisting:de(()=>Ri),multi:!0};function UD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ri=(()=>{class e extends sr{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 o=UD(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function pP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([hP]),ce]})}return e})(),Cf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(UD(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(r){return new(r||e)(M(xt),M(Wn),M(Ri,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const gP={provide:Jt,useExisting:de(()=>Df),multi:!0};function zD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Df=(()=>{class e extends sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([gP]),ce]})}return e})(),wf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(zD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(zD(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(r){return new(r||e)(M(xt),M(Wn),M(Df,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),IP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[LD]})}return e})(),SP=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:mo,useValue:t.callSetDisabledState??Ga}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[IP]})}return e})();class ew{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class TP{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.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class AP{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 Et{static roundNumber(n){return Math.floor(n*Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new AP(r))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Et.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n,t){if(""!==n&&-1===this.name.toLowerCase().indexOf(n.toLowerCase()))return!1;if(""===t||null===this.currentHistoricCoverage)return!0;if("allChanges"===t){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n,t){if(""!==n&&this.name.toLowerCase().indexOf(n.toLowerCase())>-1)return!0;for(let r=0;r{class e{get nativeWindow(){return function NP(){return window}()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),xP=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&r&&(f(),Tn("title",o.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function OP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",4),L("ngModelChange",function(o){return W(t),Z(v().showBranchCoverage=o)})("change",function(){W(t);const o=v();return Z(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),g("ngModel",t.showBranchCoverage),f(),G(" ",t.translations.branchCoverage,"")}}function RP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v().translations)}function FP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function PP(e,n){1&e&&(y(0,"a",13),A(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,In)}function kP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",11),L("change",function(){const i=W(t).$implicit;return Z(v(2).toggleMetric(i))}),_(),b(3),_(),b(4,"\xa0"),k(5,PP,2,1,"a",12),_()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("checked",r.isMetricSelected(t))("disabled",!r.methodCoverageAvailable),f(),G(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function LP(e,n){if(1&e&&(Y(0),A(1,"br")(2,"br"),y(3,"b"),b(4),_(),k(5,FP,1,1,"pro-button",7)(6,kP,6,4,"div",10),K()),2&e){const t=v();f(4),N(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let VP=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Te,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Te,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Te,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Te,this.visibleMetrics=[],this.visibleMetricsChange=new Te}isMetricSelected(t){return void 0!==this.visibleMetrics.find(r=>r.name===t.name)}toggleMetric(t){let r=this.visibleMetrics.find(o=>o.name===t.name);r?this.visibleMetrics.splice(this.visibleMetrics.indexOf(r),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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),L("click",function(){return o.close()}),y(1,"div",1),L("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),L("click",function(){return o.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),L("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),_(),b(9),_()(),k(10,OP,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),L("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),_(),b(14),_(),k(15,RP,1,1,"pro-button",7),_(),k(16,LP,7,3,"ng-container",8),_()()),2&r&&(f(5),N(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(),G(" ",o.translations.coverage,""),f(),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(),G(" ",o.translations.methodCoverage,""),f(),g("ngIf",!o.methodCoverageAvailable),f(),g("ngIf",o.metrics.length>0))},dependencies:[po,rr,tf,ja,Oi,xP],encapsulation:2})}return e})();function HP(e,n){1&e&&A(0,"td",3)}function BP(e,n){1&e&&A(0,"td"),2&e&&Yt("green ",v().greenClass,"")}function jP(e,n){1&e&&A(0,"td"),2&e&&Yt("red ",v().redClass,"")}let nw=(()=>{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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(y(0,"table",0),k(1,HP,1,0,"td",1)(2,BP,1,3,"td",2)(3,jP,1,3,"td",2),_()),2&r&&(f(),g("ngIf",o.grayVisible),f(),g("ngIf",o.greenVisible),f(),g("ngIf",o.redVisible))},dependencies:[rr],encapsulation:2,changeDetection:0})}return e})();const $P=["codeelement-row",""];function UP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function zP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function GP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function qP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function WP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function ZP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function QP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function YP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function KP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function JP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function XP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ek(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function tk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function nk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function rk(e,n){1&e&&A(0,"th",5)}const ok=(e,n)=>({"icon-plus":e,"icon-minus":n});let ik=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:$P,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(r,o){1&r&&(y(0,"th")(1,"a",0),L("click",function(s){return o.element.toggleCollapse(s)}),A(2,"i",1),b(3),_()(),k(4,UP,2,1,"th",2)(5,zP,2,1,"th",2)(6,GP,2,1,"th",2)(7,qP,2,1,"th",2)(8,WP,2,2,"th",3)(9,ZP,2,1,"th",2)(10,QP,2,1,"th",2)(11,YP,2,1,"th",2)(12,KP,2,2,"th",3)(13,JP,2,1,"th",2)(14,XP,2,1,"th",2)(15,ek,2,1,"th",2)(16,tk,2,2,"th",3)(17,nk,2,1,"th",2)(18,rk,1,0,"th",4)),2&r&&(f(2),g("ngClass",ed(17,ok,o.element.collapsed,!o.element.collapsed)),f(),G(" ",o.element.name,""),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngForOf",o.visibleMetrics))},dependencies:[Ei,po,rr,nw],encapsulation:2,changeDetection:0})}return e})();const sk=["coverage-history-chart",""];let ak=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let r="";for(let o=0;o({historiccoverageoffset:e});function bk(e,n){if(1&e&&A(0,"div",11),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Ek(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),G(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Ik(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveragePercentage," ")}}function Mk(e,n){if(1&e&&(y(0,"td",9),k(1,bk,1,5,"div",10)(2,Ek,5,6,"ng-container",1)(3,Ik,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Sk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function Tk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),G(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cb," ")}}function Ak(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredBranches," ")}}function Nk(e,n){if(1&e&&(y(0,"td",6),k(1,Tk,5,6,"ng-container",1)(2,Ak,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function xk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function Ok(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalBranches," ")}}function Rk(e,n){if(1&e&&(y(0,"td",6),k(1,xk,5,3,"ng-container",1)(2,Ok,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Fk(e,n){if(1&e&&A(0,"div",14),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Pk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),G(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.bcq,"%")}}function kk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.branchCoveragePercentage," ")}}function Lk(e,n){if(1&e&&(y(0,"td",9),k(1,Fk,1,5,"div",13)(2,Pk,5,6,"ng-container",1)(3,kk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Vk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function Hk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),G(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cm," ")}}function Bk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredMethods," ")}}function jk(e,n){if(1&e&&(y(0,"td",6),k(1,Hk,5,6,"ng-container",1)(2,Bk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function $k(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function Uk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalMethods," ")}}function zk(e,n){if(1&e&&(y(0,"td",6),k(1,$k,5,3,"ng-container",1)(2,Uk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Gk(e,n){if(1&e&&A(0,"div",16),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function qk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),G(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.mcq,"%")}}function Wk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.methodCoveragePercentage," ")}}function Zk(e,n){if(1&e&&(y(0,"td",9),k(1,Gk,1,5,"div",15)(2,qk,5,6,"ng-container",1)(3,Wk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Qk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function Yk(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,r=v();f(),N(r.clazz.metrics[t.abbreviation])}}let Kk=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,r){return t>r?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function A2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function N2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("uncovered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function x2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverable",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function O2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function R2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function F2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function P2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function k2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("branchcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function L2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function V2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function H2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("methodcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function B2(e,n){if(1&e){const t=be();y(0,"th")(1,"a",3),L("click",function(o){const s=W(t).$implicit;return Z(v(2).updateSorting(s.abbreviation,o))}),A(2,"i",25),b(3),_(),y(4,"a",56),A(5,"i",57),_()()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("ngClass",$e(3,vt,r.settings.sortBy===t.abbreviation&&"desc"===r.settings.sortOrder,r.settings.sortBy===t.abbreviation&&"asc"===r.settings.sortOrder,r.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}function j2(e,n){if(1&e&&A(0,"tr",59),2&e){const t=v().$implicit,r=v(2);g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)}}function $2(e,n){if(1&e&&A(0,"tr",61),2&e){const t=v().$implicit,r=v(3);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function U2(e,n){if(1&e&&(Y(0),k(1,$2,1,7,"tr",60),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function z2(e,n){if(1&e&&A(0,"tr",64),2&e){const t=v().$implicit,r=v(5);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function G2(e,n){if(1&e&&(Y(0),k(1,z2,1,7,"tr",63),K()),2&e){const t=n.$implicit,r=v(2).$implicit,o=v(3);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function q2(e,n){if(1&e&&(Y(0),A(1,"tr",62),k(2,G2,2,1,"ng-container",28),K()),2&e){const t=v().$implicit,r=v(3);f(),g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics),f(),g("ngForOf",t.classes)}}function W2(e,n){if(1&e&&(Y(0),k(1,q2,3,7,"ng-container",0),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function Z2(e,n){if(1&e&&(Y(0),k(1,j2,1,6,"tr",58)(2,U2,2,1,"ng-container",28)(3,W2,2,1,"ng-container",28),K()),2&e){const t=n.$implicit,r=v(2);f(),g("ngIf",t.visible(r.settings.filter,r.settings.historyComparisionType)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function Q2(e,n){if(1&e){const t=be();y(0,"div"),k(1,Jk,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),L("click",function(o){return W(t),Z(v().collapseAll(o))}),b(5),_(),b(6," | "),y(7,"a",3),L("click",function(o){return W(t),Z(v().expandAll(o))}),b(8),_()(),y(9,"div",4)(10,"span",5),k(11,Xk,2,1,"ng-container",0)(12,e2,2,1,"ng-container",0)(13,t2,2,1,"ng-container",0),_(),A(14,"br"),b(15),y(16,"input",6),L("ngModelChange",function(o){return W(t),Z(v().settings.grouping=o)})("ngModelChange",function(){return W(t),Z(v().updateCoverageInfo())}),_()(),y(17,"div",4),k(18,l2,9,6,"ng-container",0),_(),y(19,"div",7)(20,"div")(21,"button",8),L("click",function(){return W(t),Z(v().popupVisible=!0)}),A(22,"i",9),b(23),_()(),A(24,"br"),y(25,"div")(26,"span"),b(27),_(),y(28,"input",10),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)}),_()()()(),y(29,"div",11)(30,"table",12)(31,"colgroup"),A(32,"col",13),k(33,u2,1,0,"col",14)(34,d2,1,0,"col",15)(35,f2,1,0,"col",16)(36,h2,1,0,"col",17)(37,p2,1,0,"col",18)(38,g2,1,0,"col",19)(39,m2,1,0,"col",14)(40,v2,1,0,"col",17)(41,_2,1,0,"col",18)(42,y2,1,0,"col",19)(43,C2,1,0,"col",14)(44,D2,1,0,"col",17)(45,w2,1,0,"col",18)(46,b2,1,0,"col",19)(47,E2,1,0,"col",20),_(),y(48,"thead")(49,"tr",21),A(50,"th"),k(51,I2,2,1,"th",22)(52,M2,2,1,"th",23)(53,S2,2,1,"th",23)(54,T2,2,2,"th",24),_(),y(55,"tr")(56,"th")(57,"a",3),L("click",function(o){return W(t),Z(v().updateSorting("name",o))}),A(58,"i",25),b(59),_()(),k(60,A2,4,6,"th",26)(61,N2,4,6,"th",26)(62,x2,4,6,"th",26)(63,O2,4,6,"th",26)(64,R2,4,6,"th",27)(65,F2,4,6,"th",26)(66,P2,4,6,"th",26)(67,k2,4,6,"th",27)(68,L2,4,6,"th",26)(69,V2,4,6,"th",26)(70,H2,4,6,"th",27)(71,B2,6,7,"th",28),_()(),y(72,"tbody"),k(73,Z2,4,3,"ng-container",28),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),G(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(5),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",$e(47,vt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let Y2=(()=>{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 TP,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,Et.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 o=0,i=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(r)),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 ew;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(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let c=0;c{for(let o=0;o{for(let i=0;it&&(o[i].collapsed=this.settings.collapseStates[t]),t++,r(o[i].subElements)};r(this.codeElements)}static#e=this.\u0275fac=function(r){return new(r||e)(M(If))};static#t=this.\u0275cmp=nn({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&L("beforeunload",function(){return o.onBeforeUnload()},0,yl)},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,"max","ngModel","ngModelChange"],[1,"col-right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[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,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["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"],[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(r,o){1&r&&k(0,Q2,74,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Ei,po,rr,Cf,wf,Si,mf,Ri,ja,Oi,VP,ik,Kk],encapsulation:2})}return e})();class K2{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function J2(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=n.$implicit;g("value",t),f(),N(t)}}function X2(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function eL(e,n){1&e&&(y(0,"option",23),b(1,"20"),_())}function tL(e,n){1&e&&(y(0,"option",24),b(1,"50"),_())}function nL(e,n){1&e&&(y(0,"option",25),b(1,"100"),_())}function rL(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function oL(e,n){if(1&e){const t=be();y(0,"select",17),L("ngModelChange",function(o){return W(t),Z(v(2).settings.numberOfRiskHotspots=o)}),y(1,"option",18),b(2,"10"),_(),k(3,eL,2,0,"option",19)(4,tL,2,0,"option",20)(5,nL,2,0,"option",21)(6,rL,2,2,"option",22),_()}if(2&e){const t=v(2);g("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function iL(e,n){1&e&&A(0,"col",26)}const Ya=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function sL(e,n){if(1&e){const t=be();y(0,"th")(1,"a",13),L("click",function(o){const s=W(t).index;return Z(v(2).updateSorting(""+s,o))}),A(2,"i",14),b(3),_(),y(4,"a",27),A(5,"i",28),_()()}if(2&e){const t=n.$implicit,r=n.index,o=v(2);f(2),g("ngClass",$e(3,Ya,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}const aL=(e,n)=>({lightred:e,lightgreen:n});function cL(e,n){if(1&e&&(y(0,"td",32),b(1),_()),2&e){const t=n.$implicit;g("ngClass",ed(2,aL,t.exceeded,!t.exceeded)),f(),N(t.value)}}function lL(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",29),b(5),_()(),y(6,"td",30)(7,"a",29),b(8),_()(),k(9,cL,2,5,"td",31),_()),2&e){const t=n.$implicit,r=v(2);f(2),N(t.assembly),f(2),g("href",t.reportPath+r.queryString,In),f(),N(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+r.queryString+"#file"+t.fileIndex+"_line"+t.line,In),f(),G(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function uL(e,n){if(1&e){const t=be();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),L("ngModelChange",function(o){return W(t),Z(v().settings.assembly=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),k(6,J2,2,2,"option",4),_()(),y(7,"div",5),k(8,X2,2,1,"span",0)(9,oL,7,5,"select",6),_(),A(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),A(18,"col",11)(19,"col",11)(20,"col",11),k(21,iL,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("assembly",o))}),A(26,"i",14),b(27),_()(),y(28,"th")(29,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("class",o))}),A(30,"i",14),b(31),_()(),y(32,"th")(33,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("method",o))}),A(34,"i",14),b(35),_()(),k(36,sL,6,7,"th",15),_()(),y(37,"tbody"),k(38,lL,10,7,"tr",15),function Z_(e,n){const t=te();let r;const o=e+j;t.firstCreatePass?(r=function TA(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Bn(r.type)),a=st(M);try{const c=ns(!1),l=i();return ns(c),function $1(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,C(),o,l),l}finally{st(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),g("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",$e(20,Ya,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),g("ngClass",$e(24,Ya,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),g("ngClass",$e(28,Ya,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",Q_(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let dL=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new K2,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 ew;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:[Ei,po,rr,Cf,wf,Si,Ri,ja,Oi,gC],encapsulation:2})}return e})(),fL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e,bootstrap:[dL,Y2]});static#n=this.\u0275inj=en({providers:[If],imports:[ZR,SP]})}return e})();qR().bootstrapModule(fL).catch(e=>console.error(e))}},Ja=>{Ja(Ja.s=355)}]); /* ]]> */ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlInline/Sample_PartialClass.html b/docs/resources/reports/HtmlInline/Sample_PartialClass.html index a243ccab..dc8aa9a6 100644 --- a/docs/resources/reports/HtmlInline/Sample_PartialClass.html +++ b/docs/resources/reports/HtmlInline/Sample_PartialClass.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -895,7 +930,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -1065,7 +1100,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline/Sample_Program.html b/docs/resources/reports/HtmlInline/Sample_Program.html index a8d22702..77140f2b 100644 --- a/docs/resources/reports/HtmlInline/Sample_Program.html +++ b/docs/resources/reports/HtmlInline/Sample_Program.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -895,7 +930,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -1084,7 +1119,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline/Sample_TestClass.html b/docs/resources/reports/HtmlInline/Sample_TestClass.html index f30e75bc..9c3249a1 100644 --- a/docs/resources/reports/HtmlInline/Sample_TestClass.html +++ b/docs/resources/reports/HtmlInline/Sample_TestClass.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -895,7 +930,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -1042,7 +1077,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline/Sample_TestClass2.html b/docs/resources/reports/HtmlInline/Sample_TestClass2.html index d136479e..bcc30f64 100644 --- a/docs/resources/reports/HtmlInline/Sample_TestClass2.html +++ b/docs/resources/reports/HtmlInline/Sample_TestClass2.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -895,7 +930,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -1091,7 +1126,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline/index.html b/docs/resources/reports/HtmlInline/index.html index ec96e1b8..668b3f6e 100644 --- a/docs/resources/reports/HtmlInline/index.html +++ b/docs/resources/reports/HtmlInline/index.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -897,7 +932,7 @@

Summary +

Risk Hotspots

@@ -1015,7 +1050,7 @@

Coverage

-

+ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_PartialClass.html b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_PartialClass.html index 9673a058..9a4226f8 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_PartialClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_PartialClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -714,7 +750,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -884,7 +920,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_Program.html b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_Program.html index f531d348..bde9e023 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_Program.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_Program.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -714,7 +750,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -903,7 +939,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass.html b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass.html index 5076c9a7..31d7e3b9 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -714,7 +750,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -861,7 +897,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass2.html b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass2.html index 60349a28..fe06f6cf 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass2.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines/Sample_TestClass2.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -714,7 +750,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -910,7 +946,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines/index.html b/docs/resources/reports/HtmlInline_AzurePipelines/index.html index 183b0550..5420c68c 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines/index.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines/index.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -716,7 +752,7 @@

Summary +

Risk Hotspots

@@ -834,7 +870,7 @@

Coverage

-

+ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_PartialClass.html b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_PartialClass.html index 2cd3b68a..691e21f5 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_PartialClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_PartialClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -713,7 +749,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -883,7 +919,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_Program.html b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_Program.html index 25773309..669c4e70 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_Program.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_Program.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -713,7 +749,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -902,7 +938,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass.html b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass.html index 854189c7..b37a24f5 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -713,7 +749,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -860,7 +896,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass2.html b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass2.html index 87e7ac08..d255c31c 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass2.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/Sample_TestClass2.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -713,7 +749,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -909,7 +945,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/index.html b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/index.html index 628f166d..7c276457 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Dark/index.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Dark/index.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -715,7 +751,7 @@

Summary +

Risk Hotspots

@@ -833,7 +869,7 @@

Coverage

-

+ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_PartialClass.html b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_PartialClass.html index 81e5492f..c55fd71f 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_PartialClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_PartialClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
@@ -630,7 +666,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -800,7 +836,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_Program.html b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_Program.html index 4ec62357..13fd6bed 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_Program.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_Program.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
@@ -630,7 +666,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -819,7 +855,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass.html b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass.html index b83a567e..a53bd12e 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
@@ -630,7 +666,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -777,7 +813,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass2.html b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass2.html index 158a7554..f8b928dc 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass2.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Light/Sample_TestClass2.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
@@ -630,7 +666,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -826,7 +862,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline_AzurePipelines_Light/index.html b/docs/resources/reports/HtmlInline_AzurePipelines_Light/index.html index b7acb9d6..5370e097 100644 --- a/docs/resources/reports/HtmlInline_AzurePipelines_Light/index.html +++ b/docs/resources/reports/HtmlInline_AzurePipelines_Light/index.html @@ -71,7 +71,9 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 5px 4px 5px 4px; } -.overview tr:hover>td { background: #f4f4f4 } +.overview tr.filterbar td { height: 60px; } +.overview tbody tr:hover>td { background: #f4f4f4 } + div.currenthistory { margin: -6px -5px 0 -5px; padding: 2px 4px 6px 4px; height: 16px; } .coverage { border-collapse: collapse; @@ -526,6 +528,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
@@ -632,7 +668,7 @@

Summary +

Risk Hotspots

@@ -750,7 +786,7 @@

Coverage

-

+
+"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlSummary/summary.html b/docs/resources/reports/HtmlSummary/summary.html index 3f9dd8a8..ee2ec8c4 100644 --- a/docs/resources/reports/HtmlSummary/summary.html +++ b/docs/resources/reports/HtmlSummary/summary.html @@ -77,10 +77,11 @@ .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -535,6 +536,40 @@ display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @@ -897,7 +932,7 @@

Summary +

Risk Hotspots

@@ -1015,7 +1050,7 @@

Coverage

-

+
+"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/Html_BlueRed/Sample_PartialClass.html b/docs/resources/reports/Html_BlueRed/Sample_PartialClass.html index 039d7722..5495eaa1 100644 --- a/docs/resources/reports/Html_BlueRed/Sample_PartialClass.html +++ b/docs/resources/reports/Html_BlueRed/Sample_PartialClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -279,7 +279,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_BlueRed/Sample_Program.html b/docs/resources/reports/Html_BlueRed/Sample_Program.html index a6afa884..6102a62c 100644 --- a/docs/resources/reports/Html_BlueRed/Sample_Program.html +++ b/docs/resources/reports/Html_BlueRed/Sample_Program.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -298,7 +298,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_BlueRed/Sample_TestClass.html b/docs/resources/reports/Html_BlueRed/Sample_TestClass.html index 3cbc3153..510f8818 100644 --- a/docs/resources/reports/Html_BlueRed/Sample_TestClass.html +++ b/docs/resources/reports/Html_BlueRed/Sample_TestClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -256,7 +256,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_BlueRed/Sample_TestClass2.html b/docs/resources/reports/Html_BlueRed/Sample_TestClass2.html index 22b28a82..57280483 100644 --- a/docs/resources/reports/Html_BlueRed/Sample_TestClass2.html +++ b/docs/resources/reports/Html_BlueRed/Sample_TestClass2.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -305,7 +305,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_BlueRed/index.html b/docs/resources/reports/Html_BlueRed/index.html index fde43f88..af50e1d4 100644 --- a/docs/resources/reports/Html_BlueRed/index.html +++ b/docs/resources/reports/Html_BlueRed/index.html @@ -111,7 +111,7 @@

Summary +

Risk Hotspots

@@ -229,7 +229,7 @@

Coverage

-

+

Risk Hotspots

@@ -1022,7 +1057,7 @@

Coverage

- + +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/Html_Dark/Sample_PartialClass.html b/docs/resources/reports/Html_Dark/Sample_PartialClass.html index 35fd126e..48f439b6 100644 --- a/docs/resources/reports/Html_Dark/Sample_PartialClass.html +++ b/docs/resources/reports/Html_Dark/Sample_PartialClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -279,7 +279,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Dark/Sample_Program.html b/docs/resources/reports/Html_Dark/Sample_Program.html index 4e824f15..ca634f01 100644 --- a/docs/resources/reports/Html_Dark/Sample_Program.html +++ b/docs/resources/reports/Html_Dark/Sample_Program.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -298,7 +298,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Dark/Sample_TestClass.html b/docs/resources/reports/Html_Dark/Sample_TestClass.html index 2c465051..56edf09f 100644 --- a/docs/resources/reports/Html_Dark/Sample_TestClass.html +++ b/docs/resources/reports/Html_Dark/Sample_TestClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -256,7 +256,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Dark/Sample_TestClass2.html b/docs/resources/reports/Html_Dark/Sample_TestClass2.html index 12a3eeed..9e3610c0 100644 --- a/docs/resources/reports/Html_Dark/Sample_TestClass2.html +++ b/docs/resources/reports/Html_Dark/Sample_TestClass2.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -305,7 +305,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Dark/index.html b/docs/resources/reports/Html_Dark/index.html index 6ce1d730..667a2ba3 100644 --- a/docs/resources/reports/Html_Dark/index.html +++ b/docs/resources/reports/Html_Dark/index.html @@ -111,7 +111,7 @@

Summary +

Risk Hotspots

@@ -229,7 +229,7 @@

Coverage

-

+

Metrics

@@ -279,7 +279,7 @@

C:\temp\PartialClass2.cs

- +

Methods/Properties

diff --git a/docs/resources/reports/Html_Light/Sample_Program.html b/docs/resources/reports/Html_Light/Sample_Program.html index 2678f48b..b49e2700 100644 --- a/docs/resources/reports/Html_Light/Sample_Program.html +++ b/docs/resources/reports/Html_Light/Sample_Program.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -298,7 +298,7 @@

C:\temp\Program.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Light/Sample_TestClass.html b/docs/resources/reports/Html_Light/Sample_TestClass.html index 0f6a05ae..aceff41a 100644 --- a/docs/resources/reports/Html_Light/Sample_TestClass.html +++ b/docs/resources/reports/Html_Light/Sample_TestClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -256,7 +256,7 @@

C:\temp\TestClass.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Light/Sample_TestClass2.html b/docs/resources/reports/Html_Light/Sample_TestClass2.html index f10faeb1..2de1fc78 100644 --- a/docs/resources/reports/Html_Light/Sample_TestClass2.html +++ b/docs/resources/reports/Html_Light/Sample_TestClass2.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -305,7 +305,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html_Light/index.html b/docs/resources/reports/Html_Light/index.html index fdac9ab5..a8073b78 100644 --- a/docs/resources/reports/Html_Light/index.html +++ b/docs/resources/reports/Html_Light/index.html @@ -111,7 +111,7 @@

Summary +

Risk Hotspots

@@ -229,7 +229,7 @@

Coverage

-

+

Risk Hotspots

@@ -240,7 +240,7 @@ var historyChartData696dae48ddd3421596d4b06ab8c2545e = { - + @@ -361,7 +361,7 @@ Content-Location: file:///Sample_PartialClass.html

Coverage history

-
+

Metrics

@@ -531,7 +531,7 @@ var historyChartDatabaef001b74c4440e9bba524606199af1 = {
-
+

Methods/Properties

@@ -663,7 +663,7 @@ Content-Location: file:///Sample_Program.html

Coverage history

-
+

Metrics

@@ -852,7 +852,7 @@ var historyChartData87e19a5b5dbf4a90b710e2b822460e8f = {
-
+

Methods/Properties

@@ -981,7 +981,7 @@ Content-Location: file:///Sample_TestClass.html

Coverage history

-
+

Metrics

@@ -1128,7 +1128,7 @@ var historyChartData790102b94ea042c0bfda6a9b984cd77c = {
-
+

Methods/Properties

@@ -1259,7 +1259,7 @@ Content-Location: file:///Sample_TestClass2.html

Coverage history

-
+

Metrics

@@ -1455,7 +1455,7 @@ var historyChartData46d5c95969e342cc91f11f4291610e2a = {
-
+

Methods/Properties

@@ -1703,10 +1703,10 @@ var assemblies = [ { "name": "Sample", "classes": [ - { "name": "Sample.PartialClass", "rp": "file:///Sample_PartialClass.html", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.01.2024 - 21:25:27", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, - { "name": "Test.Program", "rp": "file:///Sample_Program.html", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.01.2024 - 21:25:27", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, - { "name": "Test.TestClass", "rp": "file:///Sample_TestClass.html", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.01.2024 - 21:25:27", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, - { "name": "Test.TestClass2", "rp": "file:///Sample_TestClass2.html", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.01.2024 - 21:25:27", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, + { "name": "Sample.PartialClass", "rp": "file:///Sample_PartialClass.html", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "14.05.2024 - 20:56:25", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, + { "name": "Test.Program", "rp": "file:///Sample_Program.html", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "14.05.2024 - 20:56:25", "cl": 15, "ucl": 0, "cal": 15, "tl": 84, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, + { "name": "Test.TestClass", "rp": "file:///Sample_TestClass.html", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "14.05.2024 - 20:56:25", "cl": 24, "ucl": 9, "cal": 33, "tl": 38, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, + { "name": "Test.TestClass2", "rp": "file:///Sample_TestClass2.html", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "14.05.2024 - 20:56:25", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, ]}, ]; @@ -1767,10 +1767,10 @@ var translations = { }; -(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); +(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(935)},935:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=50)}]); -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{355:()=>{let Ie=null,lr=1;function De(e){const n=Ie;return Ie=e,n}function Sf(e){if((!vo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==lr)){if(!e.producerMustRecompute(e)&&!tc(e))return e.dirty=!1,void(e.lastCleanEpoch=lr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=lr}}function tc(e){ur(e);for(let n=0;n0}function ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Pf=null;function je(e){return"function"==typeof e}function Vf(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const oc=Vf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ic(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._teardowns=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 i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(je(r))try{r()}catch(i){n=i instanceof oc?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{jf(i)}catch(s){n=n??[],s instanceof oc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new oc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jf(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&ic(t,n)}remove(n){const{_teardowns:t}=this;t&&ic(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Hf=It.EMPTY;function Bf(e){return e instanceof It||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function jf(e){je(e)?e():e.unsubscribe()}const Pn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout(...e){const{delegate:n}=ki;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=ki;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $f(e){ki.setTimeout(()=>{const{onUnhandledError:n}=Pn;if(!n)throw e;n(e)})}function Li(){}const fw=sc("C",void 0,void 0);function sc(e,n,t){return{kind:e,value:n,error:t}}let kn=null;function Vi(e){if(Pn.useDeprecatedSynchronousErrorHandling){const n=!kn;if(n&&(kn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=kn;if(kn=null,t)throw r}}else e()}class ac extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Bf(n)&&n.add(this)):this.destination=mw}static create(n,t,r){return new Uf(n,t,r)}next(n){this.isStopped?lc(function pw(e){return sc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?lc(function hw(e){return sc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?lc(fw,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()}}}class Uf extends ac{constructor(n,t,r){let o;if(super(),je(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&Pn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?cc(o):Li,error:cc(t??zf),complete:r?cc(r):Li}}}function cc(e,n){return(...t)=>{try{e(...t)}catch(r){Pn.useDeprecatedSynchronousErrorHandling?function gw(e){Pn.useDeprecatedSynchronousErrorHandling&&kn&&(kn.errorThrown=!0,kn.error=e)}(r):$f(r)}}}function zf(e){throw e}function lc(e,n){const{onStoppedNotification:t}=Pn;t&&ki.setTimeout(()=>t(e,n))}const mw={closed:!0,next:Li,error:zf,complete:Li},uc="function"==typeof Symbol&&Symbol.observable||"@@observable";function vw(e){return e}let _t=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function yw(e){return e&&e instanceof ac||function _w(e){return e&&je(e.next)&&je(e.error)&&je(e.complete)}(e)&&Bf(e)}(t)?t:new Uf(t,r,o);return Vi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=qf(r))((o,i)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(c){i(c),s?.unsubscribe()}},i,o)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[uc](){return this}pipe(...t){return function Gf(e){return 0===e.length?vw:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=qf(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function qf(e){var n;return null!==(n=e??Pn.Promise)&&void 0!==n?n:Promise}const Cw=Vf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let dc=(()=>{class e extends _t{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Wf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Cw}next(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){Vi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Vi(()=>{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=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:r,isStopped:o,observers:i}=this;return r||o?Hf:(i.push(t),new It(()=>ic(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new _t;return t.source=this,t}}return e.create=(n,t)=>new Wf(n,t),e})();class Wf extends dc{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.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,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Hf}}class Dw extends dc{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:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function fc(e){return n=>{if(function ww(e){return je(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class hc extends ac{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function pc(e,n){return fc((t,r)=>{let o=0;t.subscribe(new hc(r,i=>{r.next(e.call(n,i,o++))}))})}function ae(e){for(let n in e)if(e[n]===ae)return n;throw Error("Could not find renamed property on target object.")}function Hi(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pe).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 gc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const bw=ae({__forward_ref__:ae});function de(e){return e.__forward_ref__=de,e.toString=function(){return Pe(this())},e}function F(e){return Bi(e)?e():e}function Bi(e){return"function"==typeof e&&e.hasOwnProperty(bw)&&e.__forward_ref__===de}function mc(e){return e&&!!e.\u0275providers}const Zf="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function dr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const _o=ae({\u0275cmp:ae}),vc=ae({\u0275dir:ae}),_c=ae({\u0275pipe:ae}),Qf=ae({\u0275mod:ae}),Xt=ae({\u0275fac:ae}),yo=ae({__NG_ELEMENT_ID__:ae}),Yf=ae({__NG_ENV_ID__:ae});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function yc(e,n){throw new S(-201,!1)}function it(e,n){null==e&&function P(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function J(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 ji(e){return Kf(e,Ui)||Kf(e,Jf)}function Kf(e,n){return e.hasOwnProperty(n)?e[n]:null}function $i(e){return e&&(e.hasOwnProperty(Cc)||e.hasOwnProperty(xw))?e[Cc]:null}const Ui=ae({\u0275prov:ae}),Cc=ae({\u0275inj:ae}),Jf=ae({ngInjectableDef:ae}),xw=ae({ngInjectorDef:ae});var X=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(X||{});let Dc;function st(e){const n=Dc;return Dc=e,n}function eh(e,n,t){const r=ji(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&X.Optional?null:void 0!==n?n:void yc()}const fe=globalThis;class O{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=J({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Co={},Mc="__NG_DI_FLAG__",zi="ngTempTokenPath",Fw=/\n/gm,nh="__source";let fr;function mn(e){const n=fr;return fr=e,n}function Lw(e,n=X.Default){if(void 0===fr)throw new S(-203,!1);return null===fr?eh(e,void 0,n):fr.get(e,n&X.Optional?null:void 0,n)}function ne(e,n=X.Default){return(function Xf(){return Dc}()||Lw)(F(e),n)}function ee(e,n=X.Default){return ne(e,Gi(n))}function Gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==oh(p,l,0)||2&r&&l!==h){if(St(r))return!1;s=!0}}}}else{if(!s&&!St(r)&&!St(c))return!1;if(s&&St(c))continue;s=!1,r=c|1&r}}return St(r)||s}function St(e){return 0==(1&e)}function zw(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!St(s)&&(n+=dh(i,o),o=""),r=s,i=i||!St(r);t++}return""!==o&&(n+=dh(i,o)),n}function nn(e){return tn(()=>{const n=hh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};ph(t);const r=e.dependencies;return t.directiveDefs=Wi(r,!1),t.pipeDefs=Wi(r,!0),t.id=function tb(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 o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function Jw(e){return Q(e)||ke(e)}function Xw(e){return null!==e}function vn(e){return tn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fh(e,n){if(null==e)return Lt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function $(e){return tn(()=>{const n=hh(e);return ph(n),n})}function at(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 Q(e){return e[_o]||null}function ke(e){return e[vc]||null}function Ue(e){return e[_c]||null}function hh(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||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fh(e.inputs,n),outputs:fh(e.outputs),debugInfo:null}}function ph(e){e.features?.forEach(n=>n(e))}function Wi(e,n){if(!e)return null;const t=n?Ue:Jw;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(Xw)}const we=0,I=1,R=2,Me=3,Tt=4,Ge=5,At=6,hr=7,he=8,Je=9,Vt=10,U=11,bo=12,gh=13,pr=14,Ce=15,Eo=16,gr=17,Ht=18,Io=19,mh=20,_n=21,Zi=22,Vn=23,j=25,Ac=1,Bt=7,mr=9,Se=10;var Nc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Nc||{});function qe(e){return Array.isArray(e)&&"object"==typeof e[Ac]}function We(e){return Array.isArray(e)&&!0===e[Ac]}function xc(e){return 0!=(4&e.flags)}function Hn(e){return e.componentOffset>-1}function Yi(e){return 1==(1&e.flags)}function Nt(e){return!!e.template}function Oc(e){return 0!=(512&e[R])}function Bn(e,n){return e.hasOwnProperty(Xt)?e[Xt]:null}class ib{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function rn(){return Ch}function Ch(e){return e.type.prototype.ngOnChanges&&(e.setInput=ab),sb}function sb(){const e=wh(this),n=e?.current;if(n){const t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ab(e,n,t,r){const o=this.declaredInputs[t],i=wh(e)||function cb(e,n){return e[Dh]=n}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,c=a[o];s[o]=new ib(c&&c.currentValue,n,a===Lt),e[r]=n}rn.ngInherit=!0;const Dh="__ngSimpleChanges__";function wh(e){return e[Dh]||null}const jt=function(e,n,t){};let Ih=!1;function pe(e){for(;Array.isArray(e);)e=e[we];return e}function So(e,n){return pe(n[e])}function Xe(e,n){return pe(n[e.index])}function To(e,n){return e.data[n]}function ft(e,n){const t=n[e];return qe(t)?t:t[we]}function Lc(e){return 128==(128&e[R])}function $t(e,n){return null==n?null:e[n]}function Mh(e){e[gr]=0}function pb(e){1024&e[R]||(e[R]|=1024,Lc(e)&&Ao(e))}function Th(e){return 9216&e[R]||e[Vn]?.dirty}function Vc(e){Th(e)?Ao(e):64&e[R]&&(function ub(){return Ih}()?(e[R]|=1024,Ao(e)):e[Vt].changeDetectionScheduler?.notify())}function Ao(e){e[Vt].changeDetectionScheduler?.notify();let n=jn(e);for(;null!==n&&!(8192&n[R])&&(n[R]|=8192,Lc(n));)n=jn(n)}function jn(e){const n=e[Me];return We(n)?n[Me]:n}const V={lFrame:Vh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nh(){return V.bindingsEnabled}function C(){return V.lFrame.lView}function te(){return V.lFrame.tView}function W(e){return V.lFrame.contextLView=e,e[he]}function Z(e){return V.lFrame.contextLView=null,e}function le(){let e=xh();for(;null!==e&&64===e.type;)e=e.parent;return e}function xh(){return V.lFrame.currentTNode}function Ut(e,n){const t=V.lFrame;t.currentTNode=e,t.isParent=n}function Bc(){return V.lFrame.isParent}function jc(){V.lFrame.isParent=!1}function et(){const e=V.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function zt(){return V.lFrame.bindingIndex++}function sn(e){const n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ib(e,n){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,$c(n)}function $c(e){V.lFrame.currentDirectiveIndex=e}function zc(e){V.lFrame.currentQueryIndex=e}function Sb(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[Ge]:null}function kh(e,n,t){if(t&X.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&X.Host||(o=Sb(i),null===o||(i=i[pr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=V.lFrame=Lh();return r.currentTNode=n,r.lView=e,!0}function Gc(e){const n=Lh(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lh(){const e=V.lFrame,n=null===e?null:e.child;return null===n?Vh(e):n}function Vh(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 Hh(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bh=Hh;function qc(){const e=Hh();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 Ze(){return V.lFrame.selectedIndex}function $n(e){V.lFrame.selectedIndex=e}function ve(){const e=V.lFrame;return To(e.tView,e.selectedIndex)}let Uh=!0;function Ji(){return Uh}function yn(e){Uh=e}function Xi(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[gr]+=65536),(a>14>16&&(3&e[R])===n&&(e[R]+=16384,Gh(a,i)):Gh(a,i)}const yr=-1;class xo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Qc(e){return e!==yr}function Oo(e){return 32767&e}function Ro(e,n){let t=function Vb(e){return e>>16}(e),r=n;for(;t>0;)r=r[pr],t--;return r}let Yc=!0;function ns(e){const n=Yc;return Yc=e,n}const qh=255,Wh=5;let Hb=0;const Gt={};function rs(e,n){const t=Zh(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Kc(r.data,e),Kc(n,null),Kc(r.blueprint,null));const o=os(e,n),i=e.injectorIndex;if(Qc(o)){const s=Oo(o),a=Ro(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Kc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Zh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function os(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=tp(o),null===r)return yr;if(t++,o=o[pr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return yr}function Jc(e,n,t){!function Bb(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(yo)&&(r=t[yo]),null==r&&(r=t[yo]=Hb++);const o=r&qh;n.data[e+(o>>Wh)]|=1<=0?n&qh:zb:n}(t);if("function"==typeof i){if(!kh(n,e,r))return r&X.Host?Qh(o,0,r):Yh(n,t,r,o);try{let s;if(s=i(r),null!=s||r&X.Optional)return s;yc()}finally{Bh()}}else if("number"==typeof i){let s=null,a=Zh(e,n),c=yr,l=r&X.Host?n[Ce][Ge]:null;for((-1===a||r&X.SkipSelf)&&(c=-1===a?os(e,n):n[a+8],c!==yr&&ep(r,!1)?(s=n[I],a=Oo(c),n=Ro(c,n)):a=-1);-1!==a;){const u=n[I];if(Xh(i,a,u.data)){const d=$b(a,n,t,s,r,l);if(d!==Gt)return d}c=n[a+8],c!==yr&&ep(r,n[I].data[a+8]===l)&&Xh(i,a,n)?(s=u,a=Oo(c),n=Ro(c,n)):a=-1}}return o}function $b(e,n,t,r,o,i){const s=n[I],a=s.data[e+8],u=function is(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=c&&m.type===t)return p}if(o){const p=s[c];if(p&&Nt(p)&&p.type===t)return c}return null}(a,s,t,null==r?Hn(a)&&Yc:r!=s&&0!=(3&a.type),o&X.Host&&i===a);return null!==u?Un(n,s,u,a):Gt}function Un(e,n,t,r){let o=e[t];const i=n.data;if(function Fb(e){return e instanceof xo}(o)){const s=o;s.resolving&&function Iw(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${t}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=ns(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?st(s.injectImpl):null;kh(e,r,X.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Ob(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Ch(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&st(l),ns(a),s.resolving=!1,Bh()}}return o}function Xh(e,n,t){return!!(t[n+(e>>Wh)]&1<{const n=e.prototype.constructor,t=n[Xt]||Xc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Xt]||Xc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xc(e){return Bi(e)?()=>{const n=Xc(F(e));return n&&n()}:Bn(e)}function tp(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[Ge]:null}const br="__parameters__";function Ir(e,n,t){return tn(()=>{const r=function tl(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(br)?c[br]:Object.defineProperty(c,br,{value:[]})[br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Sr(e,n){e.forEach(t=>Array.isArray(t)?Sr(t,n):n(t))}function rp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ss(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ht(e,n,t){let r=Tr(e,n);return r>=0?e[1|r]=t:(r=~r,function op(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function rl(e,n){const t=Tr(e,n);if(t>=0)return e[1|t]}function Tr(e,n){return function ip(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return Sr(n,s=>{const a=s;ds(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&dp(o,i),t}function dp(e,n){for(let t=0;t{n(i,r)})}}function ds(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=$i(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=$i(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)ds(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Sr(i.imports,u=>{ds(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&dp(l,n)}if(!a){const l=Bn(o)||(()=>new o);n({provide:o,useFactory:l,deps:re},o),n({provide:cl,useValue:o,multi:!0},o),n({provide:Nr,useValue:()=>ne(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;ul(c,u=>{n(u,l)})}}}return o!==e&&void 0!==e.providers}function ul(e,n){for(let t of e)mc(t)&&(t=t.\u0275providers),Array.isArray(t)?ul(t,n):n(t)}const pE=ae({provide:String,useValue:ae});function dl(e){return null!==e&&"object"==typeof e&&pE in e}function zn(e){return"function"==typeof e}const fl=new O("Set Injector scope."),fs={},mE={};let hl;function hs(){return void 0===hl&&(hl=new us),hl}class an{}class xr extends an{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gl(n,s=>this.processProvider(s)),this.records.set(lp,Or(void 0,this)),o.has("environment")&&this.records.set(an,Or(void 0,this));const i=this.records.get(fl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cl,re,X.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=mn(this),r=st(void 0);try{return n()}finally{mn(t),st(r)}}get(n,t=Co,r=X.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Yf))return n[Yf](this);r=Gi(r);const i=mn(this),s=st(void 0);try{if(!(r&X.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function DE(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&ji(n);c=l&&this.injectableDefInScope(l)?Or(pl(n),fs):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&X.Self?hs():this.parent).get(n,t=r&X.Optional&&t===Co?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[zi]=a[zi]||[]).unshift(Pe(n)),i)throw a;return function Hw(e,n,t,r){const o=e[zi];throw n[nh]&&o.unshift(n[nh]),e.message=function Bw(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Pe(n);if(Array.isArray(n))o=n.map(Pe).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(Fw,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[zi]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{st(s),mn(i)}}resolveInjectorInitializers(){const n=mn(this),t=st(void 0);try{const o=this.get(Nr,re,X.Self);for(const i of o)i()}finally{mn(n),st(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=zn(n=F(n))?n:F(n&&n.provide);const r=function _E(e){return dl(e)?Or(void 0,e.useValue):Or(pp(e),fs)}(n);if(!zn(n)&&!0===n.multi){let o=this.records.get(t);o||(o=Or(void 0,fs,!0),o.factory=()=>Sc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===fs&&(t.value=mE,t.value=t.factory()),"object"==typeof t.value&&t.value&&function CE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(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 pl(e){const n=ji(e),t=null!==n?n.factory:Bn(e);if(null!==t)return t;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return function vE(e){if(e.length>0)throw new S(204,!1);const t=function Nw(e){return e&&(e[Ui]||e[Jf])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new S(204,!1)}function pp(e,n,t){let r;if(zn(e)){const o=F(e);return Bn(o)||pl(o)}if(dl(e))r=()=>F(e.useValue);else if(function hp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(function fp(e){return!(!e||!e.useExisting)}(e))r=()=>ne(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function yE(e){return!!e.deps}(e))return Bn(o)||pl(o);r=()=>new o(...Sc(e.deps))}return r}function Or(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gl(e,n){for(const t of e)Array.isArray(t)?gl(t,n):t&&mc(t)?gl(t.\u0275providers,n):n(t)}function _p(e,n=null,t=null,r){const o=yp(e,n,t,r);return o.resolveInjectorInitializers(),o}function yp(e,n=null,t=null,r,o=new Set){const i=[t||re,hE(e)];return r=r||("object"==typeof e?void 0:Pe(e)),new xr(i,n||hs(),r||null,o)}let _l,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Co;static#t=this.NULL=new us;static create(t,r){if(Array.isArray(t))return _p({name:""},r,t,"");{const o=t.name??"";return _p({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=J({token:e,providedIn:"any",factory:()=>ne(lp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const gs=new O("AppId",{providedIn:"root",factory:()=>NE}),NE="ng",Dp=new O("Platform Initializer"),Rr=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wp=new O("CSP nonce",{providedIn:"root",factory:()=>function Cn(){if(void 0!==_l)return _l;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function yl(e){return e.ownerDocument.defaultView}function ys(e){return 128==(128&e.flags)}var bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bn||{});const HE=/^>|^->||--!>|)/g,jE="\u200b$1\u200b";const El=new Map;let $E=0;const Ml="__ngContext__";function Ye(e,n){qe(n)?(e[Ml]=n[Io],function zE(e){El.set(e[Io],e)}(n)):e[Ml]=n}let Sl;function Tl(e,n){return Sl(e,n)}function Pr(e,n,t,r,o){if(null!=r){let i,s=!1;We(r)?i=r:qe(r)&&(s=!0,r=r[we]);const a=pe(r);0===e&&null!==t?null==o?zp(n,t,a):qn(n,t,a,o||null,!0):1===e&&null!==t?qn(n,t,a,o||null,!0):2===e?function Ms(e,n,t){const r=Es(e,n);r&&function sI(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function lI(e,n,t,r,o){const i=t[Bt];i!==pe(t)&&Pr(n,e,r,i,o);for(let a=Se;an.replace(BE,jE))}(n))}function ws(e,n,t){return e.createElement(n,t)}function jp(e,n){n[Vt].changeDetectionScheduler?.notify(),Ss(e,n,n[U],2,null,null)}function $p(e,n){const t=e[mr],r=t.indexOf(n);t.splice(r,1)}function Bo(e,n){if(e.length<=Se)return;const t=Se+n,r=e[t];if(r){const o=r[Eo];null!==o&&o!==e&&$p(o,r),n>0&&(e[t-1][Tt]=r[Tt]);const i=ss(e,Se+n);!function XE(e,n){jp(e,n),n[we]=null,n[Ge]=null}(r[I],r);const s=i[Ht];null!==s&&s.detachView(i[I]),r[Me]=null,r[Tt]=null,r[R]&=-129}return r}function bs(e,n){if(!(256&n[R])){const t=n[U];t.destroyNode&&Ss(e,n,t,3,null,null),function tI(e){let n=e[bo];if(!n)return Nl(e[I],e);for(;n;){let t=null;if(qe(n))t=n[bo];else{const r=n[Se];r&&(t=r)}if(!t){for(;n&&!n[Tt]&&n!==e;)qe(n)&&Nl(n[I],n),n=n[Me];null===n&&(n=e),qe(n)&&Nl(n[I],n),t=n&&n[Tt]}n=t}}(n)}}function Nl(e,n){if(!(256&n[R])){n[R]&=-129,n[R]|=256,n[Vn]&&function Of(e){if(ur(e),vo(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[hr]=null);const o=n[_n];if(null!==o){n[_n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mt.None||i===Mt.Emulated)return null}return Xe(r,t)}}(e,n.parent,t)}function qn(e,n,t,r,o){e.insertBefore(n,t,r,o)}function zp(e,n,t){e.appendChild(n,t)}function Gp(e,n,t,r,o){null!==r?qn(e,n,t,r,o):zp(e,n,t)}function Es(e,n){return e.parentNode(n)}let Ol,Zp=function Wp(e,n,t){return 40&e.type?Xe(e,t):null};function Is(e,n,t,r){const o=xl(e,r,n),i=n[U],a=function qp(e,n,t){return Zp(e,n,t)}(r.parent||n[Ge],r,n);if(null!=o)if(Array.isArray(t))for(let c=0;cnull;function Zl(e,n,t=!1){return hg(e,n,t)}class qI{}class mg{}class ZI{resolveComponentFactory(n){throw function WI(e){const n=Error(`No component factory found for ${Pe(e)}.`);return n.ngComponent=e,n}(n)}}let ks=(()=>{class e{static#e=this.NULL=new ZI}return e})();function QI(){return Br(le(),C())}function Br(e,n){return new xt(Xe(e,n))}let xt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=QI}return e})();class _g{}let Wn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function KI(){const e=C(),t=ft(le().index,e);return(qe(t)?t:e)[U]}()}return e})(),JI=(()=>{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>null})}return e})();const Kl={};function Ls(e){return!!function Jl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Cg{constructor(){}supports(n){return Ls(n)}create(n){return new rM(n)}}const nM=(e,n)=>n;class rM{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||nM}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;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,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new oM(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Dg),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._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 Dg),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 oM{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 iM{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Dg{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new iM,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.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 wg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:Eg});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Eg()),deps:[[e,new sl,new il]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new S(901,!1)}}return e})();function Wo(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(pe(i)),We(i)&&Mg(i,r);const s=t.type;if(8&s)Wo(e,n,t.child,r);else if(32&s){const a=Tl(t,n);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Yp(n,t);if(Array.isArray(a))r.push(...a);else{const c=jn(n[Ce]);Wo(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Mg(e,n){for(let t=Se;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ao(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}};function Tg(e){return Ng(e[bo])}function Ag(e){return Ng(e[Tt])}function Ng(e){for(;null!==e&&!We(e);)e=e[Tt];return e}function eu(e){return e.ngOriginalError}class ln{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&&eu(n);for(;t&&eu(t);)t=eu(t);return t||null}}const Og=new O("",{providedIn:"root",factory:()=>ee(ln).handleError.bind(void 0)}),Fg=new O("",{providedIn:"root",factory:()=>!1}),z={};function f(e=1){Vg(te(),C(),Ze()+e,!1)}function Vg(e,n,t,r){if(!r)if(3==(3&n[R])){const i=e.preOrderCheckHooks;null!==i&&es(n,i,t)}else{const i=e.preOrderHooks;null!==i&&ts(n,i,0,t)}$n(t)}function M(e,n=X.Default){const t=C();return null===t?ne(e,n):Kh(le(),t,F(e),n)}function Bs(e,n,t,r,o,i,s,a,c,l,u){const d=n.blueprint.slice();return d[we]=o,d[R]=204|r,(null!==l||e&&2048&e[R])&&(d[R]|=2048),Mh(d),d[Me]=d[pr]=e,d[he]=t,d[Vt]=s||e&&e[Vt],d[U]=a||e&&e[U],d[Je]=c||e&&e[Je]||null,d[Ge]=i,d[Io]=function UE(){return $E++}(),d[At]=u,d[mh]=l,d[Ce]=2==n.type?e[Ce]:d,d}function jr(e,n,t,r,o){let i=e.data[n];if(null===i)i=function tu(e,n,t,r,o){const i=xh(),s=Bc(),c=e.data[n]=function TM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function _r(){return null!==V.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=c),null!==i&&(s?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c,c.prev=i)),c}(e,n,t,r,o),function Eb(){return V.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function No(){const e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function Zo(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;ij&&Vg(e,n,j,!1),jt(s?2:0,o),t(r,o)}finally{$n(i),jt(s?3:1,o)}}function nu(e,n,t){if(xc(n)){const r=De(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function $g(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?Ug(t,n,o,i):r.hasOwnProperty(o)&&Ug(t,n,r[o],i)}return t}function Ug(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function gt(e,n,t,r,o,i,s,a){const c=Xe(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(uu(e,t,u,r,o),Hn(n)&&function xM(e,n){const t=ft(n,e);16&t[R]||(t[R]|=64)}(t,n.index)):3&n.type&&(r=function NM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(c,r,o))}function su(e,n,t,r){if(Nh()){const o=null===r?null:{"":-1},i=function LM(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Zo(e,t,o.hostVars,z),o)}function qt(e,n,t,r,o,i){const s=Xe(e,n);!function cu(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[U],s,i,e.value,t,r,o)}function UM(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function dM(e){e.lView[Vn]!==e&&(e.lView=null,Sg.push(e))}(a)),qc()}}function Jg(e,n){for(let t=Tg(e);null!==t;t=Ag(t))for(let r=Se;r-1&&(Bo(n,r),ss(t,r))}this._attachedToViewContainer=!1}bs(this._lView[I],this._lView)}onDestroy(n){!function Ki(e,n){if(256==(256&e[R]))throw new S(911,!1);null===e[_n]&&(e[_n]=[]),e[_n].push(n)}(this._lView,n)}markForCheck(){Qo(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Vc(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,function du(e,n=!0){const t=e[Vt],r=t.rendererFactory;r.begin?.();try{!function qM(e){fu(e,0);let n=0;for(;Th(e);){if(100===n)throw new S(103,!1);n++,fu(e,1)}}(e)}catch(i){throw n&&$s(e,i),i}finally{r.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,jp(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n,Vc(this._lView)}}let hu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=KM}return e})();function KM(e){return function JM(e,n,t){if(Hn(e)&&!t){const r=ft(e.index,n);return new Yo(r,r)}return 47&e.type?new Yo(n[Ce],n):null}(le(),C(),16==(16&e))}function gu(e){return n=>{setTimeout(e,void 0,n)}}const Te=class l0 extends dc{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=gu(i),o&&(o=gu(o)),s&&(s=gu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof It&&n.add(a),a}};function nm(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function u0(){const e="function"==typeof fe.requestAnimationFrame;let n=fe[e?"requestAnimationFrame":"setTimeout"],t=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function h0(e){const n=()=>{!function f0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vu(e),e.isCheckStableRunning=!0,mu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function p0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return rm(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),om(e)}},onInvoke:(t,r,o,i,s,a,c)=>{try{return rm(e),t.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),om(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,vu(e),mu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new S(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,d0,nm,nm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const d0={};function mu(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 vu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function om(e){e._nesting--,mu(e)}class im{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}let Ko=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of t)o();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=J({token:e,providedIn:"root",factory:()=>new e})}return e})();function _0(e,n){const t=ft(n,e),r=t[I];!function y0(e,n){for(let t=n.length;t0&&Xp(e,t,i.join(" "))}}(h,q,m,r),void 0!==t&&function A0(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=wo(o.hostAttrs,t=wo(t,o.hostAttrs))}}(r)}function zs(e){return e===Lt?{}:e===re?[]:e}function O0(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function R0(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function F0(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Wt(e,n,t){return e[n]=t}function xe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Yn(e,n,t,r){const o=xe(e,n,t);return xe(e,n+1,r)||o}function Ot(e,n,t,r){const o=C();return xe(o,zt(),n)&&(te(),qt(ve(),o,e,n,t,r)),Ot}function Ur(e,n,t,r){return xe(e,zt(),t)?n+B(t)+r:z}function qs(e,n){return e<<17|n<<2}function Mn(e){return e>>17&32767}function yu(e){return 2|e}function Kn(e){return(131068&e)>>2}function Cu(e,n){return-131069&e|n<<2}function Du(e){return 1|e}function Im(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Mn(o):Kn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];q0(e[s],n)&&(a=!0,e[s+1]=r?Du(l):yu(l)),s=r?Mn(l):Kn(l)}a&&(e[t+1]=r?yu(o):Du(o))}function q0(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Tr(e,n)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mm(e){return e.substring(He.key,He.keyEnd)}function Sm(e,n){const t=He.textEnd;return t===n?-1:(n=He.keyEnd=function Y0(e,n,t){for(;n32;)n++;return n}(e,He.key=n,t),Kr(e,n,t))}function Kr(e,n,t){for(;n=0;t=Sm(n,t))ht(e,Mm(n),!0)}function Rm(e,n){return n>=e.expandoStartIndex}function Fm(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[Ze()],s=Rm(e,t);Vm(i,r)&&null===n&&!s&&(n=!1),n=function tS(e,n,t,r){const o=function Uc(e){const n=V.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=ei(t=bu(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=bu(o,e,n,t,r),null===i){let c=function nS(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Kn(r))return e[Mn(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=bu(null,e,n,c[1],r),c=ei(c,n.attrs,r),function rS(e,n,t,r){e[Mn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else i=function oS(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):u=t,o)if(0!==c){const h=Mn(e[a+1]);e[r+1]=qs(h,a),0!==h&&(e[h+1]=Cu(e[h+1],r)),e[a+1]=function $0(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=qs(a,0),0!==a&&(e[a+1]=Cu(e[a+1],r)),a=r;else e[r+1]=qs(c,0),0===a?a=r:e[c+1]=Cu(e[c+1],r),c=r;l&&(e[r+1]=yu(e[r+1])),Im(e,u,r,!0),Im(e,u,r,!1),function G0(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Tr(i,n)>=0&&(t[r+1]=Du(t[r+1]))}(n,u,e,r,i),s=qs(a,c),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function bu(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=t[o+1];h===z&&(h=d?re:void 0);let p=d?rl(h,r):u===r?h:void 0;if(l&&!Zs(p)&&(p=rl(c,r)),Zs(p)&&(a=p,s))return a;const m=e[o+1];o=s?Mn(m):Kn(m)}if(null!==n){let c=i?n.residualClasses:n.residualStyles;null!=c&&(a=rl(c,r))}return a}function Zs(e){return void 0!==e}function Vm(e,n){return 0!=(e.flags&(n?8:16))}function Yt(e,n,t){!function Ft(e,n,t,r){const o=te(),i=sn(2);o.firstUpdatePass&&Fm(o,null,i,r);const s=C();if(t!==z&&xe(s,i,t)){const a=o.data[Ze()];if(Vm(a,r)&&!Rm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(t=gc(c,t||"")),wu(o,a,s,t,r)}else!function aS(e,n,t,r,o,i,s,a){o===z&&(o=re);let c=0,l=0,u=00&&(t[o-1][Tt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=jS}return e})();function jS(){return function Km(e,n){let t;const r=n[e.index];return We(r)?t=r:(t=Wg(r,n,null,e),n[e.index]=t,js(n,t)),Jm(t,n,e,r),new Qm(t,e,n)}(le(),C())}const $S=Kt,Qm=class extends $S{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const n=os(this._hostTNode,this._hostLView);if(Qc(n)){const t=Ro(n,this._hostLView),r=Oo(n);return new Le(t[I].data[r+8],t)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ym(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,Xr(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function Fo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const c=s?n:new Jo(Q(n)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const w=(s?l:this.parentInjector).get(an,null);w&&(i=w)}Q(c.componentType??{});const p=c.create(l,o,null,i);return this.insertImpl(p.hostView,a,Xr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function hb(e){return We(e[Me])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const c=o[Me],l=new Qm(c,c[Ge],c[Me]);l.detach(l.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return si(s,o,i,r),n.attachToViewContainerRef(),rp(Ou(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ym(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);r&&(ss(Ou(this._lContainer),t),bs(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=Bo(this._lContainer,t);return r&&null!=ss(Ou(this._lContainer),t)?new Yo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ym(e){return e[8]}function Ou(e){return e[8]||(e[8]=[])}let Jm=function ev(e,n,t,r){if(e[Bt])return;let o;o=8&t.type?pe(r):function US(e,n){const t=e[U],r=t.createComment(""),o=Xe(n,e);return qn(t,Es(t,o),r,function aI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Bt]=o},Ru=()=>!1;function k(e,n,t,r,o,i,s,a){const c=C(),l=te(),u=e+j,d=l.firstCreatePass?function WS(e,n,t,r,o,i,s,a,c){const l=n.consts,u=jr(n,e,4,s||null,$t(l,a));su(n,t,u,$t(l,c)),Xi(n,u);const d=u.tView=iu(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,r,o,i,s):l.data[u];Ut(d,!1);const h=tv(l,c,d,e);Ji()&&Is(l,c,h,d),Ye(h,c);const p=Wg(h,c,h,d);return c[u]=p,js(c,p),function Xm(e,n,t){return Ru(e,n,t)}(p,d,c),Yi(d)&&ru(l,c,d),null!=s&&ou(c,d,a),k}let tv=function nv(e,n,t,r){return yn(!0),n[U].createComment("")};function y(e,n,t,r){const o=C(),i=te(),s=j+e,a=o[U],c=i.firstCreatePass?function kT(e,n,t,r,o,i){const s=n.consts,c=jr(n,e,2,r,$t(s,o));return su(n,t,c,$t(s,i)),null!==c.attrs&&Us(c,c.attrs,!1),null!==c.mergedAttrs&&Us(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,i,o,n,t,r):i.data[s],l=Iv(i,o,c,a,n,e);o[s]=l;const u=Yi(c);return Ut(c,!0),eg(a,l,c),32!=(32&c.flags)&&Ji()&&Is(i,o,l,c),0===function gb(){return V.lFrame.elementDepthCount}()&&Ye(l,o),function mb(){V.lFrame.elementDepthCount++}(),u&&(ru(i,o,c),nu(i,c,o)),null!==r&&ou(o,c),y}function _(){let e=le();Bc()?jc():(e=e.parent,Ut(e,!1));const n=e;(function _b(e){return V.skipHydrationRootTNode===e})(n)&&function wb(){V.skipHydrationRootTNode=null}(),function vb(){V.lFrame.elementDepthCount--}();const t=te();return t.firstCreatePass&&(Xi(t,e),xc(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kb(e){return 0!=(8&e.flags)}(n)&&wu(t,n,C(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Lb(e){return 0!=(16&e.flags)}(n)&&wu(t,n,C(),n.stylesWithoutHost,!1),_}function A(e,n,t,r){return y(e,n,t,r),_(),A}let Iv=(e,n,t,r,o,i)=>(yn(!0),ws(r,o,function $h(){return V.lFrame.currentNamespace}()));function Y(e,n,t){const r=C(),o=te(),i=e+j,s=o.firstCreatePass?function HT(e,n,t,r,o){const i=n.consts,s=$t(i,r),a=jr(n,e,8,"ng-container",s);return null!==s&&Us(a,s,!0),su(n,t,a,$t(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Ut(s,!0);const a=Sv(o,r,s,e);return r[i]=a,Ji()&&Is(o,r,a,s),Ye(a,r),Yi(s)&&(ru(o,r,s),nu(o,s,r)),null!=t&&ou(r,s),Y}function K(){let e=le();const n=te();return Bc()?jc():(e=e.parent,Ut(e,!1)),n.firstCreatePass&&(Xi(n,e),xc(e)&&n.queries.elementEnd(e)),K}let Sv=(e,n,t,r)=>(yn(!0),Al(n[U],""));function be(){return C()}const ao="en-US";let Ov=ao;function ca(e){return!!e&&"function"==typeof e.then}function r_(e){return!!e&&"function"==typeof e.subscribe}function L(e,n,t,r){const o=C(),i=te(),s=le();return function i_(e,n,t,r,o,i,s){const a=Yi(r),l=e.firstCreatePass&&function Yg(e){return e.cleanup||(e.cleanup=[])}(e),u=n[he],d=function Qg(e){return e[hr]||(e[hr]=[])}(n);let h=!0;if(3&r.type||s){const w=Xe(r,n),E=s?s(w):w,T=d.length,D=s?H=>s(pe(H[r.index])):r.index;let x=null;if(!s&&a&&(x=function V1(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=a_(r,n,u,i,!1);const H=t.listen(E,o,i);d.push(i,H),l&&l.push(o,D,T,T+1)}}else i=a_(r,n,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let E=0;E-1?ft(e.index,n):n);let c=s_(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)c=s_(n,t,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function v(e=1){return function Tb(e){return(V.lFrame.contextLView=function Sh(e,n){for(;e>0;)n=n[pr],e--;return n}(e,V.lFrame.contextLView))[he]}(e)}function Tn(e,n,t){return qu(e,"",n,"",t),Tn}function qu(e,n,t,r,o){const i=C(),s=Ur(i,n,t,r);return s!==z&>(te(),ve(),i,e,s,i[U],o,!1),qu}function b(e,n=""){const t=C(),r=te(),o=e+j,i=r.firstCreatePass?jr(r,o,1,n,null):r.data[o],s=I_(r,t,i,n,e);t[o]=s,Ji()&&Is(r,t,s,i),Ut(i,!1)}let I_=(e,n,t,r,o)=>(yn(!0),function Ds(e,n){return e.createText(n)}(n[U],r));function N(e){return G("",e,""),N}function G(e,n,t){const r=C(),o=Ur(r,e,n,t);return o!==z&&function un(e,n,t){const r=So(n,e);!function Bp(e,n,t){e.setValue(n,t)}(e[U],r,t)}(r,Ze(),o),G}function Wu(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(zn(e)||!e.multi){const p=new xo(l,o,M),m=Qu(c,n,o?u:u+h,d);-1===m?(Jc(rs(a,s),i,c),Zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=Qu(c,n,u+h,d),m=Qu(c,n,u,u+h),E=m>=0&&t[m];if(o&&!E||!o&&!(p>=0&&t[p])){Jc(rs(a,s),i,c);const T=function oA(e,n,t,r,o){const i=new xo(e,t,M);return i.multi=[],i.index=n,i.componentProviders=0,F_(i,o,r&&!t),i}(o?rA:nA,t.length,o,r,l);!o&&E&&(t[m].providerFactory=T),Zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else Zu(i,e,p>-1?p:m,F_(t[o?m:p],l,!o&&r));!o&&r&&E&&t[m].componentProviders++}}}function Zu(e,n,t,r){const o=zn(n),i=function gE(e){return!!e.useClass}(n);if(o||i){const c=(i?F(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function F_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Qu(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function tA(e,n,t){const r=te();if(r.firstCreatePass){const o=Nt(e);Wu(t,r.data,r.blueprint,o,!0),Wu(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class er{}class iA{}class Ku extends er{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new um(this);const o=function ze(e,n){const t=e[Qf]||null;if(!t&&!0===n)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function pt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=yp(n,t,[{provide:er,useValue:this},{provide:ks,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ju extends iA{constructor(n){super(),this.moduleType=n}create(n){return new Ku(this.moduleType,n,[])}}function da(e,n,t,r){return function U_(e,n,t,r,o,i){const s=n+t;return xe(e,s,o)?Wt(e,s+1,i?r.call(i,o):r(o)):gi(e,s+1)}(C(),et(),e,n,t,r)}function ed(e,n,t,r,o){return function z_(e,n,t,r,o,i,s){const a=n+t;return Yn(e,a,o,i)?Wt(e,a+2,s?r.call(s,o,i):r(o,i)):gi(e,a+2)}(C(),et(),e,n,t,r,o)}function $e(e,n,t,r,o,i){return G_(C(),et(),e,n,t,r,o,i)}function gi(e,n){const t=e[n];return t===z?void 0:t}function G_(e,n,t,r,o,i,s,a){const c=n+t;return function Gs(e,n,t,r,o){const i=Yn(e,n,t,r);return xe(e,n+2,o)||i}(e,c,o,i,s)?Wt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):gi(e,c+3)}function Q_(e,n,t,r,o){const i=e+j,s=C(),a=function vr(e,n){return e[n]}(s,i);return function mi(e,n){return e[I].data[n].pure}(s,i)?G_(s,et(),n,a.transform,t,r,o,a):a.transform(t,r,o)}Symbol;let dn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kA}return e})();const FA=dn,PA=class extends FA{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function ii(e,n,t,r){const o=n.tView,a=Bs(e,o,t,4096&e[R]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Eo]=e[n.index];const l=e[Ht];return null!==l&&(a[Ht]=l.createEmbeddedView(o)),_u(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new Yo(o)}};function kA(){return function fa(e,n){return 4&e.type?new PA(n,e,Br(e,n)):null}(le(),C())}let dd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Dw(!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.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cy=new O(""),ma=new O("");let gd,hd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gd||(function UN(e){gd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ne(_e),ne(pd),ne(ma))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),pd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return gd?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const zN=new O("Application Initializer");let md=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=ee(zN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(ca(i))t.push(i);else if(r_(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dy=new O("appBootstrapListener");function Ey(e,n){return Array.isArray(n)?n.reduce(Ey,e):{...e,...n}}let uo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ee(Og),this.afterRenderEffectManager=ee(Ko),this.componentTypes=[],this.components=[],this.isStable=ee(dd).hasPendingTasks.pipe(pc(t=>!t)),this._injector=ee(an)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof mg;if(!this._injector.get(md).done)throw!o&&function Ln(e){const n=Q(e)||ke(e)||Ue(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=o?t:this._injector.get(ks).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function qN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(er),l=s.create(yt.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Cy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),va(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;va(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Dy,[]);[...this._bootstrapListeners,...r].forEach(o=>o(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),()=>va(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function va(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ZN=(()=>{class e{constructor(){this.zone=ee(_e),this.applicationRef=ee(uo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QN(){const e=ee(_e),n=ee(ln);return t=>e.runOutsideAngular(()=>n.handleError(t))}let KN=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=ee(_e),this.pendingTasks=ee(dd)}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(()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fn=new O("LocaleId",{providedIn:"root",factory:()=>ee(fn,X.Optional|X.SkipSelf)||function JN(){return typeof $localize<"u"&&$localize.locale||ao}()}),vd=new O("PlatformDestroyListeners");let Ty=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function g0(e="zone.js",n){return"noop"===e?new im:"zone.js"===e?new _e(n):e}(r?.ngZone,function Sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function aA(e,n,t){return new Ku(e,n,t)}(t.moduleType,this.injector,function My(e){return[{provide:_e,useFactory:e},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(ZN,{optional:!0});return()=>n.initialize()}},{provide:Nr,multi:!0,useFactory:()=>{const n=ee(KN);return()=>{n.initialize()}}},{provide:Og,useFactory:QN}]}(()=>o)),s=i.injector.get(ln,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{va(this._modules,i),a.unsubscribe()})}),function by(e,n,t){try{const r=t();return ca(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(md);return a.runInitializers(),a.donePromise.then(()=>(function Rv(e){it(e,"Expected localeId to be defined"),"string"==typeof e&&(Ov=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=Ey({},r);return function GN(e,n,t){const r=new Ju(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(uo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new S(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(vd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ne(yt))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),An=null;const Ay=new O("AllowMultipleToken");function Ny(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=_d();if(!s||s.injector.get(Ay,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function tx(e){if(An&&!An.get(Ay,!1))throw new S(400,!1);(function wy(){!function cw(e){Pf=e}(()=>{throw new S(600,!1)})})(),An=e;const n=e.get(Ty);(function Oy(e){e.get(Dp,null)?.forEach(t=>t())})(e)}(function xy(e=[],n){return yt.create({name:n,providers:[{provide:fl,useValue:"platform"},{provide:vd,useValue:new Set([()=>An=null])},...e]})}(a,r))}return function nx(e){const n=_d();if(!n)throw new S(401,!1);return n}()}}function _d(){return An?.get(Ty)??null}const cx=Ny(null,"core",[]);let lx=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(ne(uo))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();let Td=null;function Di(){return Td}class Lx{}const nr=new O("DocumentToken"),Vd=/\s+/,lC=[];let Ei=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=lC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Vd):lC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Vd):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Vd).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(M(xt),M(Wn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class IO{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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 po=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,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 r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new IO(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),dC(a,o)}});for(let o=0,i=r.length;o{dC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn),M(Xl))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function dC(e,n){e.context.$implicit=n.item}let rr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new MO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){fC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){fC("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,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(dn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class MO{constructor(){this.$implicit=null,this.ngIf=null}}function fC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pe(n)}'.`)}let gC=(()=>{class e{transform(t,r,o){if(null==t)return null;if(!this.supports(t))throw function kt(e,n){return new S(2100,!1)}();return t.slice(r,o)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=at({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),JO=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();function vC(e){return"server"===e}class MR extends Lx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gd extends MR{static makeCurrent(){!function kx(e){Td||(Td=e)}(new Gd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 SR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==t?null:function TR(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function bO(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let Mi=null,NR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qd=new O("EventManagerPlugins");let DC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ne(qd),ne(_e))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class wC{constructor(n){this._doc=n}}const Wd="ng-app-id";let bC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Wd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Wd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Wd,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr),ne(gs),ne(wp,8),ne(Rr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const Zd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qd=/%COMP%/g,FR=new O("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function IC(e,n){return n.map(t=>t.replace(Qd,e))}let MC=(()=>{class e{constructor(t,r,o,i,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=vC(a),this.defaultRenderer=new Yd(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mt.ShadowDom&&(r={...r,encapsulation:Mt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof TC?o.applyToHost(t):o instanceof Kd&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mt.Emulated:i=new TC(c,l,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new VR(c,l,t,r,s,a,this.nonce,d);default:i=new Kd(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ne(DC),ne(bC),ne(gs),ne(FR),ne(nr),ne(Rr),ne(_e),ne(wp))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();class Yd{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Zd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(SC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(SC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new S(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Zd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Zd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(bn.DashCase|bn.Important)?n.style.setProperty(t,r,o&bn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Di().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function SC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class VR extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=IC(o.id,o.styles);for(const u of l){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,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Kd extends Yd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?IC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class TC extends Kd{constructor(n,t,r,o,i,s,a,c){const l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=function PR(e){return"_ngcontent-%COMP%".replace(Qd,e)}(l),this.hostAttr=function kR(e){return"_nghost-%COMP%".replace(Qd,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let HR=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const AC=["alt","control","meta","shift"],BR={"\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"},jR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $R=(()=>{class e extends wC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Di().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),AC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=BR[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),AC.forEach(s=>{s!==o&&(0,jR[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})();const qR=Ny(cx,"browser",[{provide:Rr,useValue:"browser"},{provide:Dp,useValue:function UR(){Gd.makeCurrent()},multi:!0},{provide:nr,useFactory:function GR(){return function AE(e){_l=e}(document),document},deps:[]}]),WR=new O(""),OC=[{provide:ma,useClass:class AR{addToWindow(n){fe.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),fe.getAllAngularRootElements=()=>n.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(r=>{const o=fe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(c){s=s||c,i--,0==i&&r(s)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Di().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Cy,useClass:hd,deps:[_e,pd,ma]},{provide:hd,useClass:hd,deps:[_e,pd,ma]}],RC=[{provide:fl,useValue:"root"},{provide:ln,useFactory:function zR(){return new ln},deps:[]},{provide:qd,useClass:HR,multi:!0,deps:[nr,_e,Rr]},{provide:qd,useClass:$R,multi:!0,deps:[nr]},MC,bC,DC,{provide:_g,useExisting:MC},{provide:class rR{},useClass:NR,deps:[]},[]];let ZR=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:gs,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ne(WR,12))};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({providers:[...RC,...OC],imports:[JO,lx]})}return e})();function or(e){return this instanceof or?(this.v=e,this):new or(e)}function oF(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 HC(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window;const BC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function jC(e){return je(e?.then)}function $C(e){return je(e[uc])}function UC(e){return Symbol.asyncIterator&&je(e?.[Symbol.asyncIterator])}function zC(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 GC=function sF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qC(e){return je(e?.[GC])}function WC(e){return function rF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function c(h){h.value instanceof or?Promise.resolve(h.value.v).then(l,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield or(t.read());if(o)return yield or(void 0);yield yield or(r)}}finally{t.releaseLock()}})}function ZC(e){return je(e?.getReader)}function Va(e){if(e instanceof _t)return e;if(null!=e){if($C(e))return function aF(e){return new _t(n=>{const t=e[uc]();if(je(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(BC(e))return function cF(e){return new _t(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$f)})}(e);if(UC(e))return QC(e);if(qC(e))return function uF(e){return new _t(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ZC(e))return function dF(e){return QC(WC(e))}(e)}throw zC(e)}function QC(e){return new _t(n=>{(function fF(e,n){var t,r,o,i;return function tF(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=oF(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ir(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function YC(e,n=0){return fc((t,r)=>{t.subscribe(new hc(r,o=>ir(r,e,()=>r.next(o),n),()=>ir(r,e,()=>r.complete(),n),o=>ir(r,e,()=>r.error(o),n)))})}function KC(e,n=0){return fc((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function JC(e,n){if(!e)throw new Error("Iterable cannot be null");return new _t(t=>{ir(t,n,()=>{const r=e[Symbol.asyncIterator]();ir(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}const{isArray:CF}=Array,{getPrototypeOf:DF,prototype:wF,keys:bF}=Object;const{isArray:SF}=Array;function NF(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function xF(...e){const n=function MF(e){return je(function ef(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:r}=function EF(e){if(1===e.length){const n=e[0];if(CF(n))return{args:n,keys:null};if(function IF(e){return e&&"object"==typeof e&&DF(e)===wF}(n)){const t=bF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),o=new _t(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?NF(r,a):a),i.complete())}))}});return n?o.pipe(function AF(e){return pc(n=>function TF(e,n){return SF(n)?e(...n):e(n)}(e,n))}(n)):o}let XC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Wn),M(xt))};static#t=this.\u0275dir=$({type:e})}return e})(),sr=(()=>{class e extends XC{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const Jt=new O("NgValueAccessor"),OF={provide:Jt,useExisting:de(()=>tf),multi:!0};let tf=(()=>{class e extends sr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[ye([OF]),ce]})}return e})();const RF={provide:Jt,useExisting:de(()=>Si),multi:!0},PF=new O("CompositionEventMode");let Si=(()=>{class e extends XC{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function FF(){const e=Di()?Di().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(r){return new(r||e)(M(Wn),M(xt),M(PF,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(r,o){1&r&&L("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ye([RF]),ce]})}return e})();const Ke=new O("NgValidators"),On=new O("NgAsyncValidators");function lD(e){return null!=e}function uD(e){return ca(e)?function yF(e,n){return n?function _F(e,n){if(null!=e){if($C(e))return function hF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(BC(e))return function gF(e,n){return new _t(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(jC(e))return function pF(e,n){return Va(e).pipe(KC(n),YC(n))}(e,n);if(UC(e))return JC(e,n);if(qC(e))return function mF(e,n){return new _t(t=>{let r;return ir(t,n,()=>{r=e[GC](),ir(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>je(r?.return)&&r.return()})}(e,n);if(ZC(e))return function vF(e,n){return JC(WC(e),n)}(e,n)}throw zC(e)}(e,n):Va(e)}(e):e}function dD(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function fD(e,n){return n.map(t=>t(e))}function hD(e){return e.map(n=>function LF(e){return!e.validate}(n)?n:t=>n.validate(t))}function nf(e){return null!=e?function pD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return dD(fD(t,n))}}(hD(e)):null}function rf(e){return null!=e?function gD(e){if(!e)return null;const n=e.filter(lD);return 0==n.length?null:function(t){return xF(fD(t,n).map(uD)).pipe(pc(dD))}}(hD(e)):null}function mD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function of(e){return e?Array.isArray(e)?e:[e]:[]}function Ba(e,n){return Array.isArray(e)?e.includes(n):e===n}function yD(e,n){const t=of(n);return of(e).forEach(o=>{Ba(t,o)||t.push(o)}),t}function CD(e,n){return of(n).filter(t=>!Ba(e,t))}class DD{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=nf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=rf(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 ot extends DD{get formDirective(){return null}get path(){return null}}class Rn extends DD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ja=(()=>{class e extends wD{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Rn,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ws("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ce]})}return e})();const Ti="VALID",Ua="INVALID",go="PENDING",Ai="DISABLED";function za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class MD{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===Ti}get invalid(){return this.status===Ua}get pending(){return this.status==go}get disabled(){return this.status===Ai}get enabled(){return this.status!==Ai}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(yD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(yD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(CD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(CD(n,this._rawAsyncValidators))}hasValidator(n){return Ba(this._rawValidators,n)}hasAsyncValidator(n){return Ba(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=go,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ai,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ti,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ti||this.status===go)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ai:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=go,this._hasOwnPendingAsyncValidator=!0;const t=uD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Ai:this.errors?Ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(go)?go:this._anyControlsHaveStatus(Ua)?Ua:Ti}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){za(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 $F(e){return Array.isArray(e)?nf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function UF(e){return Array.isArray(e)?rf(e):e||null}(this._rawAsyncValidators)}}const mo=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Ga}),Ga="always";function Ni(e,n,t=Ga){(function df(e,n){const t=function vD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(mD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function _D(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(mD(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Za(n._rawValidators,o),Za(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function qF(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&SD(e,n)})}(e,n),function ZF(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function WF(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&SD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function GF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Za(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function SD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ND(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function xD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const OD=class extends MD{constructor(n=null,t,r){super(function cf(e){return(za(e)?e.validators:e)||null}(t),function lf(e,n){return(za(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),za(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=xD(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(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){ND(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ND(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){xD(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}},nP={provide:Rn,useExisting:de(()=>Oi)},PD=(()=>Promise.resolve())();let Oi=(()=>{class e extends Rn{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new OD,this._registered=!1,this.name="",this.update=new Te,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Si?t=i:function KF(e){return Object.getPrototypeOf(e.constructor)===sr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function hf(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(){Ni(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){PD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function Sd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);PD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function qa(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(M(ot,9),M(Ke,10),M(On,10),M(Jt,10),M(hu,8),M(mo,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ye([nP]),ce,rn]})}return e})(),LD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({})}return e})();const aP={provide:Jt,useExisting:de(()=>mf),multi:!0};let mf=(()=>{class e extends sr{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[ye([aP]),ce]})}return e})();const hP={provide:Jt,useExisting:de(()=>Ri),multi:!0};function UD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ri=(()=>{class e extends sr{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 o=UD(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function pP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([hP]),ce]})}return e})(),Cf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(UD(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(r){return new(r||e)(M(xt),M(Wn),M(Ri,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const gP={provide:Jt,useExisting:de(()=>Df),multi:!0};function zD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Df=(()=>{class e extends sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ye([gP]),ce]})}return e})(),wf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(zD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(zD(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(r){return new(r||e)(M(xt),M(Wn),M(Df,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),IP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[LD]})}return e})(),SP=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:mo,useValue:t.callSetDisabledState??Ga}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e});static#n=this.\u0275inj=en({imports:[IP]})}return e})();class ew{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class TP{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.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class AP{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 Et{static roundNumber(n){return Math.floor(n*Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Et.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new AP(r))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Et.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n,t){if(""!==n&&-1===this.name.toLowerCase().indexOf(n.toLowerCase()))return!1;if(""===t||null===this.currentHistoricCoverage)return!0;if("allChanges"===t){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n,t){if(""!==n&&this.name.toLowerCase().indexOf(n.toLowerCase())>-1)return!0;for(let r=0;r{class e{get nativeWindow(){return function NP(){return window}()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=J({token:e,factory:e.\u0275fac})}return e})(),xP=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&r&&(f(),Tn("title",o.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function OP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",4),L("ngModelChange",function(o){return W(t),Z(v().showBranchCoverage=o)})("change",function(){W(t);const o=v();return Z(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),g("ngModel",t.showBranchCoverage),f(),G(" ",t.translations.branchCoverage,"")}}function RP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v().translations)}function FP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function PP(e,n){1&e&&(y(0,"a",13),A(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,In)}function kP(e,n){if(1&e){const t=be();y(0,"div",3)(1,"label")(2,"input",11),L("change",function(){const i=W(t).$implicit;return Z(v(2).toggleMetric(i))}),_(),b(3),_(),b(4,"\xa0"),k(5,PP,2,1,"a",12),_()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("checked",r.isMetricSelected(t))("disabled",!r.methodCoverageAvailable),f(),G(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function LP(e,n){if(1&e&&(Y(0),A(1,"br")(2,"br"),y(3,"b"),b(4),_(),k(5,FP,1,1,"pro-button",7)(6,kP,6,4,"div",10),K()),2&e){const t=v();f(4),N(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let VP=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Te,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Te,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Te,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Te,this.visibleMetrics=[],this.visibleMetricsChange=new Te}isMetricSelected(t){return void 0!==this.visibleMetrics.find(r=>r.name===t.name)}toggleMetric(t){let r=this.visibleMetrics.find(o=>o.name===t.name);r?this.visibleMetrics.splice(this.visibleMetrics.indexOf(r),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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),L("click",function(){return o.close()}),y(1,"div",1),L("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),L("click",function(){return o.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),L("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),_(),b(9),_()(),k(10,OP,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),L("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),_(),b(14),_(),k(15,RP,1,1,"pro-button",7),_(),k(16,LP,7,3,"ng-container",8),_()()),2&r&&(f(5),N(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(),G(" ",o.translations.coverage,""),f(),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(),G(" ",o.translations.methodCoverage,""),f(),g("ngIf",!o.methodCoverageAvailable),f(),g("ngIf",o.metrics.length>0))},dependencies:[po,rr,tf,ja,Oi,xP],encapsulation:2})}return e})();function HP(e,n){1&e&&A(0,"td",3)}function BP(e,n){1&e&&A(0,"td"),2&e&&Yt("green ",v().greenClass,"")}function jP(e,n){1&e&&A(0,"td"),2&e&&Yt("red ",v().redClass,"")}let nw=(()=>{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(r){return new(r||e)};static#t=this.\u0275cmp=nn({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(r,o){1&r&&(y(0,"table",0),k(1,HP,1,0,"td",1)(2,BP,1,3,"td",2)(3,jP,1,3,"td",2),_()),2&r&&(f(),g("ngIf",o.grayVisible),f(),g("ngIf",o.greenVisible),f(),g("ngIf",o.redVisible))},dependencies:[rr],encapsulation:2,changeDetection:0})}return e})();const $P=["codeelement-row",""];function UP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function zP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function GP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function qP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function WP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function ZP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function QP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function YP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function KP(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function JP(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function XP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ek(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function tk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function nk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function rk(e,n){1&e&&A(0,"th",5)}const ok=(e,n)=>({"icon-plus":e,"icon-minus":n});let ik=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:$P,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(r,o){1&r&&(y(0,"th")(1,"a",0),L("click",function(s){return o.element.toggleCollapse(s)}),A(2,"i",1),b(3),_()(),k(4,UP,2,1,"th",2)(5,zP,2,1,"th",2)(6,GP,2,1,"th",2)(7,qP,2,1,"th",2)(8,WP,2,2,"th",3)(9,ZP,2,1,"th",2)(10,QP,2,1,"th",2)(11,YP,2,1,"th",2)(12,KP,2,2,"th",3)(13,JP,2,1,"th",2)(14,XP,2,1,"th",2)(15,ek,2,1,"th",2)(16,tk,2,2,"th",3)(17,nk,2,1,"th",2)(18,rk,1,0,"th",4)),2&r&&(f(2),g("ngClass",ed(17,ok,o.element.collapsed,!o.element.collapsed)),f(),G(" ",o.element.name,""),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngForOf",o.visibleMetrics))},dependencies:[Ei,po,rr,nw],encapsulation:2,changeDetection:0})}return e})();const sk=["coverage-history-chart",""];let ak=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let r="";for(let o=0;o({historiccoverageoffset:e});function bk(e,n){if(1&e&&A(0,"div",11),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Ek(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),G(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Ik(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveragePercentage," ")}}function Mk(e,n){if(1&e&&(y(0,"td",9),k(1,bk,1,5,"div",10)(2,Ek,5,6,"ng-container",1)(3,Ik,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Sk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function Tk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),G(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cb," ")}}function Ak(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredBranches," ")}}function Nk(e,n){if(1&e&&(y(0,"td",6),k(1,Tk,5,6,"ng-container",1)(2,Ak,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function xk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function Ok(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalBranches," ")}}function Rk(e,n){if(1&e&&(y(0,"td",6),k(1,xk,5,3,"ng-container",1)(2,Ok,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Fk(e,n){if(1&e&&A(0,"div",14),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function Pk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),G(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.bcq,"%")}}function kk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.branchCoveragePercentage," ")}}function Lk(e,n){if(1&e&&(y(0,"td",9),k(1,Fk,1,5,"div",13)(2,Pk,5,6,"ng-container",1)(3,kk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Vk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function Hk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),G(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cm," ")}}function Bk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredMethods," ")}}function jk(e,n){if(1&e&&(y(0,"td",6),k(1,Hk,5,6,"ng-container",1)(2,Bk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function $k(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function Uk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalMethods," ")}}function zk(e,n){if(1&e&&(y(0,"td",6),k(1,$k,5,3,"ng-container",1)(2,Uk,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Gk(e,n){if(1&e&&A(0,"div",16),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",da(3,Mf,null!==t.clazz.currentHistoricCoverage))}}function qk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Yt("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),G(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.mcq,"%")}}function Wk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.methodCoveragePercentage," ")}}function Zk(e,n){if(1&e&&(y(0,"td",9),k(1,Gk,1,5,"div",15)(2,qk,5,6,"ng-container",1)(3,Wk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Qk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function Yk(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,r=v();f(),N(r.clazz.metrics[t.abbreviation])}}let Kk=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,r){return t>r?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function A2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function N2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("uncovered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function x2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverable",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function O2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function R2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function F2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function P2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function k2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("branchcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function L2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function V2(e,n){if(1&e){const t=be();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function H2(e,n){if(1&e){const t=be();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("methodcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,vt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function B2(e,n){if(1&e){const t=be();y(0,"th")(1,"a",3),L("click",function(o){const s=W(t).$implicit;return Z(v(2).updateSorting(s.abbreviation,o))}),A(2,"i",25),b(3),_(),y(4,"a",56),A(5,"i",57),_()()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("ngClass",$e(3,vt,r.settings.sortBy===t.abbreviation&&"desc"===r.settings.sortOrder,r.settings.sortBy===t.abbreviation&&"asc"===r.settings.sortOrder,r.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}function j2(e,n){if(1&e&&A(0,"tr",59),2&e){const t=v().$implicit,r=v(2);g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)}}function $2(e,n){if(1&e&&A(0,"tr",61),2&e){const t=v().$implicit,r=v(3);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function U2(e,n){if(1&e&&(Y(0),k(1,$2,1,7,"tr",60),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function z2(e,n){if(1&e&&A(0,"tr",64),2&e){const t=v().$implicit,r=v(5);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function G2(e,n){if(1&e&&(Y(0),k(1,z2,1,7,"tr",63),K()),2&e){const t=n.$implicit,r=v(2).$implicit,o=v(3);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function q2(e,n){if(1&e&&(Y(0),A(1,"tr",62),k(2,G2,2,1,"ng-container",28),K()),2&e){const t=v().$implicit,r=v(3);f(),g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics),f(),g("ngForOf",t.classes)}}function W2(e,n){if(1&e&&(Y(0),k(1,q2,3,7,"ng-container",0),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function Z2(e,n){if(1&e&&(Y(0),k(1,j2,1,6,"tr",58)(2,U2,2,1,"ng-container",28)(3,W2,2,1,"ng-container",28),K()),2&e){const t=n.$implicit,r=v(2);f(),g("ngIf",t.visible(r.settings.filter,r.settings.historyComparisionType)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function Q2(e,n){if(1&e){const t=be();y(0,"div"),k(1,Jk,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),L("click",function(o){return W(t),Z(v().collapseAll(o))}),b(5),_(),b(6," | "),y(7,"a",3),L("click",function(o){return W(t),Z(v().expandAll(o))}),b(8),_()(),y(9,"div",4)(10,"span",5),k(11,Xk,2,1,"ng-container",0)(12,e2,2,1,"ng-container",0)(13,t2,2,1,"ng-container",0),_(),A(14,"br"),b(15),y(16,"input",6),L("ngModelChange",function(o){return W(t),Z(v().settings.grouping=o)})("ngModelChange",function(){return W(t),Z(v().updateCoverageInfo())}),_()(),y(17,"div",4),k(18,l2,9,6,"ng-container",0),_(),y(19,"div",7)(20,"div")(21,"button",8),L("click",function(){return W(t),Z(v().popupVisible=!0)}),A(22,"i",9),b(23),_()(),A(24,"br"),y(25,"div")(26,"span"),b(27),_(),y(28,"input",10),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)}),_()()()(),y(29,"div",11)(30,"table",12)(31,"colgroup"),A(32,"col",13),k(33,u2,1,0,"col",14)(34,d2,1,0,"col",15)(35,f2,1,0,"col",16)(36,h2,1,0,"col",17)(37,p2,1,0,"col",18)(38,g2,1,0,"col",19)(39,m2,1,0,"col",14)(40,v2,1,0,"col",17)(41,_2,1,0,"col",18)(42,y2,1,0,"col",19)(43,C2,1,0,"col",14)(44,D2,1,0,"col",17)(45,w2,1,0,"col",18)(46,b2,1,0,"col",19)(47,E2,1,0,"col",20),_(),y(48,"thead")(49,"tr",21),A(50,"th"),k(51,I2,2,1,"th",22)(52,M2,2,1,"th",23)(53,S2,2,1,"th",23)(54,T2,2,2,"th",24),_(),y(55,"tr")(56,"th")(57,"a",3),L("click",function(o){return W(t),Z(v().updateSorting("name",o))}),A(58,"i",25),b(59),_()(),k(60,A2,4,6,"th",26)(61,N2,4,6,"th",26)(62,x2,4,6,"th",26)(63,O2,4,6,"th",26)(64,R2,4,6,"th",27)(65,F2,4,6,"th",26)(66,P2,4,6,"th",26)(67,k2,4,6,"th",27)(68,L2,4,6,"th",26)(69,V2,4,6,"th",26)(70,H2,4,6,"th",27)(71,B2,6,7,"th",28),_()(),y(72,"tbody"),k(73,Z2,4,3,"ng-container",28),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),G(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(5),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",$e(47,vt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let Y2=(()=>{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 TP,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,Et.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 o=0,i=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(r)),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 ew;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(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let c=0;c{for(let o=0;o{for(let i=0;it&&(o[i].collapsed=this.settings.collapseStates[t]),t++,r(o[i].subElements)};r(this.codeElements)}static#e=this.\u0275fac=function(r){return new(r||e)(M(If))};static#t=this.\u0275cmp=nn({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&L("beforeunload",function(){return o.onBeforeUnload()},0,yl)},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,"max","ngModel","ngModelChange"],[1,"col-right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[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,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["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"],[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(r,o){1&r&&k(0,Q2,74,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Ei,po,rr,Cf,wf,Si,mf,Ri,ja,Oi,VP,ik,Kk],encapsulation:2})}return e})();class K2{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function J2(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=n.$implicit;g("value",t),f(),N(t)}}function X2(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function eL(e,n){1&e&&(y(0,"option",23),b(1,"20"),_())}function tL(e,n){1&e&&(y(0,"option",24),b(1,"50"),_())}function nL(e,n){1&e&&(y(0,"option",25),b(1,"100"),_())}function rL(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function oL(e,n){if(1&e){const t=be();y(0,"select",17),L("ngModelChange",function(o){return W(t),Z(v(2).settings.numberOfRiskHotspots=o)}),y(1,"option",18),b(2,"10"),_(),k(3,eL,2,0,"option",19)(4,tL,2,0,"option",20)(5,nL,2,0,"option",21)(6,rL,2,2,"option",22),_()}if(2&e){const t=v(2);g("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function iL(e,n){1&e&&A(0,"col",26)}const Ya=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function sL(e,n){if(1&e){const t=be();y(0,"th")(1,"a",13),L("click",function(o){const s=W(t).index;return Z(v(2).updateSorting(""+s,o))}),A(2,"i",14),b(3),_(),y(4,"a",27),A(5,"i",28),_()()}if(2&e){const t=n.$implicit,r=n.index,o=v(2);f(2),g("ngClass",$e(3,Ya,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}const aL=(e,n)=>({lightred:e,lightgreen:n});function cL(e,n){if(1&e&&(y(0,"td",32),b(1),_()),2&e){const t=n.$implicit;g("ngClass",ed(2,aL,t.exceeded,!t.exceeded)),f(),N(t.value)}}function lL(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",29),b(5),_()(),y(6,"td",30)(7,"a",29),b(8),_()(),k(9,cL,2,5,"td",31),_()),2&e){const t=n.$implicit,r=v(2);f(2),N(t.assembly),f(2),g("href",t.reportPath+r.queryString,In),f(),N(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+r.queryString+"#file"+t.fileIndex+"_line"+t.line,In),f(),G(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function uL(e,n){if(1&e){const t=be();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),L("ngModelChange",function(o){return W(t),Z(v().settings.assembly=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),k(6,J2,2,2,"option",4),_()(),y(7,"div",5),k(8,X2,2,1,"span",0)(9,oL,7,5,"select",6),_(),A(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),A(18,"col",11)(19,"col",11)(20,"col",11),k(21,iL,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("assembly",o))}),A(26,"i",14),b(27),_()(),y(28,"th")(29,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("class",o))}),A(30,"i",14),b(31),_()(),y(32,"th")(33,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("method",o))}),A(34,"i",14),b(35),_()(),k(36,sL,6,7,"th",15),_()(),y(37,"tbody"),k(38,lL,10,7,"tr",15),function Z_(e,n){const t=te();let r;const o=e+j;t.firstCreatePass?(r=function TA(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Bn(r.type)),a=st(M);try{const c=ns(!1),l=i();return ns(c),function $1(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,C(),o,l),l}finally{st(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),g("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",$e(20,Ya,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),g("ngClass",$e(24,Ya,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),g("ngClass",$e(28,Ya,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",Q_(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let dL=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new K2,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 ew;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:[Ei,po,rr,Cf,wf,Si,Ri,ja,Oi,gC],encapsulation:2})}return e})(),fL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vn({type:e,bootstrap:[dL,Y2]});static#n=this.\u0275inj=en({providers:[If],imports:[ZR,SP]})}return e})();qR().bootstrapModule(fL).catch(e=>console.error(e))}},Ja=>{Ja(Ja.s=355)}]); +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(s.injectImpl):null;rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Z0)}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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");let lb=(()=>{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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="ng-app-id";let ub=(()=>{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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,e))}let hb=(()=>{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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(lb),oe(ub),oe(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DF extends Wf{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=fb(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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{class e extends cb{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{class e extends cb{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(()=>rs().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."),mb.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=IF[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"),mb.forEach(s=>{s!==r&&(0,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Ah(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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-down-dir":t});function CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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"],[1,"icon-down-dir",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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); ------=_NextPart_000_0000_01D23618.54EBCBE0 Content-Type: application/javascript; @@ -2074,10 +2074,11 @@ th { text-align: left; } .overview th a { color: #000; } .overview tr.namespace a { margin-left: 15px; display: block; } .overview td { border: 1px solid #c1c1c1; border-collapse: collapse; padding: 2px 5px 2px 5px; } +.overview tr.filterbar td { height: 60px; } .overview tr.header th { background-color: #d1d1d1; } .overview tr.header th:nth-child(2n+1) { background-color: #ddd; } .overview tr.header th:first-child { border-left: 1px solid #fff; border-top: 1px solid #fff; background-color: #fff; } -.overview tr:hover>td { background-color: #b0b0b0; } +.overview tbody tr:hover>td { background-color: #b0b0b0; } div.currenthistory { margin: -2px -5px 0 -5px; padding: 2px 5px 2px 5px; height: 16px; } .coverage { border-collapse: collapse; font-size: 5px; height: 10px; } @@ -2532,6 +2533,40 @@ code { font-family: Consolas, monospace; font-size: 0.9em; } display: inline-block; } +.ngx-slider .ngx-slider-bar { + background: #a9a9a9 !important; +} + +.ngx-slider .ngx-slider-selection { + background: #818181 !important; +} + +.ngx-slider .ngx-slider-bubble { + padding: 3px 4px !important; + font-size: 12px !important; +} + +.ngx-slider .ngx-slider-pointer { + width: 20px !important; + height: 20px !important; + top: -8px !important; + background-color: #0075FF !important; + -webkit-border-radius: 10px !important; + -moz-border-radius: 10px !important; + border-radius: 10px !important; +} + + .ngx-slider .ngx-slider-pointer:after { + content: none !important; + } + +.ngx-slider .ngx-slider-tick.ngx-slider-selected { + background-color: #62a5f4 !important; + width: 8px !important; + height: 8px !important; + top: 1px !important; +} + @media (prefers-color-scheme: dark) { diff --git a/docs/resources/reports/MarkdownAssembliesSummary/Summary.md b/docs/resources/reports/MarkdownAssembliesSummary/Summary.md index e083a528..64d93b62 100644 --- a/docs/resources/reports/MarkdownAssembliesSummary/Summary.md +++ b/docs/resources/reports/MarkdownAssembliesSummary/Summary.md @@ -1,5 +1,7 @@ # Summary + ![Line coverage](https://img.shields.io/badge/lines-69.4%-C10909) ![Branch coverage](https://img.shields.io/badge/branches-50%-C10909) ![Method coverage](https://img.shields.io/badge/methods-66.6%-C10909) + |**Assembly**|**Line coverage**|**Branch coverage**|**Method coverage**| |:---|---:|---:|---:| |**Sample**|**69.4%**|**50%**|**66.6%**| diff --git a/docs/resources/reports/MarkdownDeltaSummary/DeltaSummary.md b/docs/resources/reports/MarkdownDeltaSummary/DeltaSummary.md index be544d85..63f64140 100644 --- a/docs/resources/reports/MarkdownDeltaSummary/DeltaSummary.md +++ b/docs/resources/reports/MarkdownDeltaSummary/DeltaSummary.md @@ -1,9 +1,9 @@ # Delta Summary ||||| |:---|---:|---:|---:| -| Generated on: | 14.01.2024 - 21:25 | | | +| Generated on: | 14.05.2024 - 20:56 | | | | Description | **Previous** | **Current** | **Delta** | -| Coverage date: | 09.02.2022 - 20:50 | 14.01.2024 - 21:25 | | +| Coverage date: | 09.02.2022 - 20:50 | 14.05.2024 - 20:56 | | | **Line coverage:** | 58.4% | 69.4% | 11.0% | | Covered lines: | 73 | 75 | 2 | | Coverable lines: | 125 | 108 | -17 | diff --git a/docs/resources/reports/MarkdownSummary/Summary.md b/docs/resources/reports/MarkdownSummary/Summary.md index 99615ab0..03f959d1 100644 --- a/docs/resources/reports/MarkdownSummary/Summary.md +++ b/docs/resources/reports/MarkdownSummary/Summary.md @@ -1,7 +1,7 @@ # Summary ||| |:---|:---| -| Generated on: | 14.01.2024 - 21:25:32 | +| Generated on: | 14.05.2024 - 20:56:31 | | Parser: | OpenCover | | Assemblies: | 1 | | Classes: | 4 | diff --git a/docs/resources/reports/MarkdownSummaryGithub/SummaryGithub.md b/docs/resources/reports/MarkdownSummaryGithub/SummaryGithub.md index 8f475d8e..c4091df4 100644 --- a/docs/resources/reports/MarkdownSummaryGithub/SummaryGithub.md +++ b/docs/resources/reports/MarkdownSummaryGithub/SummaryGithub.md @@ -3,7 +3,7 @@ ||| |:---|:---| -| Generated on: | 14.01.2024 - 21:25:35 | +| Generated on: | 14.05.2024 - 20:56:32 | | Parser: | OpenCover | | Assemblies: | 1 | | Classes: | 4 | diff --git a/docs/resources/reports/OpenCover/OpenCover.xml b/docs/resources/reports/OpenCover/OpenCover.xml index 2d706ddf..1b581035 100644 --- a/docs/resources/reports/OpenCover/OpenCover.xml +++ b/docs/resources/reports/OpenCover/OpenCover.xml @@ -5,7 +5,7 @@ Sample - 2024-01-14T20:25:35.6149312Z + 2024-05-14T18:56:33.7612955Z Sample diff --git a/docs/resources/reports/TextDeltaSummary/DeltaSummary.txt b/docs/resources/reports/TextDeltaSummary/DeltaSummary.txt index d0ed531f..74b5196f 100644 --- a/docs/resources/reports/TextDeltaSummary/DeltaSummary.txt +++ b/docs/resources/reports/TextDeltaSummary/DeltaSummary.txt @@ -1,7 +1,7 @@ Delta Summary - Generated on: 14.01.2024 - 21:25 + Generated on: 14.05.2024 - 20:56 Description Previous Current Delta - Coverage date: 09.02.2022 - 20:50 14.01.2024 - 21:25 + Coverage date: 09.02.2022 - 20:50 14.05.2024 - 20:56 Line coverage: 58.4% 69.4% 11.0% Covered lines: 73 75 2 Coverable lines: 125 108 -17 diff --git a/docs/resources/reports/TextSummary/Summary.txt b/docs/resources/reports/TextSummary/Summary.txt index f0a7fd0d..cdbbafc3 100644 --- a/docs/resources/reports/TextSummary/Summary.txt +++ b/docs/resources/reports/TextSummary/Summary.txt @@ -1,5 +1,5 @@ Summary - Generated on: 14.01.2024 - 21:25:32 + Generated on: 14.05.2024 - 20:56:29 Parser: OpenCover Assemblies: 1 Classes: 4 diff --git a/docs/resources/reports/Xml/Summary.xml b/docs/resources/reports/Xml/Summary.xml index 15409998..34d2e3a7 100644 --- a/docs/resources/reports/Xml/Summary.xml +++ b/docs/resources/reports/Xml/Summary.xml @@ -1,7 +1,7 @@ - 14.01.2024 - 21:25:29 + 14.05.2024 - 20:56:27 OpenCover 1 4 diff --git a/docs/resources/reports/XmlSummary/Summary.xml b/docs/resources/reports/XmlSummary/Summary.xml index 8a3cc19c..9f22a4d5 100644 --- a/docs/resources/reports/XmlSummary/Summary.xml +++ b/docs/resources/reports/XmlSummary/Summary.xml @@ -1,7 +1,7 @@ - 14.01.2024 - 21:25:30 + 14.05.2024 - 20:56:28 OpenCover 1 4 diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index 44f2797b..e12cd000 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -12,8 +12,8 @@ "author": "Palmmedia", "version": { "Major": 5, - "Minor": 2, - "Patch": 5 + "Minor": 3, + "Patch": 0 }, "instanceNameFormat": "ReportGenerator", "groups": [ diff --git a/src/AzureDevopsTask/vss-extension.json b/src/AzureDevopsTask/vss-extension.json index b9eef26d..ef08b0eb 100644 --- a/src/AzureDevopsTask/vss-extension.json +++ b/src/AzureDevopsTask/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "reportgenerator", "name": "ReportGenerator", - "version": "5.2.5", + "version": "5.3.0", "publisher": "Palmmedia", "public": true, "targets": [ diff --git a/src/Deployment/nuget/Readme_ReportGenerator.md b/src/Deployment/nuget/Readme_ReportGenerator.md index 084278f2..18d2aab6 100644 --- a/src/Deployment/nuget/Readme_ReportGenerator.md +++ b/src/Deployment/nuget/Readme_ReportGenerator.md @@ -13,13 +13,13 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### .NET Core ``` -dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.2.5\tools\net8.0\ReportGenerator.dll [options] -$(UserProfile)\.nuget\packages\reportgenerator\5.2.5\tools\net8.0\ReportGenerator.exe [options] +dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.3.0\tools\net8.0\ReportGenerator.dll [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.3.0\tools\net8.0\ReportGenerator.exe [options] ``` ### .NET Framework ``` -$(UserProfile)\.nuget\packages\reportgenerator\5.2.5\tools\net47\ReportGenerator.exe [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.3.0\tools\net47\ReportGenerator.exe [options] ``` ## Additional information diff --git a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md index bb3ca6e5..99b66691 100644 --- a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md +++ b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md @@ -13,12 +13,12 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### Installation ``` -dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.2.5 +dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.3.0 -dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.2.5 +dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.3.0 dotnet new tool-manifest -dotnet tool install dotnet-reportgenerator-globaltool --version 5.2.5 +dotnet tool install dotnet-reportgenerator-globaltool --version 5.3.0 ``` ### Execution diff --git a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj index ddd0d9f7..e03dd19f 100644 --- a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj +++ b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.Console.NetCore.Program - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 diff --git a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj index a243a213..e8411891 100644 --- a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj +++ b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj @@ -8,8 +8,8 @@ ReportGenerator.Console ReportGenerator.Console Copyright © 2022 - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 bin\$(Configuration)\ false diff --git a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj index c12bc5f5..4956b155 100644 --- a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj +++ b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj @@ -4,8 +4,8 @@ net7.0 false Palmmedia.ReportGenerator.Core.Test - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 false diff --git a/src/ReportGenerator.Core/ReportGenerator.Core.csproj b/src/ReportGenerator.Core/ReportGenerator.Core.csproj index 5cad3db6..78151c4d 100644 --- a/src/ReportGenerator.Core/ReportGenerator.Core.csproj +++ b/src/ReportGenerator.Core/ReportGenerator.Core.csproj @@ -7,8 +7,8 @@ false true ReportGenerator.Core - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 diff --git a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj index d6e3c3fa..cbf2631e 100644 --- a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj +++ b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj @@ -2,8 +2,8 @@ net6.0;net7.0;net8.0 ReportGenerator.DotnetCorePluginLoader - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 True diff --git a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj index 8249fba9..e5576c3d 100644 --- a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj +++ b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.DotnetGlobalTool.Program - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 diff --git a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj index 75122cb9..b6527586 100644 --- a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj +++ b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj @@ -5,8 +5,8 @@ Palmmedia.ReportGenerator.MSBuild false true - 5.2.5.0 - 5.2.5.0 + 5.3.0.0 + 5.3.0.0 diff --git a/src/build.proj b/src/build.proj index 239fa3ea..78741113 100644 --- a/src/build.proj +++ b/src/build.proj @@ -22,7 +22,7 @@ - 5.2.5 + 5.3.0