From 6d510d9c06eb1c9fa4cefd30a0ba4a95ac238cc6 Mon Sep 17 00:00:00 2001 From: danielpalme Date: Sat, 17 Dec 2022 19:04:19 +0100 Subject: [PATCH] Release 5.1.13 --- .github/workflows/ci.yml | 2 +- README.md | 6 +++--- docs/main.09ab324871208d92.js | 2 +- src/AzureDevopsTask/ReportGenerator/task.json | 2 +- src/AzureDevopsTask/vss-extension.json | 2 +- .../ReportGenerator.Console.NetCore.csproj | 4 ++-- .../ReportGenerator.Core.Test.csproj | 4 ++-- src/ReportGenerator.Core/ReportGenerator.Core.csproj | 4 ++-- .../ReportGenerator.DotnetCorePluginLoader.csproj | 4 ++-- .../ReportGenerator.DotnetGlobalTool.csproj | 4 ++-- src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj | 4 ++-- src/build.proj | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 487c91cd..0bc22303 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.1.12 + version: 5.1.13 dotnetSDKVersion: 7.0.101 nodeVersion: 18 diff --git a/README.md b/README.md index 0ed3a4c2..36704e4f 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ The reports do not only show the coverage quota, but also include the source cod ## License - ReportGenerator is licensed under the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0) -- You can support the project by [becoming a sponsor](https://github.com/sponsors/danielpalme). -I encourage you to do so, especially if you are using ReportGenerator for commercial projects. +- You can support the project by becoming a sponsor. Sponsors have exclusive access to [additional features](https://reportgenerator.io/pro). ## Getting started *ReportGenerator* is a commandline tool which works with full .NET Framework and .NET Core. @@ -47,6 +46,7 @@ Use the online [configuration tool](https://reportgenerator.io/usage) to get sta |[GitHub Actions](https://github.com/marketplace/actions/reportgenerator)|.NET Core >=3.1| Add the GitHub Action to your build pipeline.
[Learn more](https://github.com/danielpalme/ReportGenerator/wiki/Integration#github-actions)| ### Usage / Command line parameters +Use the online [configuration tool](https://reportgenerator.io/usage) to get started quickly. ``` Parameters: ["]-reports:[;][;]["] @@ -207,7 +207,7 @@ If you need a custom format, you can create a [plugin](https://github.com/daniel | **Input formats** | **Output formats** | |:------------------|:-------------------| -|
  • [OpenCover](https://github.com/OpenCover/opencover) ([Nuget](https://www.nuget.org/packages/OpenCover))
    OpenCover format is also generated by [coverlet](https://github.com/coverlet-coverage/coverlet/) and [altcover](https://github.com/SteveGilham/altcover)
  • [dotCover](https://www.jetbrains.com/dotcover/help/dotCover__Console_Runner_Commands.html) ([Nuget](https://www.nuget.org/packages/JetBrains.dotCover.CommandLineTools/), /ReportType=DetailedXML)
  • Visual Studio ([vstest.console.exe](https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools#vstestconsoleexe), [CodeCoverage.exe](https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools#codecoverageexe))
  • [NCover](https://www.ncover.com/info/download) (tested version 1.5.8, other versions may not work)
  • [Cobertura](https://github.com/cobertura/cobertura)
  • [JaCoCo](https://www.jacoco.org/jacoco/index.html) (version 0.8.3 or greater)
  • [Clover](https://openclover.org/)
  • Mono ([mprof-report](https://www.mono-project.com/docs/debug+profile/profile/profiler/#analyzing-the-profile-data))
  • [gcov](https://gcc.gnu.org/onlinedocs/gcc/Gcov.html)
  • [lcov](https://github.com/linux-test-project/lcov)

|
  • Html, Html_Light, Html_Dark, HtmlSummary, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Light, HtmlInline_AzurePipelines_Dark, [MHtml](https://en.wikipedia.org/wiki/MHTML)
  • Clover
  • Cobertura
  • [SonarQube](https://docs.sonarqube.org/latest/analysis/generic-test)
  • TeamCitySummary
  • [lcov](https://github.com/linux-test-project/lcov)
  • Xml, XmlSummary
  • JsonSummary
  • Latex, LatexSummary
  • TextSummary
  • CsvSummary
  • MarkdownSummary
  • PngChart
  • Badges
  • [Custom reports](https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports)
| +|
  • [OpenCover](https://github.com/OpenCover/opencover) ([Nuget](https://www.nuget.org/packages/OpenCover))
    OpenCover format is also generated by [coverlet](https://github.com/coverlet-coverage/coverlet/) and [altcover](https://github.com/SteveGilham/altcover)
  • [dotCover](https://www.jetbrains.com/dotcover/help/dotCover__Console_Runner_Commands.html) ([Nuget](https://www.nuget.org/packages/JetBrains.dotCover.CommandLineTools/), /ReportType=DetailedXML)
  • Visual Studio ([vstest.console.exe](https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools#vstestconsoleexe), [CodeCoverage.exe](https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools#codecoverageexe))
  • [NCover](https://www.ncover.com/info/download) (tested version 1.5.8, other versions may not work)
  • [Cobertura](https://github.com/cobertura/cobertura)
  • [JaCoCo](https://www.jacoco.org/jacoco/index.html) (version 0.8.3 or greater)
  • [Clover](https://openclover.org/)
  • Mono ([mprof-report](https://www.mono-project.com/docs/debug+profile/profile/profiler/#analyzing-the-profile-data))
  • [gcov](https://gcc.gnu.org/onlinedocs/gcc/Gcov.html)
  • [lcov](https://github.com/linux-test-project/lcov)


|
  • Html, Html_Light, Html_Dark, HtmlSummary, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Light, HtmlInline_AzurePipelines_Dark, [MHtml](https://en.wikipedia.org/wiki/MHTML)
  • Clover
  • Cobertura
  • [SonarQube](https://docs.sonarqube.org/latest/analysis/generic-test)
  • TeamCitySummary
  • [lcov](https://github.com/linux-test-project/lcov)
  • Xml, XmlSummary
  • JsonSummary
  • Latex, LatexSummary
  • TextSummary, TextDeltaSummary
  • CsvSummary
  • MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary
  • PngChart
  • Badges
  • [Custom reports](https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports)
| ### Screenshots The screenshots show two snippets of the generated reports: diff --git a/docs/main.09ab324871208d92.js b/docs/main.09ab324871208d92.js index defd8e68..6fe9d361 100644 --- a/docs/main.09ab324871208d92.js +++ b/docs/main.09ab324871208d92.js @@ -1 +1 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{364:()=>{function fe(e){return"function"==typeof e}function No(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const os=No(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Po(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class It{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(fe(r))try{r()}catch(i){t=i instanceof os?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{fh(i)}catch(s){t=t??[],s instanceof os?t=[...t,...s.errors]:t.push(s)}}if(t)throw new os(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fh(t);else{if(t instanceof It){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Po(n,t)}remove(t){const{_finalizers:n}=this;n&&Po(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const ch=It.EMPTY;function dh(e){return e instanceof It||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function fh(e){fe(e)?e():e.unsubscribe()}const tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},is={setTimeout(e,t,...n){const{delegate:r}=is;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=is;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hh(e){is.setTimeout(()=>{const{onUnhandledError:t}=tr;if(!t)throw e;t(e)})}function ph(){}const nb=Tl("C",void 0,void 0);function Tl(e,t,n){return{kind:e,value:t,error:n}}let nr=null;function ss(e){if(tr.useDeprecatedSynchronousErrorHandling){const t=!nr;if(t&&(nr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=nr;if(nr=null,n)throw r}}else e()}class xl extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dh(t)&&t.add(this)):this.destination=ub}static create(t,n,r){return new as(t,n,r)}next(t){this.isStopped?Nl(function ob(e){return Tl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Nl(function rb(e){return Tl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Nl(nb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sb=Function.prototype.bind;function Rl(e,t){return sb.call(e,t)}class ab{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ls(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ls(r)}else ls(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ls(n)}}}class as extends xl{constructor(t,n,r){let o;if(super(),fe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&tr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Rl(t.next,i),error:t.error&&Rl(t.error,i),complete:t.complete&&Rl(t.complete,i)}):o=t}this.destination=new ab(o)}}function ls(e){tr.useDeprecatedSynchronousErrorHandling?function ib(e){tr.useDeprecatedSynchronousErrorHandling&&nr&&(nr.errorThrown=!0,nr.error=e)}(e):hh(e)}function Nl(e,t){const{onStoppedNotification:n}=tr;n&&is.setTimeout(()=>n(e,t))}const ub={closed:!0,next:ph,error:function lb(e){throw e},complete:ph},Pl="function"==typeof Symbol&&Symbol.observable||"@@observable";function rr(e){return e}function gh(e){return 0===e.length?rr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Ie=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function fb(e){return e&&e instanceof xl||function db(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&dh(e)}(n)?n:new as(n,r,o);return ss(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=mh(r))((o,i)=>{const s=new as({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Pl](){return this}pipe(...n){return gh(n)(this)}toPromise(n){return new(n=mh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function mh(e){var t;return null!==(t=e??tr.Promise)&&void 0!==t?t:Promise}const hb=No(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pn=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new yh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hb}next(n){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?ch:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,Po(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ie;return n.source=this,n}}return e.create=(t,n)=>new yh(t,n),e})();class yh extends pn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ch}}function vh(e){return fe(e?.lift)}function $e(e){return t=>{if(vh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ke(e,t,n,r,o){return new pb(e,t,n,r,o)}class pb extends xl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function W(e,t){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>{r.next(e.call(t,i,o++))}))})}function or(e){return this instanceof or?(this.v=e,this):new or(e)}function yb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(m){return new Promise(function(y,v){i.push([f,m,y,v])>1||a(f,m)})})}function a(f,m){try{!function l(f){f.value instanceof or?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](m))}catch(y){d(i[0][3],y)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,m){f(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}function vb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Dh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const wh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bh(e){return fe(e?.then)}function Eh(e){return fe(e[Pl])}function Mh(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function Ih(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 Sh=function Cb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ah(e){return fe(e?.[Sh])}function Th(e){return yb(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield or(n.read());if(o)return yield or(void 0);yield yield or(r)}}finally{n.releaseLock()}})}function xh(e){return fe(e?.getReader)}function tn(e){if(e instanceof Ie)return e;if(null!=e){if(Eh(e))return function Db(e){return new Ie(t=>{const n=e[Pl]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(wh(e))return function wb(e){return new Ie(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,hh)})}(e);if(Mh(e))return Rh(e);if(Ah(e))return function Eb(e){return new Ie(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(xh(e))return function Mb(e){return Rh(Th(e))}(e)}throw Ih(e)}function Rh(e){return new Ie(t=>{(function Ib(e,t){var n,r,o,i;return function gb(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=vb(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function gn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ge(e,t,n=1/0){return fe(t)?Ge((r,o)=>W((i,s)=>t(r,i,o,s))(tn(e(r,o))),n):("number"==typeof t&&(n=t),$e((r,o)=>function Sb(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},m=v=>u{i&&t.next(v),u++;let w=!1;tn(n(v,c++)).subscribe(ke(t,b=>{o?.(b),i?m(b):t.next(b)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(b)):y(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(ke(t,m,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Ar(e=1/0){return Ge(rr,e)}const mn=new Ie(e=>e.complete());function Ol(e){return e[e.length-1]}function Nh(e){return fe(Ol(e))?e.pop():void 0}function Fo(e){return function Tb(e){return e&&fe(e.schedule)}(Ol(e))?e.pop():void 0}function Ph(e,t=0){return $e((n,r)=>{n.subscribe(ke(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function Fh(e,t=0){return $e((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Oh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Se(e,t){return t?function kb(e,t){if(null!=e){if(Eh(e))return function Rb(e,t){return tn(e).pipe(Fh(t),Ph(t))}(e,t);if(wh(e))return function Pb(e,t){return new Ie(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(bh(e))return function Nb(e,t){return tn(e).pipe(Fh(t),Ph(t))}(e,t);if(Mh(e))return Oh(e,t);if(Ah(e))return function Fb(e,t){return new Ie(n=>{let r;return gn(n,t,()=>{r=e[Sh](),gn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>fe(r?.return)&&r.return()})}(e,t);if(xh(e))return function Ob(e,t){return Oh(Th(e),t)}(e,t)}throw Ih(e)}(e,t):tn(e)}function Tr(e){return e<=0?()=>mn:$e((t,n)=>{let r=0;t.subscribe(ke(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function kl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Tr(1)).subscribe(()=>e())}function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function Ll(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Vl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const jb=le({__forward_ref__:le});function he(e){return e.__forward_ref__=he,e.toString=function(){return ue(this())},e}function V(e){return jl(e)?e():e}function jl(e){return"function"==typeof e&&e.hasOwnProperty(jb)&&e.__forward_ref__===he}function Hl(e){return e&&!!e.\u0275providers}const kh="https://g.co/ng/security#xss";class I extends Error{constructor(t,n){super(function us(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function cs(e,t){throw new I(-201,!1)}function yt(e,t){null==e&&function ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function ds(e){return Lh(e,fs)||Lh(e,jh)}function Lh(e,t){return e.hasOwnProperty(t)?e[t]:null}function Vh(e){return e&&(e.hasOwnProperty(Ul)||e.hasOwnProperty(Kb))?e[Ul]:null}const fs=le({\u0275prov:le}),Ul=le({\u0275inj:le}),jh=le({ngInjectableDef:le}),Kb=le({ngInjectorDef:le});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Bl;function At(e){const t=Bl;return Bl=e,t}function Hh(e,t,n){const r=ds(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void cs(ue(e))}const pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Oo={},$l="__NG_DI_FLAG__",hs="ngTempTokenPath",Xb=/\n/gm,Uh="__source";let ko;function xr(e){const t=ko;return ko=e,t}function Jb(e,t=j.Default){if(void 0===ko)throw new I(-203,!1);return null===ko?Hh(e,void 0,t):ko.get(e,t&j.Optional?null:void 0,t)}function N(e,t=j.Default){return(function Qb(){return Bl}()||Jb)(V(e),t)}function te(e,t=j.Default){return N(e,ps(t))}function ps(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gl(e){const t=[];for(let n=0;n((Vt=Vt||{})[Vt.OnPush=0]="OnPush",Vt[Vt.Default=1]="Default",Vt))(),nn=(()=>{return(e=nn||(nn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",nn;var e})();const vn={},ne=[],gs=le({\u0275cmp:le}),zl=le({\u0275dir:le}),ql=le({\u0275pipe:le}),$h=le({\u0275mod:le}),_n=le({\u0275fac:le}),Vo=le({__NG_ELEMENT_ID__:le});let rE=0;function jt(e){return Ln(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,id:"c"+rE++,styles:e.styles||ne,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=qh(e.inputs,r),o.outputs=qh(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Gh).filter(zh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(ot).filter(zh):null,o})}function Gh(e){return se(e)||Xe(e)}function zh(e){return null!==e}function Ht(e){return Ln(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qh(e,t){if(null==e)return vn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const B=jt;function se(e){return e[gs]||null}function Xe(e){return e[zl]||null}function ot(e){return e[ql]||null}function vt(e,t){const n=e[$h]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}const Q=11;function ht(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bt(e){return Array.isArray(e)&&!0===e[1]}function Ql(e){return 0!=(4&e.flags)}function _s(e){return e.componentOffset>-1}function Cs(e){return 1==(1&e.flags)}function $t(e){return null!==e.template}function uE(e){return 0!=(256&e[2])}function ur(e,t){return e.hasOwnProperty(_n)?e[_n]:null}class fE{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xt(){return Qh}function Qh(e){return e.type.prototype.ngOnChanges&&(e.setInput=pE),hE}function hE(){const e=Xh(this),t=e?.current;if(t){const n=e.previous;if(n===vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pE(e,t,n,r){const o=this.declaredInputs[n],i=Xh(e)||function gE(e,t){return e[Zh]=t}(e,{previous:vn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new fE(l&&l.currentValue,t,a===vn),e[r]=t}xt.ngInherit=!0;const Zh="__ngSimpleChanges__";function Xh(e){return e[Zh]||null}function Le(e){for(;Array.isArray(e);)e=e[0];return e}function Ds(e,t){return Le(t[e])}function Ct(e,t){return Le(t[e.index])}function eu(e,t){return e.data[t]}function Dt(e,t){const n=t[e];return ht(n)?n:n[0]}function ws(e){return 64==(64&e[2])}function Vn(e,t){return null==t?null:e[t]}function Yh(e){e[18]=0}function tu(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const $={lFrame:lp(null),bindingsEnabled:!0};function ep(){return $.bindingsEnabled}function E(){return $.lFrame.lView}function ee(){return $.lFrame.tView}function ce(e){return $.lFrame.contextLView=e,e[8]}function de(e){return $.lFrame.contextLView=null,e}function We(){let e=tp();for(;null!==e&&64===e.type;)e=e.parent;return e}function tp(){return $.lFrame.currentTNode}function rn(e,t){const n=$.lFrame;n.currentTNode=e,n.isParent=t}function nu(){return $.lFrame.isParent}function ru(){$.lFrame.isParent=!1}function it(){const e=$.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kr(){return $.lFrame.bindingIndex++}function xE(e,t){const n=$.lFrame;n.bindingIndex=n.bindingRootIndex=e,ou(t)}function ou(e){$.lFrame.currentDirectiveIndex=e}function ip(){return $.lFrame.currentQueryIndex}function su(e){$.lFrame.currentQueryIndex=e}function NE(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function sp(e,t,n){if(n&j.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&j.Host||(o=NE(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=$.lFrame=ap();return r.currentTNode=t,r.lView=e,!0}function au(e){const t=ap(),n=e[1];$.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ap(){const e=$.lFrame,t=null===e?null:e.child;return null===t?lp(e):t}function lp(e){const t={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=t),t}function up(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cp=up;function lu(){const e=up();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 st(){return $.lFrame.selectedIndex}function cr(e){$.lFrame.selectedIndex=e}function De(){const e=$.lFrame;return eu(e.tView,e.selectedIndex)}function bs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Go{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function du(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let fu=!0;function Is(e){const t=fu;return fu=e,t}let WE=0;const on={};function Ss(e,t){const n=pu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,hu(r.data,e),hu(t,null),hu(r.blueprint,null));const o=As(e,t),i=e.injectorIndex;if(gp(o)){const s=Lr(o),a=Vr(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function hu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function pu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function As(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ep(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function gu(e,t,n){!function KE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vo)&&(r=n[Vo]),null==r&&(r=n[Vo]=WE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:YE:t}(n);if("function"==typeof i){if(!sp(t,e,r))return r&j.Host?vp(o,0,r):_p(t,n,r,o);try{const s=i(r);if(null!=s||r&j.Optional)return s;cs()}finally{cp()}}else if("number"==typeof i){let s=null,a=pu(e,t),l=-1,u=r&j.Host?t[16][6]:null;for((-1===a||r&j.SkipSelf)&&(l=-1===a?As(e,t):t[a+8],-1!==l&&bp(r,!1)?(s=t[1],a=Lr(l),t=Vr(l,t)):a=-1);-1!==a;){const c=t[1];if(wp(i,a,c.data)){const d=ZE(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],-1!==l&&bp(r,t[1].data[a+8]===u)&&wp(i,a,t)?(s=c,a=Lr(l),t=Vr(l,t)):a=-1}}return o}function ZE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Ts(a,s,n,null==r?_s(a)&&fu:r!=s&&0!=(3&a.type),o&j.Host&&i===a);return null!==c?jr(t,s,c,a):on}function Ts(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let m=r?a:a+c;m=l&&y.type===n)return m}if(o){const m=s[l];if(m&&$t(m)&&m.type===n)return l}return null}function jr(e,t,n,r){let o=e[n];const i=t.data;if(function BE(e){return e instanceof Go}(o)){const s=o;s.resolving&&function Hb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(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():G(e)}(i[n]));const a=Is(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?At(s.injectImpl):null;sp(e,r,j.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function HE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Qh(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&At(l),Is(a),s.resolving=!1,cp()}}return o}function wp(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_n]||mu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[_n]||mu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mu(e){return jl(e)?()=>{const t=mu(V(e));return t&&t()}:ur(e)}function Ep(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Br="__parameters__";function Gr(e,t,n){return Ln(()=>{const r=function yu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);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(l,u,c){const d=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function wt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?dr(n,t):t(n))}function Ip(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bt(e,t,n){let r=zr(e,t);return r>=0?e[1|r]=n:(r=~r,function r0(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function _u(e,t){const n=zr(e,t);if(n>=0)return e[1|n]}function zr(e,t){return function Tp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((pt=pt||{})[pt.Important=1]="Important",pt[pt.DashCase=2]="DashCase",pt))();const Mu=new Map;let I0=0;const Su="__ngContext__";function et(e,t){ht(t)?(e[Su]=t[20],function A0(e){Mu.set(e[20],e)}(t)):e[Su]=t}function Tu(e,t){return undefined(e,t)}function ti(e){const t=e[3];return Bt(t)?t[3]:t}function xu(e){return Zp(e[13])}function Ru(e){return Zp(e[4])}function Zp(e){for(;null!==e&&!Bt(e);)e=e[4];return e}function Wr(e,t,n,r,o){if(null!=r){let i,s=!1;Bt(r)?i=r:ht(r)&&(s=!0,r=r[0]);const a=Le(r);0===e&&null!==n?null==o?ng(t,n,a):fr(t,n,a,o||null,!0):1===e&&null!==n?fr(t,n,a,o||null,!0):2===e?function Vu(e,t,n){const r=Os(e,t);r&&function Q0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Y0(e,t,n,r,o){const i=n[7];i!==Le(n)&&Wr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Rs(e,10+t);!function U0(e,t){ni(e,t,t[Q],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Jp(e,t){if(!(128&t[2])){const n=t[Q];n.destroyNode&&ni(e,t,n,3,null,null),function G0(e){let t=e[13];if(!t)return Ou(e[1],e);for(;t;){let n=null;if(ht(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ht(t)&&Ou(t[1],t),t=t[3];null===t&&(t=e),ht(t)&&Ou(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ou(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function K0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===nn.None||i===nn.Emulated)return null}return Ct(r,n)}}(e,t.parent,n)}function fr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ng(e,t,n){e.appendChild(t,n)}function rg(e,t,n,r,o){null!==r?fr(e,t,n,r,o):ng(e,t,n)}function Os(e,t){return e.parentNode(t)}let Uu,js,sg=function ig(e,t,n){return 40&e.type?Ct(e,n):null};function ks(e,t,n,r){const o=eg(e,r,t),i=t[Q],a=function og(e,t,n){return sg(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return js}()?.createScriptURL(e)||e}class mg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kh})`}}function Hn(e){return e instanceof mg?e.changingThisBreaksApplicationSecurity:e}function ri(e,t){const n=function cM(e){return e instanceof mg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${kh})`)}return n===t}const pM=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Re=(()=>((Re=Re||{})[Re.NONE=0]="NONE",Re[Re.HTML=1]="HTML",Re[Re.STYLE=2]="STYLE",Re[Re.SCRIPT=3]="SCRIPT",Re[Re.URL=4]="URL",Re[Re.RESOURCE_URL=5]="RESOURCE_URL",Re))();function Us(e){const t=ii();return t?t.sanitize(Re.URL,e)||"":ri(e,"URL")?Hn(e):function $u(e){return(e=String(e)).match(pM)?e:"unsafe:"+e}(G(e))}function bg(e){const t=ii();if(t)return gg(t.sanitize(Re.RESOURCE_URL,e)||"");if(ri(e,"ResourceURL"))return gg(Hn(e));throw new I(904,!1)}function ii(){const e=E();return e&&e[12]}const Bs=new R("ENVIRONMENT_INITIALIZER"),Mg=new R("INJECTOR",-1),Ig=new R("INJECTOR_DEF_TYPES");class Sg{get(t,n=Oo){if(n===Oo){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function AM(...e){return{\u0275providers:Ag(0,e),\u0275fromNgModule:!0}}function Ag(e,...t){const n=[],r=new Set;let o;return dr(t,i=>{const s=i;Wu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Tg(o,n),n}function Tg(e,t){for(let n=0;n{t.push(i)})}}function Wu(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=Vh(e);const s=!i&&se(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Vh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)Wu(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{dr(i.imports,c=>{Wu(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Tg(u,t)}if(!a){const u=ur(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:ne},{provide:Ig,useValue:o,multi:!0},{provide:Bs,useValue:()=>N(o),multi:!0})}const l=i.providers;null==l||a||Ku(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Ku(e,t){for(let n of e)Hl(n)&&(n=n.\u0275providers),Array.isArray(n)?Ku(n,t):t(n)}const TM=le({provide:String,useValue:le});function Qu(e){return null!==e&&"object"==typeof e&&TM in e}function pr(e){return"function"==typeof e}const Zu=new R("Set Injector scope."),$s={},RM={};let Xu;function Gs(){return void 0===Xu&&(Xu=new Sg),Xu}class bn{}class Ng extends bn{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ju(t,s=>this.processProvider(s)),this.records.set(Mg,Kr(void 0,this)),o.has("environment")&&this.records.set(bn,Kr(void 0,this));const i=this.records.get(Zu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ig.multi,ne,j.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xr(this),r=At(void 0);try{return t()}finally{xr(n),At(r)}}get(t,n=Oo,r=j.Default){this.assertNotDestroyed(),r=ps(r);const o=xr(this),i=At(void 0);try{if(!(r&j.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function kM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&ds(t);a=l&&this.injectableDefInScope(l)?Kr(Yu(t),$s):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&j.Self?Gs():this.parent).get(t,n=r&j.Optional&&n===Oo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[hs]=s[hs]||[]).unshift(ue(t)),o)throw s;return function tE(e,t,n,r){const o=e[hs];throw t[Uh]&&o.unshift(t[Uh]),e.message=function nE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Xb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hs]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{At(i),xr(o)}}resolveInjectorInitializers(){const t=xr(this),n=At(void 0);try{const r=this.get(Bs.multi,ne,j.Self);for(const o of r)o()}finally{xr(t),At(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=pr(t=V(t))?t:V(t&&t.provide);const r=function PM(e){return Qu(e)?Kr(void 0,e.useValue):Kr(Pg(e),$s)}(t);if(pr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Kr(void 0,$s,!0),o.factory=()=>Gl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===$s&&(n.value=RM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function OM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Yu(e){const t=ds(e),n=null!==t?t.factory:ur(e);if(null!==n)return n;if(e instanceof R)throw new I(204,!1);if(e instanceof Function)return function NM(e){const t=e.length;if(t>0)throw function Qo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new I(204,!1)}function Pg(e,t,n){let r;if(pr(e)){const o=V(e);return ur(o)||Yu(o)}if(Qu(e))r=()=>V(e.useValue);else if(function Rg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gl(e.deps||[]));else if(function xg(e){return!(!e||!e.useExisting)}(e))r=()=>N(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function FM(e){return!!e.deps}(e))return ur(o)||Yu(o);r=()=>new o(...Gl(e.deps))}return r}function Kr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&Hl(n)?Ju(n.\u0275providers,t):t(n)}class LM{}class Fg{}class jM{resolveComponentFactory(t){throw function VM(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let si=(()=>{class e{}return e.NULL=new jM,e})();function HM(){return Qr(We(),E())}function Qr(e,t){return new Et(Ct(e,t))}let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=HM,e})();function UM(e){return e instanceof Et?e.nativeElement:e}class kg{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function BM(){const e=E(),n=Dt(We().index,e);return(ht(n)?n:e)[Q]}(),e})(),$M=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null}),e})();class ai{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const GM=new ai("15.0.1"),ec={};function nc(e){return e.ngOriginalError}class Zr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&nc(t);for(;n&&nc(n);)n=nc(n);return n||null}}function Mn(e){return e instanceof Function?e():e}function Vg(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const jg="ng-template";function tI(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const m=8&r?f:null;if(m&&-1!==Vg(m,u,0)||2&r&&u!==f){if(Gt(r))return!1;s=!0}}}}else{if(!s&&!Gt(r)&&!Gt(l))return!1;if(s&&Gt(l))continue;s=!1,r=l|1&r}}return Gt(r)||s}function Gt(e){return 0==(1&e)}function oI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Gt(s)&&(t+=Bg(i,o),o=""),r=s,i=i||!Gt(r);n++}return""!==o&&(t+=Bg(i,o)),t}const z={};function C(e){$g(ee(),E(),st()+e,!1)}function $g(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Es(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ms(t,i,0,n)}cr(n)}function Wg(e,t=null,n=null,r){const o=Kg(e,t,n,r);return o.resolveInjectorInitializers(),o}function Kg(e,t=null,n=null,r,o=new Set){const i=[n||ne,AM(e)];return r=r||("object"==typeof e?void 0:ue(e)),new Ng(i,t||Gs(),r||null,o)}let Nt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wg({name:""},r,n,"");{const o=n.name??"";return Wg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Oo,e.NULL=new Sg,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(Mg)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,t=j.Default){const n=E();return null===n?N(e,t):Cp(We(),n,V(e),t)}function ac(){throw new Error("invalid")}function qs(e,t){return e<<17|t<<2}function zt(e){return e>>17&32767}function lc(e){return 2|e}function In(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function cc(e){return 1|e}function dm(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&$g(e,t,22,!1),n(r,o)}finally{cr(i)}}function Cc(e,t,n){if(Ql(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,li(e,n,o.hostVars,z),o)}function oS(e,t,n){const r=Ct(t,e),o=hm(n),i=e[10],s=Xs(e,Qs(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}function sn(e,t,n,r,o,i){const s=Ct(e,t);!function Ic(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?G(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Q],s,i,e.value,n,r,o)}function iS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&Sc(n)}}function Sc(e){for(let r=xu(e);null!==r;r=Ru(r))for(let o=10;o0&&Sc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Sc(o)}}function cS(e,t){const n=Dt(t,e),r=n[1];(function dS(e,t){for(let n=t.length;n-1&&(Fu(t,r),Rs(n,r))}this._attachedToViewContainer=!1}Jp(this._lView[1],this._lView)}onDestroy(t){pm(this._lView[1],this._lView,null,t)}markForCheck(){Ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ys(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $0(e,t){ni(e,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class fS extends ui{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ys(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Rc extends si{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=se(t);return new ci(n,this.ngModule)}}function Mm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class pS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ps(r);const o=this.injector.get(t,ec,r);return o!==ec||n===ec?o:this.parentInjector.get(t,n,r)}}class ci extends Fg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cI(e){return e.map(uI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Mm(this.componentDef.inputs)}get outputs(){return Mm(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof bn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new pS(t,i):t,a=s.get(kg,null);if(null===a)throw new I(407,!1);const l=s.get($M,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function GI(e,t,n){return e.selectRootElement(t,n===nn.ShadowDom)}(u,r,this.componentDef.encapsulation):Pu(u,c,function hS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,m=bc(0,null,null,1,0,null,null,null,null,null),y=Qs(null,m,null,f,null,null,a,u,l,s,null);let v,w;au(y);try{const b=this.componentDef;let A,_=null;b.findHostDirectiveDefs?(A=[],_=new Map,b.findHostDirectiveDefs(b,A,_),A.push(b)):A=[b];const P=function yS(e,t){const n=e[1];return e[22]=t,Jr(n,22,2,"#host",null)}(y,d),re=function vS(e,t,n,r,o,i,s,a){const l=o[1];!function _S(e,t,n,r){for(const o of e)t.mergedAttrs=qo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Js(t,t.mergedAttrs,!0),null!==n&&dg(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=Qs(o,hm(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&Mc(l,e,r.length-1),Xs(o,c),o[e.index]=c}(P,d,b,A,y,a,u);w=eu(m,22),d&&function DS(e,t,n,r){if(r)du(e,n,["ng-version",GM.full]);else{const{attrs:o,classes:i}=function dI(e){const t=[],n=[];let r=1,o=2;for(;r0&&cg(e,n,i.join(" "))}}(u,b,d,r),void 0!==n&&function wS(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=qo(o.hostAttrs,n=qo(n,o.hostAttrs))}}(r)}function Nc(e){return e===vn?{}:e===ne?[]:e}function MS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function IS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function SS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let ta=null;function gr(){if(!ta){const e=pe.Symbol;if(e&&e.iterator)ta=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;ns(Le(P[r.index])):r.index;let _=null;if(!s&&a&&(_=function US(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=i,_.__ngLastListenerFn__=i,f=!1;else{i=zm(r,t,c,i,!1);const P=n.listen(w,o,i);d.push(i,P),u&&u.push(o,A,b,b+1)}}else i=zm(r,t,c,i,!1);const m=r.outputs;let y;if(f&&null!==m&&(y=m[o])){const v=y.length;if(v)for(let w=0;w-1?Dt(e.index,t):t);let l=Gm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Gm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function U(e=1){return function PE(e){return($.lFrame.contextLView=function FE(e,t){for(;e>0;)t=t[15],e--;return t}(e,$.lFrame.contextLView))[8]}(e)}function An(e,t,n,r,o){const i=E(),s=to(i,t,n,r);return s!==z&&Mt(ee(),De(),i,e,s,i[Q],o,!1),An}function ty(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?zt(i):In(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];WS(e[a],t)&&(l=!0,e[a+1]=r?cc(c):lc(c)),a=r?zt(c):In(c)}l&&(e[n+1]=r?lc(i):cc(i))}function WS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&zr(e,t)>=0}function ra(e,t){return function Wt(e,t,n,r){const o=E(),i=ee(),s=function Dn(e){const t=$.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function cy(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[st()],s=function uy(e,t){return t>=e.expandoStartIndex}(e,n);(function py(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function n1(e,t,n,r){const o=function iu(e){const t=$.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=pi(n=kc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=kc(o,e,t,n,r),null===i){let l=function r1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==In(r))return e[zt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=kc(null,e,t,l[1],r),l=pi(l,t.attrs,r),function o1(e,t,n,r){e[zt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function i1(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=zt(e[a+1]);e[r+1]=qs(f,a),0!==f&&(e[f+1]=uc(e[f+1],r)),e[a+1]=function xI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qs(a,0),0!==a&&(e[a+1]=uc(e[a+1],r)),a=r;else e[r+1]=qs(l,0),0===a?a=r:e[l+1]=uc(e[l+1],r),l=r;u&&(e[r+1]=lc(e[r+1])),ty(e,c,r,!0),ty(e,c,r,!1),function qS(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&zr(i,t)>=0&&(n[r+1]=cc(n[r+1]))}(t,c,e,r,i),s=qs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==z&&tt(o,s,t)&&function fy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];oa(function rm(e){return 1==(1&e)}(u)?hy(l,t,n,o,In(u),s):void 0)||(oa(i)||function nm(e){return 2==(2&e)}(u)&&(i=hy(l,null,n,o,a,s)),function J0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:pt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=pt.Important),e.setStyle(n,r,o,i))}}(r,s,Ds(st(),n),o,i))}(i,i.data[st()],o,o[Q],e,o[s+1]=function l1(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Hn(e)))),e}(t,n),r,s)}(e,t,null,!0),ra}function kc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===z&&(f=d?ne:void 0);let m=d?_u(f,r):c===r?f:void 0;if(u&&!oa(m)&&(m=_u(l,r)),oa(m)&&(a=m,s))return a;const y=e[o+1];o=s?zt(y):In(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=_u(l,r))}return a}function oa(e){return void 0!==e}function g(e,t=""){const n=E(),r=ee(),o=e+22,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=n[o]=function Nu(e,t){return e.createText(t)}(n[Q],t);ks(r,n,s,i),rn(i,!1)}function _e(e){return yr("",e,""),_e}function yr(e,t,n){const r=E(),o=to(r,e,t,n);return o!==z&&function Sn(e,t,n){const r=Ds(t,e);!function Xp(e,t,n){e.setValue(t,n)}(e[Q],r,n)}(r,st(),o),yr}const po="en-US";let ky=po;function jc(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i>20;if(pr(e)||!e.multi){const m=new Go(l,o,M),y=Uc(a,t,o?c:c+f,d);-1===y?(gu(Ss(u,s),i,a),Hc(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(m),s.push(m)):(n[y]=m,s[y]=m)}else{const m=Uc(a,t,c+f,d),y=Uc(a,t,c,c+f),v=m>=0&&n[m],w=y>=0&&n[y];if(o&&!w||!o&&!v){gu(Ss(u,s),i,a);const b=function IA(e,t,n,r,o){const i=new Go(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,av(i,o,r&&!n),i}(o?MA:EA,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Hc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Hc(i,e,m>-1?m:y,av(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Hc(e,t,n,r){const o=pr(t),i=function xM(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function av(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Uc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function bA(e,t,n){const r=ee();if(r.firstCreatePass){const o=$t(e);jc(n,r.data,r.blueprint,o,!0),jc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class _r{}class lv{}class uv extends _r{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Rc(this);const r=vt(t);this._bootstrapComponents=Mn(r.bootstrap),this._r3Injector=Kg(t,n,[{provide:_r,useValue:this},{provide:si,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $c extends lv{constructor(t){super(),this.moduleType=t}create(t){return new uv(this.moduleType,t)}}class AA extends _r{constructor(t,n,r){super(),this.componentFactoryResolver=new Rc(this),this.instance=null;const o=new Ng([...t,{provide:_r,useValue:this},{provide:si,useValue:this.componentFactoryResolver}],n||Gs(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ua(e,t,n=null){return new AA(e,t,n).injector}let TA=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Ag(0,n.type),o=r.length>0?ua([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(bn))}),e})();function cv(e){e.getStandaloneInjector=t=>t.get(TA).getOrCreateStandaloneInjector(e)}function Ae(e,t,n){const r=it()+e,o=E();return o[r]===z?an(o,r,n?t.call(n):t()):function fi(e,t){return e[t]}(o,r)}function zc(e,t,n,r){return function yv(e,t,n,r,o,i){const s=t+n;return tt(e,s,o)?an(e,s+1,i?r.call(i,o):r(o)):function Ci(e,t){const n=e[t];return n===z?void 0:n}(e,s+1)}(E(),it(),e,t,n,r)}function qc(e){return t=>{setTimeout(e,void 0,t)}}const Me=class JA extends pn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=qc(i),o&&(o=qc(o)),s&&(s=qc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function eT(){return this._results[gr()]()}class Wc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=gr(),r=Wc.prototype;r[n]||(r[n]=eT)}get changes(){return this._changes||(this._changes=new Me)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=wt(t);(this._changesDetected=!function t0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=rT,e})();const tT=Tn,nT=class extends tT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Qs(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),_c(r,o,t),new ui(o)}};function rT(){return ca(We(),E())}function ca(e,t){return 4&e.type?new nT(t,e,Qr(e,t)):null}let Qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=oT,e})();function oT(){return Ev(We(),E())}const iT=Qt,wv=class extends iT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qr(this._hostTNode,this._hostLView)}get injector(){return new Hr(this._hostTNode,this._hostLView)}get parentInjector(){const t=As(this._hostTNode,this._hostLView);if(gp(t)){const n=Vr(t,this._hostLView),r=Lr(t);return new Hr(n[1].data[r+8],n)}return new Hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=bv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Ko(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new ci(se(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(bn,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function wE(e){return Bt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new wv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function z0(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=fa,this.reject=fa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(N(ha,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const bi=new R("AppId",{providedIn:"root",factory:function Xv(){return`${od()}${od()}${od()}`}});function od(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Yv=new R("Platform Initializer"),id=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jv=new R("appBootstrapListener");let OT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new R("LocaleId",{providedIn:"root",factory:()=>te(xn,j.Optional|j.SkipSelf)||function kT(){return typeof $localize<"u"&&$localize.locale||po}()});class VT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let sd=(()=>{class e{compileModuleSync(n){return new $c(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Mn(vt(n).declarations).reduce((s,a)=>{const l=se(a);return l&&s.push(new ci(l)),s},[]);return new VT(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const UT=(()=>Promise.resolve(0))();function ad(e){typeof Zone>"u"?UT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Me(!1),this.onMicrotaskEmpty=new Me(!1),this.onStable=new Me(!1),this.onError=new Me(!1),typeof Zone>"u")throw new I(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)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function BT(){let e=pe.requestAnimationFrame,t=pe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function zT(e){const t=()=>{!function GT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ud(e),e.isCheckStableRunning=!0,ld(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ud(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return n_(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),r_(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return n_(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),r_(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,ud(e),ld(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.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(!Ne.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$T,fa,fa);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $T={};function ld(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 ud(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function n_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function r_(e){e._nesting--,ld(e)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Me,this.onMicrotaskEmpty=new Me,this.onStable=new Me,this.onError=new Me}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const o_=new R(""),ga=new R("");let fd,cd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fd||(function WT(e){fd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),ad(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ad(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(N(Ne),N(dd),N(ga))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),dd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return fd?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),$n=null;const i_=new R("AllowMultipleToken"),hd=new R("PlatformDestroyListeners");class s_{constructor(t,n){this.name=t,this.token=n}}function l_(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=pd();if(!s||s.injector.get(i_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function ZT(e){if($n&&!$n.get(i_,!1))throw new I(400,!1);$n=e;const t=e.get(c_);(function a_(e){const t=e.get(Yv,null);t&&t.forEach(n=>n())})(e)}(function u_(e=[],t){return Nt.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:hd,useValue:new Set([()=>$n=null])},...e]})}(a,r))}return function YT(e){const t=pd();if(!t)throw new I(401,!1);return t}()}}function pd(){return $n?.get(c_)??null}let c_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function f_(e,t){let n;return n="noop"===e?new qT:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function d_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ne,useValue:o}];return o.run(()=>{const s=Nt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Zr,null);if(!l)throw new I(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ya(this._modules,a),u.unsubscribe()})}),function h_(e,t,n){try{const r=n();return hi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(pa);return u.runInitializers(),u.donePromise.then(()=>(function Ly(e){yt(e,"Expected localeId to be defined"),"string"==typeof e&&(ky=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(xn,po)||po),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=p_({},r);return function KT(e,t,n){const r=new $c(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ma);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(hd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(N(Nt))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function p_(e,t){return Array.isArray(t)?t.reduce(p_,e):{...e,...t}}let ma=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Ie(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ie(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),ad(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function Lb(...e){const t=Fo(e),n=function xb(e,t){return"number"==typeof Ol(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?tn(r[0]):Ar(n)(Se(r,t)):mn}(i,s.pipe(function Vb(e={}){const{connector:t=(()=>new pn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=null},m=()=>{f(),s=l=null,c=d=!1},y=()=>{const v=s;m(),v?.unsubscribe()};return $e((v,w)=>{u++,!d&&!c&&f();const b=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=kl(y,o))}),b.subscribe(w),s||(s=new as({next:A=>b.next(A),error:A=>{d=!0,f(),a=kl(m,n,A),b.error(A)},complete:()=>{c=!0,f(),a=kl(m,r),b.complete()}}),Se(v).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Fg;if(!this._injector.get(pa).done)throw!o&&function Rr(e){const t=se(e)||Xe(e)||ot(e);return null!==t&&t.standalone}(n),new I(405,false);let s;s=o?n:this._injector.get(si).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function QT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_r),u=s.create(Nt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(o_,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ya(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ya(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ya(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(N(Ne),N(bn),N(Zr))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ya(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let va=(()=>{class e{}return e.__NG_ELEMENT_ID__=ex,e})();function ex(e){return function tx(e,t,n){if(_s(e)&&!n){const r=Dt(e.index,t);return new ui(r,r)}return 47&e.type?new ui(t[16],t):null}(We(),E(),16==(16&e))}class __{constructor(){}supports(t){return di(t)}create(t){return new ax(t)}}const sx=(e,t)=>t;class ax{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||sx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new lx(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new C_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new C_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lx{constructor(t,n){this.item=t,this.trackById=n,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 ux{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class C_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new ux,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function D_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new dx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class dx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function b_(){return new Da([new __])}let Da=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||b_()),deps:[[e,new Xo,new Zo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new I(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:b_}),e})();function E_(){return new Ei([new w_])}let Ei=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E_()),deps:[[e,new Xo,new Zo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:E_}),e})();const px=l_(null,"core",[]);let gx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(N(ma))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})();function yo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let wa=null;function cn(){return wa}class vx{}const ct=new R("DocumentToken");let _d=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return function _x(){return N(M_)}()},providedIn:"platform"}),e})();const Cx=new R("Location Initialized");let M_=(()=>{class e extends _d{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cn().getBaseHref(this._doc)}onPopState(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,o){I_()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){I_()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:function(){return function Dx(){return new M_(N(ct))}()},providedIn:"platform"}),e})();function I_(){return!!window.history.pushState}function Cd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function S_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Nn(e){return e&&"?"!==e[0]?"?"+e:e}let Dr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(T_)},providedIn:"root"}),e})();const A_=new R("appBaseHref");let T_=(()=>{class e extends Dr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??te(ct).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Cd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(_d),N(A_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),wx=(()=>{class e extends Dr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Cd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(_d),N(A_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Dd=(()=>{class e{constructor(n){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=S_(x_(r)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nn(r))}normalize(n){return e.stripTrailingSlash(function Ex(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,x_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Nn,e.joinWithSlash=Cd,e.stripTrailingSlash=S_,e.\u0275fac=function(n){return new(n||e)(N(Dr))},e.\u0275prov=O({token:e,factory:function(){return function bx(){return new Dd(N(Dr))}()},providedIn:"root"}),e})();function x_(e){return e.replace(/\/index.html$/,"")}function j_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let Rd=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(di(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ue(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(M(Da),M(Ei),M(Et),M(En))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class lR{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,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 B_=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new lR(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),$_(a,o)}});for(let o=0,i=r.length;o{$_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Tn),M(Da))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function $_(e,t){e.context.$implicit=t.item}let Na=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new cR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){G_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){G_("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Tn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class cR{constructor(){this.$implicit=null,this.ngIf=null}}function G_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}let jR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})();let $R=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new GR(N(ct),window)}),e})();class GR{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function zR(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=K_(this.window.history)||K_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function K_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Q_{}class vN extends vx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Vd extends vN{static makeCurrent(){!function yx(e){wa||(wa=e)}(new Vd)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function _N(){return Ai=Ai||document.querySelector("base"),Ai?Ai.getAttribute("href"):null}();return null==n?null:function CN(e){Fa=Fa||document.createElement("a"),Fa.setAttribute("href",e);const t=Fa.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ai=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return j_(document.cookie,t)}}let Fa,Ai=null;const tC=new R("TRANSITION_ID"),wN=[{provide:ha,useFactory:function DN(e,t,n){return()=>{n.get(pa).donePromise.then(()=>{const r=cn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Oa=new R("EventManagerPlugins");let ka=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Ti=(()=>{class e extends rC{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(oC),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(oC))}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function oC(e){cn().remove(e)}const jd={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/"},Hd=/%COMP%/g;function La(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ud=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Bd(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case nn.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new xN(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case nn.ShadowDom:return new RN(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=La(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(N(ka),N(Ti),N(bi))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class Bd{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(jd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(uC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(uC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=jd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=jd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(pt.DashCase|pt.Important)?t.style.setProperty(n,r,o&pt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&pt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,aC(r)):this.eventManager.addEventListener(t,n,aC(r))}}function uC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class xN extends Bd{constructor(t,n,r,o){super(t),this.component=r;const i=La(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function SN(e){return"_ngcontent-%COMP%".replace(Hd,e)}(o+"-"+r.id),this.hostAttr=function AN(e){return"_nghost-%COMP%".replace(Hd,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class RN extends Bd{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=La(o.id,o.styles,[]);for(let s=0;s{class e extends nC{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const cC=["alt","control","meta","shift"],PN={"\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"},FN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ON=(()=>{class e extends nC{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>cn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.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."),cC.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=PN[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),cC.forEach(s=>{s!==o&&(0,FN[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const jN=l_(px,"browser",[{provide:id,useValue:"browser"},{provide:Yv,useValue:function kN(){Vd.makeCurrent()},multi:!0},{provide:ct,useFactory:function VN(){return function oM(e){Uu=e}(document),document},deps:[]}]),hC=new R(""),pC=[{provide:ga,useClass:class bN{addToWindow(t){pe.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},pe.getAllAngularTestabilities=()=>t.getAllTestabilities(),pe.getAllAngularRootElements=()=>t.getAllRootElements(),pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(r=>{const o=pe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?cn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:o_,useClass:cd,deps:[Ne,dd,ga]},{provide:cd,useClass:cd,deps:[Ne,dd,ga]}],gC=[{provide:Zu,useValue:"root"},{provide:Zr,useFactory:function LN(){return new Zr},deps:[]},{provide:Oa,useClass:NN,multi:!0,deps:[ct,Ne,id]},{provide:Oa,useClass:ON,multi:!0,deps:[ct]},{provide:Ud,useClass:Ud,deps:[ka,Ti,bi]},{provide:kg,useExisting:Ud},{provide:rC,useExisting:Ti},{provide:Ti,useClass:Ti,deps:[ct]},{provide:ka,useClass:ka,deps:[Oa,Ne]},{provide:Q_,useClass:EN,deps:[]},[]];let HN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:bi,useValue:n.appId},{provide:tC,useExisting:bi},wN]}}}return e.\u0275fac=function(n){return new(n||e)(N(hC,12))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({providers:[...gC,...pC],imports:[jR,gx]}),e})(),Gd=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:function(n){let r=null;return r=n?new n:function BN(){return new Gd(N(ct))}(),r},providedIn:"root"}),e})();function k(...e){return Se(e,Fo(e))}function zn(e,t){return fe(t)?Ge(e,t,1):Ge(e,1)}function Jt(e,t){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class Va{}class qd{}class Fn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Fn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Fn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Fn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class ZN{encodeKey(t){return vC(t)}encodeValue(t){return vC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const YN=/%(\d[a-f0-9])/gi,JN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vC(e){return encodeURIComponent(e).replace(YN,(t,n)=>JN[n]??t)}function ja(e){return`${e}`}class qn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ZN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XN(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ja):[ja(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new qn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ja(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ja(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class eP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function _C(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function CC(e){return typeof Blob<"u"&&e instanceof Blob}function DC(e){return typeof FormData<"u"&&e instanceof FormData}class xi{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function tP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Fn),this.context||(this.context=new eP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new xi(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Oe=(()=>((Oe=Oe||{})[Oe.Sent=0]="Sent",Oe[Oe.UploadProgress=1]="UploadProgress",Oe[Oe.ResponseHeader=2]="ResponseHeader",Oe[Oe.DownloadProgress=3]="DownloadProgress",Oe[Oe.Response=4]="Response",Oe[Oe.User=5]="User",Oe))();class Wd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Fn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Kd extends Wd{constructor(t={}){super(t),this.type=Oe.ResponseHeader}clone(t={}){return new Kd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ha extends Wd{constructor(t={}){super(t),this.type=Oe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ha({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class wC extends Wd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Qd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Zd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof xi)i=n;else{let l,u;l=o.headers instanceof Fn?o.headers:new Fn(o.headers),o.params&&(u=o.params instanceof qn?o.params:new qn({fromObject:o.params})),i=new xi(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=k(i).pipe(zn(l=>this.handler.handle(l)));if(n instanceof xi||"events"===o.observe)return s;const a=s.pipe(Jt(l=>l instanceof Ha));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(W(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(W(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(W(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(W(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new qn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Qd(o,r))}post(n,r,o={}){return this.request("POST",n,Qd(o,r))}put(n,r,o={}){return this.request("PUT",n,Qd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(N(Va))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function bC(e,t){return t(e)}function rP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const iP=new R("HTTP_INTERCEPTORS"),Ri=new R("HTTP_INTERCEPTOR_FNS");function sP(){let e=null;return(t,n)=>(null===e&&(e=(te(iP,{optional:!0})??[]).reduceRight(rP,bC)),e(t,n))}let EC=(()=>{class e extends Va{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(Ri)));this.chain=r.reduceRight((o,i)=>function oP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),bC)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(N(qd),N(bn))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const cP=/^\)\]\}',?\n/;let IC=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ie(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((m,y)=>o.setRequestHeader(m,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const m=n.detectContentTypeHeader();null!==m&&o.setRequestHeader("Content-Type",m)}if(n.responseType){const m=n.responseType.toLowerCase();o.responseType="json"!==m?m:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const m=o.statusText||"OK",y=new Fn(o.getAllResponseHeaders()),v=function dP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Kd({headers:y,status:o.status,statusText:m,url:v}),s},l=()=>{let{headers:m,status:y,statusText:v,url:w}=a(),b=null;204!==y&&(b=typeof o.response>"u"?o.responseText:o.response),0===y&&(y=b?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const _=b;b=b.replace(cP,"");try{b=""!==b?JSON.parse(b):null}catch(P){b=_,A&&(A=!1,b={error:P,text:b})}}A?(r.next(new Ha({body:b,headers:m,status:y,statusText:v,url:w||void 0})),r.complete()):r.error(new wC({error:b,headers:m,status:y,statusText:v,url:w||void 0}))},u=m=>{const{url:y}=a(),v=new wC({error:m,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(v)};let c=!1;const d=m=>{c||(r.next(a()),c=!0);let y={type:Oe.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),"text"===n.responseType&&!!o.responseText&&(y.partialText=o.responseText),r.next(y)},f=m=>{let y={type:Oe.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),r.next(y)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:Oe.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(N(Q_))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Xd=new R("XSRF_ENABLED"),SC="XSRF-TOKEN",AC=new R("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>SC}),TC="X-XSRF-TOKEN",xC=new R("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>TC});class RC{}let fP=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=j_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(N(ct),N(id),N(AC))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function hP(e,t){const n=e.url.toLowerCase();if(!te(Xd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=te(RC).getToken(),o=te(xC);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var xe=(()=>((xe=xe||{})[xe.Interceptors=0]="Interceptors",xe[xe.LegacyInterceptors=1]="LegacyInterceptors",xe[xe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xe[xe.NoXsrfProtection=3]="NoXsrfProtection",xe[xe.JsonpSupport=4]="JsonpSupport",xe[xe.RequestsMadeViaParent=5]="RequestsMadeViaParent",xe))();function vo(e,t){return{\u0275kind:e,\u0275providers:t}}function pP(...e){const t=[Zd,IC,EC,{provide:Va,useExisting:EC},{provide:qd,useExisting:IC},{provide:Ri,useValue:hP,multi:!0},{provide:Xd,useValue:!0},{provide:RC,useClass:fP}];for(const n of e)t.push(...n.\u0275providers);return function SM(e){return{\u0275providers:e}}(t)}const NC=new R("LEGACY_INTERCEPTOR_FN");function mP({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:AC,useValue:e}),void 0!==t&&n.push({provide:xC,useValue:t}),vo(xe.CustomXsrfConfiguration,n)}let yP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({providers:[pP(vo(xe.LegacyInterceptors,[{provide:NC,useFactory:sP},{provide:Ri,useExisting:NC,multi:!0}]),mP({cookieName:SC,headerName:TC}))]}),e})();const{isArray:vP}=Array,{getPrototypeOf:_P,prototype:CP,keys:DP}=Object;function PC(e){if(1===e.length){const t=e[0];if(vP(t))return{args:t,keys:null};if(function wP(e){return e&&"object"==typeof e&&_P(e)===CP}(t)){const n=DP(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:bP}=Array;function FC(e){return W(t=>function EP(e,t){return bP(t)?e(...t):e(t)}(e,t))}function OC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let kC=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et))},e.\u0275dir=B({type:e}),e})(),wr=(()=>{class e extends kC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[ae]}),e})();const dn=new R("NgValueAccessor"),IP={provide:dn,useExisting:he(()=>Yd),multi:!0};let Yd=(()=>{class e extends wr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[Ce([IP]),ae]}),e})();const SP={provide:dn,useExisting:he(()=>Ni),multi:!0},TP=new R("CompositionEventMode");let Ni=(()=>{class e extends kC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function AP(){const e=cn()?cn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et),M(TP,8))},e.\u0275dir=B({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(n,r){1&n&&F("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[Ce([SP]),ae]}),e})();function Wn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const nt=new R("NgValidators"),Kn=new R("NgAsyncValidators");function HC(e){return Wn(e.value)?{required:!0}:null}function Ua(e){return null}function qC(e){return null!=e}function WC(e){return hi(e)?Se(e):e}function KC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function QC(e,t){return t.map(n=>n(e))}function ZC(e){return e.map(t=>function NP(e){return!e.validate}(t)?t:n=>t.validate(n))}function Jd(e){return null!=e?function XC(e){if(!e)return null;const t=e.filter(qC);return 0==t.length?null:function(n){return KC(QC(n,t))}}(ZC(e)):null}function ef(e){return null!=e?function YC(e){if(!e)return null;const t=e.filter(qC);return 0==t.length?null:function(n){return function MP(...e){const t=Nh(e),{args:n,keys:r}=PC(e),o=new Ie(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?OC(r,a):a),i.complete())}))}});return t?o.pipe(FC(t)):o}(QC(n,t).map(WC)).pipe(W(KC))}}(ZC(e)):null}function JC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tf(e){return e?Array.isArray(e)?e:[e]:[]}function Ba(e,t){return Array.isArray(e)?e.includes(t):e===t}function nD(e,t){const n=tf(t);return tf(e).forEach(o=>{Ba(n,o)||n.push(o)}),n}function rD(e,t){return tf(t).filter(n=>!Ba(e,n))}class oD{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(t){this._rawValidators=t||[],this._composedValidatorFn=Jd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ef(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class dt extends oD{get formDirective(){return null}get path(){return null}}class Qn extends oD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class iD{constructor(t){this._cd=t}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 nf=(()=>{class e extends iD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Qn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ra("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})(),rf=(()=>{class e extends iD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(dt,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&ra("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ae]}),e})();const Pi="VALID",Ga="INVALID",_o="PENDING",Fi="DISABLED";function uf(e){return(za(e)?e.validators:e)||null}function cf(e,t){return(za(t)?t.asyncValidators:e)||null}function za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class uD{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Pi}get invalid(){return this.status===Ga}get pending(){return this.status==_o}get disabled(){return this.status===Fi}get enabled(){return this.status!==Fi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(rD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(rD(t,this._rawAsyncValidators))}hasValidator(t){return Ba(this._rawValidators,t)}hasAsyncValidator(t){return Ba(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=_o,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Fi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Pi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pi||this.status===_o)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fi:Pi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=_o,this._hasOwnPendingAsyncValidator=!0;const n=WC(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Me,this.statusChanges=new Me}_calculateStatus(){return this._allControlsDisabled()?Fi:this.errors?Ga:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_o)?_o:this._anyControlsHaveStatus(Ga)?Ga:Pi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){za(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function jP(e){return Array.isArray(e)?Jd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function HP(e){return Array.isArray(e)?ef(e):e||null}(this._rawAsyncValidators)}}class df extends uD{constructor(t,n,r){super(uf(n),cf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function lD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new I(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function aD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new I(1e3,"");if(!r[n])throw new I(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Oi=new R("CallSetDisabledState",{providedIn:"root",factory:()=>ff}),ff="always";function ki(e,t,n=ff){hf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function $P(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&cD(e,t)})}(e,t),function zP(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function GP(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&cD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function BP(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ka(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function hf(e,t){const n=function eD(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(JC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function tD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(JC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ka(t._rawValidators,o),Ka(t._rawAsyncValidators,o)}function cD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const ZP={provide:dt,useExisting:he(()=>Vi)},Li=(()=>Promise.resolve())();let Vi=(()=>{class e extends dt{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Me,this.form=new df({},Jd(n),ef(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Li.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),ki(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Li.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Li.then(()=>{const r=this._findContainer(n.path),o=new df({});(function dD(e,t){hf(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Li.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Li.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function fD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(M(nt,10),M(Kn,10),M(Oi,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&F("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([ZP]),ae]}),e})();function hD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function pD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const gD=class extends uD{constructor(t=null,n,r){super(uf(n),cf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),za(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=pD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){hD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){hD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){pD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},JP={provide:Qn,useExisting:he(()=>Za)},vD=(()=>Promise.resolve())();let Za=(()=>{class e extends Qn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new gD,this._registered=!1,this.update=new Me,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function mf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ni?n=i:function KP(e){return Object.getPrototypeOf(e.constructor)===wr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function gf(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){ki(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(n){vD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&yo(r);vD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function qa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(M(dt,9),M(nt,10),M(Kn,10),M(dn,10),M(va,8),M(Oi,8))},e.\u0275dir=B({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ce([JP]),ae,xt]}),e})(),yf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const tF={provide:dn,useExisting:he(()=>vf),multi:!0};let CD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})(),nF=(()=>{class e{constructor(){this._accessors=[]}add(n,r){this._accessors.push([n,r])}remove(n){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===n)return void this._accessors.splice(r,1)}select(n){this._accessors.forEach(r=>{this._isSameGroup(r,n)&&r[1]!==n&&r[1].fireUncheck(n.value)})}_isSameGroup(n,r){return!!n[0].control&&n[0]._parent===r._control._parent&&n[1].name===r.name}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:CD}),e})(),vf=(()=>{class e extends wr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Qn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et),M(nF),M(Nt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ce([tF]),ae]}),e})();const uF={provide:dn,useExisting:he(()=>Xa),multi:!0};function ID(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Xa=(()=>{class e extends wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=ID(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function cF(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([uF]),ae]}),e})(),SD=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(ID(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(M(Et),M(En),M(Xa,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const dF={provide:dn,useExisting:he(()=>wf),multi:!0};function AD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let wf=(()=>{class e extends wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.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(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(AD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(AD(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(M(Et),M(En),M(wf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),br=(()=>{class e{constructor(){this._validator=Ua}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Ua,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,features:[xt]}),e})();const gF={provide:nt,useExisting:he(()=>ji),multi:!0};let ji=(()=>{class e extends br{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=yo,this.createValidator=n=>HC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){2&n&&qt("required",r._enabled?"":null)},inputs:{required:"required"},features:[Ce([gF]),ae]}),e})();const CF={provide:nt,useExisting:he(()=>bf),multi:!0};let bf=(()=>{class e extends br{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function zC(e){if(!e)return Ua;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(Wn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&qt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[Ce([CF]),ae]}),e})(),DF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[CD]}),e})(),wF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Oi,useValue:n.callSetDisabledState??ff}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[DF]}),e})();class en extends pn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Ya=No(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function VD(...e){const t=Fo(e),n=Nh(e),{args:r,keys:o}=PC(e);if(0===r.length)return Se([],t);const i=new Ie(function EF(e,t,n=rr){return r=>{jD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Se(e[l],t);let c=!1;u.subscribe(ke(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>OC(o,s):rr));return n?i.pipe(FC(n)):i}function jD(e,t,n){e?gn(n,e,t):t()}function Ef(...e){return function MF(){return Ar(1)}()(Se(e,Fo(e)))}function HD(e){return new Ie(t=>{tn(e()).subscribe(t)})}function Hi(e,t){const n=fe(e)?e:()=>e,r=o=>o.error(n());return new Ie(t?o=>t.schedule(r,0,o):r)}function Mf(){return $e((e,t)=>{let n=null;e._refCount++;const r=ke(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class UD extends Ie{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,vh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new It;const n=this.getSubject();t.add(this.source.subscribe(ke(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=It.EMPTY)}return t}refCount(){return Mf()(this)}}function fn(e,t){return $e((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(ke(r,l=>{o?.unsubscribe();let u=0;const c=i++;tn(e(l,c)).subscribe(o=ke(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ja(e){return $e((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function BD(e=SF){return $e((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function SF(){return new Ya}function Zn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jt((o,i)=>e(o,i,r)):rr,Tr(1),n?Ja(t):BD(()=>new Ya))}function rt(e,t,n){const r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?$e((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(ke(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):rr}function Xn(e){return $e((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ke(n,void 0,void 0,s=>{i=tn(e(s,Xn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function AF(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(ke(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function $D(e,t){return $e(AF(e,t,arguments.length>=2,!0))}function If(e){return e<=0?()=>mn:$e((t,n)=>{let r=[];t.subscribe(ke(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function GD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jt((o,i)=>e(o,i,r)):rr,If(1),n?Ja(t):BD(()=>new Ya))}function Sf(e){return $e((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const X="primary",Ui=Symbol("RouteTitle");class RF{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Co(e){return new RF(e)}function NF(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function qD(e){return Array.prototype.concat.apply([],e)}function WD(e){return e.length>0?e[e.length-1]:null}function Qe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Yn(e){return Oc(e)?e:hi(e)?Se(Promise.resolve(e)):k(e)}const el=!1,FF={exact:function ZD(e,t,n){if(!Mr(e.segments,t.segments)||!tl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!ZD(e.children[r],t.children[r],n))return!1;return!0},subset:XD},KD={exact:function OF(e,t){return hn(e,t)},subset:function kF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zD(e[n],t[n]))},ignored:()=>!0};function QD(e,t,n){return FF[n.paths](e.root,t.root,n.matrixParams)&&KD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function XD(e,t,n){return YD(e,t,t.segments,n)}function YD(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Mr(o,n)||t.hasChildren()||!tl(o,n,r))}if(e.segments.length===n.length){if(!Mr(e.segments,n)||!tl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!XD(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Mr(e.segments,o)&&tl(e.segments,o,r)&&e.children[X])&&YD(e.children[X],t,i,r)}}function tl(e,t,n){return t.every((r,o)=>KD[n](e[o].parameters,r.parameters))}class Er{constructor(t=new Y([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Co(this.queryParams)),this._queryParamMap}toString(){return jF.serialize(this)}}class Y{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Qe(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nl(this)}}class Bi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Co(this.parameters)),this._parameterMap}toString(){return nw(this)}}function Mr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let JD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new Af},providedIn:"root"}),e})();class Af{parse(t){const n=new KF(t);return new Er(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${$i(t.root,!0)}`,r=function BF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${rl(n)}=${rl(o)}`).join("&"):`${rl(n)}=${rl(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function HF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const jF=new Af;function nl(e){return e.segments.map(t=>nw(t)).join("/")}function $i(e,t){if(!e.hasChildren())return nl(e);if(t){const n=e.children[X]?$i(e.children[X],!1):"",r=[];return Qe(e.children,(o,i)=>{i!==X&&r.push(`${i}:${$i(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function VF(e,t){let n=[];return Qe(e.children,(r,o)=>{o===X&&(n=n.concat(t(r,o)))}),Qe(e.children,(r,o)=>{o!==X&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===X?[$i(e.children[X],!1)]:[`${o}:${$i(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[X]?`${nl(e)}/${n[0]}`:`${nl(e)}/(${n.join("//")})`}}function ew(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rl(e){return ew(e).replace(/%3B/gi,";")}function Tf(e){return ew(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ol(e){return decodeURIComponent(e)}function tw(e){return ol(e.replace(/\+/g,"%20"))}function nw(e){return`${Tf(e.path)}${function UF(e){return Object.keys(e).map(t=>`;${Tf(t)}=${Tf(e[t])}`).join("")}(e.parameters)}`}const $F=/^[^\/()?;=#]+/;function il(e){const t=e.match($F);return t?t[0]:""}const GF=/^[^=?&#]+/,qF=/^[^&#]+/;class KF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[X]=new Y(t,n)),r}parseSegment(){const t=il(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,el);return this.capture(t),new Bi(ol(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=il(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=il(this.remaining);o&&(r=o,this.capture(r))}t[ol(n)]=ol(r)}parseQueryParam(t){const n=function zF(e){const t=e.match(GF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function WF(e){const t=e.match(qF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=tw(n),i=tw(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=il(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,el);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=X);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[X]:new Y([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new I(4011,el)}}function xf(e){return e.segments.length>0?new Y([],{[X]:e}):e}function sl(e){const t={};for(const r of Object.keys(e.children)){const i=sl(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function QF(e){if(1===e.numberOfChildren&&e.children[X]){const t=e.children[X];return new Y(e.segments.concat(t.segments),t.children)}return e}(new Y(e.segments,t))}function Ir(e){return e instanceof Er}function YF(e,t,n,r,o){if(0===n.length)return Do(t.root,t.root,t.root,r,o);const i=function iw(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ow(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Qe(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new ow(n,t,r)}(n);return i.toRoot()?Do(t.root,t.root,new Y([],{}),r,o):function s(l){const u=function eO(e,t,n,r){if(e.isAbsolute)return new wo(t.root,!0,0);if(-1===r)return new wo(n,n===t.root,0);return function sw(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new wo(r,!1,o-i)}(n,r+(Gi(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?qi(u.segmentGroup,u.index,i.commands):Nf(u.segmentGroup,u.index,i.commands);return Do(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function Gi(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Do(e,t,n,r,o){let s,i={};r&&Qe(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:rw(e,t,n);const a=xf(sl(s));return new Er(a,i,o)}function rw(e,t,n){const r={};return Qe(e.children,(o,i)=>{r[i]=o===t?n:rw(o,t,n)}),new Y(e.segments,r)}class ow{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Gi(r[0]))throw new I(4003,!1);const o=r.find(zi);if(o&&o!==WD(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Nf(e,t,n){if(e||(e=new Y([],{})),0===e.segments.length&&e.hasChildren())return qi(e,t,n);const r=function nO(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(zi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!lw(l,u,s))return i;r+=2}else{if(!lw(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=Nf(e.children[s],t,i))}),Qe(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new Y(e.segments,o)}}function Pf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Pf(new Y([],{}),0,n))}),t}function aw(e){const t={};return Qe(e,(n,r)=>t[r]=`${n}`),t}function lw(e,t,n){return e==n.path&&hn(t,n.parameters)}class On{constructor(t,n){this.id=t,this.url=n}}class Ff extends On{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jn extends On{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class al extends On{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uw extends On{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sO extends On{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class aO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uO{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class cO{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dO{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fO{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hO{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pO{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cw{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Of(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Of(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=kf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return kf(t,this._root).map(n=>n.value)}}function Of(e,t){if(e===t.value)return t;for(const n of t.children){const r=Of(e,n);if(r)return r}return null}function kf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=kf(e,n);if(r.length)return r.unshift(t),r}return[]}class kn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function bo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class fw extends dw{constructor(t,n){super(t),this.snapshot=n,Lf(this,t)}toString(){return this.snapshot.toString()}}function hw(e,t){const n=function mO(e,t){const s=new ll([],{},{},"",{},X,t,null,e.root,-1,{});return new gw("",new kn(s,[]))}(e,t),r=new en([new Bi("",{})]),o=new en({}),i=new en({}),s=new en({}),a=new en(""),l=new Sr(r,o,s,a,i,X,t,n.root);return l.snapshot=n.root,new fw(new kn(l,[]),n)}class Sr{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe(W(u=>u[Ui]))??k(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(W(t=>Co(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>Co(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pw(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function yO(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ll{constructor(t,n,r,o,i,s,a,l,u,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}get title(){return this.data?.[Ui]}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Co(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Co(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gw extends dw{constructor(t,n){super(n),this.url=t,Lf(this,n)}toString(){return mw(this._root)}}function Lf(e,t){t.value._routerState=e,t.children.forEach(n=>Lf(e,n))}function mw(e){const t=e.children.length>0?` { ${e.children.map(mw).join(", ")} } `:"";return`${e.value}${t}`}function Vf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,hn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),hn(t.params,n.params)||e.params.next(n.params),function PF(e,t){if(e.length!==t.length)return!1;for(let n=0;nhn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||jf(e.parent,t.parent))}function Wi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function _O(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Wi(e,r,o);return Wi(e,r)})}(e,t,n);return new kn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Wi(e,a)),s}}const r=function CO(e){return new Sr(new en(e.url),new en(e.params),new en(e.queryParams),new en(e.fragment),new en(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Wi(e,i));return new kn(r,o)}}const Hf="ngNavigationCancelingError";function yw(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=vw(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function vw(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Hf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function _w(e){return Cw(e)&&Ir(e.url)}function Cw(e){return e&&e[Hf]}class DO{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ki,this.attachRef=null}}let Ki=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new DO,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ul=!1;let Uf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new Me,this.deactivateEvents=new Me,this.attachEvents=new Me,this.detachEvents=new Me,this.parentContexts=te(Ki),this.location=te(Qt),this.changeDetector=te(va),this.environmentInjector=te(bn)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,ul);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,ul);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,ul);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new I(4013,ul);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new wO(n,a,o.injector);if(r&&function bO(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xt]}),e})();class wO{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Sr?this.route:t===Ki?this.childContexts:this.parent.get(t,n)}}let Bf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,selectors:[["ng-component"]],standalone:!0,features:[cv],decls:1,vars:0,template:function(n,r){1&n&&D(0,"router-outlet")},dependencies:[Uf],encapsulation:2}),e})();function Dw(e,t){return e.providers&&!e._injector&&(e._injector=ua(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Gf(e){const t=e.children&&e.children.map(Gf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==X&&(n.component=Bf),n}function kt(e){return e.outlet||X}function ww(e,t){const n=e.filter(r=>kt(r)===t);return n.push(...e.filter(r=>kt(r)!==t)),n}function Qi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class AO{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=bo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Qe(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=bo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=bo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=bo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new pO(i.value.snapshot))}),t.children.length&&this.forwardEvent(new fO(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vf(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Vf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Qi(o.snapshot),l=a?.get(si)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class bw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class cl{constructor(t,n){this.component=t,this.route=n}}function TO(e,t,n){const r=e._root;return Zi(r,t?t._root:null,n,[r.value])}function Eo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function zb(e){return null!==ds(e)}(e)?t.get(e):e:r}function Zi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=bo(t);return e.children.forEach(s=>{(function RO(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function NO(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Mr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Mr(e.url,t.url)||!hn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(e,t)||!hn(e.queryParams,t.queryParams);default:return!jf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new bw(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Zi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new cl(a.outlet.component,s))}else s&&Xi(t,a,o),o.canActivateChecks.push(new bw(r)),Zi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Qe(i,(s,a)=>Xi(s,n.getContext(a),o)),o}function Xi(e,t,n){const r=bo(e),o=e.value;Qe(r,(i,s)=>{Xi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new cl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Yi(e){return"function"==typeof e}function zf(e){return e instanceof Ya||"EmptyError"===e?.name}const dl=Symbol("INITIAL_VALUE");function Mo(){return fn(e=>VD(e.map(t=>t.pipe(Tr(1),function IF(...e){const t=Fo(e);return $e((n,r)=>{(t?Ef(e,n,t):Ef(e,n)).subscribe(r)})}(dl)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===dl)return dl;if(!1===n||n instanceof Er)return n}return!0}),Jt(t=>t!==dl),Tr(1)))}function Ew(e){return function cb(...e){return gh(e)}(rt(t=>{if(Ir(t))throw yw(0,t)}),W(t=>!0===t))}const qf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mw(e,t,n,r,o){const i=Wf(e,t,n);return i.matched?function QO(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Eo(s,e);return Yn(function VO(e){return e&&Yi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Mo(),Ew()):k(!0)}(r=Dw(t,r),t,n).pipe(W(s=>!0===s?i:{...qf})):k(i)}function Wf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...qf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||NF)(n,e,t);if(!o)return{...qf};const i={};Qe(o.posParams,(a,l)=>{i[l]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function fl(e,t,n,r){if(n.length>0&&function YO(e,t,n){return n.some(r=>hl(e,t,r)&&kt(r)!==X)}(e,n,r)){const i=new Y(t,function XO(e,t,n,r){const o={};o[X]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&kt(i)!==X){const s=new Y([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[kt(i)]=s}return o}(e,t,r,new Y(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function JO(e,t,n){return n.some(r=>hl(e,t,r))}(e,n,r)){const i=new Y(e.segments,function ZO(e,t,n,r,o){const i={};for(const s of r)if(hl(e,n,s)&&!o[kt(s)]){const a=new Y([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[kt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new Y(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function hl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Iw(e,t,n,r){return!!(kt(e)===r||r!==X&&hl(t,n,e))&&("**"===e.path||Wf(t,e,n).matched)}function Sw(e,t,n){return 0===t.length&&!e.children[n]}const pl=!1;class gl{constructor(t){this.segmentGroup=t||null}}class Aw{constructor(t){this.urlTree=t}}function Ji(e){return Hi(new gl(e))}function Tw(e){return Hi(new Aw(e))}class rk{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=fl(this.urlTree.root,[],[],this.config).segmentGroup,n=new Y(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,X).pipe(W(i=>this.createUrlTree(sl(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Xn(i=>{if(i instanceof Aw)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof gl?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,X).pipe(W(o=>this.createUrlTree(sl(o),t.queryParams,t.fragment))).pipe(Xn(o=>{throw o instanceof gl?this.noMatchError(o):o}))}noMatchError(t){return new I(4002,pl)}createUrlTree(t,n,r){const o=xf(t);return new Er(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(W(i=>new Y([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Se(o).pipe(zn(i=>{const s=r.children[i],a=ww(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(W(l=>({segment:l,outlet:i})))}),$D((i,s)=>(i[s.outlet]=s.segment,i),{}),GD())}expandSegment(t,n,r,o,i,s){return Se(r).pipe(zn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Xn(u=>{if(u instanceof gl)return k(null);throw u}))),Zn(a=>!!a),Xn((a,l)=>{if(zf(a))return Sw(n,o,i)?k(new Y([],{})):Ji(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return Iw(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Ji(n):Ji(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Tw(i):this.lineralizeSegments(r,i).pipe(Ge(s=>{const a=new Y(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Wf(n,o,i);if(!a)return Ji(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?Tw(d):this.lineralizeSegments(o,d).pipe(Ge(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Dw(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(W(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new Y(o,{})))):k(new Y(o,{}))):Mw(n,r,o,t).pipe(fn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Ge(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:m,slicedSegments:y}=fl(n,a,l,f),v=new Y(m.segments,m.children);if(0===y.length&&v.hasChildren())return this.expandChildren(d,f,v).pipe(W(_=>new Y(a,_)));if(0===f.length&&0===y.length)return k(new Y(a,{}));const w=kt(r)===i;return this.expandSegment(d,v,f,y,w?X:i,!0).pipe(W(A=>new Y(a.concat(A.segments),A.children)))})):Ji(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function KO(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Eo(s,e);return Yn(function FO(e){return e&&Yi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Mo(),Ew())}(t,n,r).pipe(Ge(o=>o?this.configLoader.loadChildren(t,n).pipe(rt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function tk(e){return Hi(vw(pl,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[X])return Hi(new I(4e3,pl));o=o.children[X]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Er(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Qe(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Qe(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new Y(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new I(4001,pl);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class ik{}class lk{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=fl(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,X).pipe(W(n=>{if(null===n)return null;const r=new ll([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new gw(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=pw(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return Se(Object.keys(r.children)).pipe(zn(o=>{const i=r.children[o],s=ww(n,o);return this.processSegmentGroup(t,s,i,o)}),$D((o,i)=>o&&i?(o.push(...i),o):null),function TF(e,t=!1){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),Ja(null),GD(),W(o=>{if(null===o)return null;const i=Rw(o);return function uk(e){e.sort((t,n)=>t.value.outlet===X?-1:n.value.outlet===X?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Se(n).pipe(zn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Zn(s=>!!s),Xn(s=>{if(zf(s))return Sw(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!Iw(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?WD(o).parameters:{},l=Pw(r)+o.length;s=k({snapshot:new ll(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fw(n),kt(n),n.component??n._loadedComponent??null,n,Nw(r),l,Ow(n)),consumedSegments:[],remainingSegments:[]})}else s=Mw(r,n,o,t).pipe(W(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=Pw(r)+l.length;return{snapshot:new ll(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fw(n),kt(n),n.component??n._loadedComponent??null,n,Nw(r),d,Ow(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(fn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function ck(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:m,slicedSegments:y}=fl(r,u,c,f.filter(w=>void 0===w.redirectTo));if(0===y.length&&m.hasChildren())return this.processChildren(d,f,m).pipe(W(w=>null===w?null:[new kn(l,w)]));if(0===f.length&&0===y.length)return k([new kn(l,[])]);const v=kt(n)===i;return this.processSegment(d,f,m,y,v?X:i).pipe(W(w=>null===w?null:[new kn(l,w)]))}))}}function dk(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Rw(e){const t=[],n=new Set;for(const r of e){if(!dk(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=Rw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function Nw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Pw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function Fw(e){return e.data||{}}function Ow(e){return e.resolve||{}}function kw(e){return"string"==typeof e.title||null===e.title}function Kf(e){return fn(t=>{const n=e(t);return n?Se(n).pipe(W(()=>t)):k(t)})}class _k{constructor(t){this.router=t,this.currentNavigation=null}setupNavigations(t){const n=this.router.events;return t.pipe(Jt(r=>0!==r.id),W(r=>({...r,extractedUrl:this.router.urlHandlingStrategy.extract(r.rawUrl)})),fn(r=>{let o=!1,i=!1;return k(r).pipe(rt(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.router.lastSuccessfulNavigation?{...this.router.lastSuccessfulNavigation,previousNavigation:null}:null}}),fn(s=>{const a=this.router.browserUrlTree.toString(),l=!this.router.navigated||s.extractedUrl.toString()!==a||a!==this.router.currentUrlTree.toString();if(("reload"===this.router.onSameUrlNavigation||l)&&this.router.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Vw(s.source)&&(this.router.browserUrlTree=s.extractedUrl),k(s).pipe(fn(c=>{const d=this.router.transitions.getValue();return n.next(new Ff(c.id,this.router.serializeUrl(c.extractedUrl),c.source,c.restoredState)),d!==this.router.transitions.getValue()?mn:Promise.resolve(c)}),function ok(e,t,n,r){return fn(o=>function nk(e,t,n,r,o){return new rk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(W(i=>({...o,urlAfterRedirects:i}))))}(this.router.ngModule.injector,this.router.configLoader,this.router.urlSerializer,this.router.config),rt(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function hk(e,t,n,r,o){return Ge(i=>function ak(e,t,n,r,o,i,s="emptyOnly"){return new lk(e,t,n,r,o,s,i).recognize().pipe(fn(a=>null===a?function sk(e){return new Ie(t=>t.error(e))}(new ik):k(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(W(s=>({...i,targetSnapshot:s}))))}(this.router.ngModule.injector,this.router.rootComponentType,this.router.config,this.router.urlSerializer,this.router.paramsInheritanceStrategy),rt(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===this.router.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=this.router.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);this.router.setBrowserUrl(f,c)}this.router.browserUrlTree=c.urlAfterRedirects}const d=new oO(c.id,this.router.serializeUrl(c.extractedUrl),this.router.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);n.next(d)}));if(l&&this.router.rawUrlTree&&this.router.urlHandlingStrategy.shouldProcessUrl(this.router.rawUrlTree)){const{id:d,extractedUrl:f,source:m,restoredState:y,extras:v}=s,w=new Ff(d,this.router.serializeUrl(f),m,y);n.next(w);const b=hw(f,this.router.rootComponentType).snapshot;return k(r={...s,targetSnapshot:b,urlAfterRedirects:f,extras:{...v,skipLocationChange:!1,replaceUrl:!1}})}return this.router.rawUrlTree=s.rawUrl,s.resolve(null),mn}),rt(s=>{const a=new iO(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.router.triggerEvent(a)}),W(s=>r={...s,guards:TO(s.targetSnapshot,s.currentSnapshot,this.router.rootContexts)}),function HO(e,t){return Ge(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function UO(e,t,n,r){return Se(e).pipe(Ge(o=>function WO(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=Qi(t)??o,u=Eo(a,l);return Yn(function LO(e){return e&&Yi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Zn())})).pipe(Mo()):k(!0)}(o.component,o.route,n,t,r)),Zn(o=>!0!==o,!0))}(s,r,o,e).pipe(Ge(a=>a&&function PO(e){return"boolean"==typeof e}(a)?function BO(e,t,n,r){return Se(t).pipe(zn(o=>Ef(function GO(e,t){return null!==e&&t&&t(new dO(e)),k(!0)}(o.route.parent,r),function $O(e,t){return null!==e&&t&&t(new hO(e)),k(!0)}(o.route,r),function qO(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function xO(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>HD(()=>k(s.guards.map(l=>{const u=Qi(s.node)??n,c=Eo(l,u);return Yn(function kO(e){return e&&Yi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Zn())})).pipe(Mo())));return k(i).pipe(Mo())}(e,o.path,n),function zO(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>HD(()=>{const s=Qi(t)??n,a=Eo(i,s);return Yn(function OO(e){return e&&Yi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Zn())}));return k(o).pipe(Mo())}(e,o.route,n))),Zn(o=>!0!==o,!0))}(r,i,e,t):k(a)),W(a=>({...n,guardsResult:a})))})}(this.router.ngModule.injector,s=>this.router.triggerEvent(s)),rt(s=>{if(r.guardsResult=s.guardsResult,Ir(s.guardsResult))throw yw(0,s.guardsResult);const a=new sO(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.router.triggerEvent(a)}),Jt(s=>!!s.guardsResult||(this.router.restoreHistory(s),this.router.cancelNavigationTransition(s,"",3),!1)),Kf(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(rt(a=>{const l=new aO(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(l)}),fn(a=>{let l=!1;return k(a).pipe(function pk(e,t){return Ge(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Se(o).pipe(zn(s=>function gk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!kw(o)&&(i[Ui]=o.title),function mk(e,t,n,r){const o=function yk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Se(o).pipe(Ge(s=>function vk(e,t,n,r){const o=Qi(t)??r,i=Eo(e,o);return Yn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Zn(),rt(a=>{i[s]=a}))),If(1),function xF(e){return W(()=>e)}(i),Xn(s=>zf(s)?mn:Hi(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=pw(e,n).resolve,o&&kw(o)&&(e.data[Ui]=o.title),null)))}(s.route,r,e,t)),rt(()=>i++),If(1),Ge(s=>i===o.length?k(n):mn))})}(this.router.paramsInheritanceStrategy,this.router.ngModule.injector),rt({next:()=>l=!0,complete:()=>{l||(this.router.restoreHistory(a),this.router.cancelNavigationTransition(a,"",2))}}))}),rt(a=>{const l=new lO(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(l)}))}),Kf(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.router.configLoader.loadComponent(l.routeConfig).pipe(rt(c=>{l.component=c}),W(()=>{})));for(const c of l.children)u.push(...a(c));return u};return VD(a(s.targetSnapshot.root)).pipe(Ja(),Tr(1))}),Kf(()=>this.router.afterPreactivation()),W(s=>{const a=function vO(e,t,n){const r=Wi(e,t._root,n?n._root:void 0);return new fw(r,t)}(this.router.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),rt(s=>{this.router.currentUrlTree=s.urlAfterRedirects,this.router.rawUrlTree=this.router.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.router.routerState=s.targetRouterState,"deferred"===this.router.urlUpdateStrategy&&(s.extras.skipLocationChange||this.router.setBrowserUrl(this.router.rawUrlTree,s),this.router.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>W(r=>(new AO(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.router.rootContexts,this.router.routeReuseStrategy,s=>this.router.triggerEvent(s)),rt({next(){o=!0},complete(){o=!0}}),Sf(()=>{o||i||this.router.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Xn(s=>{if(i=!0,Cw(s)){_w(s)||(this.router.navigated=!0,this.router.restoreHistory(r,!0));const a=new al(r.id,this.router.serializeUrl(r.extractedUrl),s.message,s.cancellationCode);if(n.next(a),_w(s)){const l=this.router.urlHandlingStrategy.merge(s.url,this.router.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.router.urlUpdateStrategy||Vw(r.source)};this.router.scheduleNavigation(l,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.router.restoreHistory(r,!0);const a=new uw(r.id,this.router.serializeUrl(r.extractedUrl),s,r.targetSnapshot??void 0);n.next(a);try{r.resolve(this.router.errorHandler(s))}catch(l){r.reject(l)}}return mn}))}))}}function Vw(e){return"imperative"!==e}let jw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===X);return r}getResolvedTitleForRoute(n){return n.data[Ui]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(Ck)},providedIn:"root"}),e})(),Ck=(()=>{class e extends jw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(N(Gd))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Dk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(bk)},providedIn:"root"}),e})();class wk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let bk=(()=>{class e extends wk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ml=new R("",{providedIn:"root",factory:()=>({})}),Io=new R("ROUTES");let Qf=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Yn(n.loadComponent()).pipe(W(Uw),rt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Sf(()=>{this.componentLoaders.delete(n)})),o=new UD(r,()=>new pn).pipe(Mf());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(W(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=qD(l.get(Io,[],j.Self|j.Optional)));return{routes:u.map(Gf),injector:l}}),Sf(()=>{this.childrenLoaders.delete(r)})),s=new UD(i,()=>new pn).pipe(Mf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Yn(n()).pipe(W(Uw),Ge(o=>o instanceof lv||Array.isArray(o)?k(o):Se(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(N(Nt),N(sd))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Uw(e){return function Ik(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Sk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(Ak)},providedIn:"root"}),e})(),Ak=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Tk(e){throw e}function xk(e,t,n){return t.parse("/")}const Rk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function $w(){const e=te(JD),t=te(Ki),n=te(Dd),r=te(Nt),o=te(sd),i=te(Io,{optional:!0})??[],s=te(ml,{optional:!0})??{},a=new Ze(null,e,t,n,r,o,qD(i));return function Pk(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,a),a}let Ze=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new pn,this.errorHandler=Tk,this.malformedUriErrorHandler=xk,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=te(Sk),this.routeReuseStrategy=te(Dk),this.titleStrategy=te(jw),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=new _k(this),this.configLoader=s.get(Qf),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new cO(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new uO(f)),this.ngModule=s.get(_r),this.console=s.get(OT);const d=s.get(Ne);this.isNgZoneEnabled=d instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Er,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hw(this.currentUrlTree,this.rootComponentType),this.transitions=new en({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.navigationTransitions.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next({...this.transitions.value,...n})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const o={replaceUrl:!0},i=n.state?.navigationId?n.state:null;if(n.state){const a={...n.state};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,i,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(Gf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...i};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),YF(u,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Ir(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function Fk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Jn(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.getCurrentNavigation(),this.titleStrategy?.updateTitle(this.routerState.snapshot),n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((f,m)=>{a=f,l=m});const c=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),d=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:c,targetPageId:d,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r,o){const i=new al(n.id,this.serializeUrl(n.extractedUrl),r,o);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){ac()},e.\u0275prov=O({token:e,factory:function(){return $w()},providedIn:"root"}),e})(),er=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new pn;const l=s.nativeElement.tagName;this.isAnchorElement="A"===l||"AREA"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Jn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=yo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=yo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=yo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Eg(e,t,n){return function IM(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?bg:Us}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(M(Ze),M(Sr),function xs(e){return function QE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Me,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Jn&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(Ar()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Se(n).pipe(Ar()).subscribe(r=>{this.isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this.isActive!==n&&(this.isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function Ok(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Ze),M(Et),M(En),M(va),M(er,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&Av(o,er,5),2&n){let i;Sv(i=function Tv(){return function hT(e,t){return e[19].queries[t].queryList}(E(),ip())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[xt]}),e})();class zw{}let kk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(n=>n instanceof Jn),zn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ua(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Se(o).pipe(Ar())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe(Ge(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Se([i,this.loader.loadComponent(r)]).pipe(Ar()):i})}}return e.\u0275fac=function(n){return new(n||e)(N(Ze),N(sd),N(bn),N(zw),N(Qf))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Zf=new R("");let qw=(()=>{class e{constructor(n,r,o,i={}){this.router=n,this.viewportScroller=r,this.zone=o,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Ff?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Jn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof cw&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.router.triggerEvent(new cw(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){ac()},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function Ao(e,t){return{\u0275kind:e,\u0275providers:t}}function Kw(){const e=te(Nt);return t=>{const n=e.get(ma);if(t!==n.components[0])return;const r=e.get(Ze),o=e.get(Qw);1===e.get(Yf)&&r.initialNavigation(),e.get(Zw,null,j.Optional)?.setUpPreloading(),e.get(Zf,null,j.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const Qw=new R("",{factory:()=>new pn}),Yf=new R("",{providedIn:"root",factory:()=>1});const Zw=new R("");function Uk(e){return Ao(0,[{provide:Zw,useExisting:kk},{provide:zw,useExisting:e}])}const Xw=new R("ROUTER_FORROOT_GUARD"),Bk=[Dd,{provide:JD,useClass:Af},{provide:Ze,useFactory:$w},Ki,{provide:Sr,useFactory:function Ww(e){return e.routerState.root},deps:[Ze]},Qf,[]];function $k(){return new s_("Router",Ze)}let Yw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Bk,[],{provide:Io,multi:!0,useValue:n},{provide:Xw,useFactory:Wk,deps:[[Ze,new Zo,new Xo]]},{provide:ml,useValue:r||{}},r?.useHash?{provide:Dr,useClass:wx}:{provide:Dr,useClass:T_},{provide:Zf,useFactory:()=>{const e=te(Ze),t=te($R),n=te(Ne),r=te(ml);return r.scrollOffset&&t.setOffset(r.scrollOffset),new qw(e,t,n,r)}},r?.preloadingStrategy?Uk(r.preloadingStrategy).\u0275providers:[],{provide:s_,multi:!0,useFactory:$k},r?.initialNavigation?Kk(r):[],[{provide:Jw,useFactory:Kw},{provide:Jv,multi:!0,useExisting:Jw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Io,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(N(Xw,8))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[Bf]}),e})();function Wk(e){return"guarded"}function Kk(e){return["disabled"===e.initialNavigation?Ao(3,[{provide:ha,multi:!0,useFactory:()=>{const t=te(Ze);return()=>{t.setUpLocationChangeListener()}}},{provide:Yf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ao(2,[{provide:Yf,useValue:0},{provide:ha,multi:!0,deps:[Nt],useFactory:t=>{const n=t.get(Cx,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(Ze),s=t.get(Qw);(function r(o){t.get(Ze).events.pipe(Jt(s=>s instanceof Jn||s instanceof al||s instanceof uw),W(s=>s instanceof Jn||s instanceof al&&(0===s.code||1===s.code)&&null),Jt(s=>null!==s),Tr(1)).subscribe(()=>{o()})})(()=>{o(!0)}),i.afterPreactivation=()=>(o(!0),s.closed?k(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const Jw=new R("");class Zk{constructor(){this.name="",this.email="",this.message=""}}const Be_apiBaseUrl="https://www.palmmedia.de/api/";class To{constructor(t){this.httpClient=t}postContactForm(t){return this.httpClient.post(`${Be_apiBaseUrl}contact`,t)}static#e=this.\u0275fac=function(n){return new(n||To)(N(Zd))};static#t=this.\u0275prov=O({token:To,factory:To.\u0275fac})}function Xk(e,t){if(1&e){const n=qe();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(U().submit())}),h(2,"div",7)(3,"label",8),g(4,"Name "),h(5,"span",9),g(6,"*"),p()(),h(7,"input",10),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),g(10,"E-Mail "),h(11,"span",9),g(12,"*"),p()(),h(13,"input",12),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),g(16,"Nachricht "),h(17,"span",9),g(18,"*"),p()(),h(19,"textarea",14),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.message=o)}),p()(),h(20,"button",15),g(21,"Submit"),p()()}if(2&e){const n=function jm(e){return function Or(e,t){return e[t]}(function AE(){return $.lFrame.contextLView}(),22+e)}(1),r=U();C(7),S("ngModel",r.contactViewModel.name),C(6),S("ngModel",r.contactViewModel.email),C(6),S("ngModel",r.contactViewModel.message),C(1),S("disabled",!n.valid||r.enableFormCountDown>0)}}function Yk(e,t){1&e&&(h(0,"p"),g(1,"Thanks for your message."),p())}function Jk(e,t){1&e&&(h(0,"p",16),g(1,"Something went wrong. Please try again later."),p())}class yl{constructor(t){this.contactService=t,this.contactViewModel=new Zk,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,0===this.enableFormCountDown&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:t=>{console.log("Submitted form"),this.success=!0},error:t=>{console.error(t),this.error=!0},complete:()=>console.info("complete")})}static#e=this.\u0275fac=function(n){return new(n||yl)(M(To))};static#t=this.\u0275cmp=jt({type:yl,selectors:[["app-contact-component"]],decls:6,vars:3,consts:[[1,"container"],[1,"mb-4"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","text-danger",4,"ngIf"],["method","post",3,"ngSubmit"],["contactForm","ngForm"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Email"],["type","email","id","Email","name","Email","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"text-danger"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Contact"),p(),q(3,Xk,22,4,"form",2),q(4,Yk,2,0,"p",3),q(5,Jk,2,0,"p",4),p()),2&n&&(C(3),S("ngIf",!r.success&&!r.error),C(1),S("ngIf",r.success),C(1),S("ngIf",r.error))},dependencies:[Na,yf,Ni,nf,rf,ji,Za,Vi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]})}const Lt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.12"},eL=function(){return["/usage"]};class vl{constructor(){this.versions=Lt}static#e=this.\u0275fac=function(n){return new(n||vl)};static#t=this.\u0275cmp=jt({type:vl,selectors:[["app-getstarted"]],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java"],["href","https://github.com/jacoco/jacoco"],["id","nodejs"],["href","https://github.com/istanbuljs/nyc"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Get started"),p(),h(3,"h2"),g(4,"General"),p(),h(5,"p"),g(6,"In general you need a tool that instruments your test code and collects coverage information."),D(7,"br"),g(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),D(9,"br"),h(10,"em"),g(11,"ReportGenerator"),p(),g(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),g(14,"Use the online "),h(15,"a",2),g(16,"configuration tool"),p(),g(17," to get started quickly."),p(),h(18,"h2",3),g(19,".NET"),p(),h(20,"p"),g(21,"For .NET you can use "),h(22,"a",4),g(23,"coverlet"),p(),g(24," or "),h(25,"a",5),g(26,"altcover"),p(),g(27," for instrumenting your test code."),p(),h(28,"p"),g(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(30,"p")(31,"strong"),g(32,"Add dependencies to your "),h(33,"code"),g(34,"*.csproj"),p(),g(35," file:"),p()(),h(36,"pre",6),g(37),p(),h(38,"p")(39,"strong"),g(40,"Execute tests and create coverage report"),p()(),h(41,"pre",6),g(42),p(),h(43,"h2",7),g(44,"Java"),p(),h(45,"p"),g(46,"For Java you can use "),h(47,"a",8),g(48,"JaCoCo"),p(),g(49," for instrumenting your test code.\nAfter adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report."),p(),h(50,"p")(51,"strong"),g(52,"Add dependencies to your "),h(53,"code"),g(54,"pom.xml"),p(),g(55," file:"),p()(),h(56,"pre",6),g(57,"\n \n \n \n org.jacoco\n jacoco-maven-plugin\n 0.8.6\n \n \n \n prepare-agent\n \n \n \n report\n prepare-package\n \n report\n \n \n \n \n \n \n \n \n \n org.jacoco\n jacoco-maven-plugin\n \n \n \n report\n \n \n \n \n \n \n\n"),p(),h(58,"p")(59,"strong"),g(60,"Execute tests and create coverage report"),p()(),h(61,"pre",6),g(62),p(),h(63,"h2",9),g(64,"NodeJS"),p(),h(65,"p"),g(66,"For NodeJS you can use "),h(67,"a",10),g(68,"Istanbul"),p(),g(69," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(70,"pre",6),g(71),p()()),2&n&&(C(15),S("routerLink",Ae(5,eL)),C(22),yr('\n \n runtime; build; native; contentfiles; analyzers; buildtransitive\n all\n \n \n \n \n all\n runtime; build; native; contentfiles; analyzers\n \n\n'),C(5),yr('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',r.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),C(20),yr("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",r.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),C(9),yr("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",r.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[er]})}const tL=function(){return["/pro"]},nL=function(){return["/usage"]},rL=function(){return["/getstarted"]};class _l{static#e=this.\u0275fac=function(n){return new(n||_l)};static#t=this.\u0275cmp=jt({type:_l,selectors:[["app-home"]],decls:115,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo_512.png","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9"],[1,"mt-5"],[1,"mt-4","h5"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h6","mt-3"],["data-splitbee-event","Routing","data-splitbee-event-source","HomeComponent",3,"routerLink"],[1,"fa-solid","fa-lightbulb"],[3,"routerLink"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","pt-5","pb-5","bg-light"],[1,"text-center"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1.png"],["src","resources/screenshot1.png","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2.png"],["src","resources/screenshot2.png","alt","Screenshot",1,"img-fluid"]],template:function(n,r){1&n&&(h(0,"section",0)(1,"div",1)(2,"div",2),D(3,"img",3),p(),h(4,"div",4)(5,"h1"),g(6,"ReportGenerator"),p(),h(7,"h2",5),g(8,"Powerful code coverage visualization"),p(),h(9,"div",6)(10,"p")(11,"i"),g(12,"ReportGenerator"),p(),g(13," converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats."),p(),h(14,"p"),g(15,"The reports do not only show the coverage quota, but also include the source code and visualize which lines have been covered."),p()()()(),h(16,"div",7)(17,"div",8)(18,"div",9),D(19,"i",10),p(),h(20,"div",11),g(21,"Open source"),p(),h(22,"p")(23,"i"),g(24,"ReportGenerator"),p(),g(25," is open source under the permissive Apache License."),p(),h(26,"p"),g(27,"It's free to use."),D(28,"br"),g(29,"The "),h(30,"a",12),g(31,"PRO"),p(),g(32," version offers additional features."),p()(),h(33,"div",8)(34,"div",9),D(35,"i",13),p(),h(36,"div",11),g(37,"Easy to use"),p(),h(38,"p")(39,"i"),g(40,"ReportGenerator"),p(),g(41," is a command line tool which only requires a "),h(42,"a",14),g(43,"few parameters"),p(),g(44,"."),p(),h(45,"p"),g(46,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(47,"div",8)(48,"div",9),D(49,"i",15),p(),h(50,"div",11),g(51,"Integration"),p(),h(52,"p")(53,"i"),g(54,"ReportGenerator"),p(),g(55," works on Windows, Linux and macOS."),p(),h(56,"p"),g(57,"Support for "),h(58,"a",16),g(59,"GitHub actions"),p(),g(60," and "),h(61,"a",17),g(62,"Azure DevOps"),p(),g(63," is available."),p()()(),h(64,"div",7)(65,"div",18)(66,"a",19),D(67,"i",20),g(68," Learn how to use"),p(),h(69,"a",21),D(70,"i",22),g(71," GitHub"),p()()()(),h(72,"section",23)(73,"div",0)(74,"h2",24),g(75,"Trusted by"),p(),h(76,"div",7)(77,"div",25),D(78,"i",26)(79,"br"),h(80,"a",27),g(81,".NET Runtime"),p()(),h(82,"div",25),D(83,"i",28)(84,"br"),h(85,"a",29),g(86,"Google Cloud"),p()(),h(87,"div",25),D(88,"i",30)(89,"br"),h(90,"a",31),g(91,"AWS Encryption SDK"),p()(),h(92,"div",32),D(93,"i",33)(94,"br"),h(95,"a",34),g(96,"Many more"),p()()()()(),h(97,"section",35)(98,"div",0)(99,"h2"),g(100,"Screenshots"),p(),h(101,"p"),g(102,"The screenshots show two snippets of the generated reports."),p(),h(103,"p"),g(104,"You can download "),h(105,"a",36),g(106,"sample reports"),p(),g(107," of all formats."),p(),h(108,"div",1)(109,"div",37)(110,"a",38),D(111,"img",39),p()(),h(112,"div",40)(113,"a",41),D(114,"img",42),p()()()()()),2&n&&(C(30),S("routerLink",Ae(3,tL)),C(12),S("routerLink",Ae(4,nL)),C(24),S("routerLink",Ae(5,rL)))},dependencies:[er],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 123px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]})}class eb{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}class xo{initCodeFlow(){const r=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/pro`;console.log("Redirecting to: "+r),location.href=r}validateStateAndExtractCode(){let t=location.href;const n=t.indexOf("?");n>-1&&(t=t.substring(n+1));const r=this.parseQueryString(t);return r.state&&r.code&&this.validateNonce(r.state)?r.code:null}createAndSaveNonce(){const t=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",t),t}validateNonce(t){let n;return typeof window.localStorage<"u"&&(n=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),n&&0!==n.length?n===t||(console.error("Validating nonce failed. Values do not match.",n,t),!1):(console.error("Validating nonce failed. No saved nonce available.",n,t),!1)}createNonce(){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,r="";const o=typeof self>"u"?null:self.crypto||self.msCrypto;if(o){let s=new Uint8Array(n);o.getRandomValues(s),s.map||(s.map=Array.prototype.map);const a=[];for(var i=0;i0&&(l=decodeURIComponent(s),u=decodeURIComponent(a),"/"===l.substring(0,1)&&(l=l.substring(1)),n[l]=u);return n}base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}static#e=this.\u0275fac=function(n){return new(n||xo)};static#t=this.\u0275prov=O({token:xo,factory:xo.\u0275fac})}class Ro{constructor(t){this.httpClient=t}getLicense(t){return this.httpClient.get(`${Be_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(t)}`)}getPaddleLicense(t){return this.httpClient.post(`${Be_apiBaseUrl}reportgenerator/paddlelicense`,t)}static#e=this.\u0275fac=function(n){return new(n||Ro)(N(Zd))};static#t=this.\u0275prov=O({token:Ro,factory:Ro.\u0275fac})}function oL(e,t){1&e&&(h(0,"div",38)(1,"span",39),g(2,"Loading..."),p()())}const Jf=function(){return["/contact"]};function iL(e,t){if(1&e&&(h(0,"div")(1,"p"),g(2),p(),h(3,"p"),g(4,"Please try again later or use the "),h(5,"a",14),g(6," contact form"),p(),g(7,"."),p()()),2&e){const n=U(2);C(2),_e(n.license.error),C(3),S("routerLink",Ae(2,Jf))}}function sL(e,t){1&e&&(h(0,"div")(1,"p"),g(2,"Please become a "),h(3,"a",41),g(4,"GitHub sponsor"),p(),g(5," first."),p()())}function aL(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function lL(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function uL(e,t){if(1&e){const n=qe();h(0,"div")(1,"label",42),g(2,"Thank you for becoming a sponsor. Here's your license:"),p(),h(3,"textarea",43),g(4),p(),h(5,"button",44),F("click",function(){return ce(n),de(U(2).copy())}),q(6,aL,3,0,"span",40),q(7,lL,3,0,"span",40),p()()}if(2&e){const n=U(2);C(4),_e(n.license.license),C(2),S("ngIf",!n.licenseCopied),C(1),S("ngIf",n.licenseCopied)}}function cL(e,t){if(1&e&&(h(0,"div",17),q(1,iL,8,3,"div",40),q(2,sL,6,0,"div",40),q(3,uL,8,3,"div",40),p()),2&e){const n=U();C(1),S("ngIf",n.license.error),C(1),S("ngIf",!n.license.error&&!n.license.isSponsor),C(1),S("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function dL(e,t){if(1&e){const n=qe();h(0,"button",56),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("individual"))}),g(1,"Buy now"),p()}}function fL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function hL(e,t){if(1&e){const n=qe();h(0,"button",58),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("team"))}),g(1,"Buy now"),p()}}function pL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function gL(e,t){if(1&e){const n=qe();h(0,"button",59),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("unlimited"))}),g(1,"Buy now"),p()}}function mL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function yL(e,t){if(1&e&&(h(0,"div",2)(1,"div",47),D(2,"img",48),h(3,"h4",49),g(4,"Individual"),D(5,"br"),g(6),p(),h(7,"p"),g(8,"Annual - Per developer license."),p(),q(9,dL,2,0,"button",50),q(10,fL,2,0,"button",51),p(),h(11,"div",47),D(12,"img",52),h(13,"h4",49),g(14,"Team"),D(15,"br"),g(16),p(),h(17,"p"),g(18,"Annual - Up to 10 developers."),p(),q(19,hL,2,0,"button",53),q(20,pL,2,0,"button",51),p(),h(21,"div",47),D(22,"img",54),h(23,"h4",49),g(24,"Unlimited"),D(25,"br"),g(26),p(),h(27,"p"),g(28,"Annual - Unlimited developers."),p(),q(29,gL,2,0,"button",55),q(30,mL,2,0,"button",51),p()()),2&e){const n=U();C(6),_e(n.paddleIndividualLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle),C(6),_e(n.paddleTeamLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle),C(6),_e(n.paddleUnlimitedLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle)}}function vL(e,t){1&e&&(uo(0),h(1,"div",38)(2,"span",39),g(3,"Loading..."),p()(),h(4,"span",61),g(5,"Your license is being generated. Please wait."),p(),co())}function _L(e,t){if(1&e&&(h(0,"div")(1,"p"),g(2),p(),h(3,"p"),g(4,"Please try again later or use the "),h(5,"a",14),g(6," contact form"),p(),g(7,"."),p()()),2&e){const n=U(3);C(2),_e(n.paddleLicense.error),C(3),S("routerLink",Ae(2,Jf))}}function CL(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function DL(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function wL(e,t){if(1&e){const n=qe();h(0,"div")(1,"label",63),g(2,"Thank you for buying a license. Please save your license key persistently:"),p(),h(3,"textarea",64),g(4),p(),h(5,"button",44),F("click",function(){return ce(n),de(U(3).copyPaddle())}),q(6,CL,3,0,"span",40),q(7,DL,3,0,"span",40),p()()}if(2&e){const n=U(3);C(4),_e(n.paddleLicense.license),C(2),S("ngIf",!n.paddleLicenseCopied),C(1),S("ngIf",n.paddleLicenseCopied)}}function bL(e,t){if(1&e&&(h(0,"div",62),q(1,_L,8,3,"div",40),q(2,wL,8,3,"div",40),p()),2&e){const n=U(2);C(1),S("ngIf",n.paddleLicense.error),C(1),S("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function EL(e,t){if(1&e&&(h(0,"div",2),q(1,vL,6,0,"ng-container",40),q(2,bL,3,2,"div",60),p()),2&e){const n=U();C(1),S("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),C(1),S("ngIf",n.paddleLicense)}}class Cl{constructor(t,n){this.oauthService=t,this.licenseService=n,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleUnlimitedLicensePrice="US$249",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.paddleLicenseRequested=!1,this.paddleLicenseCopied=!1,this.paddleLicense=null,this.self=this,window.paddleCheckoutComplete=r=>{this.paddleCheckoutComplete(r)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,r=>{this.paddleIndividualLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762580,r=>{this.paddleTeamLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762581,r=>{this.paddleUnlimitedLicensePrice=r.recurring.price.gross})}ngOnInit(){const t=this.oauthService.validateStateAndExtractCode();null!==t?(console.log("Code received",t),this.licenseRequested=!0,this.licenseService.getLicense(t).subscribe({next:n=>{console.log("Received license response"),this.license=n,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:n=>{console.error(n),this.license=new eb,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available")}requestLicense(){this.licenseRequested=!0,this.oauthService.initCodeFlow()}copy(){try{navigator.clipboard.writeText(this.license.license),this.licenseCopied=!0}catch(t){console.error("Failed to copy license",t)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(t){console.error("Failed to copy paddle license",t)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(t){"unlimited"===t?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===t?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(t){console.log("Checkout completed",t),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(t).subscribe({next:n=>{console.log("Received paddle license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:n=>{console.error(n),this.paddleLicense=new eb,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}static#e=this.\u0275fac=function(n){return new(n||Cl)(M(xo),M(Ro))};static#t=this.\u0275cmp=jt({type:Cl,selectors:[["app-pro-component"]],decls:136,vars:7,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],[1,"fa-solid","fa-circle-check","pro-text"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","github"],[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank","data-splitbee-event","GitHub_BecomeSponsor",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button","data-splitbee-event","GitHub_GetLicense",1,"btn","btn-primary","me-3",3,"disabled","click"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","paddle"],["class","row",4,"ngIf"],[1,"mt-5"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[4,"ngIf"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"],[1,"col-xs-6","col-md-4","pb-3","text-center"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"mt-3"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",3,"click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],["src","resources/team.svg","alt","Team",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",3,"click",4,"ngIf"],["src","resources/unlimited.svg","alt","Unlimited",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Unlimited",3,"click",4,"ngIf"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",1,"btn","btn-primary",3,"click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",1,"btn","btn-primary",3,"click"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Unlimited",1,"btn","btn-primary",3,"click"],["class","col-xs-12 col-md-6",4,"ngIf"],[2,"position","relative","left","35px","top","-20px"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),D(8,"th",5),h(9,"th",6),g(10,"Free"),p(),h(11,"th",6)(12,"span",7),g(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),g(17,"Metrics"),p(),h(18,"td",9),D(19,"i",10),p(),h(20,"td",9),D(21,"i",10),p()(),h(22,"tr")(23,"th",8),g(24,"Risk Hotspots"),p(),h(25,"td",9),D(26,"i",10),p(),h(27,"td",9),D(28,"i",10),p()(),h(29,"tr")(30,"th",8),g(31,"Line coverage"),p(),h(32,"td",9),D(33,"i",10),p(),h(34,"td",9),D(35,"i",10),p()(),h(36,"tr")(37,"th",8),g(38,"Branch coverage"),p(),h(39,"td",9),D(40,"i",10),p(),h(41,"td",9),D(42,"i",10),p()(),h(43,"tr")(44,"th",8),g(45,"Method coverage"),p(),D(46,"td",9),h(47,"td",9),D(48,"i",11),p()()()()(),h(49,"div",12)(50,"p")(51,"i"),g(52,"ReportGenerator"),p(),g(53," is Open Source and free to use."),D(54,"br"),g(55," Some of the advanced features require a PRO license. "),p(),h(56,"p"),g(57," You can either become a "),h(58,"a",13),F("click",function(){return r.scrollToGithub()}),g(59,"GitHub sponsor"),p(),g(60," or you can "),h(61,"a",13),F("click",function(){return r.scrollToPaddle()}),g(62,"buy a license"),p(),g(63,"."),D(64,"br"),p(),h(65,"p"),g(66," Get "),h(67,"a",14),g(68,"in touch"),p(),g(69," if you have any issues and we will figure it out. "),p()()(),D(70,"div",15),p(),h(71,"section",16)(72,"div",0)(73,"h2",1),g(74,"Get your license as a sponsor"),p(),h(75,"div",2)(76,"div",17)(77,"p"),g(78,"You can obtain your license in two easy steps (no sign up required):"),p(),h(79,"span",18),g(80,"1."),p(),h(81,"a",19),D(82,"i",20),g(83," Become a GitHub sponsor"),p(),D(84,"br"),h(85,"span",18),g(86,"2."),p(),h(87,"button",21),F("click",function(){return r.requestLicense()}),D(88,"i",22),g(89," Get license"),p(),q(90,oL,3,0,"div",23),p(),q(91,cL,4,3,"div",24),p()(),D(92,"div",25),p(),h(93,"section",16)(94,"div",0)(95,"h2",1),g(96,"Buy a license"),p(),q(97,yL,31,9,"div",26),q(98,EL,3,2,"div",26),h(99,"div",27)(100,"p")(101,"i"),g(102,"ReportGenerator"),p(),g(103," licence purchases are provided with a 30 day money back guarantee."),p(),h(104,"p"),g(105,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns"),p()()()(),h(106,"section",28)(107,"h2",1),g(108,"Frequently Asked Questions"),p(),h(109,"div",29)(110,"div",30)(111,"h2",31)(112,"button",32),g(113," Are there limitations on number of users? "),p()(),h(114,"div",33)(115,"div",34)(116,"b"),g(117,"GitHub sponsors"),p(),D(118,"br"),h(119,"p"),g(120,"There's no enforced limit. Just pick a sponsor level that fits your company size and budget."),p(),h(121,"b"),g(122,"Bought license"),p(),D(123,"br"),h(124,"p"),g(125,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(126,"i"),g(127,"ReportGenerator"),p(),g(128,"."),p()()()(),h(129,"div",30)(130,"h2",35)(131,"button",36),g(132," Will my license expire? "),p()(),h(133,"div",37)(134,"div",34),g(135," Your license will not expire. "),p()()()()()),2&n&&(C(67),S("routerLink",Ae(6,Jf)),C(20),S("disabled",r.licenseRequested),C(3),S("ngIf",r.licenseRequested&&!r.license),C(1),S("ngIf",r.license),C(6),S("ngIf",!r.paddleLicenseRequested),C(1),S("ngIf",r.paddleLicenseRequested))},dependencies:[Na,er],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]})}class Dl{constructor(t,n,r,o,i,s){this.name=t,this.url=n,this.runtimes=r,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?'"':"";return`\r\n${r}-${t}:${n}${r}`}formatArguments(t,n){return this.formatArgument(t,n.filter(r=>null!=r&&0!==r.length&&0!==r.trim().length).join(";"))}}class ML extends Dl{formatExecutable(t){let n=`- task: ${t.tool}@${Lt.majorVersion}`;return n+="\r\n displayName: ReportGenerator",n+="\r\n inputs:",console.log("hello",n),n}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class IL{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1},{name:"HtmlSummary",description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"HtmlInline",description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines",description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Light",description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Dark",description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1},{name:"Cobertura",description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"TextDeltaSummary",description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummaryGithub",description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownDeltaSummary",description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[0],this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(t){return this.sourcedirectories.splice(t,1),!1}addReport(){return this.reports.push(""),!1}removeReport(t){return this.reports.splice(t,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(t){return this.plugins.splice(t,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(t){return this.assemblyfilters.splice(t,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(t){return this.classfilters.splice(t,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(t){return this.filefilters.splice(t,1),!1}getUsage(t,n){const r=t.executables.find(a=>a.runtime==n);let o=void 0!==r?t.formatExecutable(r):"";o+=t.formatArguments("reports",this.reports),o+=t.formatArgument("targetdir",this.targetdir);for(var i="",s=0;s0&&(i+=";"),i+=this.reporttypes[s].name);return i.length>0&&"Html"!==i&&(o+=t.formatArgument("reporttypes",i)),o+=t.formatArguments("sourcedirs",this.sourcedirectories),o+=t.formatArgument("historydir",this.historydir),o+=t.formatArguments("plugins",this.plugins),o+=t.formatArguments("assemblyfilters",this.assemblyfilters),o+=t.formatArguments("classfilters",this.classfilters),o+=t.formatArguments("filefilters",this.filefilters),"Verbose"!==this.selectedverbosity&&(o+=t.formatArgument("verbosity",this.selectedverbosity)),o+=t.formatArgument("title",this.title),o+=t.formatArgument("tag",this.tag),o+=t.formatArgument("license",this.license),o}historyDirRequired(){for(let t=0;t-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class eh{constructor(t,n){this.tool=t,this.command=n}}function AL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",34),F("ngModelChange",function(o){return ce(n),de(U().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(U().selectedEnvironmentChanged())}),p(),h(3,"b"),g(4),p(),D(5,"br"),h(6,"div",35),g(7),p()()()}if(2&e){const n=t.$implicit,r=U();C(2),S("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),C(2),_e(n.name),C(3),_e(n.description)}}function TL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",38),F("ngModelChange",function(o){return ce(n),de(U(3).selectedPackage=o)}),p(),h(3,"b"),g(4),p(),D(5,"br"),h(6,"div",35),g(7),p()()()}if(2&e){const n=U().$implicit,r=U(2);C(2),S("ngModel",r.selectedPackage)("value",n),C(2),_e(n.name),C(3),_e(n.description)}}function xL(e,t){if(1&e&&(uo(0),q(1,TL,8,4,"div",37),co()),2&e){const n=t.$implicit,r=U(2);C(1),S("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function RL(e,t){if(1&e&&(uo(0),h(1,"h4"),g(2,"NuGet Package"),p(),q(3,xL,2,1,"ng-container",36),co()),2&e){const n=U();C(3),S("ngForOf",n.packages)}}function NL(e,t){if(1&e){const n=qe();h(0,"span",42),F("click",function(){ce(n);const o=U().index;return de(U().configuration.removeReport(o))}),h(1,"a",43),D(2,"i",44),p()()}}const PL=function(e){return{"input-group":e}};function FL(e,t){if(1&e){const n=qe();h(0,"div",35)(1,"div",39)(2,"input",40),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.reports[s]=o)}),p(),q(3,NL,3,0,"span",41),p()()}if(2&e){const n=t.index,r=U();C(1),S("ngClass",zc(4,PL,n>0)),C(1),An("name","report_",n,""),S("ngModel",r.configuration.reports[n]),C(1),S("ngIf",n>0)}}function OL(e,t){if(1&e){const n=qe();h(0,"span",47),D(1,"i",48),g(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(U(2).scrollToHistoryDir())}),g(4,"history directory"),p()()}}function kL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",45),F("ngModelChange",function(o){return de(ce(n).$implicit.checked=o)}),p(),h(3,"b"),g(4),p(),q(5,OL,5,0,"span",46),D(6,"br"),h(7,"div",35),g(8),p()()()}if(2&e){const n=t.$implicit,r=U();C(2),S("ngModel",n.checked),C(2),_e(n.name),C(1),S("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),C(3),_e(n.description)}}function LL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",50),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeSourceDirectory(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","sourcedir_",n,""),S("ngModel",r.configuration.sourcedirectories[n])}}function VL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",51),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.plugins[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removePlugin(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","plugin_",n,""),S("ngModel",r.configuration.plugins[n])}}function jL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",52),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeAssemblyFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","assemblyfilter_",n,""),S("ngModel",r.configuration.assemblyfilters[n])}}function HL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.classfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeClassFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","classfilter_",n,""),S("ngModel",r.configuration.classfilters[n])}}function UL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.filefilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeFileFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","filefilter_",n,""),S("ngModel",r.configuration.filefilters[n])}}function BL(e,t){if(1&e&&(h(0,"option",55),g(1),p()),2&e){const n=t.$implicit;S("value",n),C(1),_e(n)}}function $L(e,t){if(1&e&&(h(0,"div",56)(1,"b"),g(2),p(),D(3,"br"),h(4,"pre",29),g(5),p()()),2&e){const n=t.$implicit;C(2),_e(n.tool),C(3),_e(n.command)}}function GL(e,t){if(1&e&&(h(0,"div",56)(1,"b"),g(2),p(),D(3,"br"),h(4,"pre",29),g(5),p()()),2&e){const n=t.$implicit;C(2),_e(n.tool),C(3),_e(n.command)}}function zL(e,t){1&e&&(h(0,"span"),D(1,"i",57),g(2," Copy"),p())}function qL(e,t){1&e&&(h(0,"span"),D(1,"i",58),g(2," Copied"),p())}const WL=function(){return["/pro"]};class ns{constructor(){this.versions=Lt,this.lastResult="",this.usageCopied=!1,this.configuration=new IL,this.environments=[new wl(".NET Core",".NET Core"),new wl(".NET Framework","The full .NET framework"),new wl("Azure DevOps",null),new wl("Github Action",null)],this.packages=[new Dl("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",[new eh("Package Manager",`Install-Package ReportGenerator -Version ${Lt.version}`),new eh(".NET CLI",`dotnet add package ReportGenerator --version ${Lt.version}`)],[new ts(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net47\\ReportGenerator.exe`),new ts(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new Dl("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new eh(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${Lt.version}\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${Lt.version}\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version ${Lt.version}`)],[new ts(".NET Core","reportgenerator")]),new ML("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new ts("Azure DevOps","reportgenerator")]),new SL("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new ts("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const t=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==t&&(this.lastResult=t,this.usageCopied=!1),t}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(t){console.error("Failed to copy license",t)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(t,n){return t}static#e=this.\u0275fac=function(n){return new(n||ns)};static#t=this.\u0275cmp=jt({type:ns,selectors:[["app-usage-component"]],decls:210,vars:36,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModel","ngModelChange"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir",1,"input-group","mb-3"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModel","required","ngModelChange"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModel","ngModelChange"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"d-none","d-md-block","sticky"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","ngModelChange"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","checkbox","name","reporttype",1,"form-check-input",3,"ngModel","ngModelChange"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],[3,"value"],[1,"mt-2"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),g(7,"Environment"),p(),q(8,AL,8,5,"div",4),q(9,RL,4,1,"ng-container",5),h(10,"h3"),g(11,"Reports"),p(),h(12,"div",6),g(13,"Path to the coverage report(s) that should be parsed."),D(14,"br"),g(15,"Globbing is supported."),p(),q(16,FL,4,6,"div",7),h(17,"div",8)(18,"a",9),F("click",function(){return r.configuration.addReport()}),D(19,"i",10),g(20," Add report"),p()(),D(21,"br"),h(22,"h3"),g(23,"Target directory"),p(),h(24,"div",6),g(25,"The directory where the generated report(s) should be saved."),p(),h(26,"div",8)(27,"input",11),F("ngModelChange",function(i){return r.configuration.targetdir=i}),p()(),D(28,"br"),h(29,"h3"),g(30,"Report types"),p(),h(31,"div",6),g(32,"Download "),h(33,"a",12),g(34,"sample reports"),p()(),q(35,kL,9,4,"div",4),h(36,"h3"),g(37,"Source directories"),p(),h(38,"div",6),g(39,"Optional directories which contain the corresponding source code."),D(40,"br"),g(41,"The source directories are used if coverage report contains classes without path information."),p(),q(42,LL,6,2,"div",13),h(43,"div",14)(44,"a",9),F("click",function(){return r.configuration.addSourceDirectory()}),D(45,"i",10),g(46," Add source directory"),p()(),D(47,"br"),h(48,"h3"),g(49,"History directory"),p(),h(50,"div",6),g(51,"Optional directory for storing "),h(52,"b"),g(53,"persistent"),p(),g(54," coverage information. Choose a directory which does not get deleted between builds."),D(55,"br"),g(56,"Required to show the history chart in the HTML reports."),p(),h(57,"div",8)(58,"input",15),F("ngModelChange",function(i){return r.configuration.historydir=i}),p()(),D(59,"br"),h(60,"h3"),g(61,"Plugins"),p(),h(62,"div",6),g(63,"Optional plugin files for "),h(64,"a",16),g(65,"custom reports"),p(),g(66," or "),h(67,"a",17),g(68,"custom history storage"),p(),g(69,"."),p(),q(70,VL,6,2,"div",13),h(71,"div",8)(72,"a",9),F("click",function(){return r.configuration.addPlugin()}),D(73,"i",10),g(74," Add plugin"),p()(),D(75,"br"),h(76,"h3"),g(77,"Assembly filters"),p(),h(78,"div",6),g(79,"Optional list of "),h(80,"b"),g(81,"assemblies"),p(),g(82," that should be included or excluded in the report. "),D(83,"br"),g(84,"Exclusion filters take precedence over inclusion filters. "),D(85,"br"),g(86,"Wildcards are allowed."),D(87,"br"),h(88,"p"),g(89,"Examples:"),D(90,"br"),h(91,"code"),g(92,"+Included"),p(),D(93,"br"),h(94,"code"),g(95,"-Excluded"),p()()(),q(96,jL,6,2,"div",13),h(97,"div",8)(98,"a",9),F("click",function(){return r.configuration.addAssemblyFilter()}),D(99,"i",10),g(100," Add assembly filter"),p()(),D(101,"br"),h(102,"h3"),g(103,"Class filters"),p(),h(104,"div",6),g(105,"Optional list of "),h(106,"b"),g(107,"classes"),p(),g(108," that should be included or excluded in the report. "),D(109,"br"),g(110,"Exclusion filters take precedence over inclusion filters. "),D(111,"br"),g(112,"Wildcards are allowed."),D(113,"br"),h(114,"p"),g(115,"Examples:"),D(116,"br"),h(117,"code"),g(118,"+Included"),p(),D(119,"br"),h(120,"code"),g(121,"-Excluded"),p()()(),q(122,HL,6,2,"div",13),h(123,"div",8)(124,"a",9),F("click",function(){return r.configuration.addClassFilter()}),D(125,"i",10),g(126," Add class filter"),p()(),D(127,"br"),h(128,"h3"),g(129,"File filters"),p(),h(130,"div",6),g(131,"Optional list of "),h(132,"b"),g(133,"files"),p(),g(134," that should be included or excluded in the report. "),D(135,"br"),g(136,"Exclusion filters take precedence over inclusion filters. "),D(137,"br"),g(138,"Wildcards are allowed."),D(139,"br"),h(140,"p"),g(141,"Examples:"),D(142,"br"),h(143,"code"),g(144,"+Included"),p(),D(145,"br"),h(146,"code"),g(147,"-Excluded"),p()()(),q(148,UL,6,2,"div",13),h(149,"div",8)(150,"a",9),F("click",function(){return r.configuration.addFileFilter()}),D(151,"i",10),g(152," Add file filter"),p()(),D(153,"br"),h(154,"h3"),g(155,"Verbosity"),p(),h(156,"div",6),g(157,"The verbosity level of the log messages."),p(),h(158,"div",8)(159,"select",18),F("ngModelChange",function(i){return r.configuration.selectedverbosity=i}),q(160,BL,2,2,"option",19),p()(),D(161,"br"),h(162,"h3"),g(163,"Title"),p(),h(164,"div",6),g(165,"Optional title."),p(),h(166,"div",8)(167,"input",20),F("ngModelChange",function(i){return r.configuration.title=i}),p()(),D(168,"br"),h(169,"h3"),g(170,"Tag"),p(),h(171,"div",6),g(172,"Optional tag or build version."),p(),h(173,"div",8)(174,"input",21),F("ngModelChange",function(i){return r.configuration.tag=i}),p()(),D(175,"br"),h(176,"h3"),g(177,"License"),p(),h(178,"div",6),g(179,"Optional license. Get your license here: "),h(180,"a",22),g(181,"https://reportgenerator.io/pro"),p()(),h(182,"div",8)(183,"textarea",23),F("ngModelChange",function(i){return r.configuration.license=i}),p()()()(),h(184,"div",24)(185,"div",25)(186,"h3"),g(187,"Instructions"),p(),g(188," Install "),h(189,"a",26),g(190),p(),q(191,$L,6,2,"div",27),h(192,"h4",28),g(193,"Usage"),p(),h(194,"pre",29),g(195),p()(),h(196,"div",30)(197,"h3"),g(198,"Instructions"),p(),g(199," Install "),h(200,"a",26),g(201),p(),q(202,GL,6,2,"div",27),h(203,"h4",28),g(204,"Usage"),p(),h(205,"pre",29),g(206),p(),h(207,"button",31),F("click",function(){return r.copy()}),q(208,zL,3,0,"span",5),q(209,qL,3,0,"span",5),p()()()()()),2&n&&(C(8),S("ngForOf",r.environments),C(1),S("ngIf",r.severalPackagesAvailable()),C(7),S("ngForOf",r.configuration.reports)("ngForTrackBy",r.trackByIndex),C(11),S("ngModel",r.configuration.targetdir),C(8),S("ngForOf",r.configuration.reporttypes),C(7),S("ngForOf",r.configuration.sourcedirectories)("ngForTrackBy",r.trackByIndex),C(16),S("ngModel",r.configuration.historydir)("required",r.configuration.historyDirRequired()),C(12),S("ngForOf",r.configuration.plugins)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.assemblyfilters)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.classfilters)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.filefilters)("ngForTrackBy",r.trackByIndex),C(11),S("ngModel",r.configuration.selectedverbosity),C(1),S("ngForOf",r.configuration.verbosities)("ngForTrackBy",r.trackByIndex),C(7),S("ngModel",r.configuration.title),C(7),S("ngModel",r.configuration.tag),C(6),S("routerLink",Ae(35,WL)),C(3),S("ngModel",r.configuration.license),C(6),S("href",r.selectedPackage.url,Us),C(1),_e(r.selectedPackage.name),C(1),S("ngForOf",r.selectedPackage.installOptions),C(4),_e(r.getUsage()),C(5),S("href",r.selectedPackage.url,Us),C(1),_e(r.selectedPackage.name),C(1),S("ngForOf",r.selectedPackage.installOptions),C(4),_e(r.getUsage()),C(2),S("ngIf",!r.usageCopied),C(1),S("ngIf",r.usageCopied))},dependencies:[Rd,B_,Na,er,yf,SD,TD,Ni,Yd,Xa,vf,nf,rf,ji,bf,Za,Vi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]})}const KL=[{path:"",component:_l,pathMatch:"full",data:{title:"Home"}},{path:"getstarted",component:vl,data:{title:"Get started"}},{path:"usage",component:ns,data:{title:"Usage"}},{path:"usage.html",component:ns,data:{title:"Usage"}},{path:"pro",component:Cl,data:{title:"PRO"}},{path:"contact",component:yl,data:{title:"Contact"}}];class bl{static#e=this.\u0275fac=function(n){return new(n||bl)};static#t=this.\u0275mod=Ht({type:bl});static#n=this.\u0275inj=St({imports:[Yw.forRoot(KL),Yw]})}const tb=function(){return["/"]},QL=function(e){return{show:e}},rs=function(){return["link-active"]},ZL=function(){return{exact:!0}},XL=function(){return["/getstarted"]},YL=function(){return["/usage"]},JL=function(){return["/contact"]},eV=function(){return["/pro"]};class El{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}static#e=this.\u0275fac=function(n){return new(n||El)};static#t=this.\u0275cmp=jt({type:El,selectors:[["app-nav-menu"]],decls:26,vars:28,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.png","height","48","alt","Icon",1,"me-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex","justify-content-end",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],["data-splitbee-event","Routing","data-splitbee-event-source","NavMenu",1,"nav-link","text-dark",3,"routerLink"],[1,"pro-button"]],template:function(n,r){1&n&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),D(4,"img",4),g(5," ReportGenerator"),p(),h(6,"button",5),F("click",function(){return r.toggle()}),D(7,"span",6),p(),h(8,"div",7)(9,"ul",8)(10,"li",9)(11,"a",10),g(12,"Home"),p()(),h(13,"li",11)(14,"a",10),g(15,"Get started"),p()(),h(16,"li",11)(17,"a",10),g(18,"Usage"),p()(),h(19,"li",11)(20,"a",10),g(21,"Contact"),p()(),h(22,"li",11)(23,"a",12)(24,"span",13),g(25,"PRO"),p()()()()()()()()),2&n&&(C(3),S("routerLink",Ae(14,tb)),C(3),qt("aria-expanded",r.isExpanded),C(2),S("ngClass",zc(15,QL,r.isExpanded)),C(2),S("routerLinkActive",Ae(17,rs))("routerLinkActiveOptions",Ae(18,ZL)),C(1),S("routerLink",Ae(19,tb)),C(2),S("routerLinkActive",Ae(20,rs)),C(1),S("routerLink",Ae(21,XL)),C(2),S("routerLinkActive",Ae(22,rs)),C(1),S("routerLink",Ae(23,YL)),C(2),S("routerLinkActive",Ae(24,rs)),C(1),S("routerLink",Ae(25,JL)),C(2),S("routerLinkActive",Ae(26,rs)),C(1),S("routerLink",Ae(27,eV)))},dependencies:[Rd,er,Gw],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{color:#fff;background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1c8eb7!important;font-weight:400}"]})}class Ml{static#e=this.\u0275fac=function(n){return new(n||Ml)};static#t=this.\u0275cmp=jt({type:Ml,selectors:[["app-footer"]],decls:58,vars:0,consts:[[1,"container-fluid","mt-5","p-5"],[1,"container"],[1,"row"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3"],["href","https://github.com/danielpalme/ReportGenerator/issues","target","_blank"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(n,r){1&n&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p")(5,"b"),g(6,"GitHub"),p()(),h(7,"a",4),g(8,"Source code"),p(),D(9,"br"),h(10,"a",5),g(11,"Wiki"),p(),D(12,"br"),h(13,"a",6),g(14,"FAQ"),p()(),h(15,"div",7)(16,"p")(17,"b"),g(18,"Download"),p()(),h(19,"i"),g(20,"NuGet"),p(),D(21,"br"),h(22,"a",8),g(23,"ReportGenerator"),p(),D(24,"br"),h(25,"a",9),g(26,"dotnet-reportgenerator-globaltool"),p(),D(27,"br"),h(28,"a",10),g(29,"ReportGenerator.Core"),p(),D(30,"br")(31,"br"),h(32,"i"),g(33,"Integration"),p(),D(34,"br"),h(35,"a",11),g(36,"GitHub actions"),p(),D(37,"br"),h(38,"a",12),g(39,"Azure DevOps"),p()(),h(40,"div",13)(41,"p")(42,"b"),g(43,"Community"),p()(),h(44,"a",14),D(45,"i",15),g(46," GitHub"),p(),D(47,"br"),h(48,"a",16),D(49,"i",17),g(50," Twitter"),p(),D(51,"br")(52,"br"),h(53,"a",18),g(54,"Privacy"),p(),D(55,"br"),h(56,"a",19),g(57,"Imprint"),p()()()()())},styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]})}class Il{constructor(t,n,r){this.titleService=t,this.router=n,this.activatedRoute=r}ngOnInit(){this.router.events.pipe(Jt(t=>t instanceof Jn),W(()=>this.activatedRoute),W(t=>{for(;t.firstChild;)t=t.firstChild;return t}),Jt(t=>"primary"===t.outlet),Ge(t=>t.data)).subscribe(t=>{this.titleService.setTitle(t.title+" - ReportGenerator")})}static#e=this.\u0275fac=function(n){return new(n||Il)(M(Gd),M(Ze),M(Sr))};static#t=this.\u0275cmp=jt({type:Il,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&D(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Uf,El,Ml],encapsulation:2})}class Sl{static#e=this.\u0275fac=function(n){return new(n||Sl)};static#t=this.\u0275mod=Ht({type:Sl,bootstrap:[Il]});static#n=this.\u0275inj=St({providers:[xo,Ro,To],imports:[HN,bl,yP,wF]})}jN().bootstrapModule(Sl).catch(e=>console.error(e))}},fe=>{fe(fe.s=364)}]); \ No newline at end of file +"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{364:()=>{function fe(e){return"function"==typeof e}function No(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const os=No(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Po(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class It{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(fe(r))try{r()}catch(i){t=i instanceof os?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{fh(i)}catch(s){t=t??[],s instanceof os?t=[...t,...s.errors]:t.push(s)}}if(t)throw new os(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fh(t);else{if(t instanceof It){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Po(n,t)}remove(t){const{_finalizers:n}=this;n&&Po(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const ch=It.EMPTY;function dh(e){return e instanceof It||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function fh(e){fe(e)?e():e.unsubscribe()}const tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},is={setTimeout(e,t,...n){const{delegate:r}=is;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=is;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hh(e){is.setTimeout(()=>{const{onUnhandledError:t}=tr;if(!t)throw e;t(e)})}function ph(){}const nb=Tl("C",void 0,void 0);function Tl(e,t,n){return{kind:e,value:t,error:n}}let nr=null;function ss(e){if(tr.useDeprecatedSynchronousErrorHandling){const t=!nr;if(t&&(nr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=nr;if(nr=null,n)throw r}}else e()}class xl extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dh(t)&&t.add(this)):this.destination=ub}static create(t,n,r){return new as(t,n,r)}next(t){this.isStopped?Nl(function ob(e){return Tl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Nl(function rb(e){return Tl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Nl(nb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sb=Function.prototype.bind;function Rl(e,t){return sb.call(e,t)}class ab{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ls(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ls(r)}else ls(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ls(n)}}}class as extends xl{constructor(t,n,r){let o;if(super(),fe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&tr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Rl(t.next,i),error:t.error&&Rl(t.error,i),complete:t.complete&&Rl(t.complete,i)}):o=t}this.destination=new ab(o)}}function ls(e){tr.useDeprecatedSynchronousErrorHandling?function ib(e){tr.useDeprecatedSynchronousErrorHandling&&nr&&(nr.errorThrown=!0,nr.error=e)}(e):hh(e)}function Nl(e,t){const{onStoppedNotification:n}=tr;n&&is.setTimeout(()=>n(e,t))}const ub={closed:!0,next:ph,error:function lb(e){throw e},complete:ph},Pl="function"==typeof Symbol&&Symbol.observable||"@@observable";function rr(e){return e}function gh(e){return 0===e.length?rr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Ie=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function fb(e){return e&&e instanceof xl||function db(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&dh(e)}(n)?n:new as(n,r,o);return ss(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=mh(r))((o,i)=>{const s=new as({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Pl](){return this}pipe(...n){return gh(n)(this)}toPromise(n){return new(n=mh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function mh(e){var t;return null!==(t=e??tr.Promise)&&void 0!==t?t:Promise}const hb=No(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pn=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new yh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hb}next(n){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?ch:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,Po(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ie;return n.source=this,n}}return e.create=(t,n)=>new yh(t,n),e})();class yh extends pn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ch}}function vh(e){return fe(e?.lift)}function $e(e){return t=>{if(vh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ke(e,t,n,r,o){return new pb(e,t,n,r,o)}class pb extends xl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function W(e,t){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>{r.next(e.call(t,i,o++))}))})}function or(e){return this instanceof or?(this.v=e,this):new or(e)}function yb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(m){return new Promise(function(y,v){i.push([f,m,y,v])>1||a(f,m)})})}function a(f,m){try{!function l(f){f.value instanceof or?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](m))}catch(y){d(i[0][3],y)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,m){f(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}function vb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Dh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const wh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bh(e){return fe(e?.then)}function Eh(e){return fe(e[Pl])}function Mh(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function Ih(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 Sh=function Cb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ah(e){return fe(e?.[Sh])}function Th(e){return yb(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield or(n.read());if(o)return yield or(void 0);yield yield or(r)}}finally{n.releaseLock()}})}function xh(e){return fe(e?.getReader)}function tn(e){if(e instanceof Ie)return e;if(null!=e){if(Eh(e))return function Db(e){return new Ie(t=>{const n=e[Pl]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(wh(e))return function wb(e){return new Ie(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,hh)})}(e);if(Mh(e))return Rh(e);if(Ah(e))return function Eb(e){return new Ie(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(xh(e))return function Mb(e){return Rh(Th(e))}(e)}throw Ih(e)}function Rh(e){return new Ie(t=>{(function Ib(e,t){var n,r,o,i;return function gb(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=vb(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function gn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ge(e,t,n=1/0){return fe(t)?Ge((r,o)=>W((i,s)=>t(r,i,o,s))(tn(e(r,o))),n):("number"==typeof t&&(n=t),$e((r,o)=>function Sb(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},m=v=>u{i&&t.next(v),u++;let w=!1;tn(n(v,c++)).subscribe(ke(t,b=>{o?.(b),i?m(b):t.next(b)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(b)):y(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(ke(t,m,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Ar(e=1/0){return Ge(rr,e)}const mn=new Ie(e=>e.complete());function Ol(e){return e[e.length-1]}function Nh(e){return fe(Ol(e))?e.pop():void 0}function Fo(e){return function Tb(e){return e&&fe(e.schedule)}(Ol(e))?e.pop():void 0}function Ph(e,t=0){return $e((n,r)=>{n.subscribe(ke(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function Fh(e,t=0){return $e((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Oh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Se(e,t){return t?function kb(e,t){if(null!=e){if(Eh(e))return function Rb(e,t){return tn(e).pipe(Fh(t),Ph(t))}(e,t);if(wh(e))return function Pb(e,t){return new Ie(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(bh(e))return function Nb(e,t){return tn(e).pipe(Fh(t),Ph(t))}(e,t);if(Mh(e))return Oh(e,t);if(Ah(e))return function Fb(e,t){return new Ie(n=>{let r;return gn(n,t,()=>{r=e[Sh](),gn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>fe(r?.return)&&r.return()})}(e,t);if(xh(e))return function Ob(e,t){return Oh(Th(e),t)}(e,t)}throw Ih(e)}(e,t):tn(e)}function Tr(e){return e<=0?()=>mn:$e((t,n)=>{let r=0;t.subscribe(ke(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function kl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Tr(1)).subscribe(()=>e())}function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function Ll(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Vl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const jb=le({__forward_ref__:le});function he(e){return e.__forward_ref__=he,e.toString=function(){return ue(this())},e}function V(e){return jl(e)?e():e}function jl(e){return"function"==typeof e&&e.hasOwnProperty(jb)&&e.__forward_ref__===he}function Hl(e){return e&&!!e.\u0275providers}const kh="https://g.co/ng/security#xss";class I extends Error{constructor(t,n){super(function us(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function cs(e,t){throw new I(-201,!1)}function yt(e,t){null==e&&function ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function ds(e){return Lh(e,fs)||Lh(e,jh)}function Lh(e,t){return e.hasOwnProperty(t)?e[t]:null}function Vh(e){return e&&(e.hasOwnProperty(Ul)||e.hasOwnProperty(Kb))?e[Ul]:null}const fs=le({\u0275prov:le}),Ul=le({\u0275inj:le}),jh=le({ngInjectableDef:le}),Kb=le({ngInjectorDef:le});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Bl;function At(e){const t=Bl;return Bl=e,t}function Hh(e,t,n){const r=ds(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void cs(ue(e))}const pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Oo={},$l="__NG_DI_FLAG__",hs="ngTempTokenPath",Xb=/\n/gm,Uh="__source";let ko;function xr(e){const t=ko;return ko=e,t}function Jb(e,t=j.Default){if(void 0===ko)throw new I(-203,!1);return null===ko?Hh(e,void 0,t):ko.get(e,t&j.Optional?null:void 0,t)}function N(e,t=j.Default){return(function Qb(){return Bl}()||Jb)(V(e),t)}function te(e,t=j.Default){return N(e,ps(t))}function ps(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gl(e){const t=[];for(let n=0;n((Vt=Vt||{})[Vt.OnPush=0]="OnPush",Vt[Vt.Default=1]="Default",Vt))(),nn=(()=>{return(e=nn||(nn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",nn;var e})();const vn={},ne=[],gs=le({\u0275cmp:le}),zl=le({\u0275dir:le}),ql=le({\u0275pipe:le}),$h=le({\u0275mod:le}),_n=le({\u0275fac:le}),Vo=le({__NG_ELEMENT_ID__:le});let rE=0;function jt(e){return Ln(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,id:"c"+rE++,styles:e.styles||ne,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=qh(e.inputs,r),o.outputs=qh(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Gh).filter(zh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(ot).filter(zh):null,o})}function Gh(e){return se(e)||Xe(e)}function zh(e){return null!==e}function Ht(e){return Ln(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qh(e,t){if(null==e)return vn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const B=jt;function se(e){return e[gs]||null}function Xe(e){return e[zl]||null}function ot(e){return e[ql]||null}function vt(e,t){const n=e[$h]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}const Q=11;function ht(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bt(e){return Array.isArray(e)&&!0===e[1]}function Ql(e){return 0!=(4&e.flags)}function _s(e){return e.componentOffset>-1}function Cs(e){return 1==(1&e.flags)}function $t(e){return null!==e.template}function uE(e){return 0!=(256&e[2])}function ur(e,t){return e.hasOwnProperty(_n)?e[_n]:null}class fE{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xt(){return Qh}function Qh(e){return e.type.prototype.ngOnChanges&&(e.setInput=pE),hE}function hE(){const e=Xh(this),t=e?.current;if(t){const n=e.previous;if(n===vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pE(e,t,n,r){const o=this.declaredInputs[n],i=Xh(e)||function gE(e,t){return e[Zh]=t}(e,{previous:vn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new fE(l&&l.currentValue,t,a===vn),e[r]=t}xt.ngInherit=!0;const Zh="__ngSimpleChanges__";function Xh(e){return e[Zh]||null}function Le(e){for(;Array.isArray(e);)e=e[0];return e}function Ds(e,t){return Le(t[e])}function Ct(e,t){return Le(t[e.index])}function eu(e,t){return e.data[t]}function Dt(e,t){const n=t[e];return ht(n)?n:n[0]}function ws(e){return 64==(64&e[2])}function Vn(e,t){return null==t?null:e[t]}function Yh(e){e[18]=0}function tu(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const $={lFrame:lp(null),bindingsEnabled:!0};function ep(){return $.bindingsEnabled}function E(){return $.lFrame.lView}function ee(){return $.lFrame.tView}function ce(e){return $.lFrame.contextLView=e,e[8]}function de(e){return $.lFrame.contextLView=null,e}function We(){let e=tp();for(;null!==e&&64===e.type;)e=e.parent;return e}function tp(){return $.lFrame.currentTNode}function rn(e,t){const n=$.lFrame;n.currentTNode=e,n.isParent=t}function nu(){return $.lFrame.isParent}function ru(){$.lFrame.isParent=!1}function it(){const e=$.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kr(){return $.lFrame.bindingIndex++}function xE(e,t){const n=$.lFrame;n.bindingIndex=n.bindingRootIndex=e,ou(t)}function ou(e){$.lFrame.currentDirectiveIndex=e}function ip(){return $.lFrame.currentQueryIndex}function su(e){$.lFrame.currentQueryIndex=e}function NE(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function sp(e,t,n){if(n&j.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&j.Host||(o=NE(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=$.lFrame=ap();return r.currentTNode=t,r.lView=e,!0}function au(e){const t=ap(),n=e[1];$.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ap(){const e=$.lFrame,t=null===e?null:e.child;return null===t?lp(e):t}function lp(e){const t={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=t),t}function up(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cp=up;function lu(){const e=up();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 st(){return $.lFrame.selectedIndex}function cr(e){$.lFrame.selectedIndex=e}function De(){const e=$.lFrame;return eu(e.tView,e.selectedIndex)}function bs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Go{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function du(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let fu=!0;function Is(e){const t=fu;return fu=e,t}let WE=0;const on={};function Ss(e,t){const n=pu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,hu(r.data,e),hu(t,null),hu(r.blueprint,null));const o=As(e,t),i=e.injectorIndex;if(gp(o)){const s=Lr(o),a=Vr(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function hu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function pu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function As(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ep(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function gu(e,t,n){!function KE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vo)&&(r=n[Vo]),null==r&&(r=n[Vo]=WE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:YE:t}(n);if("function"==typeof i){if(!sp(t,e,r))return r&j.Host?vp(o,0,r):_p(t,n,r,o);try{const s=i(r);if(null!=s||r&j.Optional)return s;cs()}finally{cp()}}else if("number"==typeof i){let s=null,a=pu(e,t),l=-1,u=r&j.Host?t[16][6]:null;for((-1===a||r&j.SkipSelf)&&(l=-1===a?As(e,t):t[a+8],-1!==l&&bp(r,!1)?(s=t[1],a=Lr(l),t=Vr(l,t)):a=-1);-1!==a;){const c=t[1];if(wp(i,a,c.data)){const d=ZE(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],-1!==l&&bp(r,t[1].data[a+8]===u)&&wp(i,a,t)?(s=c,a=Lr(l),t=Vr(l,t)):a=-1}}return o}function ZE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Ts(a,s,n,null==r?_s(a)&&fu:r!=s&&0!=(3&a.type),o&j.Host&&i===a);return null!==c?jr(t,s,c,a):on}function Ts(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let m=r?a:a+c;m=l&&y.type===n)return m}if(o){const m=s[l];if(m&&$t(m)&&m.type===n)return l}return null}function jr(e,t,n,r){let o=e[n];const i=t.data;if(function BE(e){return e instanceof Go}(o)){const s=o;s.resolving&&function Hb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(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():G(e)}(i[n]));const a=Is(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?At(s.injectImpl):null;sp(e,r,j.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function HE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Qh(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&At(l),Is(a),s.resolving=!1,cp()}}return o}function wp(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_n]||mu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[_n]||mu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mu(e){return jl(e)?()=>{const t=mu(V(e));return t&&t()}:ur(e)}function Ep(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Br="__parameters__";function Gr(e,t,n){return Ln(()=>{const r=function yu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);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(l,u,c){const d=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function wt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?dr(n,t):t(n))}function Ip(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bt(e,t,n){let r=zr(e,t);return r>=0?e[1|r]=n:(r=~r,function r0(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function _u(e,t){const n=zr(e,t);if(n>=0)return e[1|n]}function zr(e,t){return function Tp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((pt=pt||{})[pt.Important=1]="Important",pt[pt.DashCase=2]="DashCase",pt))();const Mu=new Map;let I0=0;const Su="__ngContext__";function et(e,t){ht(t)?(e[Su]=t[20],function A0(e){Mu.set(e[20],e)}(t)):e[Su]=t}function Tu(e,t){return undefined(e,t)}function ti(e){const t=e[3];return Bt(t)?t[3]:t}function xu(e){return Zp(e[13])}function Ru(e){return Zp(e[4])}function Zp(e){for(;null!==e&&!Bt(e);)e=e[4];return e}function Wr(e,t,n,r,o){if(null!=r){let i,s=!1;Bt(r)?i=r:ht(r)&&(s=!0,r=r[0]);const a=Le(r);0===e&&null!==n?null==o?ng(t,n,a):fr(t,n,a,o||null,!0):1===e&&null!==n?fr(t,n,a,o||null,!0):2===e?function Vu(e,t,n){const r=Os(e,t);r&&function Q0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Y0(e,t,n,r,o){const i=n[7];i!==Le(n)&&Wr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Rs(e,10+t);!function U0(e,t){ni(e,t,t[Q],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Jp(e,t){if(!(128&t[2])){const n=t[Q];n.destroyNode&&ni(e,t,n,3,null,null),function G0(e){let t=e[13];if(!t)return Ou(e[1],e);for(;t;){let n=null;if(ht(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ht(t)&&Ou(t[1],t),t=t[3];null===t&&(t=e),ht(t)&&Ou(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ou(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function K0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===nn.None||i===nn.Emulated)return null}return Ct(r,n)}}(e,t.parent,n)}function fr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ng(e,t,n){e.appendChild(t,n)}function rg(e,t,n,r,o){null!==r?fr(e,t,n,r,o):ng(e,t,n)}function Os(e,t){return e.parentNode(t)}let Uu,js,sg=function ig(e,t,n){return 40&e.type?Ct(e,n):null};function ks(e,t,n,r){const o=eg(e,r,t),i=t[Q],a=function og(e,t,n){return sg(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return js}()?.createScriptURL(e)||e}class mg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kh})`}}function Hn(e){return e instanceof mg?e.changingThisBreaksApplicationSecurity:e}function ri(e,t){const n=function cM(e){return e instanceof mg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${kh})`)}return n===t}const pM=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Re=(()=>((Re=Re||{})[Re.NONE=0]="NONE",Re[Re.HTML=1]="HTML",Re[Re.STYLE=2]="STYLE",Re[Re.SCRIPT=3]="SCRIPT",Re[Re.URL=4]="URL",Re[Re.RESOURCE_URL=5]="RESOURCE_URL",Re))();function Us(e){const t=ii();return t?t.sanitize(Re.URL,e)||"":ri(e,"URL")?Hn(e):function $u(e){return(e=String(e)).match(pM)?e:"unsafe:"+e}(G(e))}function bg(e){const t=ii();if(t)return gg(t.sanitize(Re.RESOURCE_URL,e)||"");if(ri(e,"ResourceURL"))return gg(Hn(e));throw new I(904,!1)}function ii(){const e=E();return e&&e[12]}const Bs=new R("ENVIRONMENT_INITIALIZER"),Mg=new R("INJECTOR",-1),Ig=new R("INJECTOR_DEF_TYPES");class Sg{get(t,n=Oo){if(n===Oo){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function AM(...e){return{\u0275providers:Ag(0,e),\u0275fromNgModule:!0}}function Ag(e,...t){const n=[],r=new Set;let o;return dr(t,i=>{const s=i;Wu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Tg(o,n),n}function Tg(e,t){for(let n=0;n{t.push(i)})}}function Wu(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=Vh(e);const s=!i&&se(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Vh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)Wu(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{dr(i.imports,c=>{Wu(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Tg(u,t)}if(!a){const u=ur(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:ne},{provide:Ig,useValue:o,multi:!0},{provide:Bs,useValue:()=>N(o),multi:!0})}const l=i.providers;null==l||a||Ku(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Ku(e,t){for(let n of e)Hl(n)&&(n=n.\u0275providers),Array.isArray(n)?Ku(n,t):t(n)}const TM=le({provide:String,useValue:le});function Qu(e){return null!==e&&"object"==typeof e&&TM in e}function pr(e){return"function"==typeof e}const Zu=new R("Set Injector scope."),$s={},RM={};let Xu;function Gs(){return void 0===Xu&&(Xu=new Sg),Xu}class bn{}class Ng extends bn{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ju(t,s=>this.processProvider(s)),this.records.set(Mg,Kr(void 0,this)),o.has("environment")&&this.records.set(bn,Kr(void 0,this));const i=this.records.get(Zu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ig.multi,ne,j.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xr(this),r=At(void 0);try{return t()}finally{xr(n),At(r)}}get(t,n=Oo,r=j.Default){this.assertNotDestroyed(),r=ps(r);const o=xr(this),i=At(void 0);try{if(!(r&j.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function kM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&ds(t);a=l&&this.injectableDefInScope(l)?Kr(Yu(t),$s):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&j.Self?Gs():this.parent).get(t,n=r&j.Optional&&n===Oo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[hs]=s[hs]||[]).unshift(ue(t)),o)throw s;return function tE(e,t,n,r){const o=e[hs];throw t[Uh]&&o.unshift(t[Uh]),e.message=function nE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Xb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hs]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{At(i),xr(o)}}resolveInjectorInitializers(){const t=xr(this),n=At(void 0);try{const r=this.get(Bs.multi,ne,j.Self);for(const o of r)o()}finally{xr(t),At(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=pr(t=V(t))?t:V(t&&t.provide);const r=function PM(e){return Qu(e)?Kr(void 0,e.useValue):Kr(Pg(e),$s)}(t);if(pr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Kr(void 0,$s,!0),o.factory=()=>Gl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===$s&&(n.value=RM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function OM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Yu(e){const t=ds(e),n=null!==t?t.factory:ur(e);if(null!==n)return n;if(e instanceof R)throw new I(204,!1);if(e instanceof Function)return function NM(e){const t=e.length;if(t>0)throw function Qo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new I(204,!1)}function Pg(e,t,n){let r;if(pr(e)){const o=V(e);return ur(o)||Yu(o)}if(Qu(e))r=()=>V(e.useValue);else if(function Rg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gl(e.deps||[]));else if(function xg(e){return!(!e||!e.useExisting)}(e))r=()=>N(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function FM(e){return!!e.deps}(e))return ur(o)||Yu(o);r=()=>new o(...Gl(e.deps))}return r}function Kr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&Hl(n)?Ju(n.\u0275providers,t):t(n)}class LM{}class Fg{}class jM{resolveComponentFactory(t){throw function VM(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let si=(()=>{class e{}return e.NULL=new jM,e})();function HM(){return Qr(We(),E())}function Qr(e,t){return new Et(Ct(e,t))}let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=HM,e})();function UM(e){return e instanceof Et?e.nativeElement:e}class kg{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function BM(){const e=E(),n=Dt(We().index,e);return(ht(n)?n:e)[Q]}(),e})(),$M=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null}),e})();class ai{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const GM=new ai("15.0.1"),ec={};function nc(e){return e.ngOriginalError}class Zr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&nc(t);for(;n&&nc(n);)n=nc(n);return n||null}}function Mn(e){return e instanceof Function?e():e}function Vg(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const jg="ng-template";function tI(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const m=8&r?f:null;if(m&&-1!==Vg(m,u,0)||2&r&&u!==f){if(Gt(r))return!1;s=!0}}}}else{if(!s&&!Gt(r)&&!Gt(l))return!1;if(s&&Gt(l))continue;s=!1,r=l|1&r}}return Gt(r)||s}function Gt(e){return 0==(1&e)}function oI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Gt(s)&&(t+=Bg(i,o),o=""),r=s,i=i||!Gt(r);n++}return""!==o&&(t+=Bg(i,o)),t}const z={};function C(e){$g(ee(),E(),st()+e,!1)}function $g(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Es(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ms(t,i,0,n)}cr(n)}function Wg(e,t=null,n=null,r){const o=Kg(e,t,n,r);return o.resolveInjectorInitializers(),o}function Kg(e,t=null,n=null,r,o=new Set){const i=[n||ne,AM(e)];return r=r||("object"==typeof e?void 0:ue(e)),new Ng(i,t||Gs(),r||null,o)}let Nt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Wg({name:""},r,n,"");{const o=n.name??"";return Wg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Oo,e.NULL=new Sg,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(Mg)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,t=j.Default){const n=E();return null===n?N(e,t):Cp(We(),n,V(e),t)}function ac(){throw new Error("invalid")}function qs(e,t){return e<<17|t<<2}function zt(e){return e>>17&32767}function lc(e){return 2|e}function In(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function cc(e){return 1|e}function dm(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&$g(e,t,22,!1),n(r,o)}finally{cr(i)}}function Cc(e,t,n){if(Ql(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,li(e,n,o.hostVars,z),o)}function oS(e,t,n){const r=Ct(t,e),o=hm(n),i=e[10],s=Xs(e,Qs(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}function sn(e,t,n,r,o,i){const s=Ct(e,t);!function Ic(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?G(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Q],s,i,e.value,n,r,o)}function iS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&Sc(n)}}function Sc(e){for(let r=xu(e);null!==r;r=Ru(r))for(let o=10;o0&&Sc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Sc(o)}}function cS(e,t){const n=Dt(t,e),r=n[1];(function dS(e,t){for(let n=t.length;n-1&&(Fu(t,r),Rs(n,r))}this._attachedToViewContainer=!1}Jp(this._lView[1],this._lView)}onDestroy(t){pm(this._lView[1],this._lView,null,t)}markForCheck(){Ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ys(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $0(e,t){ni(e,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class fS extends ui{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ys(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Rc extends si{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=se(t);return new ci(n,this.ngModule)}}function Mm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class pS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ps(r);const o=this.injector.get(t,ec,r);return o!==ec||n===ec?o:this.parentInjector.get(t,n,r)}}class ci extends Fg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cI(e){return e.map(uI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Mm(this.componentDef.inputs)}get outputs(){return Mm(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof bn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new pS(t,i):t,a=s.get(kg,null);if(null===a)throw new I(407,!1);const l=s.get($M,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function GI(e,t,n){return e.selectRootElement(t,n===nn.ShadowDom)}(u,r,this.componentDef.encapsulation):Pu(u,c,function hS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,m=bc(0,null,null,1,0,null,null,null,null,null),y=Qs(null,m,null,f,null,null,a,u,l,s,null);let v,w;au(y);try{const b=this.componentDef;let A,_=null;b.findHostDirectiveDefs?(A=[],_=new Map,b.findHostDirectiveDefs(b,A,_),A.push(b)):A=[b];const P=function yS(e,t){const n=e[1];return e[22]=t,Jr(n,22,2,"#host",null)}(y,d),re=function vS(e,t,n,r,o,i,s,a){const l=o[1];!function _S(e,t,n,r){for(const o of e)t.mergedAttrs=qo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Js(t,t.mergedAttrs,!0),null!==n&&dg(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=Qs(o,hm(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&Mc(l,e,r.length-1),Xs(o,c),o[e.index]=c}(P,d,b,A,y,a,u);w=eu(m,22),d&&function DS(e,t,n,r){if(r)du(e,n,["ng-version",GM.full]);else{const{attrs:o,classes:i}=function dI(e){const t=[],n=[];let r=1,o=2;for(;r0&&cg(e,n,i.join(" "))}}(u,b,d,r),void 0!==n&&function wS(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=qo(o.hostAttrs,n=qo(n,o.hostAttrs))}}(r)}function Nc(e){return e===vn?{}:e===ne?[]:e}function MS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function IS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function SS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let ta=null;function gr(){if(!ta){const e=pe.Symbol;if(e&&e.iterator)ta=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;ns(Le(P[r.index])):r.index;let _=null;if(!s&&a&&(_=function US(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=i,_.__ngLastListenerFn__=i,f=!1;else{i=zm(r,t,c,i,!1);const P=n.listen(w,o,i);d.push(i,P),u&&u.push(o,A,b,b+1)}}else i=zm(r,t,c,i,!1);const m=r.outputs;let y;if(f&&null!==m&&(y=m[o])){const v=y.length;if(v)for(let w=0;w-1?Dt(e.index,t):t);let l=Gm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Gm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function U(e=1){return function PE(e){return($.lFrame.contextLView=function FE(e,t){for(;e>0;)t=t[15],e--;return t}(e,$.lFrame.contextLView))[8]}(e)}function An(e,t,n,r,o){const i=E(),s=to(i,t,n,r);return s!==z&&Mt(ee(),De(),i,e,s,i[Q],o,!1),An}function ty(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?zt(i):In(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];WS(e[a],t)&&(l=!0,e[a+1]=r?cc(c):lc(c)),a=r?zt(c):In(c)}l&&(e[n+1]=r?lc(i):cc(i))}function WS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&zr(e,t)>=0}function ra(e,t){return function Wt(e,t,n,r){const o=E(),i=ee(),s=function Dn(e){const t=$.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function cy(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[st()],s=function uy(e,t){return t>=e.expandoStartIndex}(e,n);(function py(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function n1(e,t,n,r){const o=function iu(e){const t=$.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=pi(n=kc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=kc(o,e,t,n,r),null===i){let l=function r1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==In(r))return e[zt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=kc(null,e,t,l[1],r),l=pi(l,t.attrs,r),function o1(e,t,n,r){e[zt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function i1(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=zt(e[a+1]);e[r+1]=qs(f,a),0!==f&&(e[f+1]=uc(e[f+1],r)),e[a+1]=function xI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qs(a,0),0!==a&&(e[a+1]=uc(e[a+1],r)),a=r;else e[r+1]=qs(l,0),0===a?a=r:e[l+1]=uc(e[l+1],r),l=r;u&&(e[r+1]=lc(e[r+1])),ty(e,c,r,!0),ty(e,c,r,!1),function qS(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&zr(i,t)>=0&&(n[r+1]=cc(n[r+1]))}(t,c,e,r,i),s=qs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==z&&tt(o,s,t)&&function fy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];oa(function rm(e){return 1==(1&e)}(u)?hy(l,t,n,o,In(u),s):void 0)||(oa(i)||function nm(e){return 2==(2&e)}(u)&&(i=hy(l,null,n,o,a,s)),function J0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:pt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=pt.Important),e.setStyle(n,r,o,i))}}(r,s,Ds(st(),n),o,i))}(i,i.data[st()],o,o[Q],e,o[s+1]=function l1(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Hn(e)))),e}(t,n),r,s)}(e,t,null,!0),ra}function kc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===z&&(f=d?ne:void 0);let m=d?_u(f,r):c===r?f:void 0;if(u&&!oa(m)&&(m=_u(l,r)),oa(m)&&(a=m,s))return a;const y=e[o+1];o=s?zt(y):In(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=_u(l,r))}return a}function oa(e){return void 0!==e}function g(e,t=""){const n=E(),r=ee(),o=e+22,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=n[o]=function Nu(e,t){return e.createText(t)}(n[Q],t);ks(r,n,s,i),rn(i,!1)}function _e(e){return yr("",e,""),_e}function yr(e,t,n){const r=E(),o=to(r,e,t,n);return o!==z&&function Sn(e,t,n){const r=Ds(t,e);!function Xp(e,t,n){e.setValue(t,n)}(e[Q],r,n)}(r,st(),o),yr}const po="en-US";let ky=po;function jc(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i>20;if(pr(e)||!e.multi){const m=new Go(l,o,M),y=Uc(a,t,o?c:c+f,d);-1===y?(gu(Ss(u,s),i,a),Hc(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(m),s.push(m)):(n[y]=m,s[y]=m)}else{const m=Uc(a,t,c+f,d),y=Uc(a,t,c,c+f),v=m>=0&&n[m],w=y>=0&&n[y];if(o&&!w||!o&&!v){gu(Ss(u,s),i,a);const b=function IA(e,t,n,r,o){const i=new Go(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,av(i,o,r&&!n),i}(o?MA:EA,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Hc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Hc(i,e,m>-1?m:y,av(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Hc(e,t,n,r){const o=pr(t),i=function xM(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function av(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Uc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function bA(e,t,n){const r=ee();if(r.firstCreatePass){const o=$t(e);jc(n,r.data,r.blueprint,o,!0),jc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class _r{}class lv{}class uv extends _r{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Rc(this);const r=vt(t);this._bootstrapComponents=Mn(r.bootstrap),this._r3Injector=Kg(t,n,[{provide:_r,useValue:this},{provide:si,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $c extends lv{constructor(t){super(),this.moduleType=t}create(t){return new uv(this.moduleType,t)}}class AA extends _r{constructor(t,n,r){super(),this.componentFactoryResolver=new Rc(this),this.instance=null;const o=new Ng([...t,{provide:_r,useValue:this},{provide:si,useValue:this.componentFactoryResolver}],n||Gs(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ua(e,t,n=null){return new AA(e,t,n).injector}let TA=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Ag(0,n.type),o=r.length>0?ua([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(bn))}),e})();function cv(e){e.getStandaloneInjector=t=>t.get(TA).getOrCreateStandaloneInjector(e)}function Ae(e,t,n){const r=it()+e,o=E();return o[r]===z?an(o,r,n?t.call(n):t()):function fi(e,t){return e[t]}(o,r)}function zc(e,t,n,r){return function yv(e,t,n,r,o,i){const s=t+n;return tt(e,s,o)?an(e,s+1,i?r.call(i,o):r(o)):function Ci(e,t){const n=e[t];return n===z?void 0:n}(e,s+1)}(E(),it(),e,t,n,r)}function qc(e){return t=>{setTimeout(e,void 0,t)}}const Me=class JA extends pn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=qc(i),o&&(o=qc(o)),s&&(s=qc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function eT(){return this._results[gr()]()}class Wc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=gr(),r=Wc.prototype;r[n]||(r[n]=eT)}get changes(){return this._changes||(this._changes=new Me)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=wt(t);(this._changesDetected=!function t0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=rT,e})();const tT=Tn,nT=class extends tT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Qs(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),_c(r,o,t),new ui(o)}};function rT(){return ca(We(),E())}function ca(e,t){return 4&e.type?new nT(t,e,Qr(e,t)):null}let Qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=oT,e})();function oT(){return Ev(We(),E())}const iT=Qt,wv=class extends iT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qr(this._hostTNode,this._hostLView)}get injector(){return new Hr(this._hostTNode,this._hostLView)}get parentInjector(){const t=As(this._hostTNode,this._hostLView);if(gp(t)){const n=Vr(t,this._hostLView),r=Lr(t);return new Hr(n[1].data[r+8],n)}return new Hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=bv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Ko(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new ci(se(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(bn,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function wE(e){return Bt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new wv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function z0(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=fa,this.reject=fa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(N(ha,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const bi=new R("AppId",{providedIn:"root",factory:function Xv(){return`${od()}${od()}${od()}`}});function od(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Yv=new R("Platform Initializer"),id=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jv=new R("appBootstrapListener");let OT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new R("LocaleId",{providedIn:"root",factory:()=>te(xn,j.Optional|j.SkipSelf)||function kT(){return typeof $localize<"u"&&$localize.locale||po}()});class VT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let sd=(()=>{class e{compileModuleSync(n){return new $c(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Mn(vt(n).declarations).reduce((s,a)=>{const l=se(a);return l&&s.push(new ci(l)),s},[]);return new VT(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const UT=(()=>Promise.resolve(0))();function ad(e){typeof Zone>"u"?UT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Me(!1),this.onMicrotaskEmpty=new Me(!1),this.onStable=new Me(!1),this.onError=new Me(!1),typeof Zone>"u")throw new I(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)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function BT(){let e=pe.requestAnimationFrame,t=pe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function zT(e){const t=()=>{!function GT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ud(e),e.isCheckStableRunning=!0,ld(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ud(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return n_(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),r_(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return n_(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),r_(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,ud(e),ld(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.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(!Ne.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$T,fa,fa);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $T={};function ld(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 ud(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function n_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function r_(e){e._nesting--,ld(e)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Me,this.onMicrotaskEmpty=new Me,this.onStable=new Me,this.onError=new Me}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const o_=new R(""),ga=new R("");let fd,cd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fd||(function WT(e){fd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),ad(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ad(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(N(Ne),N(dd),N(ga))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),dd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return fd?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),$n=null;const i_=new R("AllowMultipleToken"),hd=new R("PlatformDestroyListeners");class s_{constructor(t,n){this.name=t,this.token=n}}function l_(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=pd();if(!s||s.injector.get(i_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function ZT(e){if($n&&!$n.get(i_,!1))throw new I(400,!1);$n=e;const t=e.get(c_);(function a_(e){const t=e.get(Yv,null);t&&t.forEach(n=>n())})(e)}(function u_(e=[],t){return Nt.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:hd,useValue:new Set([()=>$n=null])},...e]})}(a,r))}return function YT(e){const t=pd();if(!t)throw new I(401,!1);return t}()}}function pd(){return $n?.get(c_)??null}let c_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function f_(e,t){let n;return n="noop"===e?new qT:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function d_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ne,useValue:o}];return o.run(()=>{const s=Nt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Zr,null);if(!l)throw new I(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ya(this._modules,a),u.unsubscribe()})}),function h_(e,t,n){try{const r=n();return hi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(pa);return u.runInitializers(),u.donePromise.then(()=>(function Ly(e){yt(e,"Expected localeId to be defined"),"string"==typeof e&&(ky=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(xn,po)||po),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=p_({},r);return function KT(e,t,n){const r=new $c(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ma);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(hd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(N(Nt))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function p_(e,t){return Array.isArray(t)?t.reduce(p_,e):{...e,...t}}let ma=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Ie(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ie(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),ad(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function Lb(...e){const t=Fo(e),n=function xb(e,t){return"number"==typeof Ol(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?tn(r[0]):Ar(n)(Se(r,t)):mn}(i,s.pipe(function Vb(e={}){const{connector:t=(()=>new pn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=null},m=()=>{f(),s=l=null,c=d=!1},y=()=>{const v=s;m(),v?.unsubscribe()};return $e((v,w)=>{u++,!d&&!c&&f();const b=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=kl(y,o))}),b.subscribe(w),s||(s=new as({next:A=>b.next(A),error:A=>{d=!0,f(),a=kl(m,n,A),b.error(A)},complete:()=>{c=!0,f(),a=kl(m,r),b.complete()}}),Se(v).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Fg;if(!this._injector.get(pa).done)throw!o&&function Rr(e){const t=se(e)||Xe(e)||ot(e);return null!==t&&t.standalone}(n),new I(405,false);let s;s=o?n:this._injector.get(si).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function QT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_r),u=s.create(Nt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(o_,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ya(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ya(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ya(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(N(Ne),N(bn),N(Zr))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ya(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let va=(()=>{class e{}return e.__NG_ELEMENT_ID__=ex,e})();function ex(e){return function tx(e,t,n){if(_s(e)&&!n){const r=Dt(e.index,t);return new ui(r,r)}return 47&e.type?new ui(t[16],t):null}(We(),E(),16==(16&e))}class __{constructor(){}supports(t){return di(t)}create(t){return new ax(t)}}const sx=(e,t)=>t;class ax{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||sx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new lx(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new C_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new C_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lx{constructor(t,n){this.item=t,this.trackById=n,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 ux{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class C_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new ux,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function D_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new dx(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class dx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function b_(){return new Da([new __])}let Da=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||b_()),deps:[[e,new Xo,new Zo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new I(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:b_}),e})();function E_(){return new Ei([new w_])}let Ei=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E_()),deps:[[e,new Xo,new Zo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:E_}),e})();const px=l_(null,"core",[]);let gx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(N(ma))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})();function yo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let wa=null;function cn(){return wa}class vx{}const ct=new R("DocumentToken");let _d=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return function _x(){return N(M_)}()},providedIn:"platform"}),e})();const Cx=new R("Location Initialized");let M_=(()=>{class e extends _d{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cn().getBaseHref(this._doc)}onPopState(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,o){I_()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){I_()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:function(){return function Dx(){return new M_(N(ct))}()},providedIn:"platform"}),e})();function I_(){return!!window.history.pushState}function Cd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function S_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Nn(e){return e&&"?"!==e[0]?"?"+e:e}let Dr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(T_)},providedIn:"root"}),e})();const A_=new R("appBaseHref");let T_=(()=>{class e extends Dr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??te(ct).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Cd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(_d),N(A_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),wx=(()=>{class e extends Dr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Cd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(_d),N(A_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Dd=(()=>{class e{constructor(n){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=S_(x_(r)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nn(r))}normalize(n){return e.stripTrailingSlash(function Ex(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,x_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Nn,e.joinWithSlash=Cd,e.stripTrailingSlash=S_,e.\u0275fac=function(n){return new(n||e)(N(Dr))},e.\u0275prov=O({token:e,factory:function(){return function bx(){return new Dd(N(Dr))}()},providedIn:"root"}),e})();function x_(e){return e.replace(/\/index.html$/,"")}function j_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let Rd=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(di(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ue(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(M(Da),M(Ei),M(Et),M(En))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class lR{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,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 B_=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new lR(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),$_(a,o)}});for(let o=0,i=r.length;o{$_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Tn),M(Da))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function $_(e,t){e.context.$implicit=t.item}let Na=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new cR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){G_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){G_("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Tn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class cR{constructor(){this.$implicit=null,this.ngIf=null}}function G_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}let jR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})();let $R=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new GR(N(ct),window)}),e})();class GR{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function zR(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=K_(this.window.history)||K_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function K_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Q_{}class vN extends vx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Vd extends vN{static makeCurrent(){!function yx(e){wa||(wa=e)}(new Vd)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function _N(){return Ai=Ai||document.querySelector("base"),Ai?Ai.getAttribute("href"):null}();return null==n?null:function CN(e){Fa=Fa||document.createElement("a"),Fa.setAttribute("href",e);const t=Fa.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ai=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return j_(document.cookie,t)}}let Fa,Ai=null;const tC=new R("TRANSITION_ID"),wN=[{provide:ha,useFactory:function DN(e,t,n){return()=>{n.get(pa).donePromise.then(()=>{const r=cn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Oa=new R("EventManagerPlugins");let ka=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Ti=(()=>{class e extends rC{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(oC),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(oC))}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function oC(e){cn().remove(e)}const jd={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/"},Hd=/%COMP%/g;function La(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ud=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Bd(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case nn.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new xN(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case nn.ShadowDom:return new RN(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=La(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(N(ka),N(Ti),N(bi))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class Bd{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(jd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(uC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(uC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=jd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=jd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(pt.DashCase|pt.Important)?t.style.setProperty(n,r,o&pt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&pt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,aC(r)):this.eventManager.addEventListener(t,n,aC(r))}}function uC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class xN extends Bd{constructor(t,n,r,o){super(t),this.component=r;const i=La(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function SN(e){return"_ngcontent-%COMP%".replace(Hd,e)}(o+"-"+r.id),this.hostAttr=function AN(e){return"_nghost-%COMP%".replace(Hd,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class RN extends Bd{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=La(o.id,o.styles,[]);for(let s=0;s{class e extends nC{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const cC=["alt","control","meta","shift"],PN={"\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"},FN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ON=(()=>{class e extends nC{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>cn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.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."),cC.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=PN[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),cC.forEach(s=>{s!==o&&(0,FN[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const jN=l_(px,"browser",[{provide:id,useValue:"browser"},{provide:Yv,useValue:function kN(){Vd.makeCurrent()},multi:!0},{provide:ct,useFactory:function VN(){return function oM(e){Uu=e}(document),document},deps:[]}]),hC=new R(""),pC=[{provide:ga,useClass:class bN{addToWindow(t){pe.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},pe.getAllAngularTestabilities=()=>t.getAllTestabilities(),pe.getAllAngularRootElements=()=>t.getAllRootElements(),pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(r=>{const o=pe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?cn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:o_,useClass:cd,deps:[Ne,dd,ga]},{provide:cd,useClass:cd,deps:[Ne,dd,ga]}],gC=[{provide:Zu,useValue:"root"},{provide:Zr,useFactory:function LN(){return new Zr},deps:[]},{provide:Oa,useClass:NN,multi:!0,deps:[ct,Ne,id]},{provide:Oa,useClass:ON,multi:!0,deps:[ct]},{provide:Ud,useClass:Ud,deps:[ka,Ti,bi]},{provide:kg,useExisting:Ud},{provide:rC,useExisting:Ti},{provide:Ti,useClass:Ti,deps:[ct]},{provide:ka,useClass:ka,deps:[Oa,Ne]},{provide:Q_,useClass:EN,deps:[]},[]];let HN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:bi,useValue:n.appId},{provide:tC,useExisting:bi},wN]}}}return e.\u0275fac=function(n){return new(n||e)(N(hC,12))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({providers:[...gC,...pC],imports:[jR,gx]}),e})(),Gd=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(N(ct))},e.\u0275prov=O({token:e,factory:function(n){let r=null;return r=n?new n:function BN(){return new Gd(N(ct))}(),r},providedIn:"root"}),e})();function k(...e){return Se(e,Fo(e))}function zn(e,t){return fe(t)?Ge(e,t,1):Ge(e,1)}function Jt(e,t){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class Va{}class qd{}class Fn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Fn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Fn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Fn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class ZN{encodeKey(t){return vC(t)}encodeValue(t){return vC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const YN=/%(\d[a-f0-9])/gi,JN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vC(e){return encodeURIComponent(e).replace(YN,(t,n)=>JN[n]??t)}function ja(e){return`${e}`}class qn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ZN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XN(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ja):[ja(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new qn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ja(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ja(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class eP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function _C(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function CC(e){return typeof Blob<"u"&&e instanceof Blob}function DC(e){return typeof FormData<"u"&&e instanceof FormData}class xi{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function tP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Fn),this.context||(this.context=new eP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new xi(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Oe=(()=>((Oe=Oe||{})[Oe.Sent=0]="Sent",Oe[Oe.UploadProgress=1]="UploadProgress",Oe[Oe.ResponseHeader=2]="ResponseHeader",Oe[Oe.DownloadProgress=3]="DownloadProgress",Oe[Oe.Response=4]="Response",Oe[Oe.User=5]="User",Oe))();class Wd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Fn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Kd extends Wd{constructor(t={}){super(t),this.type=Oe.ResponseHeader}clone(t={}){return new Kd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ha extends Wd{constructor(t={}){super(t),this.type=Oe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ha({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class wC extends Wd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Qd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Zd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof xi)i=n;else{let l,u;l=o.headers instanceof Fn?o.headers:new Fn(o.headers),o.params&&(u=o.params instanceof qn?o.params:new qn({fromObject:o.params})),i=new xi(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=k(i).pipe(zn(l=>this.handler.handle(l)));if(n instanceof xi||"events"===o.observe)return s;const a=s.pipe(Jt(l=>l instanceof Ha));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(W(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(W(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(W(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(W(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new qn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Qd(o,r))}post(n,r,o={}){return this.request("POST",n,Qd(o,r))}put(n,r,o={}){return this.request("PUT",n,Qd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(N(Va))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function bC(e,t){return t(e)}function rP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const iP=new R("HTTP_INTERCEPTORS"),Ri=new R("HTTP_INTERCEPTOR_FNS");function sP(){let e=null;return(t,n)=>(null===e&&(e=(te(iP,{optional:!0})??[]).reduceRight(rP,bC)),e(t,n))}let EC=(()=>{class e extends Va{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(Ri)));this.chain=r.reduceRight((o,i)=>function oP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),bC)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(N(qd),N(bn))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const cP=/^\)\]\}',?\n/;let IC=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ie(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((m,y)=>o.setRequestHeader(m,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const m=n.detectContentTypeHeader();null!==m&&o.setRequestHeader("Content-Type",m)}if(n.responseType){const m=n.responseType.toLowerCase();o.responseType="json"!==m?m:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const m=o.statusText||"OK",y=new Fn(o.getAllResponseHeaders()),v=function dP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Kd({headers:y,status:o.status,statusText:m,url:v}),s},l=()=>{let{headers:m,status:y,statusText:v,url:w}=a(),b=null;204!==y&&(b=typeof o.response>"u"?o.responseText:o.response),0===y&&(y=b?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const _=b;b=b.replace(cP,"");try{b=""!==b?JSON.parse(b):null}catch(P){b=_,A&&(A=!1,b={error:P,text:b})}}A?(r.next(new Ha({body:b,headers:m,status:y,statusText:v,url:w||void 0})),r.complete()):r.error(new wC({error:b,headers:m,status:y,statusText:v,url:w||void 0}))},u=m=>{const{url:y}=a(),v=new wC({error:m,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(v)};let c=!1;const d=m=>{c||(r.next(a()),c=!0);let y={type:Oe.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),"text"===n.responseType&&!!o.responseText&&(y.partialText=o.responseText),r.next(y)},f=m=>{let y={type:Oe.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),r.next(y)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:Oe.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(N(Q_))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Xd=new R("XSRF_ENABLED"),SC="XSRF-TOKEN",AC=new R("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>SC}),TC="X-XSRF-TOKEN",xC=new R("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>TC});class RC{}let fP=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=j_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(N(ct),N(id),N(AC))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function hP(e,t){const n=e.url.toLowerCase();if(!te(Xd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=te(RC).getToken(),o=te(xC);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var xe=(()=>((xe=xe||{})[xe.Interceptors=0]="Interceptors",xe[xe.LegacyInterceptors=1]="LegacyInterceptors",xe[xe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xe[xe.NoXsrfProtection=3]="NoXsrfProtection",xe[xe.JsonpSupport=4]="JsonpSupport",xe[xe.RequestsMadeViaParent=5]="RequestsMadeViaParent",xe))();function vo(e,t){return{\u0275kind:e,\u0275providers:t}}function pP(...e){const t=[Zd,IC,EC,{provide:Va,useExisting:EC},{provide:qd,useExisting:IC},{provide:Ri,useValue:hP,multi:!0},{provide:Xd,useValue:!0},{provide:RC,useClass:fP}];for(const n of e)t.push(...n.\u0275providers);return function SM(e){return{\u0275providers:e}}(t)}const NC=new R("LEGACY_INTERCEPTOR_FN");function mP({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:AC,useValue:e}),void 0!==t&&n.push({provide:xC,useValue:t}),vo(xe.CustomXsrfConfiguration,n)}let yP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({providers:[pP(vo(xe.LegacyInterceptors,[{provide:NC,useFactory:sP},{provide:Ri,useExisting:NC,multi:!0}]),mP({cookieName:SC,headerName:TC}))]}),e})();const{isArray:vP}=Array,{getPrototypeOf:_P,prototype:CP,keys:DP}=Object;function PC(e){if(1===e.length){const t=e[0];if(vP(t))return{args:t,keys:null};if(function wP(e){return e&&"object"==typeof e&&_P(e)===CP}(t)){const n=DP(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:bP}=Array;function FC(e){return W(t=>function EP(e,t){return bP(t)?e(...t):e(t)}(e,t))}function OC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let kC=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et))},e.\u0275dir=B({type:e}),e})(),wr=(()=>{class e extends kC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[ae]}),e})();const dn=new R("NgValueAccessor"),IP={provide:dn,useExisting:he(()=>Yd),multi:!0};let Yd=(()=>{class e extends wr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[Ce([IP]),ae]}),e})();const SP={provide:dn,useExisting:he(()=>Ni),multi:!0},TP=new R("CompositionEventMode");let Ni=(()=>{class e extends kC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function AP(){const e=cn()?cn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et),M(TP,8))},e.\u0275dir=B({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(n,r){1&n&&F("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[Ce([SP]),ae]}),e})();function Wn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const nt=new R("NgValidators"),Kn=new R("NgAsyncValidators");function HC(e){return Wn(e.value)?{required:!0}:null}function Ua(e){return null}function qC(e){return null!=e}function WC(e){return hi(e)?Se(e):e}function KC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function QC(e,t){return t.map(n=>n(e))}function ZC(e){return e.map(t=>function NP(e){return!e.validate}(t)?t:n=>t.validate(n))}function Jd(e){return null!=e?function XC(e){if(!e)return null;const t=e.filter(qC);return 0==t.length?null:function(n){return KC(QC(n,t))}}(ZC(e)):null}function ef(e){return null!=e?function YC(e){if(!e)return null;const t=e.filter(qC);return 0==t.length?null:function(n){return function MP(...e){const t=Nh(e),{args:n,keys:r}=PC(e),o=new Ie(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?OC(r,a):a),i.complete())}))}});return t?o.pipe(FC(t)):o}(QC(n,t).map(WC)).pipe(W(KC))}}(ZC(e)):null}function JC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tf(e){return e?Array.isArray(e)?e:[e]:[]}function Ba(e,t){return Array.isArray(e)?e.includes(t):e===t}function nD(e,t){const n=tf(t);return tf(e).forEach(o=>{Ba(n,o)||n.push(o)}),n}function rD(e,t){return tf(t).filter(n=>!Ba(e,n))}class oD{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(t){this._rawValidators=t||[],this._composedValidatorFn=Jd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ef(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class dt extends oD{get formDirective(){return null}get path(){return null}}class Qn extends oD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class iD{constructor(t){this._cd=t}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 nf=(()=>{class e extends iD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Qn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ra("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})(),rf=(()=>{class e extends iD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(dt,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&ra("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ae]}),e})();const Pi="VALID",Ga="INVALID",_o="PENDING",Fi="DISABLED";function uf(e){return(za(e)?e.validators:e)||null}function cf(e,t){return(za(t)?t.asyncValidators:e)||null}function za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class uD{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Pi}get invalid(){return this.status===Ga}get pending(){return this.status==_o}get disabled(){return this.status===Fi}get enabled(){return this.status!==Fi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(rD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(rD(t,this._rawAsyncValidators))}hasValidator(t){return Ba(this._rawValidators,t)}hasAsyncValidator(t){return Ba(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=_o,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Fi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Pi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pi||this.status===_o)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fi:Pi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=_o,this._hasOwnPendingAsyncValidator=!0;const n=WC(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Me,this.statusChanges=new Me}_calculateStatus(){return this._allControlsDisabled()?Fi:this.errors?Ga:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_o)?_o:this._anyControlsHaveStatus(Ga)?Ga:Pi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){za(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function jP(e){return Array.isArray(e)?Jd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function HP(e){return Array.isArray(e)?ef(e):e||null}(this._rawAsyncValidators)}}class df extends uD{constructor(t,n,r){super(uf(n),cf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function lD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new I(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function aD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new I(1e3,"");if(!r[n])throw new I(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Oi=new R("CallSetDisabledState",{providedIn:"root",factory:()=>ff}),ff="always";function ki(e,t,n=ff){hf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function $P(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&cD(e,t)})}(e,t),function zP(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function GP(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&cD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function BP(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ka(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function hf(e,t){const n=function eD(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(JC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function tD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(JC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ka(t._rawValidators,o),Ka(t._rawAsyncValidators,o)}function cD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const ZP={provide:dt,useExisting:he(()=>Vi)},Li=(()=>Promise.resolve())();let Vi=(()=>{class e extends dt{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Me,this.form=new df({},Jd(n),ef(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Li.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),ki(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Li.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Li.then(()=>{const r=this._findContainer(n.path),o=new df({});(function dD(e,t){hf(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Li.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Li.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function fD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(M(nt,10),M(Kn,10),M(Oi,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&F("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([ZP]),ae]}),e})();function hD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function pD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const gD=class extends uD{constructor(t=null,n,r){super(uf(n),cf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),za(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=pD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){hD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){hD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){pD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},JP={provide:Qn,useExisting:he(()=>Za)},vD=(()=>Promise.resolve())();let Za=(()=>{class e extends Qn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new gD,this._registered=!1,this.update=new Me,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function mf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ni?n=i:function KP(e){return Object.getPrototypeOf(e.constructor)===wr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function gf(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){ki(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(n){vD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&yo(r);vD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function qa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(M(dt,9),M(nt,10),M(Kn,10),M(dn,10),M(va,8),M(Oi,8))},e.\u0275dir=B({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ce([JP]),ae,xt]}),e})(),yf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const tF={provide:dn,useExisting:he(()=>vf),multi:!0};let CD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({}),e})(),nF=(()=>{class e{constructor(){this._accessors=[]}add(n,r){this._accessors.push([n,r])}remove(n){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===n)return void this._accessors.splice(r,1)}select(n){this._accessors.forEach(r=>{this._isSameGroup(r,n)&&r[1]!==n&&r[1].fireUncheck(n.value)})}_isSameGroup(n,r){return!!n[0].control&&n[0]._parent===r._control._parent&&n[1].name===r.name}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:CD}),e})(),vf=(()=>{class e extends wr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Qn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(n){return new(n||e)(M(En),M(Et),M(nF),M(Nt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ce([tF]),ae]}),e})();const uF={provide:dn,useExisting:he(()=>Xa),multi:!0};function ID(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Xa=(()=>{class e extends wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=ID(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function cF(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([uF]),ae]}),e})(),SD=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(ID(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(M(Et),M(En),M(Xa,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const dF={provide:dn,useExisting:he(()=>wf),multi:!0};function AD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let wf=(()=>{class e extends wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.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(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(AD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(AD(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(M(Et),M(En),M(wf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),br=(()=>{class e{constructor(){this._validator=Ua}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Ua,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,features:[xt]}),e})();const gF={provide:nt,useExisting:he(()=>ji),multi:!0};let ji=(()=>{class e extends br{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=yo,this.createValidator=n=>HC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){2&n&&qt("required",r._enabled?"":null)},inputs:{required:"required"},features:[Ce([gF]),ae]}),e})();const CF={provide:nt,useExisting:he(()=>bf),multi:!0};let bf=(()=>{class e extends br{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function zC(e){if(!e)return Ua;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(Wn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&qt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[Ce([CF]),ae]}),e})(),DF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[CD]}),e})(),wF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Oi,useValue:n.callSetDisabledState??ff}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[DF]}),e})();class en extends pn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Ya=No(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function VD(...e){const t=Fo(e),n=Nh(e),{args:r,keys:o}=PC(e);if(0===r.length)return Se([],t);const i=new Ie(function EF(e,t,n=rr){return r=>{jD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Se(e[l],t);let c=!1;u.subscribe(ke(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>OC(o,s):rr));return n?i.pipe(FC(n)):i}function jD(e,t,n){e?gn(n,e,t):t()}function Ef(...e){return function MF(){return Ar(1)}()(Se(e,Fo(e)))}function HD(e){return new Ie(t=>{tn(e()).subscribe(t)})}function Hi(e,t){const n=fe(e)?e:()=>e,r=o=>o.error(n());return new Ie(t?o=>t.schedule(r,0,o):r)}function Mf(){return $e((e,t)=>{let n=null;e._refCount++;const r=ke(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class UD extends Ie{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,vh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new It;const n=this.getSubject();t.add(this.source.subscribe(ke(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=It.EMPTY)}return t}refCount(){return Mf()(this)}}function fn(e,t){return $e((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(ke(r,l=>{o?.unsubscribe();let u=0;const c=i++;tn(e(l,c)).subscribe(o=ke(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ja(e){return $e((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function BD(e=SF){return $e((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function SF(){return new Ya}function Zn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jt((o,i)=>e(o,i,r)):rr,Tr(1),n?Ja(t):BD(()=>new Ya))}function rt(e,t,n){const r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?$e((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(ke(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):rr}function Xn(e){return $e((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ke(n,void 0,void 0,s=>{i=tn(e(s,Xn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function AF(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(ke(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function $D(e,t){return $e(AF(e,t,arguments.length>=2,!0))}function If(e){return e<=0?()=>mn:$e((t,n)=>{let r=[];t.subscribe(ke(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function GD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Jt((o,i)=>e(o,i,r)):rr,If(1),n?Ja(t):BD(()=>new Ya))}function Sf(e){return $e((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const X="primary",Ui=Symbol("RouteTitle");class RF{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Co(e){return new RF(e)}function NF(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function qD(e){return Array.prototype.concat.apply([],e)}function WD(e){return e.length>0?e[e.length-1]:null}function Qe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Yn(e){return Oc(e)?e:hi(e)?Se(Promise.resolve(e)):k(e)}const el=!1,FF={exact:function ZD(e,t,n){if(!Mr(e.segments,t.segments)||!tl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!ZD(e.children[r],t.children[r],n))return!1;return!0},subset:XD},KD={exact:function OF(e,t){return hn(e,t)},subset:function kF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zD(e[n],t[n]))},ignored:()=>!0};function QD(e,t,n){return FF[n.paths](e.root,t.root,n.matrixParams)&&KD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function XD(e,t,n){return YD(e,t,t.segments,n)}function YD(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Mr(o,n)||t.hasChildren()||!tl(o,n,r))}if(e.segments.length===n.length){if(!Mr(e.segments,n)||!tl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!XD(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Mr(e.segments,o)&&tl(e.segments,o,r)&&e.children[X])&&YD(e.children[X],t,i,r)}}function tl(e,t,n){return t.every((r,o)=>KD[n](e[o].parameters,r.parameters))}class Er{constructor(t=new Y([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Co(this.queryParams)),this._queryParamMap}toString(){return jF.serialize(this)}}class Y{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Qe(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nl(this)}}class Bi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Co(this.parameters)),this._parameterMap}toString(){return nw(this)}}function Mr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let JD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new Af},providedIn:"root"}),e})();class Af{parse(t){const n=new KF(t);return new Er(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${$i(t.root,!0)}`,r=function BF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${rl(n)}=${rl(o)}`).join("&"):`${rl(n)}=${rl(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function HF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const jF=new Af;function nl(e){return e.segments.map(t=>nw(t)).join("/")}function $i(e,t){if(!e.hasChildren())return nl(e);if(t){const n=e.children[X]?$i(e.children[X],!1):"",r=[];return Qe(e.children,(o,i)=>{i!==X&&r.push(`${i}:${$i(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function VF(e,t){let n=[];return Qe(e.children,(r,o)=>{o===X&&(n=n.concat(t(r,o)))}),Qe(e.children,(r,o)=>{o!==X&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===X?[$i(e.children[X],!1)]:[`${o}:${$i(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[X]?`${nl(e)}/${n[0]}`:`${nl(e)}/(${n.join("//")})`}}function ew(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rl(e){return ew(e).replace(/%3B/gi,";")}function Tf(e){return ew(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ol(e){return decodeURIComponent(e)}function tw(e){return ol(e.replace(/\+/g,"%20"))}function nw(e){return`${Tf(e.path)}${function UF(e){return Object.keys(e).map(t=>`;${Tf(t)}=${Tf(e[t])}`).join("")}(e.parameters)}`}const $F=/^[^\/()?;=#]+/;function il(e){const t=e.match($F);return t?t[0]:""}const GF=/^[^=?&#]+/,qF=/^[^&#]+/;class KF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[X]=new Y(t,n)),r}parseSegment(){const t=il(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,el);return this.capture(t),new Bi(ol(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=il(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=il(this.remaining);o&&(r=o,this.capture(r))}t[ol(n)]=ol(r)}parseQueryParam(t){const n=function zF(e){const t=e.match(GF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function WF(e){const t=e.match(qF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=tw(n),i=tw(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=il(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,el);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=X);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[X]:new Y([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new I(4011,el)}}function xf(e){return e.segments.length>0?new Y([],{[X]:e}):e}function sl(e){const t={};for(const r of Object.keys(e.children)){const i=sl(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function QF(e){if(1===e.numberOfChildren&&e.children[X]){const t=e.children[X];return new Y(e.segments.concat(t.segments),t.children)}return e}(new Y(e.segments,t))}function Ir(e){return e instanceof Er}function YF(e,t,n,r,o){if(0===n.length)return Do(t.root,t.root,t.root,r,o);const i=function iw(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ow(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Qe(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new ow(n,t,r)}(n);return i.toRoot()?Do(t.root,t.root,new Y([],{}),r,o):function s(l){const u=function eO(e,t,n,r){if(e.isAbsolute)return new wo(t.root,!0,0);if(-1===r)return new wo(n,n===t.root,0);return function sw(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new wo(r,!1,o-i)}(n,r+(Gi(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?qi(u.segmentGroup,u.index,i.commands):Nf(u.segmentGroup,u.index,i.commands);return Do(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function Gi(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Do(e,t,n,r,o){let s,i={};r&&Qe(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:rw(e,t,n);const a=xf(sl(s));return new Er(a,i,o)}function rw(e,t,n){const r={};return Qe(e.children,(o,i)=>{r[i]=o===t?n:rw(o,t,n)}),new Y(e.segments,r)}class ow{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Gi(r[0]))throw new I(4003,!1);const o=r.find(zi);if(o&&o!==WD(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Nf(e,t,n){if(e||(e=new Y([],{})),0===e.segments.length&&e.hasChildren())return qi(e,t,n);const r=function nO(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(zi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!lw(l,u,s))return i;r+=2}else{if(!lw(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=Nf(e.children[s],t,i))}),Qe(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new Y(e.segments,o)}}function Pf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Pf(new Y([],{}),0,n))}),t}function aw(e){const t={};return Qe(e,(n,r)=>t[r]=`${n}`),t}function lw(e,t,n){return e==n.path&&hn(t,n.parameters)}class On{constructor(t,n){this.id=t,this.url=n}}class Ff extends On{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jn extends On{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class al extends On{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uw extends On{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sO extends On{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class aO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lO extends On{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uO{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class cO{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dO{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fO{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hO{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pO{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cw{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Of(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Of(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=kf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return kf(t,this._root).map(n=>n.value)}}function Of(e,t){if(e===t.value)return t;for(const n of t.children){const r=Of(e,n);if(r)return r}return null}function kf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=kf(e,n);if(r.length)return r.unshift(t),r}return[]}class kn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function bo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class fw extends dw{constructor(t,n){super(t),this.snapshot=n,Lf(this,t)}toString(){return this.snapshot.toString()}}function hw(e,t){const n=function mO(e,t){const s=new ll([],{},{},"",{},X,t,null,e.root,-1,{});return new gw("",new kn(s,[]))}(e,t),r=new en([new Bi("",{})]),o=new en({}),i=new en({}),s=new en({}),a=new en(""),l=new Sr(r,o,s,a,i,X,t,n.root);return l.snapshot=n.root,new fw(new kn(l,[]),n)}class Sr{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe(W(u=>u[Ui]))??k(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(W(t=>Co(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>Co(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pw(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function yO(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ll{constructor(t,n,r,o,i,s,a,l,u,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}get title(){return this.data?.[Ui]}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Co(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Co(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gw extends dw{constructor(t,n){super(n),this.url=t,Lf(this,n)}toString(){return mw(this._root)}}function Lf(e,t){t.value._routerState=e,t.children.forEach(n=>Lf(e,n))}function mw(e){const t=e.children.length>0?` { ${e.children.map(mw).join(", ")} } `:"";return`${e.value}${t}`}function Vf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,hn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),hn(t.params,n.params)||e.params.next(n.params),function PF(e,t){if(e.length!==t.length)return!1;for(let n=0;nhn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||jf(e.parent,t.parent))}function Wi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function _O(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Wi(e,r,o);return Wi(e,r)})}(e,t,n);return new kn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Wi(e,a)),s}}const r=function CO(e){return new Sr(new en(e.url),new en(e.params),new en(e.queryParams),new en(e.fragment),new en(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Wi(e,i));return new kn(r,o)}}const Hf="ngNavigationCancelingError";function yw(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=vw(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function vw(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Hf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function _w(e){return Cw(e)&&Ir(e.url)}function Cw(e){return e&&e[Hf]}class DO{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ki,this.attachRef=null}}let Ki=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new DO,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ul=!1;let Uf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new Me,this.deactivateEvents=new Me,this.attachEvents=new Me,this.detachEvents=new Me,this.parentContexts=te(Ki),this.location=te(Qt),this.changeDetector=te(va),this.environmentInjector=te(bn)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,ul);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,ul);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,ul);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new I(4013,ul);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new wO(n,a,o.injector);if(r&&function bO(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xt]}),e})();class wO{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Sr?this.route:t===Ki?this.childContexts:this.parent.get(t,n)}}let Bf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,selectors:[["ng-component"]],standalone:!0,features:[cv],decls:1,vars:0,template:function(n,r){1&n&&D(0,"router-outlet")},dependencies:[Uf],encapsulation:2}),e})();function Dw(e,t){return e.providers&&!e._injector&&(e._injector=ua(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Gf(e){const t=e.children&&e.children.map(Gf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==X&&(n.component=Bf),n}function kt(e){return e.outlet||X}function ww(e,t){const n=e.filter(r=>kt(r)===t);return n.push(...e.filter(r=>kt(r)!==t)),n}function Qi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class AO{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Vf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=bo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Qe(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=bo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=bo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=bo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new pO(i.value.snapshot))}),t.children.length&&this.forwardEvent(new fO(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Vf(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Vf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Qi(o.snapshot),l=a?.get(si)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class bw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class cl{constructor(t,n){this.component=t,this.route=n}}function TO(e,t,n){const r=e._root;return Zi(r,t?t._root:null,n,[r.value])}function Eo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function zb(e){return null!==ds(e)}(e)?t.get(e):e:r}function Zi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=bo(t);return e.children.forEach(s=>{(function RO(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function NO(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Mr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Mr(e.url,t.url)||!hn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(e,t)||!hn(e.queryParams,t.queryParams);default:return!jf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new bw(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Zi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new cl(a.outlet.component,s))}else s&&Xi(t,a,o),o.canActivateChecks.push(new bw(r)),Zi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Qe(i,(s,a)=>Xi(s,n.getContext(a),o)),o}function Xi(e,t,n){const r=bo(e),o=e.value;Qe(r,(i,s)=>{Xi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new cl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Yi(e){return"function"==typeof e}function zf(e){return e instanceof Ya||"EmptyError"===e?.name}const dl=Symbol("INITIAL_VALUE");function Mo(){return fn(e=>VD(e.map(t=>t.pipe(Tr(1),function IF(...e){const t=Fo(e);return $e((n,r)=>{(t?Ef(e,n,t):Ef(e,n)).subscribe(r)})}(dl)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===dl)return dl;if(!1===n||n instanceof Er)return n}return!0}),Jt(t=>t!==dl),Tr(1)))}function Ew(e){return function cb(...e){return gh(e)}(rt(t=>{if(Ir(t))throw yw(0,t)}),W(t=>!0===t))}const qf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mw(e,t,n,r,o){const i=Wf(e,t,n);return i.matched?function QO(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Eo(s,e);return Yn(function VO(e){return e&&Yi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Mo(),Ew()):k(!0)}(r=Dw(t,r),t,n).pipe(W(s=>!0===s?i:{...qf})):k(i)}function Wf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...qf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||NF)(n,e,t);if(!o)return{...qf};const i={};Qe(o.posParams,(a,l)=>{i[l]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function fl(e,t,n,r){if(n.length>0&&function YO(e,t,n){return n.some(r=>hl(e,t,r)&&kt(r)!==X)}(e,n,r)){const i=new Y(t,function XO(e,t,n,r){const o={};o[X]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&kt(i)!==X){const s=new Y([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[kt(i)]=s}return o}(e,t,r,new Y(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function JO(e,t,n){return n.some(r=>hl(e,t,r))}(e,n,r)){const i=new Y(e.segments,function ZO(e,t,n,r,o){const i={};for(const s of r)if(hl(e,n,s)&&!o[kt(s)]){const a=new Y([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[kt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new Y(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function hl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Iw(e,t,n,r){return!!(kt(e)===r||r!==X&&hl(t,n,e))&&("**"===e.path||Wf(t,e,n).matched)}function Sw(e,t,n){return 0===t.length&&!e.children[n]}const pl=!1;class gl{constructor(t){this.segmentGroup=t||null}}class Aw{constructor(t){this.urlTree=t}}function Ji(e){return Hi(new gl(e))}function Tw(e){return Hi(new Aw(e))}class rk{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=fl(this.urlTree.root,[],[],this.config).segmentGroup,n=new Y(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,X).pipe(W(i=>this.createUrlTree(sl(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Xn(i=>{if(i instanceof Aw)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof gl?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,X).pipe(W(o=>this.createUrlTree(sl(o),t.queryParams,t.fragment))).pipe(Xn(o=>{throw o instanceof gl?this.noMatchError(o):o}))}noMatchError(t){return new I(4002,pl)}createUrlTree(t,n,r){const o=xf(t);return new Er(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(W(i=>new Y([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Se(o).pipe(zn(i=>{const s=r.children[i],a=ww(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(W(l=>({segment:l,outlet:i})))}),$D((i,s)=>(i[s.outlet]=s.segment,i),{}),GD())}expandSegment(t,n,r,o,i,s){return Se(r).pipe(zn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Xn(u=>{if(u instanceof gl)return k(null);throw u}))),Zn(a=>!!a),Xn((a,l)=>{if(zf(a))return Sw(n,o,i)?k(new Y([],{})):Ji(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return Iw(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Ji(n):Ji(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Tw(i):this.lineralizeSegments(r,i).pipe(Ge(s=>{const a=new Y(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Wf(n,o,i);if(!a)return Ji(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?Tw(d):this.lineralizeSegments(o,d).pipe(Ge(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Dw(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(W(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new Y(o,{})))):k(new Y(o,{}))):Mw(n,r,o,t).pipe(fn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Ge(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:m,slicedSegments:y}=fl(n,a,l,f),v=new Y(m.segments,m.children);if(0===y.length&&v.hasChildren())return this.expandChildren(d,f,v).pipe(W(_=>new Y(a,_)));if(0===f.length&&0===y.length)return k(new Y(a,{}));const w=kt(r)===i;return this.expandSegment(d,v,f,y,w?X:i,!0).pipe(W(A=>new Y(a.concat(A.segments),A.children)))})):Ji(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function KO(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Eo(s,e);return Yn(function FO(e){return e&&Yi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Mo(),Ew())}(t,n,r).pipe(Ge(o=>o?this.configLoader.loadChildren(t,n).pipe(rt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function tk(e){return Hi(vw(pl,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[X])return Hi(new I(4e3,pl));o=o.children[X]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Er(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Qe(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Qe(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new Y(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new I(4001,pl);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class ik{}class lk{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=fl(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,X).pipe(W(n=>{if(null===n)return null;const r=new ll([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new gw(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=pw(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return Se(Object.keys(r.children)).pipe(zn(o=>{const i=r.children[o],s=ww(n,o);return this.processSegmentGroup(t,s,i,o)}),$D((o,i)=>o&&i?(o.push(...i),o):null),function TF(e,t=!1){return $e((n,r)=>{let o=0;n.subscribe(ke(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),Ja(null),GD(),W(o=>{if(null===o)return null;const i=Rw(o);return function uk(e){e.sort((t,n)=>t.value.outlet===X?-1:n.value.outlet===X?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Se(n).pipe(zn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Zn(s=>!!s),Xn(s=>{if(zf(s))return Sw(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!Iw(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?WD(o).parameters:{},l=Pw(r)+o.length;s=k({snapshot:new ll(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fw(n),kt(n),n.component??n._loadedComponent??null,n,Nw(r),l,Ow(n)),consumedSegments:[],remainingSegments:[]})}else s=Mw(r,n,o,t).pipe(W(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=Pw(r)+l.length;return{snapshot:new ll(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Fw(n),kt(n),n.component??n._loadedComponent??null,n,Nw(r),d,Ow(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(fn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function ck(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:m,slicedSegments:y}=fl(r,u,c,f.filter(w=>void 0===w.redirectTo));if(0===y.length&&m.hasChildren())return this.processChildren(d,f,m).pipe(W(w=>null===w?null:[new kn(l,w)]));if(0===f.length&&0===y.length)return k([new kn(l,[])]);const v=kt(n)===i;return this.processSegment(d,f,m,y,v?X:i).pipe(W(w=>null===w?null:[new kn(l,w)]))}))}}function dk(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Rw(e){const t=[],n=new Set;for(const r of e){if(!dk(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=Rw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function Nw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Pw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function Fw(e){return e.data||{}}function Ow(e){return e.resolve||{}}function kw(e){return"string"==typeof e.title||null===e.title}function Kf(e){return fn(t=>{const n=e(t);return n?Se(n).pipe(W(()=>t)):k(t)})}class _k{constructor(t){this.router=t,this.currentNavigation=null}setupNavigations(t){const n=this.router.events;return t.pipe(Jt(r=>0!==r.id),W(r=>({...r,extractedUrl:this.router.urlHandlingStrategy.extract(r.rawUrl)})),fn(r=>{let o=!1,i=!1;return k(r).pipe(rt(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.router.lastSuccessfulNavigation?{...this.router.lastSuccessfulNavigation,previousNavigation:null}:null}}),fn(s=>{const a=this.router.browserUrlTree.toString(),l=!this.router.navigated||s.extractedUrl.toString()!==a||a!==this.router.currentUrlTree.toString();if(("reload"===this.router.onSameUrlNavigation||l)&&this.router.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Vw(s.source)&&(this.router.browserUrlTree=s.extractedUrl),k(s).pipe(fn(c=>{const d=this.router.transitions.getValue();return n.next(new Ff(c.id,this.router.serializeUrl(c.extractedUrl),c.source,c.restoredState)),d!==this.router.transitions.getValue()?mn:Promise.resolve(c)}),function ok(e,t,n,r){return fn(o=>function nk(e,t,n,r,o){return new rk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(W(i=>({...o,urlAfterRedirects:i}))))}(this.router.ngModule.injector,this.router.configLoader,this.router.urlSerializer,this.router.config),rt(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function hk(e,t,n,r,o){return Ge(i=>function ak(e,t,n,r,o,i,s="emptyOnly"){return new lk(e,t,n,r,o,s,i).recognize().pipe(fn(a=>null===a?function sk(e){return new Ie(t=>t.error(e))}(new ik):k(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(W(s=>({...i,targetSnapshot:s}))))}(this.router.ngModule.injector,this.router.rootComponentType,this.router.config,this.router.urlSerializer,this.router.paramsInheritanceStrategy),rt(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===this.router.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=this.router.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);this.router.setBrowserUrl(f,c)}this.router.browserUrlTree=c.urlAfterRedirects}const d=new oO(c.id,this.router.serializeUrl(c.extractedUrl),this.router.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);n.next(d)}));if(l&&this.router.rawUrlTree&&this.router.urlHandlingStrategy.shouldProcessUrl(this.router.rawUrlTree)){const{id:d,extractedUrl:f,source:m,restoredState:y,extras:v}=s,w=new Ff(d,this.router.serializeUrl(f),m,y);n.next(w);const b=hw(f,this.router.rootComponentType).snapshot;return k(r={...s,targetSnapshot:b,urlAfterRedirects:f,extras:{...v,skipLocationChange:!1,replaceUrl:!1}})}return this.router.rawUrlTree=s.rawUrl,s.resolve(null),mn}),rt(s=>{const a=new iO(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.router.triggerEvent(a)}),W(s=>r={...s,guards:TO(s.targetSnapshot,s.currentSnapshot,this.router.rootContexts)}),function HO(e,t){return Ge(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function UO(e,t,n,r){return Se(e).pipe(Ge(o=>function WO(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=Qi(t)??o,u=Eo(a,l);return Yn(function LO(e){return e&&Yi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Zn())})).pipe(Mo()):k(!0)}(o.component,o.route,n,t,r)),Zn(o=>!0!==o,!0))}(s,r,o,e).pipe(Ge(a=>a&&function PO(e){return"boolean"==typeof e}(a)?function BO(e,t,n,r){return Se(t).pipe(zn(o=>Ef(function GO(e,t){return null!==e&&t&&t(new dO(e)),k(!0)}(o.route.parent,r),function $O(e,t){return null!==e&&t&&t(new hO(e)),k(!0)}(o.route,r),function qO(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function xO(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>HD(()=>k(s.guards.map(l=>{const u=Qi(s.node)??n,c=Eo(l,u);return Yn(function kO(e){return e&&Yi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Zn())})).pipe(Mo())));return k(i).pipe(Mo())}(e,o.path,n),function zO(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>HD(()=>{const s=Qi(t)??n,a=Eo(i,s);return Yn(function OO(e){return e&&Yi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Zn())}));return k(o).pipe(Mo())}(e,o.route,n))),Zn(o=>!0!==o,!0))}(r,i,e,t):k(a)),W(a=>({...n,guardsResult:a})))})}(this.router.ngModule.injector,s=>this.router.triggerEvent(s)),rt(s=>{if(r.guardsResult=s.guardsResult,Ir(s.guardsResult))throw yw(0,s.guardsResult);const a=new sO(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.router.triggerEvent(a)}),Jt(s=>!!s.guardsResult||(this.router.restoreHistory(s),this.router.cancelNavigationTransition(s,"",3),!1)),Kf(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(rt(a=>{const l=new aO(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(l)}),fn(a=>{let l=!1;return k(a).pipe(function pk(e,t){return Ge(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Se(o).pipe(zn(s=>function gk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!kw(o)&&(i[Ui]=o.title),function mk(e,t,n,r){const o=function yk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Se(o).pipe(Ge(s=>function vk(e,t,n,r){const o=Qi(t)??r,i=Eo(e,o);return Yn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Zn(),rt(a=>{i[s]=a}))),If(1),function xF(e){return W(()=>e)}(i),Xn(s=>zf(s)?mn:Hi(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=pw(e,n).resolve,o&&kw(o)&&(e.data[Ui]=o.title),null)))}(s.route,r,e,t)),rt(()=>i++),If(1),Ge(s=>i===o.length?k(n):mn))})}(this.router.paramsInheritanceStrategy,this.router.ngModule.injector),rt({next:()=>l=!0,complete:()=>{l||(this.router.restoreHistory(a),this.router.cancelNavigationTransition(a,"",2))}}))}),rt(a=>{const l=new lO(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(l)}))}),Kf(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.router.configLoader.loadComponent(l.routeConfig).pipe(rt(c=>{l.component=c}),W(()=>{})));for(const c of l.children)u.push(...a(c));return u};return VD(a(s.targetSnapshot.root)).pipe(Ja(),Tr(1))}),Kf(()=>this.router.afterPreactivation()),W(s=>{const a=function vO(e,t,n){const r=Wi(e,t._root,n?n._root:void 0);return new fw(r,t)}(this.router.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),rt(s=>{this.router.currentUrlTree=s.urlAfterRedirects,this.router.rawUrlTree=this.router.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.router.routerState=s.targetRouterState,"deferred"===this.router.urlUpdateStrategy&&(s.extras.skipLocationChange||this.router.setBrowserUrl(this.router.rawUrlTree,s),this.router.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>W(r=>(new AO(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.router.rootContexts,this.router.routeReuseStrategy,s=>this.router.triggerEvent(s)),rt({next(){o=!0},complete(){o=!0}}),Sf(()=>{o||i||this.router.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Xn(s=>{if(i=!0,Cw(s)){_w(s)||(this.router.navigated=!0,this.router.restoreHistory(r,!0));const a=new al(r.id,this.router.serializeUrl(r.extractedUrl),s.message,s.cancellationCode);if(n.next(a),_w(s)){const l=this.router.urlHandlingStrategy.merge(s.url,this.router.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.router.urlUpdateStrategy||Vw(r.source)};this.router.scheduleNavigation(l,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.router.restoreHistory(r,!0);const a=new uw(r.id,this.router.serializeUrl(r.extractedUrl),s,r.targetSnapshot??void 0);n.next(a);try{r.resolve(this.router.errorHandler(s))}catch(l){r.reject(l)}}return mn}))}))}}function Vw(e){return"imperative"!==e}let jw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===X);return r}getResolvedTitleForRoute(n){return n.data[Ui]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(Ck)},providedIn:"root"}),e})(),Ck=(()=>{class e extends jw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(N(Gd))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Dk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(bk)},providedIn:"root"}),e})();class wk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let bk=(()=>{class e extends wk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ke(e)))(r||e)}}(),e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ml=new R("",{providedIn:"root",factory:()=>({})}),Io=new R("ROUTES");let Qf=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Yn(n.loadComponent()).pipe(W(Uw),rt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Sf(()=>{this.componentLoaders.delete(n)})),o=new UD(r,()=>new pn).pipe(Mf());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(W(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=qD(l.get(Io,[],j.Self|j.Optional)));return{routes:u.map(Gf),injector:l}}),Sf(()=>{this.childrenLoaders.delete(r)})),s=new UD(i,()=>new pn).pipe(Mf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Yn(n()).pipe(W(Uw),Ge(o=>o instanceof lv||Array.isArray(o)?k(o):Se(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(N(Nt),N(sd))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Uw(e){return function Ik(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Sk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return te(Ak)},providedIn:"root"}),e})(),Ak=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Tk(e){throw e}function xk(e,t,n){return t.parse("/")}const Rk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function $w(){const e=te(JD),t=te(Ki),n=te(Dd),r=te(Nt),o=te(sd),i=te(Io,{optional:!0})??[],s=te(ml,{optional:!0})??{},a=new Ze(null,e,t,n,r,o,qD(i));return function Pk(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,a),a}let Ze=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new pn,this.errorHandler=Tk,this.malformedUriErrorHandler=xk,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=te(Sk),this.routeReuseStrategy=te(Dk),this.titleStrategy=te(jw),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=new _k(this),this.configLoader=s.get(Qf),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new cO(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new uO(f)),this.ngModule=s.get(_r),this.console=s.get(OT);const d=s.get(Ne);this.isNgZoneEnabled=d instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Er,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hw(this.currentUrlTree,this.rootComponentType),this.transitions=new en({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.navigationTransitions.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next({...this.transitions.value,...n})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const o={replaceUrl:!0},i=n.state?.navigationId?n.state:null;if(n.state){const a={...n.state};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,i,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(Gf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...i};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),YF(u,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Ir(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function Fk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Jn(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.getCurrentNavigation(),this.titleStrategy?.updateTitle(this.routerState.snapshot),n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((f,m)=>{a=f,l=m});const c=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),d=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:c,targetPageId:d,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r,o){const i=new al(n.id,this.serializeUrl(n.extractedUrl),r,o);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){ac()},e.\u0275prov=O({token:e,factory:function(){return $w()},providedIn:"root"}),e})(),er=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new pn;const l=s.nativeElement.tagName;this.isAnchorElement="A"===l||"AREA"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Jn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=yo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=yo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=yo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Eg(e,t,n){return function IM(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?bg:Us}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(M(Ze),M(Sr),function xs(e){return function QE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Me,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Jn&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(Ar()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Se(n).pipe(Ar()).subscribe(r=>{this.isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this.isActive!==n&&(this.isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function Ok(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Ze),M(Et),M(En),M(va),M(er,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&Av(o,er,5),2&n){let i;Sv(i=function Tv(){return function hT(e,t){return e[19].queries[t].queryList}(E(),ip())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[xt]}),e})();class zw{}let kk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(n=>n instanceof Jn),zn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ua(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Se(o).pipe(Ar())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe(Ge(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Se([i,this.loader.loadComponent(r)]).pipe(Ar()):i})}}return e.\u0275fac=function(n){return new(n||e)(N(Ze),N(sd),N(bn),N(zw),N(Qf))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Zf=new R("");let qw=(()=>{class e{constructor(n,r,o,i={}){this.router=n,this.viewportScroller=r,this.zone=o,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Ff?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Jn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof cw&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.router.triggerEvent(new cw(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){ac()},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function Ao(e,t){return{\u0275kind:e,\u0275providers:t}}function Kw(){const e=te(Nt);return t=>{const n=e.get(ma);if(t!==n.components[0])return;const r=e.get(Ze),o=e.get(Qw);1===e.get(Yf)&&r.initialNavigation(),e.get(Zw,null,j.Optional)?.setUpPreloading(),e.get(Zf,null,j.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const Qw=new R("",{factory:()=>new pn}),Yf=new R("",{providedIn:"root",factory:()=>1});const Zw=new R("");function Uk(e){return Ao(0,[{provide:Zw,useExisting:kk},{provide:zw,useExisting:e}])}const Xw=new R("ROUTER_FORROOT_GUARD"),Bk=[Dd,{provide:JD,useClass:Af},{provide:Ze,useFactory:$w},Ki,{provide:Sr,useFactory:function Ww(e){return e.routerState.root},deps:[Ze]},Qf,[]];function $k(){return new s_("Router",Ze)}let Yw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Bk,[],{provide:Io,multi:!0,useValue:n},{provide:Xw,useFactory:Wk,deps:[[Ze,new Zo,new Xo]]},{provide:ml,useValue:r||{}},r?.useHash?{provide:Dr,useClass:wx}:{provide:Dr,useClass:T_},{provide:Zf,useFactory:()=>{const e=te(Ze),t=te($R),n=te(Ne),r=te(ml);return r.scrollOffset&&t.setOffset(r.scrollOffset),new qw(e,t,n,r)}},r?.preloadingStrategy?Uk(r.preloadingStrategy).\u0275providers:[],{provide:s_,multi:!0,useFactory:$k},r?.initialNavigation?Kk(r):[],[{provide:Jw,useFactory:Kw},{provide:Jv,multi:!0,useExisting:Jw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Io,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(N(Xw,8))},e.\u0275mod=Ht({type:e}),e.\u0275inj=St({imports:[Bf]}),e})();function Wk(e){return"guarded"}function Kk(e){return["disabled"===e.initialNavigation?Ao(3,[{provide:ha,multi:!0,useFactory:()=>{const t=te(Ze);return()=>{t.setUpLocationChangeListener()}}},{provide:Yf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ao(2,[{provide:Yf,useValue:0},{provide:ha,multi:!0,deps:[Nt],useFactory:t=>{const n=t.get(Cx,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(Ze),s=t.get(Qw);(function r(o){t.get(Ze).events.pipe(Jt(s=>s instanceof Jn||s instanceof al||s instanceof uw),W(s=>s instanceof Jn||s instanceof al&&(0===s.code||1===s.code)&&null),Jt(s=>null!==s),Tr(1)).subscribe(()=>{o()})})(()=>{o(!0)}),i.afterPreactivation=()=>(o(!0),s.closed?k(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const Jw=new R("");class Zk{constructor(){this.name="",this.email="",this.message=""}}const Be_apiBaseUrl="https://www.palmmedia.de/api/";class To{constructor(t){this.httpClient=t}postContactForm(t){return this.httpClient.post(`${Be_apiBaseUrl}contact`,t)}static#e=this.\u0275fac=function(n){return new(n||To)(N(Zd))};static#t=this.\u0275prov=O({token:To,factory:To.\u0275fac})}function Xk(e,t){if(1&e){const n=qe();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(U().submit())}),h(2,"div",7)(3,"label",8),g(4,"Name "),h(5,"span",9),g(6,"*"),p()(),h(7,"input",10),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),g(10,"E-Mail "),h(11,"span",9),g(12,"*"),p()(),h(13,"input",12),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),g(16,"Nachricht "),h(17,"span",9),g(18,"*"),p()(),h(19,"textarea",14),F("ngModelChange",function(o){return ce(n),de(U().contactViewModel.message=o)}),p()(),h(20,"button",15),g(21,"Submit"),p()()}if(2&e){const n=function jm(e){return function Or(e,t){return e[t]}(function AE(){return $.lFrame.contextLView}(),22+e)}(1),r=U();C(7),S("ngModel",r.contactViewModel.name),C(6),S("ngModel",r.contactViewModel.email),C(6),S("ngModel",r.contactViewModel.message),C(1),S("disabled",!n.valid||r.enableFormCountDown>0)}}function Yk(e,t){1&e&&(h(0,"p"),g(1,"Thanks for your message."),p())}function Jk(e,t){1&e&&(h(0,"p",16),g(1,"Something went wrong. Please try again later."),p())}class yl{constructor(t){this.contactService=t,this.contactViewModel=new Zk,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,0===this.enableFormCountDown&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:t=>{console.log("Submitted form"),this.success=!0},error:t=>{console.error(t),this.error=!0},complete:()=>console.info("complete")})}static#e=this.\u0275fac=function(n){return new(n||yl)(M(To))};static#t=this.\u0275cmp=jt({type:yl,selectors:[["app-contact-component"]],decls:6,vars:3,consts:[[1,"container"],[1,"mb-4"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","text-danger",4,"ngIf"],["method","post",3,"ngSubmit"],["contactForm","ngForm"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Email"],["type","email","id","Email","name","Email","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"text-danger"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Contact"),p(),q(3,Xk,22,4,"form",2),q(4,Yk,2,0,"p",3),q(5,Jk,2,0,"p",4),p()),2&n&&(C(3),S("ngIf",!r.success&&!r.error),C(1),S("ngIf",r.success),C(1),S("ngIf",r.error))},dependencies:[Na,yf,Ni,nf,rf,ji,Za,Vi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]})}const Lt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.13"},eL=function(){return["/usage"]};class vl{constructor(){this.versions=Lt}static#e=this.\u0275fac=function(n){return new(n||vl)};static#t=this.\u0275cmp=jt({type:vl,selectors:[["app-getstarted"]],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java"],["href","https://github.com/jacoco/jacoco"],["id","nodejs"],["href","https://github.com/istanbuljs/nyc"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Get started"),p(),h(3,"h2"),g(4,"General"),p(),h(5,"p"),g(6,"In general you need a tool that instruments your test code and collects coverage information."),D(7,"br"),g(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),D(9,"br"),h(10,"em"),g(11,"ReportGenerator"),p(),g(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),g(14,"Use the online "),h(15,"a",2),g(16,"configuration tool"),p(),g(17," to get started quickly."),p(),h(18,"h2",3),g(19,".NET"),p(),h(20,"p"),g(21,"For .NET you can use "),h(22,"a",4),g(23,"coverlet"),p(),g(24," or "),h(25,"a",5),g(26,"altcover"),p(),g(27," for instrumenting your test code."),p(),h(28,"p"),g(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(30,"p")(31,"strong"),g(32,"Add dependencies to your "),h(33,"code"),g(34,"*.csproj"),p(),g(35," file:"),p()(),h(36,"pre",6),g(37),p(),h(38,"p")(39,"strong"),g(40,"Execute tests and create coverage report"),p()(),h(41,"pre",6),g(42),p(),h(43,"h2",7),g(44,"Java"),p(),h(45,"p"),g(46,"For Java you can use "),h(47,"a",8),g(48,"JaCoCo"),p(),g(49," for instrumenting your test code.\nAfter adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report."),p(),h(50,"p")(51,"strong"),g(52,"Add dependencies to your "),h(53,"code"),g(54,"pom.xml"),p(),g(55," file:"),p()(),h(56,"pre",6),g(57,"\n \n \n \n org.jacoco\n jacoco-maven-plugin\n 0.8.6\n \n \n \n prepare-agent\n \n \n \n report\n prepare-package\n \n report\n \n \n \n \n \n \n \n \n \n org.jacoco\n jacoco-maven-plugin\n \n \n \n report\n \n \n \n \n \n \n\n"),p(),h(58,"p")(59,"strong"),g(60,"Execute tests and create coverage report"),p()(),h(61,"pre",6),g(62),p(),h(63,"h2",9),g(64,"NodeJS"),p(),h(65,"p"),g(66,"For NodeJS you can use "),h(67,"a",10),g(68,"Istanbul"),p(),g(69," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(70,"pre",6),g(71),p()()),2&n&&(C(15),S("routerLink",Ae(5,eL)),C(22),yr('\n \n runtime; build; native; contentfiles; analyzers; buildtransitive\n all\n \n \n \n \n all\n runtime; build; native; contentfiles; analyzers\n \n\n'),C(5),yr('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',r.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),C(20),yr("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",r.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),C(9),yr("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",r.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[er]})}const tL=function(){return["/pro"]},nL=function(){return["/usage"]},rL=function(){return["/getstarted"]};class _l{static#e=this.\u0275fac=function(n){return new(n||_l)};static#t=this.\u0275cmp=jt({type:_l,selectors:[["app-home"]],decls:115,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo_512.png","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9"],[1,"mt-5"],[1,"mt-4","h5"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h6","mt-3"],["data-splitbee-event","Routing","data-splitbee-event-source","HomeComponent",3,"routerLink"],[1,"fa-solid","fa-lightbulb"],[3,"routerLink"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","pt-5","pb-5","bg-light"],[1,"text-center"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1.png"],["src","resources/screenshot1.png","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2.png"],["src","resources/screenshot2.png","alt","Screenshot",1,"img-fluid"]],template:function(n,r){1&n&&(h(0,"section",0)(1,"div",1)(2,"div",2),D(3,"img",3),p(),h(4,"div",4)(5,"h1"),g(6,"ReportGenerator"),p(),h(7,"h2",5),g(8,"Powerful code coverage visualization"),p(),h(9,"div",6)(10,"p")(11,"i"),g(12,"ReportGenerator"),p(),g(13," converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats."),p(),h(14,"p"),g(15,"The reports do not only show the coverage quota, but also include the source code and visualize which lines have been covered."),p()()()(),h(16,"div",7)(17,"div",8)(18,"div",9),D(19,"i",10),p(),h(20,"div",11),g(21,"Open source"),p(),h(22,"p")(23,"i"),g(24,"ReportGenerator"),p(),g(25," is open source under the permissive Apache License."),p(),h(26,"p"),g(27,"It's free to use."),D(28,"br"),g(29,"The "),h(30,"a",12),g(31,"PRO"),p(),g(32," version offers additional features."),p()(),h(33,"div",8)(34,"div",9),D(35,"i",13),p(),h(36,"div",11),g(37,"Easy to use"),p(),h(38,"p")(39,"i"),g(40,"ReportGenerator"),p(),g(41," is a command line tool which only requires a "),h(42,"a",14),g(43,"few parameters"),p(),g(44,"."),p(),h(45,"p"),g(46,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(47,"div",8)(48,"div",9),D(49,"i",15),p(),h(50,"div",11),g(51,"Integration"),p(),h(52,"p")(53,"i"),g(54,"ReportGenerator"),p(),g(55," works on Windows, Linux and macOS."),p(),h(56,"p"),g(57,"Support for "),h(58,"a",16),g(59,"GitHub actions"),p(),g(60," and "),h(61,"a",17),g(62,"Azure DevOps"),p(),g(63," is available."),p()()(),h(64,"div",7)(65,"div",18)(66,"a",19),D(67,"i",20),g(68," Learn how to use"),p(),h(69,"a",21),D(70,"i",22),g(71," GitHub"),p()()()(),h(72,"section",23)(73,"div",0)(74,"h2",24),g(75,"Trusted by"),p(),h(76,"div",7)(77,"div",25),D(78,"i",26)(79,"br"),h(80,"a",27),g(81,".NET Runtime"),p()(),h(82,"div",25),D(83,"i",28)(84,"br"),h(85,"a",29),g(86,"Google Cloud"),p()(),h(87,"div",25),D(88,"i",30)(89,"br"),h(90,"a",31),g(91,"AWS Encryption SDK"),p()(),h(92,"div",32),D(93,"i",33)(94,"br"),h(95,"a",34),g(96,"Many more"),p()()()()(),h(97,"section",35)(98,"div",0)(99,"h2"),g(100,"Screenshots"),p(),h(101,"p"),g(102,"The screenshots show two snippets of the generated reports."),p(),h(103,"p"),g(104,"You can download "),h(105,"a",36),g(106,"sample reports"),p(),g(107," of all formats."),p(),h(108,"div",1)(109,"div",37)(110,"a",38),D(111,"img",39),p()(),h(112,"div",40)(113,"a",41),D(114,"img",42),p()()()()()),2&n&&(C(30),S("routerLink",Ae(3,tL)),C(12),S("routerLink",Ae(4,nL)),C(24),S("routerLink",Ae(5,rL)))},dependencies:[er],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 123px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]})}class eb{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}class xo{initCodeFlow(){const r=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/pro`;console.log("Redirecting to: "+r),location.href=r}validateStateAndExtractCode(){let t=location.href;const n=t.indexOf("?");n>-1&&(t=t.substring(n+1));const r=this.parseQueryString(t);return r.state&&r.code&&this.validateNonce(r.state)?r.code:null}createAndSaveNonce(){const t=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",t),t}validateNonce(t){let n;return typeof window.localStorage<"u"&&(n=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),n&&0!==n.length?n===t||(console.error("Validating nonce failed. Values do not match.",n,t),!1):(console.error("Validating nonce failed. No saved nonce available.",n,t),!1)}createNonce(){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,r="";const o=typeof self>"u"?null:self.crypto||self.msCrypto;if(o){let s=new Uint8Array(n);o.getRandomValues(s),s.map||(s.map=Array.prototype.map);const a=[];for(var i=0;i0&&(l=decodeURIComponent(s),u=decodeURIComponent(a),"/"===l.substring(0,1)&&(l=l.substring(1)),n[l]=u);return n}base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}static#e=this.\u0275fac=function(n){return new(n||xo)};static#t=this.\u0275prov=O({token:xo,factory:xo.\u0275fac})}class Ro{constructor(t){this.httpClient=t}getLicense(t){return this.httpClient.get(`${Be_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(t)}`)}getPaddleLicense(t){return this.httpClient.post(`${Be_apiBaseUrl}reportgenerator/paddlelicense`,t)}static#e=this.\u0275fac=function(n){return new(n||Ro)(N(Zd))};static#t=this.\u0275prov=O({token:Ro,factory:Ro.\u0275fac})}function oL(e,t){1&e&&(h(0,"div",38)(1,"span",39),g(2,"Loading..."),p()())}const Jf=function(){return["/contact"]};function iL(e,t){if(1&e&&(h(0,"div")(1,"p"),g(2),p(),h(3,"p"),g(4,"Please try again later or use the "),h(5,"a",14),g(6," contact form"),p(),g(7,"."),p()()),2&e){const n=U(2);C(2),_e(n.license.error),C(3),S("routerLink",Ae(2,Jf))}}function sL(e,t){1&e&&(h(0,"div")(1,"p"),g(2,"Please become a "),h(3,"a",41),g(4,"GitHub sponsor"),p(),g(5," first."),p()())}function aL(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function lL(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function uL(e,t){if(1&e){const n=qe();h(0,"div")(1,"label",42),g(2,"Thank you for becoming a sponsor. Here's your license:"),p(),h(3,"textarea",43),g(4),p(),h(5,"button",44),F("click",function(){return ce(n),de(U(2).copy())}),q(6,aL,3,0,"span",40),q(7,lL,3,0,"span",40),p()()}if(2&e){const n=U(2);C(4),_e(n.license.license),C(2),S("ngIf",!n.licenseCopied),C(1),S("ngIf",n.licenseCopied)}}function cL(e,t){if(1&e&&(h(0,"div",17),q(1,iL,8,3,"div",40),q(2,sL,6,0,"div",40),q(3,uL,8,3,"div",40),p()),2&e){const n=U();C(1),S("ngIf",n.license.error),C(1),S("ngIf",!n.license.error&&!n.license.isSponsor),C(1),S("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function dL(e,t){if(1&e){const n=qe();h(0,"button",56),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("individual"))}),g(1,"Buy now"),p()}}function fL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function hL(e,t){if(1&e){const n=qe();h(0,"button",58),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("team"))}),g(1,"Buy now"),p()}}function pL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function gL(e,t){if(1&e){const n=qe();h(0,"button",59),F("click",function(){return ce(n),de(U(2).openPaddleCheckout("unlimited"))}),g(1,"Buy now"),p()}}function mL(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function yL(e,t){if(1&e&&(h(0,"div",2)(1,"div",47),D(2,"img",48),h(3,"h4",49),g(4,"Individual"),D(5,"br"),g(6),p(),h(7,"p"),g(8,"Annual - Per developer license."),p(),q(9,dL,2,0,"button",50),q(10,fL,2,0,"button",51),p(),h(11,"div",47),D(12,"img",52),h(13,"h4",49),g(14,"Team"),D(15,"br"),g(16),p(),h(17,"p"),g(18,"Annual - Up to 10 developers."),p(),q(19,hL,2,0,"button",53),q(20,pL,2,0,"button",51),p(),h(21,"div",47),D(22,"img",54),h(23,"h4",49),g(24,"Unlimited"),D(25,"br"),g(26),p(),h(27,"p"),g(28,"Annual - Unlimited developers."),p(),q(29,gL,2,0,"button",55),q(30,mL,2,0,"button",51),p()()),2&e){const n=U();C(6),_e(n.paddleIndividualLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle),C(6),_e(n.paddleTeamLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle),C(6),_e(n.paddleUnlimitedLicensePrice),C(3),S("ngIf",n.enablePaddle),C(1),S("ngIf",!n.enablePaddle)}}function vL(e,t){1&e&&(uo(0),h(1,"div",38)(2,"span",39),g(3,"Loading..."),p()(),h(4,"span",61),g(5,"Your license is being generated. Please wait."),p(),co())}function _L(e,t){if(1&e&&(h(0,"div")(1,"p"),g(2),p(),h(3,"p"),g(4,"Please try again later or use the "),h(5,"a",14),g(6," contact form"),p(),g(7,"."),p()()),2&e){const n=U(3);C(2),_e(n.paddleLicense.error),C(3),S("routerLink",Ae(2,Jf))}}function CL(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function DL(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function wL(e,t){if(1&e){const n=qe();h(0,"div")(1,"label",63),g(2,"Thank you for buying a license. Please save your license key persistently:"),p(),h(3,"textarea",64),g(4),p(),h(5,"button",44),F("click",function(){return ce(n),de(U(3).copyPaddle())}),q(6,CL,3,0,"span",40),q(7,DL,3,0,"span",40),p()()}if(2&e){const n=U(3);C(4),_e(n.paddleLicense.license),C(2),S("ngIf",!n.paddleLicenseCopied),C(1),S("ngIf",n.paddleLicenseCopied)}}function bL(e,t){if(1&e&&(h(0,"div",62),q(1,_L,8,3,"div",40),q(2,wL,8,3,"div",40),p()),2&e){const n=U(2);C(1),S("ngIf",n.paddleLicense.error),C(1),S("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function EL(e,t){if(1&e&&(h(0,"div",2),q(1,vL,6,0,"ng-container",40),q(2,bL,3,2,"div",60),p()),2&e){const n=U();C(1),S("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),C(1),S("ngIf",n.paddleLicense)}}class Cl{constructor(t,n){this.oauthService=t,this.licenseService=n,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleUnlimitedLicensePrice="US$249",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.paddleLicenseRequested=!1,this.paddleLicenseCopied=!1,this.paddleLicense=null,this.self=this,window.paddleCheckoutComplete=r=>{this.paddleCheckoutComplete(r)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,r=>{this.paddleIndividualLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762580,r=>{this.paddleTeamLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762581,r=>{this.paddleUnlimitedLicensePrice=r.recurring.price.gross})}ngOnInit(){const t=this.oauthService.validateStateAndExtractCode();null!==t?(console.log("Code received",t),this.licenseRequested=!0,this.licenseService.getLicense(t).subscribe({next:n=>{console.log("Received license response"),this.license=n,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:n=>{console.error(n),this.license=new eb,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available")}requestLicense(){this.licenseRequested=!0,this.oauthService.initCodeFlow()}copy(){try{navigator.clipboard.writeText(this.license.license),this.licenseCopied=!0}catch(t){console.error("Failed to copy license",t)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(t){console.error("Failed to copy paddle license",t)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(t){"unlimited"===t?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===t?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(t){console.log("Checkout completed",t),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(t).subscribe({next:n=>{console.log("Received paddle license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:n=>{console.error(n),this.paddleLicense=new eb,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}static#e=this.\u0275fac=function(n){return new(n||Cl)(M(xo),M(Ro))};static#t=this.\u0275cmp=jt({type:Cl,selectors:[["app-pro-component"]],decls:136,vars:7,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],[1,"fa-solid","fa-circle-check","pro-text"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","github"],[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank","data-splitbee-event","GitHub_BecomeSponsor",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button","data-splitbee-event","GitHub_GetLicense",1,"btn","btn-primary","me-3",3,"disabled","click"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","paddle"],["class","row",4,"ngIf"],[1,"mt-5"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[4,"ngIf"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"],[1,"col-xs-6","col-md-4","pb-3","text-center"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"mt-3"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",3,"click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],["src","resources/team.svg","alt","Team",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",3,"click",4,"ngIf"],["src","resources/unlimited.svg","alt","Unlimited",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Unlimited",3,"click",4,"ngIf"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",1,"btn","btn-primary",3,"click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",1,"btn","btn-primary",3,"click"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Unlimited",1,"btn","btn-primary",3,"click"],["class","col-xs-12 col-md-6",4,"ngIf"],[2,"position","relative","left","35px","top","-20px"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),D(8,"th",5),h(9,"th",6),g(10,"Free"),p(),h(11,"th",6)(12,"span",7),g(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),g(17,"Metrics"),p(),h(18,"td",9),D(19,"i",10),p(),h(20,"td",9),D(21,"i",10),p()(),h(22,"tr")(23,"th",8),g(24,"Risk Hotspots"),p(),h(25,"td",9),D(26,"i",10),p(),h(27,"td",9),D(28,"i",10),p()(),h(29,"tr")(30,"th",8),g(31,"Line coverage"),p(),h(32,"td",9),D(33,"i",10),p(),h(34,"td",9),D(35,"i",10),p()(),h(36,"tr")(37,"th",8),g(38,"Branch coverage"),p(),h(39,"td",9),D(40,"i",10),p(),h(41,"td",9),D(42,"i",10),p()(),h(43,"tr")(44,"th",8),g(45,"Method coverage"),p(),D(46,"td",9),h(47,"td",9),D(48,"i",11),p()()()()(),h(49,"div",12)(50,"p")(51,"i"),g(52,"ReportGenerator"),p(),g(53," is Open Source and free to use."),D(54,"br"),g(55," Some of the advanced features require a PRO license. "),p(),h(56,"p"),g(57," You can either become a "),h(58,"a",13),F("click",function(){return r.scrollToGithub()}),g(59,"GitHub sponsor"),p(),g(60," or you can "),h(61,"a",13),F("click",function(){return r.scrollToPaddle()}),g(62,"buy a license"),p(),g(63,"."),D(64,"br"),p(),h(65,"p"),g(66," Get "),h(67,"a",14),g(68,"in touch"),p(),g(69," if you have any issues and we will figure it out. "),p()()(),D(70,"div",15),p(),h(71,"section",16)(72,"div",0)(73,"h2",1),g(74,"Get your license as a sponsor"),p(),h(75,"div",2)(76,"div",17)(77,"p"),g(78,"You can obtain your license in two easy steps (no sign up required):"),p(),h(79,"span",18),g(80,"1."),p(),h(81,"a",19),D(82,"i",20),g(83," Become a GitHub sponsor"),p(),D(84,"br"),h(85,"span",18),g(86,"2."),p(),h(87,"button",21),F("click",function(){return r.requestLicense()}),D(88,"i",22),g(89," Get license"),p(),q(90,oL,3,0,"div",23),p(),q(91,cL,4,3,"div",24),p()(),D(92,"div",25),p(),h(93,"section",16)(94,"div",0)(95,"h2",1),g(96,"Buy a license"),p(),q(97,yL,31,9,"div",26),q(98,EL,3,2,"div",26),h(99,"div",27)(100,"p")(101,"i"),g(102,"ReportGenerator"),p(),g(103," licence purchases are provided with a 30 day money back guarantee."),p(),h(104,"p"),g(105,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns"),p()()()(),h(106,"section",28)(107,"h2",1),g(108,"Frequently Asked Questions"),p(),h(109,"div",29)(110,"div",30)(111,"h2",31)(112,"button",32),g(113," Are there limitations on number of users? "),p()(),h(114,"div",33)(115,"div",34)(116,"b"),g(117,"GitHub sponsors"),p(),D(118,"br"),h(119,"p"),g(120,"There's no enforced limit. Just pick a sponsor level that fits your company size and budget."),p(),h(121,"b"),g(122,"Bought license"),p(),D(123,"br"),h(124,"p"),g(125,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(126,"i"),g(127,"ReportGenerator"),p(),g(128,"."),p()()()(),h(129,"div",30)(130,"h2",35)(131,"button",36),g(132," Will my license expire? "),p()(),h(133,"div",37)(134,"div",34),g(135," Your license will not expire. "),p()()()()()),2&n&&(C(67),S("routerLink",Ae(6,Jf)),C(20),S("disabled",r.licenseRequested),C(3),S("ngIf",r.licenseRequested&&!r.license),C(1),S("ngIf",r.license),C(6),S("ngIf",!r.paddleLicenseRequested),C(1),S("ngIf",r.paddleLicenseRequested))},dependencies:[Na,er],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]})}class Dl{constructor(t,n,r,o,i,s){this.name=t,this.url=n,this.runtimes=r,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?'"':"";return`\r\n${r}-${t}:${n}${r}`}formatArguments(t,n){return this.formatArgument(t,n.filter(r=>null!=r&&0!==r.length&&0!==r.trim().length).join(";"))}}class ML extends Dl{formatExecutable(t){let n=`- task: ${t.tool}@${Lt.majorVersion}`;return n+="\r\n displayName: ReportGenerator",n+="\r\n inputs:",console.log("hello",n),n}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class IL{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1},{name:"HtmlSummary",description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"HtmlInline",description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines",description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Light",description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Dark",description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1},{name:"Cobertura",description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"TextDeltaSummary",description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummaryGithub",description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownDeltaSummary",description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[0],this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(t){return this.sourcedirectories.splice(t,1),!1}addReport(){return this.reports.push(""),!1}removeReport(t){return this.reports.splice(t,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(t){return this.plugins.splice(t,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(t){return this.assemblyfilters.splice(t,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(t){return this.classfilters.splice(t,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(t){return this.filefilters.splice(t,1),!1}getUsage(t,n){const r=t.executables.find(a=>a.runtime==n);let o=void 0!==r?t.formatExecutable(r):"";o+=t.formatArguments("reports",this.reports),o+=t.formatArgument("targetdir",this.targetdir);for(var i="",s=0;s0&&(i+=";"),i+=this.reporttypes[s].name);return i.length>0&&"Html"!==i&&(o+=t.formatArgument("reporttypes",i)),o+=t.formatArguments("sourcedirs",this.sourcedirectories),o+=t.formatArgument("historydir",this.historydir),o+=t.formatArguments("plugins",this.plugins),o+=t.formatArguments("assemblyfilters",this.assemblyfilters),o+=t.formatArguments("classfilters",this.classfilters),o+=t.formatArguments("filefilters",this.filefilters),"Verbose"!==this.selectedverbosity&&(o+=t.formatArgument("verbosity",this.selectedverbosity)),o+=t.formatArgument("title",this.title),o+=t.formatArgument("tag",this.tag),o+=t.formatArgument("license",this.license),o}historyDirRequired(){for(let t=0;t-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class eh{constructor(t,n){this.tool=t,this.command=n}}function AL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",34),F("ngModelChange",function(o){return ce(n),de(U().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(U().selectedEnvironmentChanged())}),p(),h(3,"b"),g(4),p(),D(5,"br"),h(6,"div",35),g(7),p()()()}if(2&e){const n=t.$implicit,r=U();C(2),S("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),C(2),_e(n.name),C(3),_e(n.description)}}function TL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",38),F("ngModelChange",function(o){return ce(n),de(U(3).selectedPackage=o)}),p(),h(3,"b"),g(4),p(),D(5,"br"),h(6,"div",35),g(7),p()()()}if(2&e){const n=U().$implicit,r=U(2);C(2),S("ngModel",r.selectedPackage)("value",n),C(2),_e(n.name),C(3),_e(n.description)}}function xL(e,t){if(1&e&&(uo(0),q(1,TL,8,4,"div",37),co()),2&e){const n=t.$implicit,r=U(2);C(1),S("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function RL(e,t){if(1&e&&(uo(0),h(1,"h4"),g(2,"NuGet Package"),p(),q(3,xL,2,1,"ng-container",36),co()),2&e){const n=U();C(3),S("ngForOf",n.packages)}}function NL(e,t){if(1&e){const n=qe();h(0,"span",42),F("click",function(){ce(n);const o=U().index;return de(U().configuration.removeReport(o))}),h(1,"a",43),D(2,"i",44),p()()}}const PL=function(e){return{"input-group":e}};function FL(e,t){if(1&e){const n=qe();h(0,"div",35)(1,"div",39)(2,"input",40),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.reports[s]=o)}),p(),q(3,NL,3,0,"span",41),p()()}if(2&e){const n=t.index,r=U();C(1),S("ngClass",zc(4,PL,n>0)),C(1),An("name","report_",n,""),S("ngModel",r.configuration.reports[n]),C(1),S("ngIf",n>0)}}function OL(e,t){if(1&e){const n=qe();h(0,"span",47),D(1,"i",48),g(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(U(2).scrollToHistoryDir())}),g(4,"history directory"),p()()}}function kL(e,t){if(1&e){const n=qe();h(0,"div",32)(1,"label",33)(2,"input",45),F("ngModelChange",function(o){return de(ce(n).$implicit.checked=o)}),p(),h(3,"b"),g(4),p(),q(5,OL,5,0,"span",46),D(6,"br"),h(7,"div",35),g(8),p()()()}if(2&e){const n=t.$implicit,r=U();C(2),S("ngModel",n.checked),C(2),_e(n.name),C(1),S("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),C(3),_e(n.description)}}function LL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",50),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeSourceDirectory(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","sourcedir_",n,""),S("ngModel",r.configuration.sourcedirectories[n])}}function VL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",51),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.plugins[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removePlugin(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","plugin_",n,""),S("ngModel",r.configuration.plugins[n])}}function jL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",52),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeAssemblyFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","assemblyfilter_",n,""),S("ngModel",r.configuration.assemblyfilters[n])}}function HL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.classfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeClassFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","classfilter_",n,""),S("ngModel",r.configuration.classfilters[n])}}function UL(e,t){if(1&e){const n=qe();h(0,"div",8)(1,"div",49)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(U().configuration.filefilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(U().configuration.removeFileFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=U();C(2),An("name","filefilter_",n,""),S("ngModel",r.configuration.filefilters[n])}}function BL(e,t){if(1&e&&(h(0,"option",55),g(1),p()),2&e){const n=t.$implicit;S("value",n),C(1),_e(n)}}function $L(e,t){if(1&e&&(h(0,"div",56)(1,"b"),g(2),p(),D(3,"br"),h(4,"pre",29),g(5),p()()),2&e){const n=t.$implicit;C(2),_e(n.tool),C(3),_e(n.command)}}function GL(e,t){if(1&e&&(h(0,"div",56)(1,"b"),g(2),p(),D(3,"br"),h(4,"pre",29),g(5),p()()),2&e){const n=t.$implicit;C(2),_e(n.tool),C(3),_e(n.command)}}function zL(e,t){1&e&&(h(0,"span"),D(1,"i",57),g(2," Copy"),p())}function qL(e,t){1&e&&(h(0,"span"),D(1,"i",58),g(2," Copied"),p())}const WL=function(){return["/pro"]};class ns{constructor(){this.versions=Lt,this.lastResult="",this.usageCopied=!1,this.configuration=new IL,this.environments=[new wl(".NET Core",".NET Core"),new wl(".NET Framework","The full .NET framework"),new wl("Azure DevOps",null),new wl("Github Action",null)],this.packages=[new Dl("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",[new eh("Package Manager",`Install-Package ReportGenerator -Version ${Lt.version}`),new eh(".NET CLI",`dotnet add package ReportGenerator --version ${Lt.version}`)],[new ts(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net47\\ReportGenerator.exe`),new ts(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new Dl("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new eh(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${Lt.version}\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${Lt.version}\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version ${Lt.version}`)],[new ts(".NET Core","reportgenerator")]),new ML("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new ts("Azure DevOps","reportgenerator")]),new SL("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new ts("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const t=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==t&&(this.lastResult=t,this.usageCopied=!1),t}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(t){console.error("Failed to copy license",t)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(t,n){return t}static#e=this.\u0275fac=function(n){return new(n||ns)};static#t=this.\u0275cmp=jt({type:ns,selectors:[["app-usage-component"]],decls:210,vars:36,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModel","ngModelChange"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir",1,"input-group","mb-3"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModel","required","ngModelChange"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModel","ngModelChange"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"d-none","d-md-block","sticky"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","ngModelChange"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","checkbox","name","reporttype",1,"form-check-input",3,"ngModel","ngModelChange"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],[3,"value"],[1,"mt-2"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(h(0,"div",0)(1,"h1",1),g(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),g(7,"Environment"),p(),q(8,AL,8,5,"div",4),q(9,RL,4,1,"ng-container",5),h(10,"h3"),g(11,"Reports"),p(),h(12,"div",6),g(13,"Path to the coverage report(s) that should be parsed."),D(14,"br"),g(15,"Globbing is supported."),p(),q(16,FL,4,6,"div",7),h(17,"div",8)(18,"a",9),F("click",function(){return r.configuration.addReport()}),D(19,"i",10),g(20," Add report"),p()(),D(21,"br"),h(22,"h3"),g(23,"Target directory"),p(),h(24,"div",6),g(25,"The directory where the generated report(s) should be saved."),p(),h(26,"div",8)(27,"input",11),F("ngModelChange",function(i){return r.configuration.targetdir=i}),p()(),D(28,"br"),h(29,"h3"),g(30,"Report types"),p(),h(31,"div",6),g(32,"Download "),h(33,"a",12),g(34,"sample reports"),p()(),q(35,kL,9,4,"div",4),h(36,"h3"),g(37,"Source directories"),p(),h(38,"div",6),g(39,"Optional directories which contain the corresponding source code."),D(40,"br"),g(41,"The source directories are used if coverage report contains classes without path information."),p(),q(42,LL,6,2,"div",13),h(43,"div",14)(44,"a",9),F("click",function(){return r.configuration.addSourceDirectory()}),D(45,"i",10),g(46," Add source directory"),p()(),D(47,"br"),h(48,"h3"),g(49,"History directory"),p(),h(50,"div",6),g(51,"Optional directory for storing "),h(52,"b"),g(53,"persistent"),p(),g(54," coverage information. Choose a directory which does not get deleted between builds."),D(55,"br"),g(56,"Required to show the history chart in the HTML reports."),p(),h(57,"div",8)(58,"input",15),F("ngModelChange",function(i){return r.configuration.historydir=i}),p()(),D(59,"br"),h(60,"h3"),g(61,"Plugins"),p(),h(62,"div",6),g(63,"Optional plugin files for "),h(64,"a",16),g(65,"custom reports"),p(),g(66," or "),h(67,"a",17),g(68,"custom history storage"),p(),g(69,"."),p(),q(70,VL,6,2,"div",13),h(71,"div",8)(72,"a",9),F("click",function(){return r.configuration.addPlugin()}),D(73,"i",10),g(74," Add plugin"),p()(),D(75,"br"),h(76,"h3"),g(77,"Assembly filters"),p(),h(78,"div",6),g(79,"Optional list of "),h(80,"b"),g(81,"assemblies"),p(),g(82," that should be included or excluded in the report. "),D(83,"br"),g(84,"Exclusion filters take precedence over inclusion filters. "),D(85,"br"),g(86,"Wildcards are allowed."),D(87,"br"),h(88,"p"),g(89,"Examples:"),D(90,"br"),h(91,"code"),g(92,"+Included"),p(),D(93,"br"),h(94,"code"),g(95,"-Excluded"),p()()(),q(96,jL,6,2,"div",13),h(97,"div",8)(98,"a",9),F("click",function(){return r.configuration.addAssemblyFilter()}),D(99,"i",10),g(100," Add assembly filter"),p()(),D(101,"br"),h(102,"h3"),g(103,"Class filters"),p(),h(104,"div",6),g(105,"Optional list of "),h(106,"b"),g(107,"classes"),p(),g(108," that should be included or excluded in the report. "),D(109,"br"),g(110,"Exclusion filters take precedence over inclusion filters. "),D(111,"br"),g(112,"Wildcards are allowed."),D(113,"br"),h(114,"p"),g(115,"Examples:"),D(116,"br"),h(117,"code"),g(118,"+Included"),p(),D(119,"br"),h(120,"code"),g(121,"-Excluded"),p()()(),q(122,HL,6,2,"div",13),h(123,"div",8)(124,"a",9),F("click",function(){return r.configuration.addClassFilter()}),D(125,"i",10),g(126," Add class filter"),p()(),D(127,"br"),h(128,"h3"),g(129,"File filters"),p(),h(130,"div",6),g(131,"Optional list of "),h(132,"b"),g(133,"files"),p(),g(134," that should be included or excluded in the report. "),D(135,"br"),g(136,"Exclusion filters take precedence over inclusion filters. "),D(137,"br"),g(138,"Wildcards are allowed."),D(139,"br"),h(140,"p"),g(141,"Examples:"),D(142,"br"),h(143,"code"),g(144,"+Included"),p(),D(145,"br"),h(146,"code"),g(147,"-Excluded"),p()()(),q(148,UL,6,2,"div",13),h(149,"div",8)(150,"a",9),F("click",function(){return r.configuration.addFileFilter()}),D(151,"i",10),g(152," Add file filter"),p()(),D(153,"br"),h(154,"h3"),g(155,"Verbosity"),p(),h(156,"div",6),g(157,"The verbosity level of the log messages."),p(),h(158,"div",8)(159,"select",18),F("ngModelChange",function(i){return r.configuration.selectedverbosity=i}),q(160,BL,2,2,"option",19),p()(),D(161,"br"),h(162,"h3"),g(163,"Title"),p(),h(164,"div",6),g(165,"Optional title."),p(),h(166,"div",8)(167,"input",20),F("ngModelChange",function(i){return r.configuration.title=i}),p()(),D(168,"br"),h(169,"h3"),g(170,"Tag"),p(),h(171,"div",6),g(172,"Optional tag or build version."),p(),h(173,"div",8)(174,"input",21),F("ngModelChange",function(i){return r.configuration.tag=i}),p()(),D(175,"br"),h(176,"h3"),g(177,"License"),p(),h(178,"div",6),g(179,"Optional license. Get your license here: "),h(180,"a",22),g(181,"https://reportgenerator.io/pro"),p()(),h(182,"div",8)(183,"textarea",23),F("ngModelChange",function(i){return r.configuration.license=i}),p()()()(),h(184,"div",24)(185,"div",25)(186,"h3"),g(187,"Instructions"),p(),g(188," Install "),h(189,"a",26),g(190),p(),q(191,$L,6,2,"div",27),h(192,"h4",28),g(193,"Usage"),p(),h(194,"pre",29),g(195),p()(),h(196,"div",30)(197,"h3"),g(198,"Instructions"),p(),g(199," Install "),h(200,"a",26),g(201),p(),q(202,GL,6,2,"div",27),h(203,"h4",28),g(204,"Usage"),p(),h(205,"pre",29),g(206),p(),h(207,"button",31),F("click",function(){return r.copy()}),q(208,zL,3,0,"span",5),q(209,qL,3,0,"span",5),p()()()()()),2&n&&(C(8),S("ngForOf",r.environments),C(1),S("ngIf",r.severalPackagesAvailable()),C(7),S("ngForOf",r.configuration.reports)("ngForTrackBy",r.trackByIndex),C(11),S("ngModel",r.configuration.targetdir),C(8),S("ngForOf",r.configuration.reporttypes),C(7),S("ngForOf",r.configuration.sourcedirectories)("ngForTrackBy",r.trackByIndex),C(16),S("ngModel",r.configuration.historydir)("required",r.configuration.historyDirRequired()),C(12),S("ngForOf",r.configuration.plugins)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.assemblyfilters)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.classfilters)("ngForTrackBy",r.trackByIndex),C(26),S("ngForOf",r.configuration.filefilters)("ngForTrackBy",r.trackByIndex),C(11),S("ngModel",r.configuration.selectedverbosity),C(1),S("ngForOf",r.configuration.verbosities)("ngForTrackBy",r.trackByIndex),C(7),S("ngModel",r.configuration.title),C(7),S("ngModel",r.configuration.tag),C(6),S("routerLink",Ae(35,WL)),C(3),S("ngModel",r.configuration.license),C(6),S("href",r.selectedPackage.url,Us),C(1),_e(r.selectedPackage.name),C(1),S("ngForOf",r.selectedPackage.installOptions),C(4),_e(r.getUsage()),C(5),S("href",r.selectedPackage.url,Us),C(1),_e(r.selectedPackage.name),C(1),S("ngForOf",r.selectedPackage.installOptions),C(4),_e(r.getUsage()),C(2),S("ngIf",!r.usageCopied),C(1),S("ngIf",r.usageCopied))},dependencies:[Rd,B_,Na,er,yf,SD,TD,Ni,Yd,Xa,vf,nf,rf,ji,bf,Za,Vi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]})}const KL=[{path:"",component:_l,pathMatch:"full",data:{title:"Home"}},{path:"getstarted",component:vl,data:{title:"Get started"}},{path:"usage",component:ns,data:{title:"Usage"}},{path:"usage.html",component:ns,data:{title:"Usage"}},{path:"pro",component:Cl,data:{title:"PRO"}},{path:"contact",component:yl,data:{title:"Contact"}}];class bl{static#e=this.\u0275fac=function(n){return new(n||bl)};static#t=this.\u0275mod=Ht({type:bl});static#n=this.\u0275inj=St({imports:[Yw.forRoot(KL),Yw]})}const tb=function(){return["/"]},QL=function(e){return{show:e}},rs=function(){return["link-active"]},ZL=function(){return{exact:!0}},XL=function(){return["/getstarted"]},YL=function(){return["/usage"]},JL=function(){return["/contact"]},eV=function(){return["/pro"]};class El{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}static#e=this.\u0275fac=function(n){return new(n||El)};static#t=this.\u0275cmp=jt({type:El,selectors:[["app-nav-menu"]],decls:26,vars:28,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.png","height","48","alt","Icon",1,"me-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex","justify-content-end",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],["data-splitbee-event","Routing","data-splitbee-event-source","NavMenu",1,"nav-link","text-dark",3,"routerLink"],[1,"pro-button"]],template:function(n,r){1&n&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),D(4,"img",4),g(5," ReportGenerator"),p(),h(6,"button",5),F("click",function(){return r.toggle()}),D(7,"span",6),p(),h(8,"div",7)(9,"ul",8)(10,"li",9)(11,"a",10),g(12,"Home"),p()(),h(13,"li",11)(14,"a",10),g(15,"Get started"),p()(),h(16,"li",11)(17,"a",10),g(18,"Usage"),p()(),h(19,"li",11)(20,"a",10),g(21,"Contact"),p()(),h(22,"li",11)(23,"a",12)(24,"span",13),g(25,"PRO"),p()()()()()()()()),2&n&&(C(3),S("routerLink",Ae(14,tb)),C(3),qt("aria-expanded",r.isExpanded),C(2),S("ngClass",zc(15,QL,r.isExpanded)),C(2),S("routerLinkActive",Ae(17,rs))("routerLinkActiveOptions",Ae(18,ZL)),C(1),S("routerLink",Ae(19,tb)),C(2),S("routerLinkActive",Ae(20,rs)),C(1),S("routerLink",Ae(21,XL)),C(2),S("routerLinkActive",Ae(22,rs)),C(1),S("routerLink",Ae(23,YL)),C(2),S("routerLinkActive",Ae(24,rs)),C(1),S("routerLink",Ae(25,JL)),C(2),S("routerLinkActive",Ae(26,rs)),C(1),S("routerLink",Ae(27,eV)))},dependencies:[Rd,er,Gw],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{color:#fff;background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1c8eb7!important;font-weight:400}"]})}class Ml{static#e=this.\u0275fac=function(n){return new(n||Ml)};static#t=this.\u0275cmp=jt({type:Ml,selectors:[["app-footer"]],decls:58,vars:0,consts:[[1,"container-fluid","mt-5","p-5"],[1,"container"],[1,"row"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3"],["href","https://github.com/danielpalme/ReportGenerator/issues","target","_blank"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(n,r){1&n&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p")(5,"b"),g(6,"GitHub"),p()(),h(7,"a",4),g(8,"Source code"),p(),D(9,"br"),h(10,"a",5),g(11,"Wiki"),p(),D(12,"br"),h(13,"a",6),g(14,"FAQ"),p()(),h(15,"div",7)(16,"p")(17,"b"),g(18,"Download"),p()(),h(19,"i"),g(20,"NuGet"),p(),D(21,"br"),h(22,"a",8),g(23,"ReportGenerator"),p(),D(24,"br"),h(25,"a",9),g(26,"dotnet-reportgenerator-globaltool"),p(),D(27,"br"),h(28,"a",10),g(29,"ReportGenerator.Core"),p(),D(30,"br")(31,"br"),h(32,"i"),g(33,"Integration"),p(),D(34,"br"),h(35,"a",11),g(36,"GitHub actions"),p(),D(37,"br"),h(38,"a",12),g(39,"Azure DevOps"),p()(),h(40,"div",13)(41,"p")(42,"b"),g(43,"Community"),p()(),h(44,"a",14),D(45,"i",15),g(46," GitHub"),p(),D(47,"br"),h(48,"a",16),D(49,"i",17),g(50," Twitter"),p(),D(51,"br")(52,"br"),h(53,"a",18),g(54,"Privacy"),p(),D(55,"br"),h(56,"a",19),g(57,"Imprint"),p()()()()())},styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]})}class Il{constructor(t,n,r){this.titleService=t,this.router=n,this.activatedRoute=r}ngOnInit(){this.router.events.pipe(Jt(t=>t instanceof Jn),W(()=>this.activatedRoute),W(t=>{for(;t.firstChild;)t=t.firstChild;return t}),Jt(t=>"primary"===t.outlet),Ge(t=>t.data)).subscribe(t=>{this.titleService.setTitle(t.title+" - ReportGenerator")})}static#e=this.\u0275fac=function(n){return new(n||Il)(M(Gd),M(Ze),M(Sr))};static#t=this.\u0275cmp=jt({type:Il,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&D(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Uf,El,Ml],encapsulation:2})}class Sl{static#e=this.\u0275fac=function(n){return new(n||Sl)};static#t=this.\u0275mod=Ht({type:Sl,bootstrap:[Il]});static#n=this.\u0275inj=St({providers:[xo,Ro,To],imports:[HN,bl,yP,wF]})}jN().bootstrapModule(Sl).catch(e=>console.error(e))}},fe=>{fe(fe.s=364)}]); \ No newline at end of file diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index 57958728..d94584b8 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -13,7 +13,7 @@ "version": { "Major": 5, "Minor": 1, - "Patch": 12 + "Patch": 13 }, "instanceNameFormat": "ReportGenerator", "groups": [ diff --git a/src/AzureDevopsTask/vss-extension.json b/src/AzureDevopsTask/vss-extension.json index 42598444..a8939862 100644 --- a/src/AzureDevopsTask/vss-extension.json +++ b/src/AzureDevopsTask/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "reportgenerator", "name": "ReportGenerator", - "version": "5.1.12", + "version": "5.1.13", "publisher": "Palmmedia", "public": true, "targets": [ diff --git a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj index 5d4e77f3..adf23867 100644 --- a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj +++ b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.Console.NetCore.Program - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 diff --git a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj index dd1a88d2..4fe3f0dd 100644 --- a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj +++ b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj @@ -4,8 +4,8 @@ net7.0 false Palmmedia.ReportGenerator.Core.Test - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 false diff --git a/src/ReportGenerator.Core/ReportGenerator.Core.csproj b/src/ReportGenerator.Core/ReportGenerator.Core.csproj index ff236b2f..cce52077 100644 --- a/src/ReportGenerator.Core/ReportGenerator.Core.csproj +++ b/src/ReportGenerator.Core/ReportGenerator.Core.csproj @@ -7,8 +7,8 @@ false true ReportGenerator.Core - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 diff --git a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj index 3683f663..b6eea3cf 100644 --- a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj +++ b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj @@ -2,8 +2,8 @@ netcoreapp3.1;net5.0;net6.0;net7.0 ReportGenerator.DotnetCorePluginLoader - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 True diff --git a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj index 0075e684..5bc02c72 100644 --- a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj +++ b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.DotnetGlobalTool.Program - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 diff --git a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj index 2a26a1e0..8c46be5b 100644 --- a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj +++ b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj @@ -5,8 +5,8 @@ Palmmedia.ReportGenerator.MSBuild false true - 5.1.12.0 - 5.1.12.0 + 5.1.13.0 + 5.1.13.0 diff --git a/src/build.proj b/src/build.proj index f4058e36..5ce5a2e4 100644 --- a/src/build.proj +++ b/src/build.proj @@ -22,7 +22,7 @@ - 5.1.12 + 5.1.13