diff --git a/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts b/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts
index ae9ae924..c8a41cf3 100644
--- a/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts
+++ b/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts
@@ -122,62 +122,62 @@ import { Helper } from "./viewmodels/helper.class";
0"> |
- {{translations.name}} |
- {{translations.covered}} |
- {{translations.uncovered}} |
- {{translations.coverable}} |
- {{translations.total}} |
+ {{translations.name}} |
+ {{translations.covered}} |
+ {{translations.uncovered}} |
+ {{translations.coverable}} |
+ {{translations.total}} |
- {{translations.percentage}} |
- {{translations.covered}} |
- {{translations.total}} |
+ {{translations.percentage}}
+ {{translations.covered}} |
+ {{translations.total}} |
- {{translations.percentage}} |
- {{translations.covered}} |
- {{translations.total}} |
+ {{translations.percentage}}
+ {{translations.covered}} |
+ {{translations.total}} |
- {{translations.percentage}} |
+ {{translations.percentage}}
- {{metric.name}}
+ {{metric.name}}
|
diff --git a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts
index c06fc5f8..d8a573be 100644
--- a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts
+++ b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts
@@ -43,23 +43,23 @@ import { RiskHotspotsSettings } from "./data/riskhotspots-settings.class";
- {{translations.assembly}} |
- {{translations.class}} |
- {{translations.method}} |
+ {{translations.assembly}} |
+ {{translations.class}} |
+ {{translations.method}} |
- {{riskHotspotMetric.name}}
+ {{riskHotspotMetric.name}}
|
@@ -215,4 +215,4 @@ export class RiskHotspotsComponent implements OnInit {
console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`);
this.updateRiskHotpots();
}
-}
\ No newline at end of file
+}
diff --git a/src/AngularComponents/src/assets/report.css b/src/AngularComponents/src/assets/report.css
index 017bf11a..14ad89dd 100644
--- a/src/AngularComponents/src/assets/report.css
+++ b/src/AngularComponents/src/assets/report.css
@@ -405,8 +405,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
.overview colgroup col:first-child { width: 300px; }
}
-.icon-up-dir_active {
- background-image: url(icon_up-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDEyMTZxMCAyNi0xOSA0NXQtNDUgMTloLTg5NnEtMjYgMC00NS0xOXQtMTktNDUgMTktNDVsNDQ4LTQ0OHExOS0xOSA0NS0xOXQ0NSAxOWw0NDggNDQ4cTE5IDE5IDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-up-down-dir {
+ background-image: url(icon_up-down-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -415,8 +415,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
position: relative;
top: 3px;
}
-.icon-down-dir_active {
- background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-up-dir_active {
+ background-image: url(icon_up-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDEyMTZxMCAyNi0xOSA0NXQtNDUgMTloLTg5NnEtMjYgMC00NS0xOXQtMTktNDUgMTktNDVsNDQ4LTQ0OHExOS0xOSA0NS0xOXQ0NSAxOWw0NDggNDQ4cTE5IDE5IDE5IDQ1eiIvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -425,8 +425,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
position: relative;
top: 3px;
}
-.icon-down-dir {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-down-dir_active {
+ background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -528,8 +528,12 @@ 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: #D1D1D1 !important;
+ background: #818181 !important;
}
.ngx-slider .ngx-slider-bubble {
@@ -537,10 +541,6 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
font-size: 12px !important;
}
-.ngx-slider .ngx-slider-bubble.ngx-slider-limit {
- color: #000000 !important;
-}
-
.ngx-slider .ngx-slider-pointer {
width: 20px !important;
height: 20px !important;
@@ -551,9 +551,9 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
border-radius: 10px !important;
}
-.ngx-slider .ngx-slider-pointer:after {
- content: none !important;
-}
+ .ngx-slider .ngx-slider-pointer:after {
+ content: none !important;
+ }
.ngx-slider .ngx-slider-tick.ngx-slider-selected {
background-color: #62a5f4 !important;
diff --git a/src/Readme.txt b/src/Readme.txt
index 0bf61e38..495b0f85 100644
--- a/src/Readme.txt
+++ b/src/Readme.txt
@@ -70,6 +70,7 @@ CHANGELOG
5.3.7.0
* Fix: Exclude empty modules/assemblies from reports
+ * Fix: Fix sort direction triangles (contributed by @YuriyDurov)
5.3.6.0
@@ -111,7 +112,7 @@ CHANGELOG
5.2.1.0
- * New: Added 'Crap Score' metric for Coberatura coverage files (contrbuted by @rikrak)
+ * New: Added 'Crap Score' metric for Coberatura coverage files (contributed by @rikrak)
* New: #645 Added new report type 'CodeClimate'
5.2.0.0
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines.css
index d64e0691..d1140369 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines.css
@@ -397,8 +397,8 @@ a.percentagebar {
.overview colgroup col:first-child { width: 300px; }
}
-.icon-up-dir_active {
- background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgd2lkdGg9IjE3OTIiIGhlaWdodD0iMTc5MiIgdmlld0JveD0iMCAwIDE3OTIgMTc5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA3OEQ0IiBkPSJNMTQwOCAxMjE2cTAgMjYtMTkgNDV0LTQ1IDE5aC04OTZxLTI2IDAtNDUtMTl0LTE5LTQ1IDE5LTQ1bDQ0OC00NDhxMTktMTkgNDUtMTl0NDUgMTlsNDQ4IDQ0OHExOSAxOSAxOSA0NXoiLz48L3N2Zz4=);
+.icon-up-down-dir {
+ background-image: url(icon_up-down-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -407,8 +407,8 @@ a.percentagebar {
position: relative;
top: 3px;
}
-.icon-down-dir_active {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgd2lkdGg9IjE3OTIiIGhlaWdodD0iMTc5MiIgdmlld0JveD0iMCAwIDE3OTIgMTc5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA3OEQ0IiBkPSJNMTQwOCA3MDRxMCAyNi0xOSA0NWwtNDQ4IDQ0OHEtMTkgMTktNDUgMTl0LTQ1LTE5bC00NDgtNDQ4cS0xOS0xOS0xOS00NXQxOS00NSA0NS0xOWg4OTZxMjYgMCA0NSAxOXQxOSA0NXoiLz48L3N2Zz4=);
+.icon-up-dir_active {
+ background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgd2lkdGg9IjE3OTIiIGhlaWdodD0iMTc5MiIgdmlld0JveD0iMCAwIDE3OTIgMTc5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA3OEQ0IiBkPSJNMTQwOCAxMjE2cTAgMjYtMTkgNDV0LTQ1IDE5aC04OTZxLTI2IDAtNDUtMTl0LTE5LTQ1IDE5LTQ1bDQ0OC00NDhxMTktMTkgNDUtMTl0NDUgMTlsNDQ4IDQ0OHExOSAxOSAxOSA0NXoiLz48L3N2Zz4=);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -417,8 +417,8 @@ a.percentagebar {
position: relative;
top: 3px;
}
-.icon-down-dir {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-down-dir_active {
+ background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgd2lkdGg9IjE3OTIiIGhlaWdodD0iMTc5MiIgdmlld0JveD0iMCAwIDE3OTIgMTc5MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA3OEQ0IiBkPSJNMTQwOCA3MDRxMCAyNi0xOSA0NWwtNDQ4IDQ0OHEtMTkgMTktNDUgMTl0LTQ1LTE5bC00NDgtNDQ4cS0xOS0xOS0xOS00NXQxOS00NSA0NS0xOWg4OTZxMjYgMCA0NSAxOXQxOSA0NXoiLz48L3N2Zz4=);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_adaptive.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_adaptive.css
index 2f21a054..ac9ade67 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_adaptive.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_adaptive.css
@@ -43,8 +43,8 @@
.tinybranchcoveragechart .ct-series.ct-series-a .ct-line { stroke: #6dc428 !important; }
.tinymethodcoveragechart .ct-series.ct-series-a .ct-line { stroke: #e58f1d !important; }
- .icon-down-dir {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSIxNzkyIiBoZWlnaHQ9IjE3OTIiIHZpZXdCb3g9IjAgMCAxNzkyIDE3OTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0JGQkZDMCIgZD0iTTE0MDggNzA0cTAgMjYtMTkgNDVsLTQ0OCA0NDhxLTE5IDE5LTQ1IDE5dC00NS0xOWwtNDQ4LTQ0OHEtMTktMTktMTktNDV0MTktNDUgNDUtMTloODk2cTI2IDAgNDUgMTl0MTkgNDV6Ii8+PC9zdmc+);
+ .icon-up-down-dir {
+ background-image: url(icon_up-down-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
}
.icon-info-circled {
background-image: url(icon_info-circled.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9Ijg5NiIgY3k9Ijg5NiIgcj0iNzUwIiBmaWxsPSIjZmZmIiAvPjxwYXRoIGZpbGw9IiMyOEE1RkYiIGQ9Ik0xMTUyIDEzNzZ2LTE2MHEwLTE0LTktMjN0LTIzLTloLTk2di01MTJxMC0xNC05LTIzdC0yMy05aC0zMjBxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloOTZ2MzIwaC05NnEtMTQgMC0yMyA5dC05IDIzdjE2MHEwIDE0IDkgMjN0MjMgOWg0NDhxMTQgMCAyMy05dDktMjN6bS0xMjgtODk2di0xNjBxMC0xNC05LTIzdC0yMy05aC0xOTJxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloMTkycTE0IDAgMjMtOXQ5LTIzem02NDAgNDE2cTAgMjA5LTEwMyAzODUuNXQtMjc5LjUgMjc5LjUtMzg1LjUgMTAzLTM4NS41LTEwMy0yNzkuNS0yNzkuNS0xMDMtMzg1LjUgMTAzLTM4NS41IDI3OS41LTI3OS41IDM4NS41LTEwMyAzODUuNSAxMDMgMjc5LjUgMjc5LjUgMTAzIDM4NS41eiIvPjwvc3ZnPg==);
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_dark.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_dark.css
index 1ddb4559..8a8036ba 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_dark.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom-azurepipelines_dark.css
@@ -42,8 +42,8 @@
.tinybranchcoveragechart .ct-series.ct-series-a .ct-line { stroke: #6dc428 !important; }
.tinymethodcoveragechart .ct-series.ct-series-a .ct-line { stroke: #e58f1d !important; }
- .icon-down-dir {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSIxNzkyIiBoZWlnaHQ9IjE3OTIiIHZpZXdCb3g9IjAgMCAxNzkyIDE3OTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0JGQkZDMCIgZD0iTTE0MDggNzA0cTAgMjYtMTkgNDVsLTQ0OCA0NDhxLTE5IDE5LTQ1IDE5dC00NS0xOWwtNDQ4LTQ0OHEtMTktMTktMTktNDV0MTktNDUgNDUtMTloODk2cTI2IDAgNDUgMTl0MTkgNDV6Ii8+PC9zdmc+);
+ .icon-up-down-dir {
+ background-image: url(icon_up-down-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
}
.icon-info-circled {
background-image: url(icon_info-circled.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9Ijg5NiIgY3k9Ijg5NiIgcj0iNzUwIiBmaWxsPSIjZmZmIiAvPjxwYXRoIGZpbGw9IiMyOEE1RkYiIGQ9Ik0xMTUyIDEzNzZ2LTE2MHEwLTE0LTktMjN0LTIzLTloLTk2di01MTJxMC0xNC05LTIzdC0yMy05aC0zMjBxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloOTZ2MzIwaC05NnEtMTQgMC0yMyA5dC05IDIzdjE2MHEwIDE0IDkgMjN0MjMgOWg0NDhxMTQgMCAyMy05dDktMjN6bS0xMjgtODk2di0xNjBxMC0xNC05LTIzdC0yMy05aC0xOTJxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloMTkycTE0IDAgMjMtOXQ5LTIzem02NDAgNDE2cTAgMjA5LTEwMyAzODUuNXQtMjc5LjUgMjc5LjUtMzg1LjUgMTAzLTM4NS41LTEwMy0yNzkuNS0yNzkuNS0xMDMtMzg1LjUgMTAzLTM4NS41IDI3OS41LTI3OS41IDM4NS41LTEwMyAzODUuNSAxMDMgMjc5LjUgMjc5LjUgMTAzIDM4NS41eiIvPjwvc3ZnPg==);
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom.css
index f289f3a3..14ad89dd 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom.css
@@ -405,8 +405,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
.overview colgroup col:first-child { width: 300px; }
}
-.icon-up-dir_active {
- background-image: url(icon_up-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDEyMTZxMCAyNi0xOSA0NXQtNDUgMTloLTg5NnEtMjYgMC00NS0xOXQtMTktNDUgMTktNDVsNDQ4LTQ0OHExOS0xOSA0NS0xOXQ0NSAxOWw0NDggNDQ4cTE5IDE5IDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-up-down-dir {
+ background-image: url(icon_up-down-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -415,8 +415,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
position: relative;
top: 3px;
}
-.icon-down-dir_active {
- background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-up-dir_active {
+ background-image: url(icon_up-dir.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDEyMTZxMCAyNi0xOSA0NXQtNDUgMTloLTg5NnEtMjYgMC00NS0xOXQtMTktNDUgMTktNDVsNDQ4LTQ0OHExOS0xOSA0NS0xOXQ0NSAxOWw0NDggNDQ4cTE5IDE5IDE5IDQ1eiIvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
@@ -425,8 +425,8 @@ code { font-family: Consolas, monospace; font-size: 0.9em; }
position: relative;
top: 3px;
}
-.icon-down-dir {
- background-image: url(icon_down-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
+.icon-down-dir_active {
+ background-image: url(icon_up-dir_active.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNjMDAiIGQ9Ik0xNDA4IDcwNHEwIDI2LTE5IDQ1bC00NDggNDQ4cS0xOSAxOS00NSAxOXQtNDUtMTlsLTQ0OC00NDhxLTE5LTE5LTE5LTQ1dDE5LTQ1IDQ1LTE5aDg5NnEyNiAwIDQ1IDE5dDE5IDQ1eiIvPjwvc3ZnPg==);
background-repeat: no-repeat;
background-size: contain;
padding-left: 15px;
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_adaptive.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_adaptive.css
index 5a0974a3..0d5426ea 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_adaptive.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_adaptive.css
@@ -205,10 +205,9 @@
stroke: #e58f1d !important;
}
- .icon-down-dir {
- background-image: url(icon_down-dir_active_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSIxNzkyIiBoZWlnaHQ9IjE3OTIiIHZpZXdCb3g9IjAgMCAxNzkyIDE3OTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0JGQkZDMCIgZD0iTTE0MDggNzA0cTAgMjYtMTkgNDVsLTQ0OCA0NDhxLTE5IDE5LTQ1IDE5dC00NS0xOWwtNDQ4LTQ0OHEtMTktMTktMTktNDV0MTktNDUgNDUtMTloODk2cTI2IDAgNDUgMTl0MTkgNDV6Ii8+PC9zdmc+);
+ .icon-up-down-dir {
+ background-image: url(icon_up-down-dir_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
}
-
.icon-info-circled {
background-image: url(icon_info-circled_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9Ijg5NiIgY3k9Ijg5NiIgcj0iNzUwIiBmaWxsPSIjZmZmIiAvPjxwYXRoIGZpbGw9IiMyOEE1RkYiIGQ9Ik0xMTUyIDEzNzZ2LTE2MHEwLTE0LTktMjN0LTIzLTloLTk2di01MTJxMC0xNC05LTIzdC0yMy05aC0zMjBxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloOTZ2MzIwaC05NnEtMTQgMC0yMyA5dC05IDIzdjE2MHEwIDE0IDkgMjN0MjMgOWg0NDhxMTQgMCAyMy05dDktMjN6bS0xMjgtODk2di0xNjBxMC0xNC05LTIzdC0yMy05aC0xOTJxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloMTkycTE0IDAgMjMtOXQ5LTIzem02NDAgNDE2cTAgMjA5LTEwMyAzODUuNXQtMjc5LjUgMjc5LjUtMzg1LjUgMTAzLTM4NS41LTEwMy0yNzkuNS0yNzkuNS0xMDMtMzg1LjUgMTAzLTM4NS41IDI3OS41LTI3OS41IDM4NS41LTEwMyAzODUuNSAxMDMgMjc5LjUgMjc5LjUgMTAzIDM4NS41eiIvPjwvc3ZnPg==);
}
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_dark.css b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_dark.css
index 07145684..dedb47cd 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_dark.css
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/custom_dark.css
@@ -205,10 +205,9 @@
stroke: #e58f1d !important;
}
- .icon-down-dir {
- background-image: url(icon_down-dir_active_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSIxNzkyIiBoZWlnaHQ9IjE3OTIiIHZpZXdCb3g9IjAgMCAxNzkyIDE3OTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0JGQkZDMCIgZD0iTTE0MDggNzA0cTAgMjYtMTkgNDVsLTQ0OCA0NDhxLTE5IDE5LTQ1IDE5dC00NS0xOWwtNDQ4LTQ0OHEtMTktMTktMTktNDV0MTktNDUgNDUtMTloODk2cTI2IDAgNDUgMTl0MTkgNDV6Ii8+PC9zdmc+);
+ .icon-up-down-dir {
+ background-image: url(icon_up-down-dir_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCw3NDIgcSAwLDI2IC0xOSw0NSAtMTksMTkgLTQ1LDE5IEggNDQ4IHEgLTI2LDAgLTQ1LC0xOSAtMTksLTE5IC0xOSwtNDUgMCwtMjYgMTksLTQ1IEwgODUxLDI0OSBxIDE5LC0xOSA0NSwtMTkgMjYsMCA0NSwxOSBsIDQ0OCw0NDggcSAxOSwxOSAxOSw0NSB6IiAvPjxwYXRoIGZpbGw9IiNCRkJGQzAiIGQ9Im0gMTQwOCwxMDUwIHEgMCwyNiAtMTksNDUgbCAtNDQ4LDQ0OCBxIC0xOSwxOSAtNDUsMTkgLTI2LDAgLTQ1LC0xOSBMIDQwMywxMDk1IHEgLTE5LC0xOSAtMTksLTQ1IDAsLTI2IDE5LC00NSAxOSwtMTkgNDUsLTE5IGggODk2IHEgMjYsMCA0NSwxOSAxOSwxOSAxOSw0NSB6IiAvPjwvc3ZnPg==);
}
-
.icon-info-circled {
background-image: url(icon_info-circled_dark.svg), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9Ijg5NiIgY3k9Ijg5NiIgcj0iNzUwIiBmaWxsPSIjZmZmIiAvPjxwYXRoIGZpbGw9IiMyOEE1RkYiIGQ9Ik0xMTUyIDEzNzZ2LTE2MHEwLTE0LTktMjN0LTIzLTloLTk2di01MTJxMC0xNC05LTIzdC0yMy05aC0zMjBxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloOTZ2MzIwaC05NnEtMTQgMC0yMyA5dC05IDIzdjE2MHEwIDE0IDkgMjN0MjMgOWg0NDhxMTQgMCAyMy05dDktMjN6bS0xMjgtODk2di0xNjBxMC0xNC05LTIzdC0yMy05aC0xOTJxLTE0IDAtMjMgOXQtOSAyM3YxNjBxMCAxNCA5IDIzdDIzIDloMTkycTE0IDAgMjMtOXQ5LTIzem02NDAgNDE2cTAgMjA5LTEwMyAzODUuNXQtMjc5LjUgMjc5LjUtMzg1LjUgMTAzLTM4NS41LTEwMy0yNzkuNS0yNzkuNS0xMDMtMzg1LjUgMTAzLTM4NS41IDI3OS41LTI3OS41IDM4NS41LTEwMyAzODUuNSAxMDMgMjc5LjUgMjc5LjUgMTAzIDM4NS41eiIvPjwvc3ZnPg==);
}
diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js
index 6fd736af..bf469cd9 100644
--- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js
+++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{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(""),this.buf.push(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
+"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(""),this.buf.push(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-up-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&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===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&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===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&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===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&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===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"],[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-up-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&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===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&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===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