diff --git a/.coverage/History/2024-02-13_23-12-28_CoverageHistory.xml b/.coverage/History/2024-02-13_23-12-28_CoverageHistory.xml new file mode 100644 index 0000000..a6cbb86 --- /dev/null +++ b/.coverage/History/2024-02-13_23-12-28_CoverageHistory.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.coverage/SummaryGithub.md b/.coverage/SummaryGithub.md index e32e8a3..b0eb24c 100644 --- a/.coverage/SummaryGithub.md +++ b/.coverage/SummaryGithub.md @@ -3,38 +3,38 @@ ||| |:---|:---| -| Generated on: | 8/28/2023 - 9:59:18 PM | -| Coverage date: | 8/28/2023 - 9:59:00 PM | +| Generated on: | 2/13/2024 - 11:12:28 PM | +| Coverage date: | 2/13/2024 - 11:12:26 PM | | Parser: | Cobertura | | Assemblies: | 1 | | Classes: | 14 | | Files: | 14 | -| **Line coverage:** | 86.7% (492 of 567) | -| Covered lines: | 492 | -| Uncovered lines: | 75 | +| **Line coverage:** | 82.8% (470 of 567) | +| Covered lines: | 470 | +| Uncovered lines: | 97 | | Coverable lines: | 567 | | Total lines: | 1174 | | **Branch coverage:** | 72.6% (170 of 234) | | Covered branches: | 170 | | Total branches: | 234 | -| **Method coverage:** | 89.2% (75 of 84) | -| Covered methods: | 75 | +| **Method coverage:** | 86.9% (73 of 84) | +| Covered methods: | 73 | | Total methods: | 84 | ## Coverage -
ChocolateStoreCore - 86.7% +
ChocolateStoreCore - 82.8% |**Name**|**Line**|**Branch**|**Method**| |:---|---:|---:|---:| -|**ChocolateStoreCore**|**86.7%**|**72.6%**|**89.2%**| +|**ChocolateStoreCore**|**82.8%**|**72.6%**|**86.9%**| |ChocolateStoreCore.App|90%|64.2%|100%| |ChocolateStoreCore.ArgsOptions|0%||0%| |ChocolateStoreCore.Exceptions.DownloadException|0%||0%| |ChocolateStoreCore.Helpers.ChocolateyHelper|96%|72.2%|100%| |ChocolateStoreCore.Helpers.HttpHelper|71.1%|64.2%|100%| -|ChocolateStoreCore.Helpers.ServiceHelper|68.7%||100%| +|ChocolateStoreCore.Helpers.ServiceHelper|0%||0%| |ChocolateStoreCore.Helpers.StringHelper|97.5%|85%|100%| |ChocolateStoreCore.Models.ChocolateyPackage|88.8%|75%|100%| |ChocolateStoreCore.Models.Dependency|100%||100%| @@ -42,6 +42,6 @@ |ChocolateStoreCore.Models.Settings|75.6%|50%|91.6%| |ChocolateStoreCore.Models.StorePackage|100%||100%| |ChocolateStoreCore.PackageCacher|87%|81.2%|83.3%| -|ChocolateStoreCore.Program|66.6%|0%|66.6%| +|ChocolateStoreCore.Program|25.9%|0%|33.3%|
diff --git a/.coverage/badge_branchcoverage.svg b/.coverage/badge_branchcoverage.svg index 790ff3f..40060d3 100644 --- a/.coverage/badge_branchcoverage.svg +++ b/.coverage/badge_branchcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.1.24.0 + Generated by: ReportGenerator 5.2.1.0 diff --git a/.coverage/badge_combined.svg b/.coverage/badge_combined.svg index cf680b8..b850b50 100644 --- a/.coverage/badge_combined.svg +++ b/.coverage/badge_combined.svg @@ -94,15 +94,15 @@ - Generated by: ReportGenerator 5.1.24.0 + Generated by: ReportGenerator 5.2.1.0 Coverage Coverage - 86.7%86.7% + 82.8%82.8% 72.6%72.6% - 89.2%89.2% + 86.9%86.9% diff --git a/.coverage/badge_linecoverage.svg b/.coverage/badge_linecoverage.svg index 89b5f53..47ba2ac 100644 --- a/.coverage/badge_linecoverage.svg +++ b/.coverage/badge_linecoverage.svg @@ -94,13 +94,13 @@ - Generated by: ReportGenerator 5.1.24.0 + Generated by: ReportGenerator 5.2.1.0 Coverage Coverage - 86.7%86.7% + 82.8%82.8% diff --git a/.coverage/badge_methodcoverage.svg b/.coverage/badge_methodcoverage.svg index 4dba9a6..9198ed7 100644 --- a/.coverage/badge_methodcoverage.svg +++ b/.coverage/badge_methodcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.1.24.0 + Generated by: ReportGenerator 5.2.1.0 @@ -102,7 +102,7 @@ Coverage - 89.2%89.2% + 86.9%86.9% diff --git a/.coverage/badge_shieldsio_linecoverage_blue.svg b/.coverage/badge_shieldsio_linecoverage_blue.svg index 402a8dd..cb61a97 100644 --- a/.coverage/badge_shieldsio_linecoverage_blue.svg +++ b/.coverage/badge_shieldsio_linecoverage_blue.svg @@ -1 +1 @@ - coveragecoverage86%86% \ No newline at end of file + coveragecoverage82%82% \ No newline at end of file diff --git a/.coverage/badge_shieldsio_methodcoverage_blue.svg b/.coverage/badge_shieldsio_methodcoverage_blue.svg index 6bbfb56..402a8dd 100644 --- a/.coverage/badge_shieldsio_methodcoverage_blue.svg +++ b/.coverage/badge_shieldsio_methodcoverage_blue.svg @@ -1 +1 @@ - coveragecoverage89%89% \ No newline at end of file + coveragecoverage86%86% \ No newline at end of file diff --git a/.coverage/summary.html b/.coverage/summary.html index 3d8ae84..e23104d 100644 --- a/.coverage/summary.html +++ b/.coverage/summary.html @@ -87,10 +87,16 @@ .coverage td { padding: 0; border: none; } .stripped tr:nth-child(2n+1) { background-color: #F3F3F3; } -.customizebox { font-size: 0.75em; margin-bottom: 7px; } -.customizebox>div { width: 25%; display: inline-block; } -.customizebox div.right input { width: 150px; } -#namespaceslider { width: 200px; display: inline-block; margin-left: 8px; } +.customizebox { font-size: 0.75em; margin-bottom: 7px; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; grid-column-gap: 10px; grid-row-gap: 10px; } +.customizebox>div { align-self: end; } +.customizebox div.col-right input { width: 150px; } + +@media screen and (min-width: 1000px) { + .customizebox { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; } + .customizebox div.col-center { justify-self: center; } + .customizebox div.col-right { justify-self: end; } +} +.slider-label { position: relative; left: 85px; } .percentagebar { padding-left: 3px; @@ -164,6 +170,7 @@ .toggleZoom { text-align:right; } +.historychart svg { max-width: 100%; } .ct-chart { position: relative; } .ct-chart .ct-line { stroke-width: 2px !important; } .ct-chart .ct-point { stroke-width: 6px !important; transition: stroke-width .2s; } @@ -181,7 +188,7 @@ .linecoverage { background-color: #c00; width: 10px; height: 8px; border: 1px solid #000; display: inline-block; } .branchcoverage { background-color: #1c2298; width: 10px; height: 8px; border: 1px solid #000; display: inline-block; } -.codeelementcoverage { background-color: var(--green); width: 10px; height: 8px; border: 1px solid #000; display: inline-block; } +.codeelementcoverage { background-color: #0aad0a; width: 10px; height: 8px; border: 1px solid #000; display: inline-block; } .tooltip { position: absolute; display: none; padding: 5px; background: #F4C63D; color: #453D3F; pointer-events: none; z-index: 1; min-width: 250px; } @@ -696,6 +703,7 @@ .ct-label { color: #fff !important; + fill: #fff !important; } .ct-grid { @@ -811,7 +819,7 @@

Summary8/28/2023 - 9:59:00 PM +2/13/2024 - 11:12:26 PM @@ -820,16 +828,16 @@

Summary
Line coverage
-
86%
+
82%
- + - + @@ -841,7 +849,7 @@

Summary86.7% +

Covered lines:492470
Uncovered lines:7597
Coverable lines:82.8%
@@ -872,12 +880,12 @@

Summary
Method coverage
-
89%
+
86%
- + @@ -885,7 +893,7 @@

Summary89.2% +

Covered methods:7573
Total methods:86.9%
@@ -893,20 +901,144 @@

Summary

+
+ +Coverage history + + + + + + + + + + + + + + 0 + 25 + 50 + 75 + 100 + + + + + + + + + + +

Risk Hotspots

+
+ +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AssemblyClassMethodCrap Score Cyclomatic complexity
ChocolateStoreCoreChocolateStoreCore.ProgramMain()728
ChocolateStoreCoreChocolateStoreCore.PackageCacherCachePackage(...)63.3530
ChocolateStoreCoreChocolateStoreCore.PackageCacherPurge(...)2222
ChocolateStoreCoreChocolateStoreCore.Helpers.ChocolateyHelperGetFileNameFromUrls(...)20.5520
ChocolateStoreCoreChocolateStoreCore.PackageCacherGetMissingFromDownloadsAndDependencies(...)2020
ChocolateStoreCoreChocolateStoreCore.Helpers.ChocolateyHelperParseMetadata(...)18.318
+
-

No risk hotspots found.

Coverage

@@ -932,13 +1064,13 @@

Coverage

Line coverageBranch coverageMethod coverage NameCoveredUncoveredCoverableTotalPercentageCoveredTotalPercentageCoveredTotalPercentage -ChocolateStoreCore49275567117486.7%
  
17023472.6%
  
758489.2%
  
+ChocolateStoreCore47097567117482.8%
  
17023472.6%
  
738486.9%
  
ChocolateStoreCore.App364408690%
  
91464.2%
  
33100%
 
ChocolateStoreCore.ArgsOptions022130%
 
00
 
020%
 
ChocolateStoreCore.Exceptions.DownloadException066210%
 
00
 
030%
 
ChocolateStoreCore.Helpers.ChocolateyHelper193820132896%
  
659072.2%
  
1212100%
 
ChocolateStoreCore.Helpers.HttpHelper32134512371.1%
  
91464.2%
  
66100%
 
-ChocolateStoreCore.Helpers.ServiceHelper115163168.7%
  
00
 
11100%
 
+ChocolateStoreCore.Helpers.ServiceHelper01616310%
 
00
 
010%
 
ChocolateStoreCore.Helpers.StringHelper401419397.5%
  
172085%
  
66100%
 
ChocolateStoreCore.Models.ChocolateyPackage8193788.8%
  
3475%
  
77100%
 
ChocolateStoreCore.Models.Dependency30318100%
 
00
 
33100%
 
@@ -946,12 +1078,12 @@

Coverage

ChocolateStoreCore.Models.Settings2893710275.6%
  
2450%
  
222491.6%
  
ChocolateStoreCore.Models.StorePackage70726100%
 
00
 
66100%
 
ChocolateStoreCore.PackageCacher1141713121887%
  
658081.2%
  
5683.3%
  
-ChocolateStoreCore.Program189276466.6%
  
080%
 
2366.6%
  
+ChocolateStoreCore.Program720276425.9%
  
080%
 
1333.3%
  
-

+ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{731:()=>{let Me=null,Li=1;const cr=Symbol("SIGNAL");function we(e){const n=Me;return Me=e,n}function If(e){if((!yo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Li)){if(!e.producerMustRecompute(e)&&!rc(e))return e.dirty=!1,void(e.lastCleanEpoch=Li);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Li}}function rc(e){lr(e);for(let n=0;n0}function lr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ff=null;function $e(e){return"function"==typeof e}function Lf(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ic=Lf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function sc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Mt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if($e(r))try{r()}catch(i){n=i instanceof ic?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{Bf(i)}catch(s){n=n??[],s instanceof ic?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ic(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Bf(n);else{if(n instanceof Mt){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)&&sc(t,n)}remove(n){const{_teardowns:t}=this;t&&sc(t,n),n instanceof Mt&&n._removeParent(this)}}Mt.EMPTY=(()=>{const e=new Mt;return e.closed=!0,e})();const Vf=Mt.EMPTY;function Hf(e){return e instanceof Mt||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Bf(e){$e(e)?e():e.unsubscribe()}const Fn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Hi={setTimeout(...e){const{delegate:n}=Hi;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=Hi;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jf(e){Hi.setTimeout(()=>{const{onUnhandledError:n}=Fn;if(!n)throw e;n(e)})}function Bi(){}const Cw=ac("C",void 0,void 0);function ac(e,n,t){return{kind:e,value:n,error:t}}let Pn=null;function ji(e){if(Fn.useDeprecatedSynchronousErrorHandling){const n=!Pn;if(n&&(Pn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Pn;if(Pn=null,t)throw r}}else e()}class cc extends Mt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Hf(n)&&n.add(this)):this.destination=Ew}static create(n,t,r){return new $f(n,t,r)}next(n){this.isStopped?uc(function ww(e){return ac("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?uc(function Dw(e){return ac("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?uc(Cw,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 $f extends cc{constructor(n,t,r){let o;if(super(),$e(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&Fn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?lc(o):Bi,error:lc(t??Uf),complete:r?lc(r):Bi}}}function lc(e,n){return(...t)=>{try{e(...t)}catch(r){Fn.useDeprecatedSynchronousErrorHandling?function bw(e){Fn.useDeprecatedSynchronousErrorHandling&&Pn&&(Pn.errorThrown=!0,Pn.error=e)}(r):jf(r)}}}function Uf(e){throw e}function uc(e,n){const{onStoppedNotification:t}=Fn;t&&Hi.setTimeout(()=>t(e,n))}const Ew={closed:!0,next:Bi,error:Uf,complete:Bi},dc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Iw(e){return e}let yt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function Sw(e){return e&&e instanceof cc||function Mw(e){return e&&$e(e.next)&&$e(e.error)&&$e(e.complete)}(e)&&Hf(e)}(t)?t:new $f(t,r,o);return ji(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Gf(r))((o,i)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(c){i(c),s?.unsubscribe()}},i,o)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[dc](){return this}pipe(...t){return function zf(e){return 0===e.length?Iw:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=Gf(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Gf(e){var n;return null!==(n=e??Fn.Promise)&&void 0!==n?n:Promise}const Tw=Lf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fc=(()=>{class e extends yt{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new qf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Tw}next(t){ji(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){ji(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){ji(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Vf:(i.push(t),new Mt(()=>sc(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new yt;return t.source=this,t}}return e.create=(n,t)=>new qf(n,t),e})();class qf extends fc{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Vf}}class Aw extends fc{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function hc(e){return n=>{if(function Nw(e){return $e(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class pc extends cc{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function gc(e,n){return hc((t,r)=>{let o=0;t.subscribe(new pc(r,i=>{r.next(e.call(n,i,o++))}))})}const Wf="https://g.co/ng/security#xss";class M extends Error{constructor(n,t){super(function ur(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ce(e){for(let n in e)if(e[n]===ce)return n;throw Error("Could not find renamed property on target object.")}function Ow(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).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 mc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Rw=ce({__forward_ref__:ce});function he(e){return e.__forward_ref__=he,e.toString=function(){return ke(this())},e}function F(e){return $i(e)?e():e}function $i(e){return"function"==typeof e&&e.hasOwnProperty(Rw)&&e.__forward_ref__===he}function vc(e){return e&&!!e.\u0275providers}const Co=ce({\u0275cmp:ce}),_c=ce({\u0275dir:ce}),yc=ce({\u0275pipe:ce}),Yf=ce({\u0275mod:ce}),Xt=ce({\u0275fac:ce}),Do=ce({__NG_ELEMENT_ID__:ce}),Kf=ce({__NG_ENV_ID__:ce});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function Cc(e,n){throw new M(-201,!1)}function st(e,n){null==e&&function P(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ui(e){return Jf(e,Gi)||Jf(e,Xf)}function Jf(e,n){return e.hasOwnProperty(n)?e[n]:null}function zi(e){return e&&(e.hasOwnProperty(Dc)||e.hasOwnProperty(jw))?e[Dc]:null}const Gi=ce({\u0275prov:ce}),Dc=ce({\u0275inj:ce}),Xf=ce({ngInjectableDef:ce}),jw=ce({ngInjectorDef:ce});var J=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}(J||{});let wc;function at(e){const n=wc;return wc=e,n}function th(e,n,t){const r=Ui(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&J.Optional?null:void 0!==n?n:void Cc()}const ae=globalThis;class O{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=te({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const wo={},Sc="__NG_DI_FLAG__",qi="ngTempTokenPath",zw=/\n/gm,rh="__source";let dr;function vn(e){const n=dr;return dr=e,n}function Ww(e,n=J.Default){if(void 0===dr)throw new M(-203,!1);return null===dr?th(e,void 0,n):dr.get(e,n&J.Optional?null:void 0,n)}function ne(e,n=J.Default){return(function eh(){return wc}()||Ww)(F(e),n)}function X(e,n=J.Default){return ne(e,Wi(n))}function Wi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Tc(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==ih(p,l,0)||2&r&&l!==h){if(Tt(r))return!1;s=!0}}}}else{if(!s&&!Tt(r)&&!Tt(c))return!1;if(s&&Tt(c))continue;s=!1,r=c|1&r}}return Tt(r)||s}function Tt(e){return 0==(1&e)}function eb(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Tt(s)&&(n+=fh(i,o),o=""),r=s,i=i||!Tt(r);t++}return""!==o&&(n+=fh(i,o)),n}function tn(e){return en(()=>{const n=ph(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};gh(t);const r=e.dependencies;return t.directiveDefs=Qi(r,!1),t.pipeDefs=Qi(r,!0),t.id=function db(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function cb(e){return Q(e)||Le(e)}function lb(e){return null!==e}function kn(e){return en(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hh(e,n){if(null==e)return Vt;const t={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=be.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==be.None?[r,a]:r,n[i]=s):t[i]=r}return t}function $(e){return en(()=>{const n=ph(e);return gh(n),n})}function ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[Co]||null}function Le(e){return e[_c]||null}function ze(e){return e[yc]||null}function ph(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||Vt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hh(e.inputs,n),outputs:hh(e.outputs),debugInfo:null}}function gh(e){e.features?.forEach(n=>n(e))}function Qi(e,n){if(!e)return null;const t=n?ze:cb;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(lb)}const ye=0,I=1,R=2,Se=3,At=4,qe=5,Nt=6,fr=7,pe=8,Xe=9,nn=10,U=11,Io=12,mh=13,hr=14,De=15,Mo=16,pr=17,Ht=18,So=19,vh=20,_n=21,Yi=22,Vn=23,j=25,Nc=1,Bt=7,gr=9,Te=10;var xc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(xc||{});function We(e){return Array.isArray(e)&&"object"==typeof e[Nc]}function Ze(e){return Array.isArray(e)&&!0===e[Nc]}function Oc(e){return 0!=(4&e.flags)}function Hn(e){return e.componentOffset>-1}function Ji(e){return 1==(1&e.flags)}function xt(e){return!!e.template}function Rc(e){return 0!=(512&e[R])}function Bn(e,n){return e.hasOwnProperty(Xt)?e[Xt]:null}class gb{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Dh(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function rn(){return wh}function wh(e){return e.type.prototype.ngOnChanges&&(e.setInput=vb),mb}function mb(){const e=Eh(this),n=e?.current;if(n){const t=e.previous;if(t===Vt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function vb(e,n,t,r,o){const i=this.declaredInputs[r],s=Eh(e)||function _b(e,n){return e[bh]=n}(e,{previous:Vt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new gb(l&&l.currentValue,t,c===Vt),Dh(e,n,o,t)}rn.ngInherit=!0;const bh="__ngSimpleChanges__";function Eh(e){return e[bh]||null}const jt=function(e,n,t){};let Sh=!1;function ue(e){for(;Array.isArray(e);)e=e[ye];return e}function Ao(e,n){return ue(n[e])}function et(e,n){return ue(n[e.index])}function No(e,n){return e.data[n]}function ht(e,n){const t=n[e];return We(t)?t:t[ye]}function Vc(e){return 128==(128&e[R])}function $t(e,n){return null==n?null:e[n]}function Th(e){e[pr]=0}function Eb(e){1024&e[R]||(e[R]|=1024,Vc(e)&&xo(e))}function Nh(e){return 9216&e[R]||e[Vn]?.dirty}function Hc(e){Nh(e)?xo(e):64&e[R]&&(function Cb(){return Sh}()?(e[R]|=1024,xo(e)):e[nn].changeDetectionScheduler?.notify())}function xo(e){e[nn].changeDetectionScheduler?.notify();let n=jn(e);for(;null!==n&&!(8192&n[R])&&(n[R]|=8192,Vc(n));)n=jn(n)}function jn(e){const n=e[Se];return Ze(n)?n[Se]:n}const V={lFrame:Bh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Oh(){return V.bindingsEnabled}function C(){return V.lFrame.lView}function ee(){return V.lFrame.tView}function W(e){return V.lFrame.contextLView=e,e[pe]}function Z(e){return V.lFrame.contextLView=null,e}function de(){let e=Rh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rh(){return V.lFrame.currentTNode}function Ut(e,n){const t=V.lFrame;t.currentTNode=e,t.isParent=n}function jc(){return V.lFrame.isParent}function $c(){V.lFrame.isParent=!1}function tt(){const e=V.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function zt(){return V.lFrame.bindingIndex++}function sn(e){const n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Pb(e,n){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,Uc(n)}function Uc(e){V.lFrame.currentDirectiveIndex=e}function Gc(e){V.lFrame.currentQueryIndex=e}function Lb(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[qe]:null}function Vh(e,n,t){if(t&J.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&J.Host||(o=Lb(i),null===o||(i=i[hr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=V.lFrame=Hh();return r.currentTNode=n,r.lView=e,!0}function qc(e){const n=Hh(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Hh(){const e=V.lFrame,n=null===e?null:e.child;return null===n?Bh(e):n}function Bh(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 jh(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $h=jh;function Wc(){const e=jh();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 Qe(){return V.lFrame.selectedIndex}function $n(e){V.lFrame.selectedIndex=e}function ve(){const e=V.lFrame;return No(e.tView,e.selectedIndex)}let Gh=!0;function es(){return Gh}function yn(e){Gh=e}function ts(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[pr]+=65536),(a>14>16&&(3&e[R])===n&&(e[R]+=16384,Wh(a,i)):Wh(a,i)}const _r=-1;class Ro{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Yc(e){return e!==_r}function Fo(e){return 32767&e}function Po(e,n){let t=function Zb(e){return e>>16}(e),r=n;for(;t>0;)r=r[hr],t--;return r}let Kc=!0;function os(e){const n=Kc;return Kc=e,n}const Zh=255,Qh=5;let Qb=0;const Gt={};function is(e,n){const t=Yh(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Jc(r.data,e),Jc(n,null),Jc(r.blueprint,null));const o=ss(e,n),i=e.injectorIndex;if(Yc(o)){const s=Fo(o),a=Po(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Jc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Yh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ss(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=rp(o),null===r)return _r;if(t++,o=o[hr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return _r}function Xc(e,n,t){!function Yb(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Do)&&(r=t[Do]),null==r&&(r=t[Do]=Qb++);const o=r&Zh;n.data[e+(o>>Qh)]|=1<=0?n&Zh:eE:n}(t);if("function"==typeof i){if(!Vh(n,e,r))return r&J.Host?Kh(o,0,r):Jh(n,t,r,o);try{let s;if(s=i(r),null!=s||r&J.Optional)return s;Cc()}finally{$h()}}else if("number"==typeof i){let s=null,a=Yh(e,n),c=_r,l=r&J.Host?n[De][qe]:null;for((-1===a||r&J.SkipSelf)&&(c=-1===a?ss(e,n):n[a+8],c!==_r&&np(r,!1)?(s=n[I],a=Fo(c),n=Po(c,n)):a=-1);-1!==a;){const u=n[I];if(tp(i,a,u.data)){const d=Jb(a,n,t,s,r,l);if(d!==Gt)return d}c=n[a+8],c!==_r&&np(r,n[I].data[a+8]===l)&&tp(i,a,n)?(s=u,a=Fo(c),n=Po(c,n)):a=-1}}return o}function Jb(e,n,t,r,o,i){const s=n[I],a=s.data[e+8],u=function as(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=c&&m.type===t)return p}if(o){const p=s[c];if(p&&xt(p)&&p.type===t)return c}return null}(a,s,t,null==r?Hn(a)&&Kc:r!=s&&0!=(3&a.type),o&J.Host&&i===a);return null!==u?Un(n,s,u,a):Gt}function Un(e,n,t,r){let o=e[t];const i=n.data;if(function zb(e){return e instanceof Ro}(o)){const s=o;s.resolving&&function Pw(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new M(-200,`Circular dependency in DI detected for ${e}${t}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=os(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?at(s.injectImpl):null;Vh(e,r,J.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function $b(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=wh(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&at(l),os(a),s.resolving=!1,$h()}}return o}function tp(e,n,t){return!!(t[n+(e>>Qh)]&1<{const n=e.prototype.constructor,t=n[Xt]||el(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Xt]||el(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function el(e){return $i(e)?()=>{const n=el(F(e));return n&&n()}:Bn(e)}function rp(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[qe]:null}const wr="__parameters__";function Er(e,n,t){return en(()=>{const r=function nl(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(wr)?c[wr]:Object.defineProperty(c,wr,{value:[]})[wr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Mr(e,n){e.forEach(t=>Array.isArray(t)?Mr(t,n):n(t))}function ip(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function cs(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function pt(e,n,t){let r=Sr(e,n);return r>=0?e[1|r]=t:(r=~r,function sp(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function ol(e,n){const t=Sr(e,n);if(t>=0)return e[1|t]}function Sr(e,n){return function ap(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return Mr(n,s=>{const a=s;hs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&hp(o,i),t}function hp(e,n){for(let t=0;t{n(i,r)})}}function hs(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=zi(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=zi(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)hs(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Mr(i.imports,u=>{hs(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&hp(l,n)}if(!a){const l=Bn(o)||(()=>new o);n({provide:o,useFactory:l,deps:re},o),n({provide:ll,useValue:o,multi:!0},o),n({provide:Ar,useValue:()=>ne(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;dl(c,u=>{n(u,l)})}}}return o!==e&&void 0!==e.providers}function dl(e,n){for(let t of e)vc(t)&&(t=t.\u0275providers),Array.isArray(t)?dl(t,n):n(t)}const EE=ce({provide:String,useValue:ce});function fl(e){return null!==e&&"object"==typeof e&&EE in e}function zn(e){return"function"==typeof e}const hl=new O(""),ps={},ME={};let pl;function gs(){return void 0===pl&&(pl=new fs),pl}class an{}class Nr extends an{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ml(n,s=>this.processProvider(s)),this.records.set(dp,xr(void 0,this)),o.has("environment")&&this.records.set(an,xr(void 0,this));const i=this.records.get(hl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ll,re,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=vn(this),r=at(void 0);try{return n()}finally{vn(t),at(r)}}get(n,t=wo,r=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Kf))return n[Kf](this);r=Wi(r);const i=vn(this),s=at(void 0);try{if(!(r&J.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function xE(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&Ui(n);c=l&&this.injectableDefInScope(l)?xr(gl(n),ps):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&J.Self?gs():this.parent).get(n,t=r&J.Optional&&t===wo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[qi]=a[qi]||[]).unshift(ke(n)),i)throw a;return function Qw(e,n,t,r){const o=e[qi];throw n[rh]&&o.unshift(n[rh]),e.message=function Yw(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ke(n);if(Array.isArray(n))o=n.map(ke).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ke(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(zw,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[qi]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{at(s),vn(i)}}resolveInjectorInitializers(){const n=vn(this),t=at(void 0);try{const o=this.get(Ar,re,J.Self);for(const i of o)i()}finally{vn(n),at(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ke(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(n){let t=zn(n=F(n))?n:F(n&&n.provide);const r=function TE(e){return fl(e)?xr(void 0,e.useValue):xr(mp(e),ps)}(n);if(!zn(n)&&!0===n.multi){let o=this.records.get(t);o||(o=xr(void 0,ps,!0),o.factory=()=>Tc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===ps&&(t.value=ME,t.value=t.factory()),"object"==typeof t.value&&t.value&&function NE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function gl(e){const n=Ui(e),t=null!==n?n.factory:Bn(e);if(null!==t)return t;if(e instanceof O)throw new M(204,!1);if(e instanceof Function)return function SE(e){if(e.length>0)throw new M(204,!1);const t=function Bw(e){return e&&(e[Gi]||e[Xf])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new M(204,!1)}function mp(e,n,t){let r;if(zn(e)){const o=F(e);return Bn(o)||gl(o)}if(fl(e))r=()=>F(e.useValue);else if(function gp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Tc(e.deps||[]));else if(function pp(e){return!(!e||!e.useExisting)}(e))r=()=>ne(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function AE(e){return!!e.deps}(e))return Bn(o)||gl(o);r=()=>new o(...Tc(e.deps))}return r}function xr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ml(e,n){for(const t of e)Array.isArray(t)?ml(t,n):t&&vc(t)?ml(t.\u0275providers,n):n(t)}function Cp(e,n=null,t=null,r){const o=Dp(e,n,t,r);return o.resolveInjectorInitializers(),o}function Dp(e,n=null,t=null,r,o=new Set){const i=[t||re,bE(e)];return r=r||("object"==typeof e?void 0:ke(e)),new Nr(i,n||gs(),r||null,o)}let yl,Ct=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=wo;static#t=this.NULL=new fs;static create(t,r){if(Array.isArray(t))return Cp({name:""},r,t,"");{const o=t.name??"";return Cp({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=te({token:e,providedIn:"any",factory:()=>ne(dp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const vs=new O("",{providedIn:"root",factory:()=>BE}),BE="ng",bp=new O(""),Or=new O("",{providedIn:"platform",factory:()=>"unknown"}),Ep=new O("",{providedIn:"root",factory:()=>function Cn(){if(void 0!==yl)return yl;if(typeof document<"u")return document;throw new M(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Cl(e){return e.ownerDocument.defaultView}function Ds(e){return 128==(128&e.flags)}var bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bn||{});const QE=/^>|^->||--!>|)/g,KE="\u200b$1\u200b";const Il=new Map;let JE=0;const Sl="__ngContext__";function Ke(e,n){We(n)?(e[Sl]=n[So],function eI(e){Il.set(e[So],e)}(n)):e[Sl]=n}let Tl;function Al(e,n){return Tl(e,n)}function Fr(e,n,t,r,o){if(null!=r){let i,s=!1;Ze(r)?i=r:We(r)&&(s=!0,r=r[ye]);const a=ue(r);0===e&&null!==t?null==o?qp(n,t,a):qn(n,t,a,o||null,!0):1===e&&null!==t?qn(n,t,a,o||null,!0):2===e?function Ts(e,n,t){const r=Ms(e,n);r&&function mI(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function yI(e,n,t,r,o){const i=t[Bt];i!==ue(t)&&Fr(n,e,r,i,o);for(let a=Te;an.replace(YE,KE))}(n))}function Es(e,n,t){return e.createElement(n,t)}function Up(e,n){As(e,n,n[U],2,null,null)}function zp(e,n){const t=e[gr],r=t.indexOf(n);t.splice(r,1)}function $o(e,n){if(e.length<=Te)return;const t=Te+n,r=e[t];if(r){const o=r[Mo];null!==o&&o!==e&&zp(o,r),n>0&&(e[t-1][At]=r[At]);const i=cs(e,Te+n);!function lI(e,n){Up(e,n),n[ye]=null,n[qe]=null}(r[I],r);const s=i[Ht];null!==s&&s.detachView(i[I]),r[Se]=null,r[At]=null,r[R]&=-129}return r}function Is(e,n){if(!(256&n[R])){const t=n[U];t.destroyNode&&As(e,n,t,3,null,null),function dI(e){let n=e[Io];if(!n)return xl(e[I],e);for(;n;){let t=null;if(We(n))t=n[Io];else{const r=n[Te];r&&(t=r)}if(!t){for(;n&&!n[At]&&n!==e;)We(n)&&xl(n[I],n),n=n[Se];null===n&&(n=e),We(n)&&xl(n[I],n),t=n&&n[At]}n=t}}(n)}}function xl(e,n){if(!(256&n[R])){n[R]&=-129,n[R]|=256,n[Vn]&&function xf(e){if(lr(e),yo(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[fr]=null);const o=n[_n];if(null!==o){n[_n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===St.None||i===St.Emulated)return null}return et(r,t)}}(e,n.parent,t)}function qn(e,n,t,r,o){e.insertBefore(n,t,r,o)}function qp(e,n,t){e.appendChild(n,t)}function Wp(e,n,t,r,o){null!==r?qn(e,n,t,r,o):qp(e,n,t)}function Ms(e,n){return e.parentNode(n)}let Rl,Yp=function Qp(e,n,t){return 40&e.type?et(e,t):null};function Ss(e,n,t,r){const o=Ol(e,r,n),i=n[U],a=function Zp(e,n,t){return Yp(e,n,t)}(r.parent||n[qe],r,n);if(null!=o)if(Array.isArray(t))for(let c=0;cnull;function Ql(e,n,t=!1){return gg(e,n,t)}class nM{}class Cg{}class oM{resolveComponentFactory(n){throw function rM(e){const n=Error(`No component factory found for ${ke(e)}.`);return n.ngComponent=e,n}(n)}}let Vs=(()=>{class e{static#e=this.NULL=new oM}return e})();function iM(){return Br(de(),C())}function Br(e,n){return new Ot(et(e,n))}let Ot=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=iM}return e})();class wg{}let Wn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function aM(){const e=C(),t=ht(de().index,e);return(We(t)?t:e)[U]}()}return e})(),cM=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>null})}return e})();const Xl={};function Hs(e){return!!function eu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Eg{constructor(){}supports(n){return Hs(n)}create(n){return new pM(n)}}const hM=(e,n)=>n;class pM{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||hM}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new gM(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Ig),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ig),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 gM{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 mM{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Ig{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new mM,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:Tg});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Tg()),deps:[[e,new al,new sl]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new M(901,!1)}}return e})();function Yo(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(ue(i)),Ze(i)&&Ng(i,r);const s=t.type;if(8&s)Yo(e,n,t.child,r);else if(32&s){const a=Al(t,n);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Jp(n,t);if(Array.isArray(a))r.push(...a);else{const c=jn(n[De]);Yo(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Ng(e,n){for(let t=Te;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{xo(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}};function Og(e){return Fg(e[Io])}function Rg(e){return Fg(e[At])}function Fg(e){for(;null!==e&&!Ze(e);)e=e[At];return e}function nu(e){return e.ngOriginalError}class ln{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&nu(n);for(;t&&nu(t);)t=nu(t);return t||null}}const kg=new O("",{providedIn:"root",factory:()=>X(ln).handleError.bind(void 0)}),Vg=new O("",{providedIn:"root",factory:()=>!1}),z={};function f(e=1){$g(ee(),C(),Qe()+e,!1)}function $g(e,n,t,r){if(!r)if(3==(3&n[R])){const i=e.preOrderCheckHooks;null!==i&&ns(n,i,t)}else{const i=e.preOrderHooks;null!==i&&rs(n,i,0,t)}$n(t)}function S(e,n=J.Default){const t=C();return null===t?ne(e,n):Xh(de(),t,F(e),n)}function Ug(e,n,t,r,o,i){const s=we(null);try{let a=null;o&be.SignalBased&&(a=n[r][cr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&be.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(n,i)),null!==e.setInput?e.setInput(n,a,i,t,r):Dh(n,a,r,i)}finally{we(s)}}function $s(e,n,t,r,o,i,s,a,c,l,u){const d=n.blueprint.slice();return d[ye]=o,d[R]=204|r,(null!==l||e&&2048&e[R])&&(d[R]|=2048),Th(d),d[Se]=d[hr]=e,d[pe]=t,d[nn]=s||e&&e[nn],d[U]=a||e&&e[U],d[Xe]=c||e&&e[Xe]||null,d[qe]=i,d[So]=function XE(){return JE++}(),d[Nt]=u,d[vh]=l,d[De]=2==n.type?e[De]:d,d}function jr(e,n,t,r,o){let i=e.data[n];if(null===i)i=function ru(e,n,t,r,o){const i=Rh(),s=jc(),c=e.data[n]=function HM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function vr(){return null!==V.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=c),null!==i&&(s?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c,c.prev=i)),c}(e,n,t,r,o),function Fb(){return V.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function Oo(){const e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function Ko(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;ij&&$g(e,n,j,!1),jt(s?2:0,o),t(r,o)}finally{$n(i),jt(s?3:1,o)}}function ou(e,n,t){if(Oc(n)){const r=we(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function Wg(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;const s=n[i];if(void 0===s)continue;r??={};let a,c=be.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Zg(r,t,l,a,c):Zg(r,t,l,a)}return r}function Zg(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],void 0!==o&&i.push(o)}function mt(e,n,t,r,o,i,s,a){const c=et(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(fu(e,t,u,r,o),Hn(n)&&function $M(e,n){const t=ht(n,e);16&t[R]||(t[R]|=64)}(t,n.index)):3&n.type&&(r=function jM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(c,r,o))}function cu(e,n,t,r){if(Oh()){const o=null===r?null:{"":-1},i=function ZM(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Ko(e,t,o.hostVars,z),o)}function qt(e,n,t,r,o,i){const s=et(e,n);!function uu(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[U],s,i,e.value,t,r,o)}function e0(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function wM(e){e.lView[Vn]!==e&&(e.lView=null,xg.push(e))}(a)),Wc()}}function nm(e,n){for(let t=Og(e);null!==t;t=Rg(t))for(let r=Te;r-1&&($o(n,r),cs(t,r))}this._attachedToViewContainer=!1}Is(this._lView[I],this._lView)}onDestroy(n){!function Xi(e,n){if(256==(256&e[R]))throw new M(911,!1);null===e[_n]&&(e[_n]=[]),e[_n].push(n)}(this._lView,n)}markForCheck(){Jo(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Hc(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,function hu(e,n=!0){const t=e[nn],r=t.rendererFactory;r.begin?.();try{!function r0(e){pu(e,0);let n=0;for(;Nh(e);){if(100===n)throw new M(103,!1);n++,pu(e,1)}}(e)}catch(i){throw n&&zs(e,i),i}finally{r.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Up(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=n,Hc(this._lView)}}let gu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=l0}return e})();function l0(e){return function u0(e,n,t){if(Hn(e)&&!t){const r=ht(e.index,n);return new Xo(r,r)}return 47&e.type?new Xo(n[De],n):null}(de(),C(),16==(16&e))}function vu(e){return n=>{setTimeout(e,void 0,n)}}const Ae=class y0 extends fc{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=vu(i),o&&(o=vu(o)),s&&(s=vu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof Mt&&n.add(a),a}};function sm(...e){}class _e{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ae(!1),this.onMicrotaskEmpty=new Ae(!1),this.onStable=new Ae(!1),this.onError=new Ae(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function C0(){const e="function"==typeof ae.requestAnimationFrame;let n=ae[e?"requestAnimationFrame":"setTimeout"],t=ae[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function b0(e){const n=()=>{!function w0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ae,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,yu(e),e.isCheckStableRunning=!0,_u(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),yu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function E0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return am(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),cm(e)}},onInvoke:(t,r,o,i,s,a,c)=>{try{return am(e),t.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),cm(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,yu(e),_u(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new M(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,D0,sm,sm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const D0={};function _u(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 yu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function am(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function cm(e){e._nesting--,_u(e)}class lm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ae,this.onMicrotaskEmpty=new Ae,this.onStable=new Ae,this.onError=new Ae}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}let ei=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of t)o();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})();function T0(e,n){const t=ht(n,e),r=t[I];!function A0(e,n){for(let t=n.length;t0&&tg(e,t,i.join(" "))}}(h,q,m,r),void 0!==t&&function H0(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Eo(o.hostAttrs,t=Eo(t,o.hostAttrs))}}(r)}function j0(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function qs(e){return e===Vt?{}:e===re?[]:e}function U0(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function z0(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function G0(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Ur(e,n){return!n||null===n.firstChild||Ds(e)}function ai(e,n,t,r=!0){const o=n[I];if(function fI(e,n,t,r){const o=Te+r,i=t.length;r>0&&(t[o-1][At]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=yS}return e})();function yS(){return function Am(e,n){let t;const r=n[e.index];return Ze(r)?t=r:(t=Kg(r,n,null,e),n[e.index]=t,Us(n,t)),Nm(t,n,e,r),new Sm(t,e,n)}(de(),C())}const CS=Wt,Sm=class extends CS{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Ve(this._hostTNode,this._hostLView)}get parentInjector(){const n=ss(this._hostTNode,this._hostLView);if(Yc(n)){const t=Po(n,this._hostLView),r=Fo(n);return new Ve(t[I].data[r+8],t)}return new Ve(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Tm(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,Ur(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function ko(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const c=s?n:new ti(Q(n)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const w=(s?l:this.parentInjector).get(an,null);w&&(i=w)}Q(c.componentType??{});const p=c.create(l,o,null,i);return this.insertImpl(p.hostView,a,Ur(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function bb(e){return Ze(e[Se])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const c=o[Se],l=new Sm(c,c[qe],c[Se]);l.detach(l.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return ai(s,o,i,r),n.attachToViewContainerRef(),ip(Su(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Tm(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);r&&(cs(Su(this._lContainer),t),Is(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);return r&&null!=cs(Su(this._lContainer),t)?new Xo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Tm(e){return e[8]}function Su(e){return e[8]||(e[8]=[])}let Nm=function Om(e,n,t,r){if(e[Bt])return;let o;o=8&t.type?ue(r):function DS(e,n){const t=e[U],r=t.createComment(""),o=et(n,e);return qn(t,Ms(t,o),r,function vI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Bt]=o},Tu=()=>!1;function Zt(e,n,t){return e[n]=t}function Oe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Yn(e,n,t,r){const o=Oe(e,n,t);return Oe(e,n+1,r)||o}function k(e,n,t,r,o,i,s,a){const c=C(),l=ee(),u=e+j,d=l.firstCreatePass?function IS(e,n,t,r,o,i,s,a,c){const l=n.consts,u=jr(n,e,4,s||null,$t(l,a));cu(n,t,u,$t(l,c)),ts(n,u);const d=u.tView=au(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,r,o,i,s):l.data[u];Ut(d,!1);const h=Rm(l,c,d,e);es()&&Ss(l,c,h,d),Ke(h,c);const p=Kg(h,c,h,d);return c[u]=p,Us(c,p),function xm(e,n,t){return Tu(e,n,t)}(p,d,c),Ji(d)&&iu(l,c,d),null!=s&&su(c,d,a),k}let Rm=function Fm(e,n,t,r){return yn(!0),n[U].createComment("")};function Rt(e,n,t,r){const o=C();return Oe(o,zt(),n)&&(ee(),qt(ve(),o,e,n,t,r)),Rt}function Kr(e,n,t,r){return Oe(e,zt(),t)?n+B(t)+r:z}function ra(e,n){return e<<17|n<<2}function Sn(e){return e>>17&32767}function Lu(e){return 2|e}function Jn(e){return(131068&e)>>2}function Vu(e,n){return-131069&e|n<<2}function Hu(e){return 1|e}function fv(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Sn(o):Jn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];lT(e[s],n)&&(a=!0,e[s+1]=r?Hu(l):Lu(l)),s=r?Sn(l):Jn(l)}a&&(e[t+1]=r?Lu(o):Hu(o))}function lT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Sr(e,n)>=0}const Be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hv(e){return e.substring(Be.key,Be.keyEnd)}function pv(e,n){const t=Be.textEnd;return t===n?-1:(n=Be.keyEnd=function hT(e,n,t){for(;n32;)n++;return n}(e,Be.key=n,t),io(e,n,t))}function io(e,n,t){for(;n=0;t=pv(n,t))pt(e,hv(n),!0)}function Cv(e,n){return n>=e.expandoStartIndex}function Dv(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[Qe()],s=Cv(e,t);Iv(i,r)&&null===n&&!s&&(n=!1),n=function _T(e,n,t,r){const o=function zc(e){const n=V.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=fi(t=ju(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=ju(o,e,n,t,r),null===i){let c=function yT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Jn(r))return e[Sn(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=ju(null,e,n,c[1],r),c=fi(c,n.attrs,r),function CT(e,n,t,r){e[Sn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else i=function DT(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):u=t,o)if(0!==c){const h=Sn(e[a+1]);e[r+1]=ra(h,a),0!==h&&(e[h+1]=Vu(e[h+1],r)),e[a+1]=function iT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=ra(a,0),0!==a&&(e[a+1]=Vu(e[a+1],r)),a=r;else e[r+1]=ra(c,0),0===a?a=r:e[c+1]=Vu(e[c+1],r),c=r;l&&(e[r+1]=Lu(e[r+1])),fv(e,u,r,!0),fv(e,u,r,!1),function cT(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Sr(i,n)>=0&&(t[r+1]=Hu(t[r+1]))}(n,u,e,r,i),s=ra(a,c),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function ju(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=t[o+1];h===z&&(h=d?re:void 0);let p=d?ol(h,r):u===r?h:void 0;if(l&&!ia(p)&&(p=ol(c,r)),ia(p)&&(a=p,s))return a;const m=e[o+1];o=s?Sn(m):Jn(m)}if(null!==n){let c=i?n.residualClasses:n.residualStyles;null!=c&&(a=ol(c,r))}return a}function ia(e){return void 0!==e}function Iv(e,n){return 0!=(e.flags&(n?8:16))}function Kt(e,n,t){!function Pt(e,n,t,r){const o=ee(),i=sn(2);o.firstUpdatePass&&Dv(o,null,i,r);const s=C();if(t!==z&&Oe(s,i,t)){const a=o.data[Qe()];if(Iv(a,r)&&!Cv(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(t=mc(c,t||"")),Bu(o,a,s,t,r)}else!function ET(e,n,t,r,o,i,s,a){o===z&&(o=re);let c=0,l=0,u=0(yn(!0),Es(r,o,function zh(){return V.lFrame.currentNamespace}()));function Y(e,n,t){const r=C(),o=ee(),i=e+j,s=o.firstCreatePass?function YT(e,n,t,r,o){const i=n.consts,s=$t(i,r),a=jr(n,e,8,"ng-container",s);return null!==s&&Gs(a,s,!0),cu(n,t,a,$t(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Ut(s,!0);const a=xv(o,r,s,e);return r[i]=a,es()&&Ss(o,r,a,s),Ke(a,r),Ji(s)&&(iu(o,r,s),ou(o,s,r)),null!=t&&su(r,s),Y}function K(){let e=de();const n=ee();return jc()?$c():(e=e.parent,Ut(e,!1)),n.firstCreatePass&&(ts(n,e),Oc(e)&&n.queries.elementEnd(e)),K}let xv=(e,n,t,r)=>(yn(!0),Nl(n[U],""));function Ee(){return C()}const ao="en-US";let kv=ao;function ua(e){return!!e&&"function"==typeof e.then}function a_(e){return!!e&&"function"==typeof e.subscribe}function L(e,n,t,r){const o=C(),i=ee(),s=de();return function l_(e,n,t,r,o,i,s){const a=Ji(r),l=e.firstCreatePass&&function em(e){return e.cleanup||(e.cleanup=[])}(e),u=n[pe],d=function Xg(e){return e[fr]||(e[fr]=[])}(n);let h=!0;if(3&r.type||s){const w=et(r,n),E=s?s(w):w,T=d.length,D=s?H=>s(ue(H[r.index])):r.index;let x=null;if(!s&&a&&(x=function QA(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=d_(r,n,u,i,!1);const H=t.listen(E,o,i);d.push(i,H),l&&l.push(o,D,T,T+1)}}else i=d_(r,n,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let E=0;E-1?ht(e.index,n):n);let c=u_(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)c=u_(n,t,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function v(e=1){return function Vb(e){return(V.lFrame.contextLView=function Ah(e,n){for(;e>0;)n=n[hr],e--;return n}(e,V.lFrame.contextLView))[pe]}(e)}function Tn(e,n,t){return Zu(e,"",n,"",t),Tn}function Zu(e,n,t,r,o){const i=C(),s=Kr(i,n,t,r);return s!==z&&mt(ee(),ve(),i,e,s,i[U],o,!1),Zu}Symbol;let dn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=n1}return e})();const e1=dn,t1=class extends e1{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function si(e,n,t,r){const o=n.tView,a=$s(e,o,t,4096&e[R]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Mo]=e[n.index];const l=e[Ht];return null!==l&&(a[Ht]=l.createEmbeddedView(o)),Cu(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new Xo(o)}};function n1(){return function da(e,n){return 4&e.type?new t1(n,e,Br(e,n)):null}(de(),C())}function b(e,n=""){const t=C(),r=ee(),o=e+j,i=r.firstCreatePass?jr(r,o,1,n,null):r.data[o],s=F_(r,t,i,n,e);t[o]=s,es()&&Ss(r,t,s,i),Ut(i,!1)}let F_=(e,n,t,r,o)=>(yn(!0),function bs(e,n){return e.createText(n)}(n[U],r));function N(e){return G("",e,""),N}function G(e,n,t){const r=C(),o=Kr(r,e,n,t);return o!==z&&function un(e,n,t){const r=Ao(n,e);!function $p(e,n,t){e.setValue(n,t)}(e[U],r,t)}(r,Qe(),o),G}function td(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(zn(e)||!e.multi){const p=new Ro(l,o,S),m=rd(c,n,o?u:u+h,d);-1===m?(Xc(is(a,s),i,c),nd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rd(c,n,u+h,d),m=rd(c,n,u,u+h),E=m>=0&&t[m];if(o&&!E||!o&&!(p>=0&&t[p])){Xc(is(a,s),i,c);const T=function A1(e,n,t,r,o){const i=new Ro(e,t,S);return i.multi=[],i.index=n,i.componentProviders=0,U_(i,o,r&&!t),i}(o?T1:S1,t.length,o,r,l);!o&&E&&(t[m].providerFactory=T),nd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else nd(i,e,p>-1?p:m,U_(t[o?m:p],l,!o&&r));!o&&r&&E&&t[m].componentProviders++}}}function nd(e,n,t,r){const o=zn(n),i=function IE(e){return!!e.useClass}(n);if(o||i){const c=(i?F(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function U_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rd(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function M1(e,n,t){const r=ee();if(r.firstCreatePass){const o=xt(e);td(t,r.data,r.blueprint,o,!0),td(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class er{}class N1{}class id extends er{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pm(this);const o=function Ge(e,n){const t=e[Yf]||null;if(!t&&!0===n)throw new Error(`Type ${ke(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function gt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Dp(n,t,[{provide:er,useValue:this},{provide:Vs,useValue:this.componentFactoryResolver},...r],ke(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 sd extends N1{constructor(n){super(),this.moduleType=n}create(n){return new id(this.moduleType,n,[])}}function pa(e,n,t,r){return function X_(e,n,t,r,o,i){const s=n+t;return Oe(e,s,o)?Zt(e,s+1,i?r.call(i,o):r(o)):_i(e,s+1)}(C(),tt(),e,n,t,r)}function cd(e,n,t,r,o){return function ey(e,n,t,r,o,i,s){const a=n+t;return Yn(e,a,o,i)?Zt(e,a+2,s?r.call(s,o,i):r(o,i)):_i(e,a+2)}(C(),tt(),e,n,t,r,o)}function Ue(e,n,t,r,o,i){return ty(C(),tt(),e,n,t,r,o,i)}function _i(e,n){const t=e[n];return t===z?void 0:t}function ty(e,n,t,r,o,i,s,a){const c=n+t;return function Ks(e,n,t,r,o){const i=Yn(e,n,t,r);return Oe(e,n+2,o)||i}(e,c,o,i,s)?Zt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):_i(e,c+3)}function iy(e,n,t,r,o){const i=e+j,s=C(),a=function mr(e,n){return e[n]}(s,i);return function yi(e,n){return e[I].data[n].pure}(s,i)?ty(s,tt(),n,a.transform,t,r,o,a):a.transform(t,r,o)}let hd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Aw(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Iy=new O(""),_a=new O("");let vd,gd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,vd||(function ex(e){vd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.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(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ne(_e),ne(md),ne(_a))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),md=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return vd?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const tx=new O("");let _d=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=X(tx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(ua(i))t.push(i);else if(a_(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const My=new O("");function Ay(e,n){return Array.isArray(n)?n.reduce(Ay,e):{...e,...n}}let uo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=X(kg),this.afterRenderEffectManager=X(ei),this.componentTypes=[],this.components=[],this.isStable=X(hd).hasPendingTasks.pipe(gc(t=>!t)),this._injector=X(an)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Cg;if(!this._injector.get(_d).done)throw!o&&function Ln(e){const n=Q(e)||Le(e)||ze(e);return null!==n&&n.standalone}(t),new M(405,!1);let s;s=o?t:this._injector.get(Vs).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rx(e){return e.isBoundToModule}(s)?void 0:this._injector.get(er),l=s.create(Ct.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Iy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ya(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new M(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ya(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(My,[]);[...this._bootstrapListeners,...r].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ya(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new M(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ya(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ix=(()=>{class e{constructor(){this.zone=X(_e),this.applicationRef=X(uo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sx(){const e=X(_e),n=X(ln);return t=>e.runOutsideAngular(()=>n.handleError(t))}let cx=(()=>{class e{constructor(){this.subscription=new Mt,this.initialized=!1,this.zone=X(_e),this.pendingTasks=X(hd)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{_e.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fn=new O("",{providedIn:"root",factory:()=>X(fn,J.Optional|J.SkipSelf)||function lx(){return typeof $localize<"u"&&$localize.locale||ao}()}),yd=new O("");let Ry=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function I0(e="zone.js",n){return"noop"===e?new lm:"zone.js"===e?new _e(n):e}(r?.ngZone,function Oy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function O1(e,n,t){return new id(e,n,t)}(t.moduleType,this.injector,function xy(e){return[{provide:_e,useFactory:e},{provide:Ar,multi:!0,useFactory:()=>{const n=X(ix,{optional:!0});return()=>n.initialize()}},{provide:Ar,multi:!0,useFactory:()=>{const n=X(cx);return()=>{n.initialize()}}},{provide:kg,useFactory:sx}]}(()=>o)),s=i.injector.get(ln,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{ya(this._modules,i),a.unsubscribe()})}),function Ty(e,n,t){try{const r=t();return ua(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(_d);return a.runInitializers(),a.donePromise.then(()=>(function Lv(e){st(e,"Expected localeId to be defined"),"string"==typeof e&&(kv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=Ay({},r);return function nx(e,n,t){const r=new sd(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(uo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new M(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new M(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(yd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ne(Ct))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),An=null;const Fy=new O("");function Py(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=Cd();if(!s||s.injector.get(Fy,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function fx(e){if(An&&!An.get(Fy,!1))throw new M(400,!1);(function Sy(){!function gw(e){Ff=e}(()=>{throw new M(600,!1)})})(),An=e;const n=e.get(Ry);(function Ly(e){e.get(bp,null)?.forEach(t=>t())})(e)}(function ky(e=[],n){return Ct.create({name:n,providers:[{provide:hl,useValue:"platform"},{provide:yd,useValue:new Set([()=>An=null])},...e]})}(a,r))}return function hx(e){const n=Cd();if(!n)throw new M(401,!1);return n}()}}function Cd(){return An?.get(Ry)??null}const yx=Py(null,"core",[]);let Cx=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(ne(uo))};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=mn({})}return e})();let aC=null;function Ei(){return aC}class Qx{}const nr=new O(""),Ld=/\s+/,mC=[];let Mi=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=mC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ld):mC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ld):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Ld).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(S(Ot),S(Wn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[be.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class LO{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let po=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new LO(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),_C(a,o)}});for(let o=0,i=r.length;o{_C(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(S(Wt),S(dn),S(tu))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function _C(e,n){e.context.$implicit=n.item}let rr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new VO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){yC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){yC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(S(Wt),S(dn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class VO{constructor(){this.$implicit=null,this.ngIf=null}}function yC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ke(n)}'.`)}let wC=(()=>{class e{transform(t,r,o){if(null==t)return null;if(!this.supports(t))throw function Lt(e,n){return new M(2100,!1)}();return t.slice(r,o)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ct({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),uR=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=mn({})}return e})();function EC(e){return"server"===e}class VR extends Qx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class zd extends VR{static makeCurrent(){!function Zx(e){aC??=e}(new zd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function HR(){return Ti=Ti||document.querySelector("base"),Ti?Ti.getAttribute("href"):null}();return null==t?null:function BR(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ti=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function PO(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let Ti=null,$R=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const Gd=new O("");let TC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new M(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ne(Gd),ne(_e))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class AC{constructor(n){this._doc=n}}const qd="ng-app-id";let NC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=EC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${qd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(qd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(qd,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr),ne(vs),ne(Ep,8),ne(Or))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const Wd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Zd=/%COMP%/g,qR=new O("",{providedIn:"root",factory:()=>!0});function OC(e,n){return n.map(t=>t.replace(Zd,e))}let RC=(()=>{class e{constructor(t,r,o,i,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=EC(a),this.defaultRenderer=new Qd(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===St.ShadowDom&&(r={...r,encapsulation:St.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof PC?o.applyToHost(t):o instanceof Yd&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case St.Emulated:i=new PC(c,l,r,this.appId,u,s,a,d);break;case St.ShadowDom:return new YR(c,l,t,r,s,a,this.nonce,d);default:i=new Yd(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ne(TC),ne(NC),ne(vs),ne(qR),ne(nr),ne(Or),ne(_e),ne(Ep))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class Qd{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Wd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(FC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(FC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new M(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Wd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Wd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(bn.DashCase|bn.Important)?n.style.setProperty(t,r,o&bn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Ei().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function FC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class YR extends Qd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=OC(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Yd extends Qd{constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?OC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class PC extends Yd{constructor(n,t,r,o,i,s,a,c){const l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=function WR(e){return"_ngcontent-%COMP%".replace(Zd,e)}(l),this.hostAttr=function ZR(e){return"_nghost-%COMP%".replace(Zd,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let KR=(()=>{class e extends AC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const kC=["alt","control","meta","shift"],JR={"\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"},XR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eF=(()=>{class e extends AC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ei().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),kC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=JR[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),kC.forEach(s=>{s!==o&&(0,XR[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(ne(nr))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const oF=Py(yx,"browser",[{provide:Or,useValue:"browser"},{provide:bp,useValue:function tF(){zd.makeCurrent()},multi:!0},{provide:nr,useFactory:function rF(){return function HE(e){yl=e}(document),document},deps:[]}]),iF=new O(""),HC=[{provide:_a,useClass:class jR{addToWindow(n){ae.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new M(5103,!1);return i},ae.getAllAngularTestabilities=()=>n.getAllTestabilities(),ae.getAllAngularRootElements=()=>n.getAllRootElements(),ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(r=>{const o=ae.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Ei().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Iy,useClass:gd,deps:[_e,md,_a]},{provide:gd,useClass:gd,deps:[_e,md,_a]}],BC=[{provide:hl,useValue:"root"},{provide:ln,useFactory:function nF(){return new ln},deps:[]},{provide:Gd,useClass:KR,multi:!0,deps:[nr,_e,Or]},{provide:Gd,useClass:eF,multi:!0,deps:[nr]},RC,NC,TC,{provide:wg,useExisting:RC},{provide:class gR{},useClass:$R,deps:[]},[]];let sF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:vs,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ne(iF,12))};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=mn({providers:[...BC,...HC],imports:[uR,Cx]})}return e})();function or(e){return this instanceof or?(this.v=e,this):new or(e)}function hF(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 qC(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}const WC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ZC(e){return $e(e?.then)}function QC(e){return $e(e[dc])}function YC(e){return Symbol.asyncIterator&&$e(e?.[Symbol.asyncIterator])}function KC(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 JC=function gF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function XC(e){return $e(e?.[JC])}function eD(e){return function fF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function c(h){h.value instanceof or?Promise.resolve(h.value.v).then(l,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function l(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield or(t.read());if(o)return yield or(void 0);yield yield or(r)}}finally{t.releaseLock()}})}function tD(e){return $e(e?.getReader)}function ja(e){if(e instanceof yt)return e;if(null!=e){if(QC(e))return function mF(e){return new yt(n=>{const t=e[dc]();if($e(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(WC(e))return function vF(e){return new yt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,jf)})}(e);if(YC(e))return nD(e);if(XC(e))return function yF(e){return new yt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(tD(e))return function CF(e){return nD(eD(e))}(e)}throw KC(e)}function nD(e){return new yt(n=>{(function DF(e,n){var t,r,o,i;return function uF(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=hF(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ir(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function rD(e,n=0){return hc((t,r)=>{t.subscribe(new pc(r,o=>ir(r,e,()=>r.next(o),n),()=>ir(r,e,()=>r.complete(),n),o=>ir(r,e,()=>r.error(o),n)))})}function oD(e,n=0){return hc((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function iD(e,n){if(!e)throw new Error("Iterable cannot be null");return new yt(t=>{ir(t,n,()=>{const r=e[Symbol.asyncIterator]();ir(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}const{isArray:AF}=Array,{getPrototypeOf:NF,prototype:xF,keys:OF}=Object;const{isArray:kF}=Array;function HF(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function BF(...e){const n=function PF(e){return $e(function Jd(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:r}=function RF(e){if(1===e.length){const n=e[0];if(AF(n))return{args:n,keys:null};if(function FF(e){return e&&"object"==typeof e&&NF(e)===xF}(n)){const t=OF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),o=new yt(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?HF(r,a):a),i.complete())}))}});return n?o.pipe(function VF(e){return gc(n=>function LF(e,n){return kF(n)?e(...n):e(n)}(e,n))}(n)):o}let sD=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(S(Wn),S(Ot))};static#t=this.\u0275dir=$({type:e})}return e})(),sr=(()=>{class e extends sD{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,features:[le]})}return e})();const Jt=new O(""),jF={provide:Jt,useExisting:he(()=>Xd),multi:!0};let Xd=(()=>{class e extends sr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Ce([jF]),le]})}return e})();const $F={provide:Jt,useExisting:he(()=>Ni),multi:!0},zF=new O("");let Ni=(()=>{class e extends sD{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function UF(){const e=Ei()?Ei().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(S(Wn),S(Ot),S(zF,8))};static#t=this.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&L("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Ce([$F]),le]})}return e})();const Je=new O(""),xn=new O("");function mD(e){return null!=e}function vD(e){return ua(e)?function TF(e,n){return n?function SF(e,n){if(null!=e){if(QC(e))return function wF(e,n){return ja(e).pipe(oD(n),rD(n))}(e,n);if(WC(e))return function EF(e,n){return new yt(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(ZC(e))return function bF(e,n){return ja(e).pipe(oD(n),rD(n))}(e,n);if(YC(e))return iD(e,n);if(XC(e))return function IF(e,n){return new yt(t=>{let r;return ir(t,n,()=>{r=e[JC](),ir(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>$e(r?.return)&&r.return()})}(e,n);if(tD(e))return function MF(e,n){return iD(eD(e),n)}(e,n)}throw KC(e)}(e,n):ja(e)}(e):e}function _D(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function yD(e,n){return n.map(t=>t(e))}function CD(e){return e.map(n=>function qF(e){return!e.validate}(n)?n:t=>n.validate(t))}function ef(e){return null!=e?function DD(e){if(!e)return null;const n=e.filter(mD);return 0==n.length?null:function(t){return _D(yD(t,n))}}(CD(e)):null}function tf(e){return null!=e?function wD(e){if(!e)return null;const n=e.filter(mD);return 0==n.length?null:function(t){return BF(yD(t,n).map(vD)).pipe(gc(_D))}}(CD(e)):null}function bD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function nf(e){return e?Array.isArray(e)?e:[e]:[]}function Ua(e,n){return Array.isArray(e)?e.includes(n):e===n}function MD(e,n){const t=nf(n);return nf(e).forEach(o=>{Ua(t,o)||t.push(o)}),t}function SD(e,n){return nf(n).filter(t=>!Ua(e,t))}class TD{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=ef(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=tf(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 it extends TD{get formDirective(){return null}get path(){return null}}class On extends TD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class AD{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 za=(()=>{class e extends AD{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(S(On,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&oa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[le]})}return e})();const xi="VALID",qa="INVALID",go="PENDING",Oi="DISABLED";function Wa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class RD{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===xi}get invalid(){return this.status===qa}get pending(){return this.status==go}get disabled(){return this.status===Oi}get enabled(){return this.status!==Oi}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(MD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(MD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(SD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(SD(n,this._rawAsyncValidators))}hasValidator(n){return Ua(this._rawValidators,n)}hasAsyncValidator(n){return Ua(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=go,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Oi,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xi,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xi||this.status===go)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oi:xi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=go,this._hasOwnPendingAsyncValidator=!0;const t=vD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ae,this.statusChanges=new Ae}_calculateStatus(){return this._allControlsDisabled()?Oi:this.errors?qa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(go)?go:this._anyControlsHaveStatus(qa)?qa:xi}_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){Wa(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 KF(e){return Array.isArray(e)?ef(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function JF(e){return Array.isArray(e)?tf(e):e||null}(this._rawAsyncValidators)}}const mo=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Za}),Za="always";function Ri(e,n,t=Za){(function lf(e,n){const t=function ED(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(bD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function ID(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(bD(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ka(n._rawValidators,o),Ka(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function tP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&FD(e,n)})}(e,n),function rP(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function nP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&FD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function eP(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Ka(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function FD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function LD(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 HD=class extends RD{constructor(n=null,t,r){super(function sf(e){return(Wa(e)?e.validators:e)||null}(t),function af(e,n){return(Wa(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wa(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(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){LD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){LD(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}},dP={provide:On,useExisting:he(()=>Pi)},$D=Promise.resolve();let Pi=(()=>{class e extends On{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new HD,this._registered=!1,this.name="",this.update=new Ae,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function ff(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Ni?t=i:function sP(e){return Object.getPrototypeOf(e.constructor)===sr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function df(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(){Ri(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){$D.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function Sd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);$D.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Qa(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(S(it,9),S(Je,10),S(xn,10),S(Jt,10),S(gu,8),S(mo,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[be.None,"disabled","isDisabled"],model:[be.None,"ngModel","model"],options:[be.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ce([dP]),le,rn]})}return e})();const mP={provide:Jt,useExisting:he(()=>pf),multi:!0};let pf=(()=>{class e extends sr{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[Ce([mP]),le]})}return e})();const wP={provide:Jt,useExisting:he(()=>ki),multi:!0};function QD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ki=(()=>{class e extends sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=QD(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function bP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([wP]),le]})}return e})(),_f=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(QD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(S(Ot),S(Wn),S(ki,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const EP={provide:Jt,useExisting:he(()=>yf),multi:!0};function YD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let yf=(()=>{class e extends sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let t;return function(o){return(t||(t=Ye(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&L("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([EP]),le]})}return e})(),Cf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(YD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(YD(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(S(Ot),S(Wn),S(yf,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),FP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=mn({})}return e})(),kP=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:mo,useValue:t.callSetDisabledState??Za}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e});static#n=this.\u0275inj=mn({imports:[FP]})}return e})();class sw{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class LP{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class VP{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 It{static roundNumber(n){return Math.floor(n*Math.pow(10,It.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,It.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new VP(r))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:It.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n,t){if(""!==n&&-1===this.name.toLowerCase().indexOf(n.toLowerCase()))return!1;if(""===t||null===this.currentHistoricCoverage)return!0;if("allChanges"===t){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n,t){if(""!==n&&this.name.toLowerCase().indexOf(n.toLowerCase())>-1)return!0;for(let r=0;r{class e{get nativeWindow(){return function HP(){return window}()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),BP=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=tn({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&r&&(f(),Tn("title",o.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function jP(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),L("ngModelChange",function(o){return W(t),Z(v().showBranchCoverage=o)})("change",function(){W(t);const o=v();return Z(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),g("ngModel",t.showBranchCoverage),f(),G(" ",t.translations.branchCoverage,"")}}function $P(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v().translations)}function UP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function zP(e,n){1&e&&(y(0,"a",13),A(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,In)}function GP(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),L("change",function(){const i=W(t).$implicit;return Z(v(2).toggleMetric(i))}),_(),b(3),_(),b(4,"\xa0"),k(5,zP,2,1,"a",12),_()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("checked",r.isMetricSelected(t))("disabled",!r.methodCoverageAvailable),f(),G(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function qP(e,n){if(1&e&&(Y(0),A(1,"br")(2,"br"),y(3,"b"),b(4),_(),k(5,UP,1,1,"pro-button",7)(6,GP,6,4,"div",10),K()),2&e){const t=v();f(4),N(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let WP=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ae,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ae,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ae,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ae,this.visibleMetrics=[],this.visibleMetricsChange=new Ae}isMetricSelected(t){return void 0!==this.visibleMetrics.find(r=>r.name===t.name)}toggleMetric(t){let r=this.visibleMetrics.find(o=>o.name===t.name);r?this.visibleMetrics.splice(this.visibleMetrics.indexOf(r),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=tn({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),L("click",function(){return o.close()}),y(1,"div",1),L("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),L("click",function(){return o.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),L("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),_(),b(9),_()(),k(10,jP,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),L("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),_(),b(14),_(),k(15,$P,1,1,"pro-button",7),_(),k(16,qP,7,3,"ng-container",8),_()()),2&r&&(f(5),N(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(),G(" ",o.translations.coverage,""),f(),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(),G(" ",o.translations.methodCoverage,""),f(),g("ngIf",!o.methodCoverageAvailable),f(),g("ngIf",o.metrics.length>0))},dependencies:[po,rr,Xd,za,Pi,BP],encapsulation:2})}return e})();function ZP(e,n){1&e&&A(0,"td",3)}function QP(e,n){1&e&&A(0,"td"),2&e&&Kt("green ",v().greenClass,"")}function YP(e,n){1&e&&A(0,"td"),2&e&&Kt("red ",v().redClass,"")}let cw=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=tn({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),k(1,ZP,1,0,"td",1)(2,QP,1,3,"td",2)(3,YP,1,3,"td",2),_()),2&r&&(f(),g("ngIf",o.grayVisible),f(),g("ngIf",o.greenVisible),f(),g("ngIf",o.redVisible))},dependencies:[rr],encapsulation:2,changeDetection:0})}return e})();const KP=["codeelement-row",""];function JP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function XP(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function ek(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function tk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function nk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function rk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function ok(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function ik(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function sk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function ak(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function ck(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function lk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function uk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function dk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function fk(e,n){1&e&&A(0,"th",5)}const hk=(e,n)=>({"icon-plus":e,"icon-minus":n});let pk=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=tn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:KP,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),L("click",function(s){return o.element.toggleCollapse(s)}),A(2,"i",1),b(3),_()(),k(4,JP,2,1,"th",2)(5,XP,2,1,"th",2)(6,ek,2,1,"th",2)(7,tk,2,1,"th",2)(8,nk,2,2,"th",3)(9,rk,2,1,"th",2)(10,ok,2,1,"th",2)(11,ik,2,1,"th",2)(12,sk,2,2,"th",3)(13,ak,2,1,"th",2)(14,ck,2,1,"th",2)(15,lk,2,1,"th",2)(16,uk,2,2,"th",3)(17,dk,2,1,"th",2)(18,fk,1,0,"th",4)),2&r&&(f(2),g("ngClass",cd(17,hk,o.element.collapsed,!o.element.collapsed)),f(),G(" ",o.element.name,""),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.lineCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.branchCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngIf",o.methodCoverageAvailable),f(),g("ngForOf",o.visibleMetrics))},dependencies:[Mi,po,rr,cw],encapsulation:2,changeDetection:0})}return e})();const gk=["coverage-history-chart",""];let mk=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let r="";for(let o=0;o({historiccoverageoffset:e});function Ok(e,n){if(1&e&&A(0,"div",11),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",pa(3,Ef,null!==t.clazz.currentHistoricCoverage))}}function Rk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Kt("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),G(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Fk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveragePercentage," ")}}function Pk(e,n){if(1&e&&(y(0,"td",9),k(1,Ok,1,5,"div",10)(2,Rk,5,6,"ng-container",1)(3,Fk,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 kk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function Lk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Kt("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),G(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cb," ")}}function Vk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredBranches," ")}}function Hk(e,n){if(1&e&&(y(0,"td",6),k(1,Lk,5,6,"ng-container",1)(2,Vk,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 Bk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function jk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalBranches," ")}}function $k(e,n){if(1&e&&(y(0,"td",6),k(1,Bk,5,3,"ng-container",1)(2,jk,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 Uk(e,n){if(1&e&&A(0,"div",14),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",pa(3,Ef,null!==t.clazz.currentHistoricCoverage))}}function zk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Kt("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),G(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.bcq,"%")}}function Gk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.branchCoveragePercentage," ")}}function qk(e,n){if(1&e&&(y(0,"td",9),k(1,Uk,1,5,"div",13)(2,zk,5,6,"ng-container",1)(3,Gk,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 Wk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function Zk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Kt("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),G(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),G(" ",t.clazz.currentHistoricCoverage.cm," ")}}function Qk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.coveredMethods," ")}}function Yk(e,n){if(1&e&&(y(0,"td",6),k(1,Zk,5,6,"ng-container",1)(2,Qk,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 Kk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function Jk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.totalMethods," ")}}function Xk(e,n){if(1&e&&(y(0,"td",6),k(1,Kk,5,3,"ng-container",1)(2,Jk,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 e2(e,n){if(1&e&&A(0,"div",16),2&e){const t=v(2);Tn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",pa(3,Ef,null!==t.clazz.currentHistoricCoverage))}}function t2(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(),Kt("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),G(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),G("",t.clazz.currentHistoricCoverage.mcq,"%")}}function n2(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(),G(" ",t.clazz.methodCoveragePercentage," ")}}function r2(e,n){if(1&e&&(y(0,"td",9),k(1,e2,1,5,"div",15)(2,t2,5,6,"ng-container",1)(3,n2,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 o2(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function i2(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,r=v();f(),N(r.clazz.metrics[t.abbreviation])}}let s2=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,r){return t>r?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function V2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function H2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("uncovered",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function B2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverable",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function j2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function $2(e,n){if(1&e){const t=Ee();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("coverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function U2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function z2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_branches",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function G2(e,n){if(1&e){const t=Ee();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("branchcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function q2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("covered_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function W2(e,n){if(1&e){const t=Ee();y(0,"th",54)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("total_methods",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Z2(e,n){if(1&e){const t=Ee();y(0,"th",55)(1,"a",3),L("click",function(o){return W(t),Z(v(2).updateSorting("methodcoverage",o))}),A(2,"i",25),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",Ue(2,_t,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Q2(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),L("click",function(o){const s=W(t).$implicit;return Z(v(2).updateSorting(s.abbreviation,o))}),A(2,"i",25),b(3),_(),y(4,"a",56),A(5,"i",57),_()()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("ngClass",Ue(3,_t,r.settings.sortBy===t.abbreviation&&"desc"===r.settings.sortOrder,r.settings.sortBy===t.abbreviation&&"asc"===r.settings.sortOrder,r.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}function Y2(e,n){if(1&e&&A(0,"tr",59),2&e){const t=v().$implicit,r=v(2);g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)}}function K2(e,n){if(1&e&&A(0,"tr",61),2&e){const t=v().$implicit,r=v(3);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function J2(e,n){if(1&e&&(Y(0),k(1,K2,1,7,"tr",60),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function X2(e,n){if(1&e&&A(0,"tr",64),2&e){const t=v().$implicit,r=v(5);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function eL(e,n){if(1&e&&(Y(0),k(1,X2,1,7,"tr",63),K()),2&e){const t=n.$implicit,r=v(2).$implicit,o=v(3);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function tL(e,n){if(1&e&&(Y(0),A(1,"tr",62),k(2,eL,2,1,"ng-container",28),K()),2&e){const t=v().$implicit,r=v(3);f(),g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics),f(),g("ngForOf",t.classes)}}function nL(e,n){if(1&e&&(Y(0),k(1,tL,3,7,"ng-container",0),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function rL(e,n){if(1&e&&(Y(0),k(1,Y2,1,6,"tr",58)(2,J2,2,1,"ng-container",28)(3,nL,2,1,"ng-container",28),K()),2&e){const t=n.$implicit,r=v(2);f(),g("ngIf",t.visible(r.settings.filter,r.settings.historyComparisionType)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function oL(e,n){if(1&e){const t=Ee();y(0,"div"),k(1,a2,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),L("click",function(o){return W(t),Z(v().collapseAll(o))}),b(5),_(),b(6," | "),y(7,"a",3),L("click",function(o){return W(t),Z(v().expandAll(o))}),b(8),_()(),y(9,"div",4)(10,"span",5),k(11,c2,2,1,"ng-container",0)(12,l2,2,1,"ng-container",0)(13,u2,2,1,"ng-container",0),_(),A(14,"br"),b(15),y(16,"input",6),L("ngModelChange",function(o){return W(t),Z(v().settings.grouping=o)})("ngModelChange",function(){return W(t),Z(v().updateCoverageInfo())}),_()(),y(17,"div",4),k(18,_2,9,6,"ng-container",0),_(),y(19,"div",7)(20,"div")(21,"button",8),L("click",function(){return W(t),Z(v().popupVisible=!0)}),A(22,"i",9),b(23),_()(),A(24,"br"),y(25,"div")(26,"span"),b(27),_(),y(28,"input",10),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)}),_()()()(),y(29,"div",11)(30,"table",12)(31,"colgroup"),A(32,"col",13),k(33,y2,1,0,"col",14)(34,C2,1,0,"col",15)(35,D2,1,0,"col",16)(36,w2,1,0,"col",17)(37,b2,1,0,"col",18)(38,E2,1,0,"col",19)(39,I2,1,0,"col",14)(40,M2,1,0,"col",17)(41,S2,1,0,"col",18)(42,T2,1,0,"col",19)(43,A2,1,0,"col",14)(44,N2,1,0,"col",17)(45,x2,1,0,"col",18)(46,O2,1,0,"col",19)(47,R2,1,0,"col",20),_(),y(48,"thead")(49,"tr",21),A(50,"th"),k(51,F2,2,1,"th",22)(52,P2,2,1,"th",23)(53,k2,2,1,"th",23)(54,L2,2,2,"th",24),_(),y(55,"tr")(56,"th")(57,"a",3),L("click",function(o){return W(t),Z(v().updateSorting("name",o))}),A(58,"i",25),b(59),_()(),k(60,V2,4,6,"th",26)(61,H2,4,6,"th",26)(62,B2,4,6,"th",26)(63,j2,4,6,"th",26)(64,$2,4,6,"th",27)(65,U2,4,6,"th",26)(66,z2,4,6,"th",26)(67,G2,4,6,"th",27)(68,q2,4,6,"th",26)(69,W2,4,6,"th",26)(70,Z2,4,6,"th",27)(71,Q2,6,7,"th",28),_()(),y(72,"tbody"),k(73,rL,4,3,"ng-container",28),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),G(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(5),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",Ue(47,_t,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let iL=(()=>{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 LP,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,It.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let o=0,i=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(r)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new sw;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let c=0;c{for(let o=0;o{for(let i=0;it&&(o[i].collapsed=this.settings.collapseStates[t]),t++,r(o[i].subElements)};r(this.codeElements)}static#e=this.\u0275fac=function(r){return new(r||e)(S(bf))};static#t=this.\u0275cmp=tn({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&L("beforeunload",function(){return o.onBeforeUnload()},0,Cl)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"col-right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&k(0,oL,74,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Mi,po,rr,_f,Cf,Ni,pf,ki,za,Pi,WP,pk,s2],encapsulation:2})}return e})();class sL{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function aL(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=n.$implicit;g("value",t),f(),N(t)}}function cL(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function lL(e,n){1&e&&(y(0,"option",23),b(1,"20"),_())}function uL(e,n){1&e&&(y(0,"option",24),b(1,"50"),_())}function dL(e,n){1&e&&(y(0,"option",25),b(1,"100"),_())}function fL(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function hL(e,n){if(1&e){const t=Ee();y(0,"select",17),L("ngModelChange",function(o){return W(t),Z(v(2).settings.numberOfRiskHotspots=o)}),y(1,"option",18),b(2,"10"),_(),k(3,lL,2,0,"option",19)(4,uL,2,0,"option",20)(5,dL,2,0,"option",21)(6,fL,2,2,"option",22),_()}if(2&e){const t=v(2);g("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function pL(e,n){1&e&&A(0,"col",26)}const Xa=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function gL(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),L("click",function(o){const s=W(t).index;return Z(v(2).updateSorting(""+s,o))}),A(2,"i",14),b(3),_(),y(4,"a",27),A(5,"i",28),_()()}if(2&e){const t=n.$implicit,r=n.index,o=v(2);f(2),g("ngClass",Ue(3,Xa,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(),N(t.name),f(),Tn("href",t.explanationUrl,In)}}const mL=(e,n)=>({lightred:e,lightgreen:n});function vL(e,n){if(1&e&&(y(0,"td",32),b(1),_()),2&e){const t=n.$implicit;g("ngClass",cd(2,mL,t.exceeded,!t.exceeded)),f(),N(t.value)}}function _L(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",29),b(5),_()(),y(6,"td",30)(7,"a",29),b(8),_()(),k(9,vL,2,5,"td",31),_()),2&e){const t=n.$implicit,r=v(2);f(2),N(t.assembly),f(2),g("href",t.reportPath+r.queryString,In),f(),N(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+r.queryString+"#file"+t.fileIndex+"_line"+t.line,In),f(),G(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function yL(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),L("ngModelChange",function(o){return W(t),Z(v().settings.assembly=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),k(6,aL,2,2,"option",4),_()(),y(7,"div",5),k(8,cL,2,1,"span",0)(9,hL,7,5,"select",6),_(),A(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),L("ngModelChange",function(o){return W(t),Z(v().settings.filter=o)})("ngModelChange",function(){return W(t),Z(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),A(18,"col",11)(19,"col",11)(20,"col",11),k(21,pL,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("assembly",o))}),A(26,"i",14),b(27),_()(),y(28,"th")(29,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("class",o))}),A(30,"i",14),b(31),_()(),y(32,"th")(33,"a",13),L("click",function(o){return W(t),Z(v().updateSorting("method",o))}),A(34,"i",14),b(35),_()(),k(36,gL,6,7,"th",15),_()(),y(37,"tbody"),k(38,_L,10,7,"tr",15),function oy(e,n){const t=ee();let r;const o=e+j;t.firstCreatePass?(r=function X1(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Bn(r.type)),a=at(S);try{const c=os(!1),l=i();return os(c),function h1(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,C(),o,l),l}finally{at(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),g("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),G("",t.translations.filter," "),f(),g("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",Ue(20,Xa,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),g("ngClass",Ue(24,Xa,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),g("ngClass",Ue(28,Xa,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",iy(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let CL=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new sL,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 sw;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:[Mi,po,rr,_f,Cf,Ni,ki,za,Pi,wC],encapsulation:2})}return e})(),DL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=kn({type:e,bootstrap:[CL,iL]});static#n=this.\u0275inj=mn({providers:[bf],imports:[sF,kP]})}return e})();oF().bootstrapModule(DL).catch(e=>console.error(e))}},vo=>{vo(vo.s=731)}]); /* ]]> */ \ No newline at end of file diff --git a/ChocolateStoreCore/ChocolateStoreCore.csproj b/ChocolateStoreCore/ChocolateStoreCore.csproj index 41ff4c9..068dde9 100644 --- a/ChocolateStoreCore/ChocolateStoreCore.csproj +++ b/ChocolateStoreCore/ChocolateStoreCore.csproj @@ -18,8 +18,8 @@ ChocolateStoreCore Download, modify and cache chocolatey packages locally 1.0.7 - 1.0.7.6 - 1.0.7.6 + 1.0.7.7 + 1.0.7.7 Robert Zaufall Robert Zaufall IT Consulting (c)2023 by Robert Zaufall diff --git a/ChocolateyPackages/chocolatestore/chocolatestore.nuspec b/ChocolateyPackages/chocolatestore/chocolatestore.nuspec index 8b78fdc..90c16ef 100644 --- a/ChocolateyPackages/chocolatestore/chocolatestore.nuspec +++ b/ChocolateyPackages/chocolatestore/chocolatestore.nuspec @@ -2,7 +2,7 @@ chocolatestore - 1.0.7.6 + 1.0.7.7 ChocolateStoreCore Robert Zaufall https://github.com/robertZaufall/ChocolateStoreCore/ diff --git a/version.txt b/version.txt index 2b39e1d..57e5583 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.7.6 +1.0.7.7