From 1958c5fb4a3568896a3fa0840756a13ab7c96d3c Mon Sep 17 00:00:00 2001 From: danielpalme Date: Wed, 16 Nov 2022 21:55:39 +0100 Subject: [PATCH] Release 5.1.12 --- .github/workflows/ci.yml | 2 +- docs/404.html | 2 +- docs/index.html | 2 +- docs/{main.8a13aa44584553f4.js => main.4bbdd2fff41ac1b8.js} | 2 +- .../Properties/launchSettings.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename docs/{main.8a13aa44584553f4.js => main.4bbdd2fff41ac1b8.js} (99%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4335bf9d..5bcc4b16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,7 @@ jobs: # Disabled due to: https://github.com/coverlet-coverage/coverlet/issues/1391 # - name: ReportGenerator - # uses: danielpalme/ReportGenerator-GitHub-Action@5.1.9 + # uses: danielpalme/ReportGenerator-GitHub-Action@5.1.11 # with: # reports: 'src\target\reports\coverage\coverage.opencover.xml' # targetdir: 'src\target\reports\coverage' diff --git a/docs/404.html b/docs/404.html index 881862b5..0cb03102 100644 --- a/docs/404.html +++ b/docs/404.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 881862b5..0cb03102 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/main.8a13aa44584553f4.js b/docs/main.4bbdd2fff41ac1b8.js similarity index 99% rename from docs/main.8a13aa44584553f4.js rename to docs/main.4bbdd2fff41ac1b8.js index 6aea1029..f7c811dc 100644 --- a/docs/main.8a13aa44584553f4.js +++ b/docs/main.4bbdd2fff41ac1b8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{364:()=>{function fe(e){return"function"==typeof e}function Ao(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 Ji=Ao(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 To(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 Ji?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Jf(i)}catch(s){t=t??[],s instanceof Ji?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ji(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Jf(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)&&To(n,t)}remove(t){const{_finalizers:n}=this;n&&To(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Kf=It.EMPTY;function Zf(e){return e instanceof It||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Jf(e){fe(e)?e():e.unsubscribe()}const rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Yi={setTimeout(e,t,...n){const{delegate:r}=Yi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Yi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yf(e){Yi.setTimeout(()=>{const{onUnhandledError:t}=rr;if(!t)throw e;t(e)})}function Xf(){}const Vw=hl("C",void 0,void 0);function hl(e,t,n){return{kind:e,value:t,error:n}}let or=null;function Xi(e){if(rr.useDeprecatedSynchronousErrorHandling){const t=!or;if(t&&(or={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=or;if(or=null,n)throw r}}else e()}class pl extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zf(t)&&t.add(this)):this.destination=zw}static create(t,n,r){return new es(t,n,r)}next(t){this.isStopped?ml(function Uw(e){return hl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ml(function jw(e){return hl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ml(Vw,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 Hw=Function.prototype.bind;function gl(e,t){return Hw.call(e,t)}class $w{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ts(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ts(r)}else ts(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ts(n)}}}class es extends pl{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&&rr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gl(t.next,i),error:t.error&&gl(t.error,i),complete:t.complete&&gl(t.complete,i)}):o=t}this.destination=new $w(o)}}function ts(e){rr.useDeprecatedSynchronousErrorHandling?function Bw(e){rr.useDeprecatedSynchronousErrorHandling&&or&&(or.errorThrown=!0,or.error=e)}(e):Yf(e)}function ml(e,t){const{onStoppedNotification:n}=rr;n&&Yi.setTimeout(()=>n(e,t))}const zw={closed:!0,next:Xf,error:function Gw(e){throw e},complete:Xf},yl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ir(e){return e}function eh(e){return 0===e.length?ir:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Ee=(()=>{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 Qw(e){return e&&e instanceof pl||function Ww(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&Zf(e)}(n)?n:new es(n,r,o);return Xi(()=>{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=th(r))((o,i)=>{const s=new es({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)}[yl](){return this}pipe(...n){return eh(n)(this)}toPromise(n){return new(n=th(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function th(e){var t;return null!==(t=e??rr.Promise)&&void 0!==t?t:Promise}const Kw=Ao(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let en=(()=>{class e extends Ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new nh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Kw}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xi(()=>{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(){Xi(()=>{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?Kf:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,To(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ee;return n.source=this,n}}return e.create=(t,n)=>new nh(t,n),e})();class nh extends en{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:Kf}}function rh(e){return fe(e?.lift)}function He(e){return t=>{if(rh(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 Zw(e,t,n,r,o)}class Zw extends pl{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 K(e,t){return He((n,r)=>{let o=0;n.subscribe(ke(r,i=>{r.next(e.call(t,i,o++))}))})}function sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function Xw(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 sr?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 eb(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 sh(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 ah=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function lh(e){return fe(e?.then)}function uh(e){return fe(e[yl])}function ch(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function dh(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 fh=function nb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hh(e){return fe(e?.[fh])}function ph(e){return Xw(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield sr(n.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function gh(e){return fe(e?.getReader)}function tn(e){if(e instanceof Ee)return e;if(null!=e){if(uh(e))return function rb(e){return new Ee(t=>{const n=e[yl]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ah(e))return function ob(e){return new Ee(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yf)})}(e);if(ch(e))return mh(e);if(hh(e))return function sb(e){return new Ee(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gh(e))return function ab(e){return mh(ph(e))}(e)}throw dh(e)}function mh(e){return new Ee(t=>{(function lb(e,t){var n,r,o,i;return function Jw(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=eb(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 $e(e,t,n=1/0){return fe(t)?$e((r,o)=>K((i,s)=>t(r,i,o,s))(tn(e(r,o))),n):("number"==typeof t&&(n=t),He((r,o)=>function ub(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 Sr(e=1/0){return $e(ir,e)}const mn=new Ee(e=>e.complete());function _l(e){return e[e.length-1]}function yh(e){return fe(_l(e))?e.pop():void 0}function xo(e){return function db(e){return e&&fe(e.schedule)}(_l(e))?e.pop():void 0}function vh(e,t=0){return He((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 _h(e,t=0){return He((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ch(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ee(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 Me(e,t){return t?function vb(e,t){if(null!=e){if(uh(e))return function hb(e,t){return tn(e).pipe(_h(t),vh(t))}(e,t);if(ah(e))return function gb(e,t){return new Ee(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(lh(e))return function pb(e,t){return tn(e).pipe(_h(t),vh(t))}(e,t);if(ch(e))return Ch(e,t);if(hh(e))return function mb(e,t){return new Ee(n=>{let r;return gn(n,t,()=>{r=e[fh](),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(gh(e))return function yb(e,t){return Ch(ph(e),t)}(e,t)}throw dh(e)}(e,t):tn(e)}function Ar(e){return e<=0?()=>mn:He((t,n)=>{let r=0;t.subscribe(ke(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Cl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Ar(1)).subscribe(()=>e())}function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}function Dl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(le).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 wl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Db=ae({__forward_ref__:ae});function he(e){return e.__forward_ref__=he,e.toString=function(){return le(this())},e}function U(e){return bl(e)?e():e}function bl(e){return"function"==typeof e&&e.hasOwnProperty(Db)&&e.__forward_ref__===he}class S extends Error{constructor(t,n){super(function ns(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 rs(e,t){throw new S(-201,!1)}function mt(e,t){null==e&&function oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function os(e){return Dh(e,is)||Dh(e,bh)}function Dh(e,t){return e.hasOwnProperty(t)?e[t]:null}function wh(e){return e&&(e.hasOwnProperty(El)||e.hasOwnProperty(xb))?e[El]:null}const is=ae({\u0275prov:ae}),El=ae({\u0275inj:ae}),bh=ae({ngInjectableDef:ae}),xb=ae({ngInjectorDef:ae});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let Ml;function St(e){const t=Ml;return Ml=e,t}function Eh(e,t,n){const r=os(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void rs(le(e))}function On(e){return{toString:e}.toString()}var Vt=(()=>((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 ue=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Tr={},re=[],ss=ae({\u0275cmp:ae}),Il=ae({\u0275dir:ae}),Sl=ae({\u0275pipe:ae}),Mh=ae({\u0275mod:ae}),vn=ae({\u0275fac:ae}),Ro=ae({__NG_ELEMENT_ID__:ae});let Nb=0;function jt(e){return On(()=>{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||re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,id:"c"+Nb++,styles:e.styles||re,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=Ah(e.inputs,r),o.outputs=Ah(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Ih).filter(Sh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(rt).filter(Sh):null,o})}function Ih(e){return ie(e)||nt(e)}function Sh(e){return null!==e}function At(e){return On(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ah(e,t){if(null==e)return Tr;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 ie(e){return e[ss]||null}function nt(e){return e[Il]||null}function rt(e){return e[Sl]||null}function vt(e,t){const n=e[Mh]||null;if(!n&&!0===t)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}const Z=11;function ft(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bt(e){return Array.isArray(e)&&!0===e[1]}function xl(e){return 0!=(8&e.flags)}function cs(e){return 2==(2&e.flags)}function ds(e){return 1==(1&e.flags)}function Ht(e){return null!==e.template}function Vb(e){return 0!=(256&e[2])}function dr(e,t){return e.hasOwnProperty(vn)?e[vn]:null}class Bb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xt(){return Rh}function Rh(e){return e.type.prototype.ngOnChanges&&(e.setInput=$b),Hb}function Hb(){const e=Fh(this),t=e?.current;if(t){const n=e.previous;if(n===Tr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $b(e,t,n,r){const o=Fh(e)||function Gb(e,t){return e[Nh]=t}(e,{previous:Tr,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new Bb(l&&l.currentValue,t,s===Tr),e[r]=t}xt.ngInherit=!0;const Nh="__ngSimpleChanges__";function Fh(e){return e[Nh]||null}function xe(e){for(;Array.isArray(e);)e=e[0];return e}function fs(e,t){return xe(t[e])}function Nt(e,t){return xe(t[e.index])}function kl(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return ft(n)?n:n[0]}function Ph(e){return 4==(4&e[2])}function hs(e){return 64==(64&e[2])}function Ln(e,t){return null==t?null:e[t]}function kh(e){e[18]=0}function Ol(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:Gh(null),bindingsEnabled:!0};function Lh(){return $.bindingsEnabled}function E(){return $.lFrame.lView}function te(){return $.lFrame.tView}function ce(e){return $.lFrame.contextLView=e,e[8]}function de(e){return $.lFrame.contextLView=null,e}function Oe(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return $.lFrame.currentTNode}function rn(e,t){const n=$.lFrame;n.currentTNode=e,n.isParent=t}function Ll(){return $.lFrame.isParent}function Vl(){$.lFrame.isParent=!1}function ot(){const e=$.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Or(){return $.lFrame.bindingIndex++}function oE(e,t){const n=$.lFrame;n.bindingIndex=n.bindingRootIndex=e,jl(t)}function jl(e){$.lFrame.currentDirectiveIndex=e}function Bh(){return $.lFrame.currentQueryIndex}function Bl(e){$.lFrame.currentQueryIndex=e}function sE(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Hh(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=sE(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=$.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function Hl(e){const t=$h(),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 $h(){const e=$.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(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 zh(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qh=zh;function $l(){const e=zh();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 it(){return $.lFrame.selectedIndex}function Vn(e){$.lFrame.selectedIndex=e}function De(){const e=$.lFrame;return kl(e.tView,e.selectedIndex)}function gs(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 Oo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function vs(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 ql=!0;function Cs(e){const t=ql;return ql=e,t}let DE=0;const on={};function Vo(e,t){const n=Ql(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wl(r.data,e),Wl(t,null),Wl(r.blueprint,null));const o=Ds(e,t),i=e.injectorIndex;if(Jh(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 Wl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ql(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ds(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=sp(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ws(e,t,n){!function wE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ro)&&(r=n[Ro]),null==r&&(r=n[Ro]=DE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:IE:t}(n);if("function"==typeof i){if(!Hh(t,e,r))return r&V.Host?ep(o,0,r):tp(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;rs()}finally{qh()}}else if("number"==typeof i){let s=null,a=Ql(e,t),l=-1,u=r&V.Host?t[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?Ds(e,t):t[a+8],-1!==l&&ip(r,!1)?(s=t[1],a=Lr(l),t=Vr(l,t)):a=-1);-1!==a;){const c=t[1];if(op(i,a,c.data)){const d=EE(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],-1!==l&&ip(r,t[1].data[a+8]===u)&&op(i,a,t)?(s=c,a=Lr(l),t=Vr(l,t)):a=-1}}return o}function EE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=bs(a,s,n,null==r?cs(a)&&ql:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?jo(t,s,c,a):on}function bs(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&&Ht(m)&&m.type===n)return l}return null}function jo(e,t,n,r){let o=e[n];const i=t.data;if(function mE(e){return e instanceof Oo}(o)){const s=o;s.resolving&&function wb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ne(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=Cs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?St(s.injectImpl):null;Hh(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function pE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Rh(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&&St(l),Cs(a),s.resolving=!1,qh()}}return o}function op(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[vn]||Kl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[vn]||Kl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Kl(e){return bl(e)?()=>{const t=Kl(U(e));return t&&t()}:dr(e)}function sp(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Uo(e){return function bE(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{const r=function Zl(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 P{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=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Dt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Dn(n,t):t(n))}function lp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Es(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=Gr(e,t);return r>=0?e[1|r]=n:(r=~r,function RE(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 Yl(e,t){const n=Gr(e,t);if(n>=0)return e[1|n]}function Gr(e,t){return function dp(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<((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 Xo(e){const t=function ei(){const e=E();return e&&e[12]}();return t?t.sanitize(Re.URL,e)||"":function Jo(e,t){const n=function u0(e){return e instanceof Mp&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Un(e):function Rs(e){return(e=String(e)).match(h0)?e:"unsafe:"+e}(G(e))}const cu=new P("ENVIRONMENT_INITIALIZER"),Pp=new P("INJECTOR",-1),kp=new P("INJECTOR_DEF_TYPES");class Op{get(t,n=Go){if(n===Go){const r=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw r.name="NullInjectorError",r}return n}}function S0(...e){return{\u0275providers:Lp(0,e)}}function Lp(e,...t){const n=[],r=new Set;let o;return Dn(t,i=>{const s=i;du(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Vp(o,n),n}function Vp(e,t){for(let n=0;n{t.push(i)})}}function du(e,t,n,r){if(!(e=U(e)))return!1;let o=null,i=wh(e);const s=!i&&ie(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=wh(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)du(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{Dn(i.imports,c=>{du(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Vp(u,t)}if(!a){const u=dr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:re},{provide:kp,useValue:o,multi:!0},{provide:cu,useValue:()=>R(o),multi:!0})}const l=i.providers;null==l||a||Dn(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}const A0=ae({provide:String,useValue:ae});function fu(e){return null!==e&&"object"==typeof e&&A0 in e}function fr(e){return"function"==typeof e}const hu=new P("Set Injector scope."),Fs={},x0={};let pu;function Ps(){return void 0===pu&&(pu=new Op),pu}class Bn{}class Bp 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,mu(t,s=>this.processProvider(s)),this.records.set(Pp,Qr(void 0,this)),o.has("environment")&&this.records.set(Bn,Qr(void 0,this));const i=this.records.get(hu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(kp.multi,re,V.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=zr(this),r=St(void 0);try{return t()}finally{zr(n),St(r)}}get(t,n=Go,r=V.Default){this.assertNotDestroyed();const o=zr(this),i=St(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function k0(e){return"function"==typeof e||"object"==typeof e&&e instanceof P}(t)&&os(t);a=l&&this.injectableDefInScope(l)?Qr(gu(t),Fs):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?Ps():this.parent).get(t,n=r&V.Optional&&n===Go?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Is]=s[Is]||[]).unshift(le(t)),o)throw s;return function $E(e,t,n,r){const o=e[Is];throw t[fp]&&o.unshift(t[fp]),e.message=function GE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=le(t);if(Array.isArray(t))o=t.map(le).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):le(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(jE,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Is]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{St(i),zr(o)}}resolveInjectorInitializers(){const t=zr(this),n=St(void 0);try{const r=this.get(cu.multi,re,V.Self);for(const o of r)o()}finally{zr(t),St(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=fr(t=U(t))?t:U(t&&t.provide);const r=function N0(e){return fu(e)?Qr(void 0,e.useValue):Qr(Hp(e),Fs)}(t);if(fr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Qr(void 0,Fs,!0),o.factory=()=>tu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Fs&&(n.value=x0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function P0(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=U(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function gu(e){const t=os(e),n=null!==t?t.factory:dr(e);if(null!==n)return n;if(e instanceof P)throw new S(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw function $o(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function Hp(e,t,n){let r;if(fr(e)){const o=U(e);return dr(o)||gu(o)}if(fu(e))r=()=>U(e.useValue);else if(function Up(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...tu(e.deps||[]));else if(function jp(e){return!(!e||!e.useExisting)}(e))r=()=>R(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function F0(e){return!!e.deps}(e))return dr(o)||gu(o);r=()=>new o(...tu(e.deps))}return r}function Qr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function O0(e){return!!e.\u0275providers}function mu(e,t){for(const n of e)Array.isArray(n)?mu(n,t):O0(n)?mu(n.\u0275providers,t):t(n)}class $p{}class j0{resolveComponentFactory(t){throw function V0(e){const t=Error(`No component factory found for ${le(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ti=(()=>{class e{}return e.NULL=new j0,e})();function U0(){return Kr(Oe(),E())}function Kr(e,t){return new bt(Nt(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=U0,e})();function B0(e){return e instanceof bt?e.nativeElement:e}class zp{}let wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function H0(){const e=E(),n=Ct(Oe().index,e);return(ft(n)?n:e)[Z]}(),e})(),$0=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>null}),e})();class ni{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const G0=new ni("14.2.0"),yu={};function wu(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&&wu(t);for(;n&&wu(n);)n=wu(n);return n||null}}const bu=new Map;let nM=0;const Mu="__ngContext__";function Je(e,t){ft(t)?(e[Mu]=t[20],function oM(e){bu.set(e[20],e)}(t)):e[Mu]=t}function ri(e){const t=e[Mu];return"number"==typeof t?function Jp(e){return bu.get(e)||null}(t):t||null}function Iu(e){const t=ri(e);return t?ft(t)?t:t.lView:null}function bn(e){return e instanceof Function?e():e}var ht=(()=>((ht=ht||{})[ht.Important=1]="Important",ht[ht.DashCase=2]="DashCase",ht))();function Au(e,t){return undefined(e,t)}function oi(e){const t=e[3];return Bt(t)?t[3]:t}function Tu(e){return og(e[13])}function xu(e){return og(e[4])}function og(e){for(;null!==e&&!Bt(e);)e=e[4];return e}function Yr(e,t,n,r,o){if(null!=r){let i,s=!1;Bt(r)?i=r:ft(r)&&(s=!0,r=r[0]);const a=xe(r);0===e&&null!==n?null==o?cg(t,n,a):hr(t,n,a,o||null,!0):1===e&&null!==n?hr(t,n,a,o||null,!0):2===e?function yg(e,t,n){const r=ks(e,t);r&&function RM(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function PM(e,t,n,r,o){const i=n[7];i!==xe(n)&&Yr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Es(e,10+t);!function bM(e,t){ii(e,t,t[Z],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 ag(e,t){if(!(128&t[2])){const n=t[Z];n.destroyNode&&ii(e,t,n,3,null,null),function IM(e){let t=e[13];if(!t)return Pu(e[1],e);for(;t;){let n=null;if(ft(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ft(t)&&Pu(t[1],t),t=t[3];null===t&&(t=e),ft(t)&&Pu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Pu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function xM(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const m=8&r?f:null;if(m&&-1!==Cg(m,u,0)||2&r&&u!==f){if($t(r))return!1;s=!0}}}}else{if(!s&&!$t(r)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,r=l|1&r}}return $t(r)||s}function $t(e){return 0==(1&e)}function jM(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&&!$t(s)&&(t+=Eg(i,o),o=""),r=s,i=i||!$t(r);n++}return""!==o&&(t+=Eg(i,o)),t}const z={};function C(e){Mg(te(),E(),it()+e,!1)}function Mg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&ms(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ys(t,i,0,n)}Vn(n)}function Tg(e,t=null,n=null,r){const o=xg(e,t,n,r);return o.resolveInjectorInitializers(),o}function xg(e,t=null,n=null,r,o=new Set){const i=[n||re,S0(e)];return r=r||("object"==typeof e?void 0:le(e)),new Bp(i,t||Ps(),r||null,o)}let Et=(()=>{class e{static create(n,r){if(Array.isArray(n))return Tg({name:""},r,n,"");{const o=n.name??"";return Tg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Go,e.NULL=new Op,e.\u0275prov=L({token:e,providedIn:"any",factory:()=>R(Pp)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,t=V.Default){const n=E();return null===n?R(e,t):np(Oe(),n,U(e),t)}function $u(){throw new Error("invalid")}function js(e,t){return e<<17|t<<2}function Gt(e){return e>>17&32767}function Gu(e){return 2|e}function En(e){return(131068&e)>>2}function zu(e,t){return-131069&e|t<<2}function qu(e){return 1|e}function Wg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Mg(e,t,22,!1),n(r,o)}finally{Vn(i)}}function Kg(e,t,n){if(xl(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})(a)!=l&&a.push(l),a.push(r,o,s)}}function nm(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function rm(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function OI(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&sc(n)}}function sc(e){for(let r=Tu(e);null!==r;r=xu(r))for(let o=10;o0&&sc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&sc(o)}}function $I(e,t){const n=Ct(t,e),r=n[1];(function GI(e,t){for(let n=t.length;n-1&&(Fu(t,r),Es(n,r))}this._attachedToViewContainer=!1}ag(this._lView[1],this._lView)}onDestroy(t){Jg(this._lView[1],this._lView,null,t)}markForCheck(){ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function lc(e,t,n){const r=t[10];r.begin&&r.begin();try{si(e,t,e.template,n)}catch(o){throw dm(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MM(e,t){ii(e,t,t[Z],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class qI extends ai{constructor(t){super(t),this._view=t}detectChanges(){!function am(e){!function zI(e){for(let t=0;t0&&Vu(u,d,N.join(" "))}if(b=kl(y,22),void 0!==n){const _=b.projection=[];for(let N=0;N=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_s(o.hostAttrs,n=_s(n,o.hostAttrs))}}(r)}function fc(e){return e===Tr?{}:e===re?[]:e}function nS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function rS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function oS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ws=null;function pr(){if(!Ws){const e=ue.Symbol;if(e&&e.iterator)Ws=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(xe(Y[r.index])):r.index;let N=null;if(!a&&l&&(N=function mS(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!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,m=!1;else{i=Tm(r,t,d,i,!1);const Y=n.listen(b,o,i);f.push(i,Y),c&&c.push(o,_,A,A+1)}}else i=Tm(r,t,d,i,!1);const y=r.outputs;let v;if(m&&null!==y&&(v=y[o])){const w=v.length;if(w)for(let b=0;b0;)t=t[15],e--;return t}(e,$.lFrame.contextLView))[8]}(e)}function In(e,t,n,r,o){const i=E(),s=ro(i,t,n,r);return s!==z&&Mt(te(),De(),i,e,s,i[Z],o,!1),In}function jm(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Gt(i):En(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];wS(e[a],t)&&(l=!0,e[a+1]=r?qu(c):Gu(c)),a=r?Gt(c):En(c)}l&&(e[n+1]=r?Gu(i):qu(i))}function wS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gr(e,t)>=0}function Ks(e,t){return function qt(e,t,n,r){const o=E(),i=te(),s=function Cn(e){const t=$.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Qm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[it()],s=function Wm(e,t){return t>=e.expandoStartIndex}(e,n);(function Ym(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function RS(e,t,n,r){const o=function Ul(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=fi(n=mc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=mc(o,e,t,n,r),null===i){let l=function NS(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==En(r))return e[Gt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=mc(null,e,t,l[1],r),l=fi(l,t.attrs,r),function FS(e,t,n,r){e[Gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function PS(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=Gt(e[a+1]);e[r+1]=js(f,a),0!==f&&(e[f+1]=zu(e[f+1],r)),e[a+1]=function dI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=js(a,0),0!==a&&(e[a+1]=zu(e[a+1],r)),a=r;else e[r+1]=js(l,0),0===a?a=r:e[l+1]=zu(e[l+1],r),l=r;u&&(e[r+1]=Gu(e[r+1])),jm(e,c,r,!0),jm(e,c,r,!1),function DS(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gr(i,t)>=0&&(n[r+1]=qu(n[r+1]))}(t,c,e,r,i),s=js(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==z&&Ye(o,s,t)&&function Zm(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Zs(function jg(e){return 1==(1&e)}(u)?Jm(l,t,n,o,En(u),s):void 0)||(Zs(i)||function Vg(e){return 2==(2&e)}(u)&&(i=Jm(l,null,n,o,a,s)),function kM(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ht.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ht.Important),e.setStyle(n,r,o,i))}}(r,s,fs(it(),n),o,i))}(i,i.data[it()],o,o[Z],e,o[s+1]=function LS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=le(Un(e)))),e}(t,n),r,s)}(e,t,null,!0),Ks}function mc(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?re:void 0);let m=d?Yl(f,r):c===r?f:void 0;if(u&&!Zs(m)&&(m=Yl(l,r)),Zs(m)&&(a=m,s))return a;const y=e[o+1];o=s?Gt(y):En(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Yl(l,r))}return a}function Zs(e){return void 0!==e}function g(e,t=""){const n=E(),r=te(),o=e+22,i=r.firstCreatePass?eo(r,o,1,t,null):r.data[o],s=n[o]=function Ru(e,t){return e.createText(t)}(n[Z],t);Os(r,n,s,i),rn(i,!1)}function ve(e){return mr("",e,""),ve}function mr(e,t,n){const r=E(),o=ro(r,e,t,n);return o!==z&&function Mn(e,t,n){const r=fs(t,e);!function ig(e,t,n){e.setValue(t,n)}(e[Z],r,n)}(r,it(),o),mr}const mo="en-US";let Cy=mo;function _c(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(fr(e)||!e.multi){const m=new Oo(l,o,M),y=Dc(a,t,o?c:c+f,d);-1===y?(ws(Vo(u,s),i,a),Cc(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=Dc(a,t,c+f,d),y=Dc(a,t,c,c+f),v=m>=0&&n[m],w=y>=0&&n[y];if(o&&!w||!o&&!v){ws(Vo(u,s),i,a);const b=function tA(e,t,n,r,o){const i=new Oo(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,zy(i,o,r&&!n),i}(o?eA:X1,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Cc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Cc(i,e,m>-1?m:y,zy(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Cc(e,t,n,r){const o=fr(t),i=function T0(e){return!!e.useClass}(t);if(o||i){const l=(i?U(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 zy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function Y1(e,t,n){const r=te();if(r.firstCreatePass){const o=Ht(e);_c(n,r.data,r.blueprint,o,!0),_c(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class vr{}class qy{}class Wy extends vr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dc(this);const r=vt(t);this._bootstrapComponents=bn(r.bootstrap),this._r3Injector=xg(t,n,[{provide:vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],le(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 bc extends qy{constructor(t){super(),this.moduleType=t}create(t){return new Wy(this.moduleType,t)}}class rA extends vr{constructor(t,n,r){super(),this.componentFactoryResolver=new dc(this),this.instance=null;const o=new Bp([...t,{provide:vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],n||Ps(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ta(e,t,n=null){return new rA(e,t,n).injector}let oA=(()=>{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=Lp(0,n.type),o=r.length>0?ta([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=L({token:e,providedIn:"environment",factory:()=>new e(R(Bn))}),e})();function Qy(e){e.getStandaloneInjector=t=>t.get(oA).getOrCreateStandaloneInjector(e)}function Ae(e,t,n){const r=ot()+e,o=E();return o[r]===z?ln(o,r,n?t.call(n):t()):function ci(e,t){return e[t]}(o,r)}function Mc(e,t,n,r){return function tv(e,t,n,r,o,i){const s=t+n;return Ye(e,s,o)?ln(e,s+1,i?r.call(i,o):r(o)):function yi(e,t){const n=e[t];return n===z?void 0:n}(e,s+1)}(E(),ot(),e,t,n,r)}function Ic(e){return t=>{setTimeout(e,void 0,t)}}const be=class AA extends en{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=Ic(i),o&&(o=Ic(o)),s&&(s=Ic(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function TA(){return this._results[pr()]()}class Sc{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=pr(),r=Sc.prototype;r[n]||(r[n]=TA)}get changes(){return this._changes||(this._changes=new be)}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=Dt(t);(this._changesDetected=!function TE(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=NA,e})();const xA=Sn,RA=class extends xA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Hs(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)),$s(r,o,t),new ai(o)}};function NA(){return na(Oe(),E())}function na(e,t){return 4&e.type?new RA(t,e,Kr(e,t)):null}let Qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=FA,e})();function FA(){return lv(Oe(),E())}const PA=Qt,sv=class extends PA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new jr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ds(this._hostTNode,this._hostLView);if(Jh(t)){const n=Vr(t,this._hostLView),r=Lr(t);return new jr(n[1].data[r+8],n)}return new jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=av(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 Ho(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 li(ie(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 Zb(e){return Bt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new sv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function SM(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=oa,this.reject=oa,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)(R(ia,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ci=new P("AppId",{providedIn:"root",factory:function Nv(){return`${Bc()}${Bc()}${Bc()}`}});function Bc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Fv=new P("Platform Initializer"),Hc=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Pv=new P("appBootstrapListener");let cT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const An=new P("LocaleId",{providedIn:"root",factory:()=>Se(An,V.Optional|V.SkipSelf)||function dT(){return typeof $localize<"u"&&$localize.locale||mo}()});class hT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let $c=(()=>{class e{compileModuleSync(n){return new bc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=bn(vt(n).declarations).reduce((s,a)=>{const l=ie(a);return l&&s.push(new li(l)),s},[]);return new hT(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=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mT=(()=>Promise.resolve(0))();function Gc(e){typeof Zone>"u"?mT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class je{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}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 yT(){let e=ue.requestAnimationFrame,t=ue.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 CT(e){const t=()=>{!function _T(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qc(e),e.isCheckStableRunning=!0,zc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Lv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Vv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Lv(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Vv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,qc(e),zc(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(!je.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(je.isInAngularZone())throw new S(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,vT,oa,oa);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 vT={};function zc(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 qc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Lv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vv(e){e._nesting--,zc(e)}class DT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}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 jv=new P(""),aa=new P("");let Kc,Wc=(()=>{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,Kc||(function wT(e){Kc=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:()=>{je.assertNotInAngularZone(),Gc(()=>{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())Gc(()=>{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)(R(je),R(Qc),R(aa))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Qc=(()=>{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 Kc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Gn=null;const Uv=new P("AllowMultipleToken"),Zc=new P("PlatformDestroyListeners");class Bv{constructor(t,n){this.name=t,this.token=n}}function $v(e,t,n=[]){const r=`Platform: ${t}`,o=new P(r);return(i=[])=>{let s=Jc();if(!s||s.injector.get(Uv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function MT(e){if(Gn&&!Gn.get(Uv,!1))throw new S(400,!1);Gn=e;const t=e.get(zv);(function Hv(e){const t=e.get(Fv,null);t&&t.forEach(n=>n())})(e)}(function Gv(e=[],t){return Et.create({name:t,providers:[{provide:hu,useValue:"platform"},{provide:Zc,useValue:new Set([()=>Gn=null])},...e]})}(a,r))}return function ST(e){const t=Jc();if(!t)throw new S(401,!1);return t}()}}function Jc(){return Gn?.get(zv)??null}let zv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Wv(e,t){let n;return n="noop"===e?new DT:("zone.js"===e?void 0:e)||new je(t),n}(r?.ngZone,function qv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:je,useValue:o}];return o.run(()=>{const s=Et.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Zr,null);if(!l)throw new S(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ua(this._modules,a),u.unsubscribe()})}),function Qv(e,t,n){try{const r=n();return di(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(sa);return u.runInitializers(),u.donePromise.then(()=>(function Dy(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(Cy=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(An,mo)||mo),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Kv({},r);return function bT(e,t,n){const r=new bc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(la);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new S(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 S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zc,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)(R(Et))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Kv(e,t){return Array.isArray(t)?t.reduce(Kv,e):{...e,...t}}let la=(()=>{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 Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),Gc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function _b(...e){const t=xo(e),n=function fb(e,t){return"number"==typeof _l(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?tn(r[0]):Sr(n)(Me(r,t)):mn}(i,s.pipe(function Cb(e={}){const{connector:t=(()=>new en),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 He((v,w)=>{u++,!d&&!c&&f();const b=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Cl(y,o))}),b.subscribe(w),s||(s=new es({next:A=>b.next(A),error:A=>{d=!0,f(),a=Cl(m,n,A),b.error(A)},complete:()=>{c=!0,f(),a=Cl(m,r),b.complete()}}),Me(v).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof $p;if(!this._injector.get(sa).done)throw!o&&function xr(e){const t=ie(e)||nt(e)||rt(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=o?n:this._injector.get(ti).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ET(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vr),u=s.create(Et.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(jv,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ua(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(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;ua(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Pv,[]).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),()=>ua(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(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)(R(je),R(Bn),R(Zr))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ua(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Jv=!0,ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=xT,e})();function xT(e){return function RT(e,t,n){if(cs(e)&&!n){const r=Ct(e.index,t);return new ai(r,r)}return 47&e.type?new ai(t[16],t):null}(Oe(),E(),16==(16&e))}class n_{constructor(){}supports(t){return ui(t)}create(t){return new LT(t)}}const OT=(e,t)=>t;class LT{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||OT}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 VT(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 r_),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 r_),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 VT{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 jT{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 r_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jT,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 o_(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 BT(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 BT{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 s_(){return new ha([new n_])}let ha=(()=>{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||s_()),deps:[[e,new Qo,new Wo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new S(901,!1)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:s_}),e})();function a_(){return new Di([new i_])}let Di=(()=>{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||a_()),deps:[[e,new Qo,new Wo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new S(901,!1)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:a_}),e})();const GT=$v(null,"core",[]);let zT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(R(la))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})();function xn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let pa=null;function dn(){return pa}const ut=new P("DocumentToken");let nd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return function KT(){return R(l_)}()},providedIn:"platform"}),e})();const ZT=new P("Location Initialized");let l_=(()=>{class e extends nd{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dn().getBaseHref(this._doc)}onPopState(n){const r=dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=dn().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){u_()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){u_()?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)(R(ut))},e.\u0275prov=L({token:e,factory:function(){return function JT(){return new l_(R(ut))}()},providedIn:"platform"}),e})();function u_(){return!!window.history.pushState}function rd(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 c_(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 Rn(e){return e&&"?"!==e[0]?"?"+e:e}let Cr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return Se(f_)},providedIn:"root"}),e})();const d_=new P("appBaseHref");let f_=(()=>{class e extends Cr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Se(ut).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 rd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Rn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(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)(R(nd),R(d_,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YT=(()=>{class e extends Cr{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=rd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(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)(R(nd),R(d_,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=c_(h_(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+Rn(r))}normalize(n){return e.stripTrailingSlash(function ex(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,h_(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+Rn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rn(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=Rn,e.joinWithSlash=rd,e.stripTrailingSlash=c_,e.\u0275fac=function(n){return new(n||e)(R(Cr))},e.\u0275prov=L({token:e,factory:function(){return function XT(){return new od(R(Cr))}()},providedIn:"root"}),e})();function h_(e){return e.replace(/\/index.html$/,"")}function w_(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 pd=(()=>{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&&(ui(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 ${le(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(ha),M(Di),M(bt),M(wn))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class Vx{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 M_=(()=>{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 Vx(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),I_(a,o)}});for(let o=0,i=r.length;o{I_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Sn),M(ha))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function I_(e,t){e.context.$implicit=t.item}let Ea=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Ux,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){S_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){S_("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(Sn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Ux{constructor(){this.$implicit=null,this.ngIf=null}}function S_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${le(t)}'.`)}let hR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})();let yR=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>new vR(R(ut),window)}),e})();class vR{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 _R(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=R_(this.window.history)||R_(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 R_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class N_{}class Dd extends class LR extends class QT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function WT(e){pa||(pa=e)}(new Dd)}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 VR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==n?null:function jR(e){Ia=Ia||document.createElement("a"),Ia.setAttribute("href",e);const t=Ia.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return w_(document.cookie,t)}}let Ia,Mi=null;const O_=new P("TRANSITION_ID"),BR=[{provide:ia,useFactory:function UR(e,t,n){return()=>{n.get(sa).donePromise.then(()=>{const r=dn(),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=L({token:e,factory:e.\u0275fac}),e})();const Sa=new P("EventManagerPlugins");let Aa=(()=>{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=L({token:e,factory:e.\u0275fac}),e})(),Ii=(()=>{class e extends V_{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(j_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(j_))}}return e.\u0275fac=function(n){return new(n||e)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function j_(e){dn().remove(e)}const wd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},bd=/%COMP%/g;function Ta(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ed=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Md(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 KR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case nn.ShadowDom:return new ZR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ta(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)(R(Aa),R(Ii),R(Ci))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class Md{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(wd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(G_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(G_(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=wd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wd[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&(ht.DashCase|ht.Important)?t.style.setProperty(n,r,o&ht.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ht.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,H_(r)):this.eventManager.addEventListener(t,n,H_(r))}}function G_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class KR extends Md{constructor(t,n,r,o){super(t),this.component=r;const i=Ta(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function qR(e){return"_ngcontent-%COMP%".replace(bd,e)}(o+"-"+r.id),this.hostAttr=function WR(e){return"_nghost-%COMP%".replace(bd,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 ZR extends Md{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=Ta(o.id,o.styles,[]);for(let s=0;s{class e extends L_{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)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const z_=["alt","control","meta","shift"],YR={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},XR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eN=(()=>{class e extends L_{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(()=>dn().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."),z_.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=YR[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"),z_.forEach(s=>{s!==o&&(0,XR[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)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const oN=$v(GT,"browser",[{provide:Hc,useValue:"browser"},{provide:Fv,useValue:function tN(){Dd.makeCurrent()},multi:!0},{provide:ut,useFactory:function rN(){return function e0(e){ru=e}(document),document},deps:[]}]),Q_=new P(""),K_=[{provide:aa,useClass:class HR{addToWindow(t){ue.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ue.getAllAngularTestabilities=()=>t.getAllTestabilities(),ue.getAllAngularRootElements=()=>t.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r=>{const o=ue.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?dn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:jv,useClass:Wc,deps:[je,Qc,aa]},{provide:Wc,useClass:Wc,deps:[je,Qc,aa]}],Z_=[{provide:hu,useValue:"root"},{provide:Zr,useFactory:function nN(){return new Zr},deps:[]},{provide:Sa,useClass:JR,multi:!0,deps:[ut,je,Hc]},{provide:Sa,useClass:eN,multi:!0,deps:[ut]},{provide:Ed,useClass:Ed,deps:[Aa,Ii,Ci]},{provide:zp,useExisting:Ed},{provide:V_,useExisting:Ii},{provide:Ii,useClass:Ii,deps:[ut]},{provide:Aa,useClass:Aa,deps:[Sa,je]},{provide:N_,useClass:$R,deps:[]},[]];let iN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ci,useValue:n.appId},{provide:O_,useExisting:Ci},BR]}}}return e.\u0275fac=function(n){return new(n||e)(R(Q_,12))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[...Z_,...K_],imports:[hR,zT]}),e})(),Sd=(()=>{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)(R(ut))},e.\u0275prov=L({token:e,factory:function(n){let r=null;return r=n?new n:function aN(){return new Sd(R(ut))}(),r},providedIn:"root"}),e})();function k(...e){return Me(e,xo(e))}function qn(e,t){return fe(t)?$e(e,t,1):$e(e,1)}function Yt(e,t){return He((n,r)=>{let o=0;n.subscribe(ke(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class X_{}class eC{}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 gN{encodeKey(t){return tC(t)}encodeValue(t){return tC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const yN=/%(\d[a-f0-9])/gi,vN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tC(e){return encodeURIComponent(e).replace(yN,(t,n)=>vN[n]??t)}function xa(e){return`${e}`}class Wn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new gN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function mN(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(xa):[xa(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 Wn({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(xa(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(xa(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 _N{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 nC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function rC(e){return typeof Blob<"u"&&e instanceof Blob}function oC(e){return typeof FormData<"u"&&e instanceof FormData}class Si{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 CN(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 _N),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 Si(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Pe=(()=>((Pe=Pe||{})[Pe.Sent=0]="Sent",Pe[Pe.UploadProgress=1]="UploadProgress",Pe[Pe.ResponseHeader=2]="ResponseHeader",Pe[Pe.DownloadProgress=3]="DownloadProgress",Pe[Pe.Response=4]="Response",Pe[Pe.User=5]="User",Pe))();class Td{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 xd extends Td{constructor(t={}){super(t),this.type=Pe.ResponseHeader}clone(t={}){return new xd({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 Ra extends Td{constructor(t={}){super(t),this.type=Pe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ra({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 iC extends Td{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 Rd(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 Nd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Si)i=n;else{let l,u;l=o.headers instanceof Fn?o.headers:new Fn(o.headers),o.params&&(u=o.params instanceof Wn?o.params:new Wn({fromObject:o.params})),i=new Si(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(qn(l=>this.handler.handle(l)));if(n instanceof Si||"events"===o.observe)return s;const a=s.pipe(Yt(l=>l instanceof Ra));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(K(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(K(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(K(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(K(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 Wn).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,Rd(o,r))}post(n,r,o={}){return this.request("POST",n,Rd(o,r))}put(n,r,o={}){return this.request("PUT",n,Rd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(R(X_))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class sC{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const aC=new P("HTTP_INTERCEPTORS");let wN=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const bN=/^\)\]\}',?\n/;let lC=(()=>{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 Ee(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 EN(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 xd({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(bN,"");try{b=""!==b?JSON.parse(b):null}catch(N){b=_,A&&(A=!1,b={error:N,text:b})}}A?(r.next(new Ra({body:b,headers:m,status:y,statusText:v,url:w||void 0})),r.complete()):r.error(new iC({error:b,headers:m,status:y,statusText:v,url:w||void 0}))},u=m=>{const{url:y}=a(),v=new iC({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:Pe.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:Pe.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:Pe.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)(R(N_))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Fd=new P("XSRF_COOKIE_NAME"),Pd=new P("XSRF_HEADER_NAME");class uC{}let MN=(()=>{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=w_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(R(ut),R(Hc),R(Fd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(R(uC),R(Pd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),IN=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(aC,[]);this.chain=r.reduceRight((o,i)=>new sC(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(R(eC),R(Et))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),SN=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:kd,useClass:wN}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Fd,useValue:n.cookieName}:[],n.headerName?{provide:Pd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[kd,{provide:aC,useExisting:kd,multi:!0},{provide:uC,useClass:MN},{provide:Fd,useValue:"XSRF-TOKEN"},{provide:Pd,useValue:"X-XSRF-TOKEN"}]}),e})(),AN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[Nd,{provide:X_,useClass:IN},lC,{provide:eC,useExisting:lC}],imports:[SN.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();const{isArray:TN}=Array,{getPrototypeOf:xN,prototype:RN,keys:NN}=Object;function cC(e){if(1===e.length){const t=e[0];if(TN(t))return{args:t,keys:null};if(function FN(e){return e&&"object"==typeof e&&xN(e)===RN}(t)){const n=NN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:PN}=Array;function dC(e){return K(t=>function kN(e,t){return PN(t)?e(...t):e(t)}(e,t))}function fC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let hC=(()=>{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(wn),M(bt))},e.\u0275dir=B({type:e}),e})(),Dr=(()=>{class e extends hC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[se]}),e})();const fn=new P("NgValueAccessor"),LN={provide:fn,useExisting:he(()=>Od),multi:!0};let Od=(()=>{class e extends Dr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(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:[_e([LN]),se]}),e})();const VN={provide:fn,useExisting:he(()=>Ai),multi:!0},UN=new P("CompositionEventMode");let Ai=(()=>{class e extends hC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function jN(){const e=dn()?dn().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(wn),M(bt),M(UN,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:[_e([VN]),se]}),e})();function Qn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const et=new P("NgValidators"),Kn=new P("NgAsyncValidators");function yC(e){return Qn(e.value)?{required:!0}:null}function Na(e){return null}function bC(e){return null!=e}function EC(e){return di(e)?Me(e):e}function MC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function IC(e,t){return t.map(n=>n(e))}function SC(e){return e.map(t=>function $N(e){return!e.validate}(t)?t:n=>t.validate(n))}function Ld(e){return null!=e?function AC(e){if(!e)return null;const t=e.filter(bC);return 0==t.length?null:function(n){return MC(IC(n,t))}}(SC(e)):null}function Vd(e){return null!=e?function TC(e){if(!e)return null;const t=e.filter(bC);return 0==t.length?null:function(n){return function ON(...e){const t=yh(e),{args:n,keys:r}=cC(e),o=new Ee(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?fC(r,a):a),i.complete())}))}});return t?o.pipe(dC(t)):o}(IC(n,t).map(EC)).pipe(K(MC))}}(SC(e)):null}function xC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function jd(e){return e?Array.isArray(e)?e:[e]:[]}function Fa(e,t){return Array.isArray(e)?e.includes(t):e===t}function FC(e,t){const n=jd(t);return jd(e).forEach(o=>{Fa(n,o)||n.push(o)}),n}function PC(e,t){return jd(t).filter(n=>!Fa(e,n))}class kC{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=Ld(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Vd(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 ct extends kC{get formDirective(){return null}get path(){return null}}class Zn extends kC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class OC{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 Ud=(()=>{class e extends OC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Zn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ks("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:[se]}),e})(),Bd=(()=>{class e extends OC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(ct,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ks("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:[se]}),e})();const Ti="VALID",ka="INVALID",Co="PENDING",xi="DISABLED";function zd(e){return(Oa(e)?e.validators:e)||null}function VC(e){return Array.isArray(e)?Ld(e):e||null}function qd(e,t){return(Oa(t)?t.asyncValidators:e)||null}function jC(e){return Array.isArray(e)?Vd(e):e||null}function Oa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class HC{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._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=VC(this._rawValidators),this._composedAsyncValidatorFn=jC(this._rawAsyncValidators)}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===Ti}get invalid(){return this.status===ka}get pending(){return this.status==Co}get disabled(){return this.status===xi}get enabled(){return this.status!==xi}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._rawValidators=t,this._composedValidatorFn=VC(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=jC(t)}addValidators(t){this.setValidators(FC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(FC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(PC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(PC(t,this._rawAsyncValidators))}hasValidator(t){return Fa(this._rawValidators,t)}hasAsyncValidator(t){return Fa(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=Co,!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=xi,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=Ti,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===Ti||this.status===Co)&&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()?xi:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Co,this._hasOwnPendingAsyncValidator=!0;const n=EC(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 be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?xi:this.errors?ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Co)?Co:this._anyControlsHaveStatus(ka)?ka:Ti}_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){Oa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class Wd extends HC{constructor(t,n,r){super(zd(n),qd(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 BC(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new S(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function UC(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new S(1e3,"");if(!r[n])throw new S(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}}function Ri(e,t){Qd(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function YN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&$C(e,t)})}(e,t),function eF(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 XN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&$C(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function JN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ja(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Qd(e,t){const n=function RC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(xC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function NC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(xC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ja(t._rawValidators,o),ja(t._rawAsyncValidators,o)}function $C(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const iF={provide:ct,useExisting:he(()=>Fi)},Ni=(()=>Promise.resolve(null))();let Fi=(()=>{class e extends ct{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Wd({},Ld(n),Vd(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Ni.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Ri(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Ni.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Ni.then(()=>{const r=this._findContainer(n.path),o=new Wd({});(function GC(e,t){Qd(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Ni.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Ni.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function qC(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),!1}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(et,10),M(Kn,10))},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:[_e([iF]),se]}),e})();function WC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function QC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const KC=class extends HC{constructor(t=null,n,r){super(zd(n),qd(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}),Oa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=QC(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){WC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){WC(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){QC(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}},lF={provide:Zn,useExisting:he(()=>Ba)},YC=(()=>Promise.resolve(null))();let Ba=(()=>{class e extends Zn{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new KC,this._registered=!1,this.update=new be,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Zd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ai?n=i:function rF(e){return Object.getPrototypeOf(e.constructor)===Dr}(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 Kd(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(){Ri(this.control,this),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){YC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&xn(r);YC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function La(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(M(ct,9),M(et,10),M(Kn,10),M(fn,10),M(ca,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:[_e([lF]),se,xt]}),e})(),Jd=(()=>{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 cF={provide:fn,useExisting:he(()=>Yd),multi:!0};let eD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})(),dF=(()=>{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=L({token:e,factory:e.\u0275fac,providedIn:eD}),e})(),Yd=(()=>{class e extends Dr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Zn),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(wn),M(bt),M(dF),M(Et))},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:[_e([cF]),se]}),e})();const vF={provide:fn,useExisting:he(()=>Ha),multi:!0};function sD(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ha=(()=>{class e extends Dr{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=sD(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 _F(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=Ze(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:[_e([vF]),se]}),e})(),aD=(()=>{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(sD(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(bt),M(wn),M(Ha,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const CF={provide:fn,useExisting:he(()=>nf),multi:!0};function lD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let nf=(()=>{class e extends Dr{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(lD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(lD(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(bt),M(wn),M(nf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),wr=(()=>{class e{constructor(){this._validator=Na}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):Na,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 EF={provide:et,useExisting:he(()=>Pi),multi:!0};let Pi=(()=>{class e extends wr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=xn,this.createValidator=n=>yC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(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&&zt("required",r._enabled?"":null)},inputs:{required:"required"},features:[_e([EF]),se]}),e})();const TF={provide:et,useExisting:he(()=>rf),multi:!0};let rf=(()=>{class e extends wr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function wC(e){if(!e)return Na;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(Qn(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=Ze(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&zt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[_e([TF]),se]}),e})(),xF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[eD]}),e})(),RF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[xF]}),e})();class Xt extends en{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 $a=Ao(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function vD(...e){const t=xo(e),n=yh(e),{args:r,keys:o}=cC(e);if(0===r.length)return Me([],t);const i=new Ee(function FF(e,t,n=ir){return r=>{_D(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Me(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=>fC(o,s):ir));return n?i.pipe(dC(n)):i}function _D(e,t,n){e?gn(n,e,t):t()}function sf(...e){return function PF(){return Sr(1)}()(Me(e,xo(e)))}function CD(e){return new Ee(t=>{tn(e()).subscribe(t)})}function ki(e,t){const n=fe(e)?e:()=>e,r=o=>o.error(n());return new Ee(t?o=>t.schedule(r,0,o):r)}function af(){return He((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 DD extends Ee{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,rh(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 af()(this)}}function hn(e,t){return He((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 Ga(e){return He((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function wD(e=OF){return He((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function OF(){return new $a}function Jn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Yt((o,i)=>e(o,i,r)):ir,Ar(1),n?Ga(t):wD(()=>new $a))}function tt(e,t,n){const r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?He((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)}))}):ir}function Yn(e){return He((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ke(n,void 0,void 0,s=>{i=tn(e(s,Yn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function LF(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 bD(e,t){return He(LF(e,t,arguments.length>=2,!0))}function lf(e){return e<=0?()=>mn:He((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 ED(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Yt((o,i)=>e(o,i,r)):ir,lf(1),n?Ga(t):wD(()=>new $a))}function uf(e){return He((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const J="primary",Oi=Symbol("RouteTitle");class UF{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 Do(e){return new UF(e)}function BF(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 ID(e){return Array.prototype.concat.apply([],e)}function SD(e){return e.length>0?e[e.length-1]:null}function We(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Xn(e){return gc(e)?e:di(e)?Me(Promise.resolve(e)):k(e)}const GF={exact:function xD(e,t,n){if(!Er(e.segments,t.segments)||!za(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!xD(e.children[r],t.children[r],n))return!1;return!0},subset:RD},AD={exact:function zF(e,t){return pn(e,t)},subset:function qF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>MD(e[n],t[n]))},ignored:()=>!0};function TD(e,t,n){return GF[n.paths](e.root,t.root,n.matrixParams)&&AD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function RD(e,t,n){return ND(e,t,t.segments,n)}function ND(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Er(o,n)||t.hasChildren()||!za(o,n,r))}if(e.segments.length===n.length){if(!Er(e.segments,n)||!za(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!RD(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!!(Er(e.segments,o)&&za(e.segments,o,r)&&e.children[J])&&ND(e.children[J],t,i,r)}}function za(e,t,n){return t.every((r,o)=>AD[n](e[o].parameters,r.parameters))}class br{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Do(this.queryParams)),this._queryParamMap}toString(){return KF.serialize(this)}}class X{constructor(t,n){this.segments=t,this.children=n,this.parent=null,We(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qa(this)}}class Li{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Do(this.parameters)),this._parameterMap}toString(){return OD(this)}}function Er(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let FD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new df},providedIn:"root"}),e})();class df{parse(t){const n=new oP(t);return new br(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Vi(t.root,!0)}`,r=function YF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Wa(n)}=${Wa(o)}`).join("&"):`${Wa(n)}=${Wa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function ZF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const KF=new df;function qa(e){return e.segments.map(t=>OD(t)).join("/")}function Vi(e,t){if(!e.hasChildren())return qa(e);if(t){const n=e.children[J]?Vi(e.children[J],!1):"",r=[];return We(e.children,(o,i)=>{i!==J&&r.push(`${i}:${Vi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function QF(e,t){let n=[];return We(e.children,(r,o)=>{o===J&&(n=n.concat(t(r,o)))}),We(e.children,(r,o)=>{o!==J&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===J?[Vi(e.children[J],!1)]:[`${o}:${Vi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[J]?`${qa(e)}/${n[0]}`:`${qa(e)}/(${n.join("//")})`}}function PD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wa(e){return PD(e).replace(/%3B/gi,";")}function ff(e){return PD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qa(e){return decodeURIComponent(e)}function kD(e){return Qa(e.replace(/\+/g,"%20"))}function OD(e){return`${ff(e.path)}${function JF(e){return Object.keys(e).map(t=>`;${ff(t)}=${ff(e[t])}`).join("")}(e.parameters)}`}const XF=/^[^\/()?;=#]+/;function Ka(e){const t=e.match(XF);return t?t[0]:""}const eP=/^[^=?&#]+/,nP=/^[^&#]+/;class oP{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],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[J]=new X(t,n)),r}parseSegment(){const t=Ka(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(t),new Li(Qa(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Ka(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Ka(this.remaining);o&&(r=o,this.capture(r))}t[Qa(n)]=Qa(r)}parseQueryParam(t){const n=function tP(e){const t=e.match(eP);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function rP(e){const t=e.match(nP);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=kD(n),i=kD(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=Ka(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new S(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=J);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[J]:new X([],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 S(4011,!1)}}function hf(e){return e.segments.length>0?new X([],{[J]:e}):e}function Za(e){const t={};for(const r of Object.keys(e.children)){const i=Za(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function iP(e){if(1===e.numberOfChildren&&e.children[J]){const t=e.children[J];return new X(e.segments.concat(t.segments),t.children)}return e}(new X(e.segments,t))}function Mr(e){return e instanceof br}function lP(e,t,n,r,o){if(0===n.length)return wo(t.root,t.root,t.root,r,o);const i=function jD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new VD(!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 We(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 VD(n,t,r)}(n);return i.toRoot()?wo(t.root,t.root,new X([],{}),r,o):function s(l){const u=function cP(e,t,n,r){if(e.isAbsolute)return new bo(t.root,!0,0);if(-1===r)return new bo(n,n===t.root,0);return function UD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new S(4005,!1);o=r.segments.length}return new bo(r,!1,o-i)}(n,r+(ji(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?Bi(u.segmentGroup,u.index,i.commands):gf(u.segmentGroup,u.index,i.commands);return wo(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function ji(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ui(e){return"object"==typeof e&&null!=e&&e.outlets}function wo(e,t,n,r,o){let s,i={};r&&We(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:LD(e,t,n);const a=hf(Za(s));return new br(a,i,o)}function LD(e,t,n){const r={};return We(e.children,(o,i)=>{r[i]=o===t?n:LD(o,t,n)}),new X(e.segments,r)}class VD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ji(r[0]))throw new S(4003,!1);const o=r.find(Ui);if(o&&o!==SD(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function gf(e,t,n){if(e||(e=new X([],{})),0===e.segments.length&&e.hasChildren())return Bi(e,t,n);const r=function fP(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(Ui(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!HD(l,u,s))return i;r+=2}else{if(!HD(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]=gf(e.children[s],t,i))}),We(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new X(e.segments,o)}}function mf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=mf(new X([],{}),0,n))}),t}function BD(e){const t={};return We(e,(n,r)=>t[r]=`${n}`),t}function HD(e,t,n){return e==n.path&&pn(t,n.parameters)}class Pn{constructor(t,n){this.id=t,this.url=n}}class yf extends Pn{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 er extends Pn{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 Ja extends Pn{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 $D extends Pn{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 pP extends Pn{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 gP extends Pn{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 mP extends Pn{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 yP extends Pn{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 vP extends Pn{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 _P{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class CP{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class DP{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wP{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bP{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class EP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GD{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 zD{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=vf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=vf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=_f(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return _f(t,this._root).map(n=>n.value)}}function vf(e,t){if(e===t.value)return t;for(const n of t.children){const r=vf(e,n);if(r)return r}return null}function _f(e,t){if(e===t.value)return[t];for(const n of t.children){const r=_f(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 Eo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class qD extends zD{constructor(t,n){super(t),this.snapshot=n,Cf(this,t)}toString(){return this.snapshot.toString()}}function WD(e,t){const n=function IP(e,t){const s=new Ya([],{},{},"",{},J,t,null,e.root,-1,{});return new KD("",new kn(s,[]))}(e,t),r=new Xt([new Li("",{})]),o=new Xt({}),i=new Xt({}),s=new Xt({}),a=new Xt(""),l=new tr(r,o,s,a,i,J,t,n.root);return l.snapshot=n.root,new qD(new kn(l,[]),n)}class tr{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(K(u=>u[Oi]))??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(K(t=>Do(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(t=>Do(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function QD(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 SP(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 Ya{constructor(t,n,r,o,i,s,a,l,u,c,d,f){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?.[Oi],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._correctedLastPathIndex=f??c,this._resolve=d}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=Do(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Do(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class KD extends zD{constructor(t,n){super(n),this.url=t,Cf(this,n)}toString(){return ZD(this._root)}}function Cf(e,t){t.value._routerState=e,t.children.forEach(n=>Cf(e,n))}function ZD(e){const t=e.children.length>0?` { ${e.children.map(ZD).join(", ")} } `:"";return`${e.value}${t}`}function Df(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,pn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),pn(t.params,n.params)||e.params.next(n.params),function HF(e,t){if(e.length!==t.length)return!1;for(let n=0;npn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||wf(e.parent,t.parent))}function Hi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function TP(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Hi(e,r,o);return Hi(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=>Hi(e,a)),s}}const r=function xP(e){return new tr(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Hi(e,i));return new kn(r,o)}}const bf="ngNavigationCancelingError";function JD(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Mr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=YD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function YD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[bf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function XD(e){return ew(e)&&Mr(e.url)}function ew(e){return e&&e[bf]}class RP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new $i,this.attachRef=null}}let $i=(()=>{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 RP,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=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xa=!1;let Ef=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.changeDetector=i,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.name=o||J,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&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 S(4012,Xa);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,Xa);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,Xa);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 S(4013,Xa);this._activatedRoute=n;const o=this.location,s=n._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new NP(n,a,o.injector);if(r&&function FP(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)(M($i),M(Qt),Uo("name"),M(ca),M(Bn))},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class NP{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===tr?this.route:t===$i?this.childContexts:this.parent.get(t,n)}}let Mf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qy],decls:1,vars:0,template:function(n,r){1&n&&D(0,"router-outlet")},dependencies:[Ef],encapsulation:2}),e})();function tw(e,t){return e.providers&&!e._injector&&(e._injector=ta(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Sf(e){const t=e.children&&e.children.map(Sf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==J&&(n.component=Mf),n}function Ot(e){return e.outlet||J}function nw(e,t){const n=e.filter(r=>Ot(r)===t);return n.push(...e.filter(r=>Ot(r)!==t)),n}function Gi(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 VP{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),Df(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Eo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),We(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=Eo(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=Eo(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=Eo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new EP(i.value.snapshot))}),t.children.length&&this.forwardEvent(new wP(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Df(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),Df(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Gi(o.snapshot),l=a?.get(ti)??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 rw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class el{constructor(t,n){this.component=t,this.route=n}}function jP(e,t,n){const r=e._root;return zi(r,t?t._root:null,n,[r.value])}function Mo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Sb(e){return null!==os(e)}(e)?t.get(e):e:r}function zi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Eo(t);return e.children.forEach(s=>{(function BP(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 HP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Er(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Er(e.url,t.url)||!pn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wf(e,t)||!pn(e.queryParams,t.queryParams);default:return!wf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new rw(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 el(a.outlet.component,s))}else s&&qi(t,a,o),o.canActivateChecks.push(new rw(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]}),We(i,(s,a)=>qi(s,n.getContext(a),o)),o}function qi(e,t,n){const r=Eo(e),o=e.value;We(r,(i,s)=>{qi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new el(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Wi(e){return"function"==typeof e}function Af(e){return e instanceof $a||"EmptyError"===e?.name}const tl=Symbol("INITIAL_VALUE");function Io(){return hn(e=>vD(e.map(t=>t.pipe(Ar(1),function kF(...e){const t=xo(e);return He((n,r)=>{(t?sf(e,n,t):sf(e,n)).subscribe(r)})}(tl)))).pipe(K(t=>{for(const n of t)if(!0!==n){if(n===tl)return tl;if(!1===n||n instanceof br)return n}return!0}),Yt(t=>t!==tl),Ar(1)))}function ow(e){return function qw(...e){return eh(e)}(tt(t=>{if(Mr(t))throw JD(0,t)}),K(t=>!0===t))}const Tf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iw(e,t,n,r,o){const i=xf(e,t,n);return i.matched?function ik(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Mo(s,e);return Xn(function QP(e){return e&&Wi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Io(),ow()):k(!0)}(r=tw(t,r),t,n).pipe(K(s=>!0===s?i:{...Tf})):k(i)}function xf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Tf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||BF)(n,e,t);if(!o)return{...Tf};const i={};We(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 nl(e,t,n,r,o="corrected"){if(n.length>0&&function lk(e,t,n){return n.some(r=>rl(e,t,r)&&Ot(r)!==J)}(e,n,r)){const s=new X(t,function ak(e,t,n,r){const o={};o[J]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Ot(i)!==J){const s=new X([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Ot(i)]=s}return o}(e,t,r,new X(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function uk(e,t,n){return n.some(r=>rl(e,t,r))}(e,n,r)){const s=new X(e.segments,function sk(e,t,n,r,o,i){const s={};for(const a of r)if(rl(e,n,a)&&!o[Ot(a)]){const l=new X([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[Ot(a)]=l}return{...o,...s}}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new X(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function rl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function sw(e,t,n,r){return!!(Ot(e)===r||r!==J&&rl(t,n,e))&&("**"===e.path||xf(t,e,n).matched)}function aw(e,t,n){return 0===t.length&&!e.children[n]}const ol=!1;class il{constructor(t){this.segmentGroup=t||null}}class lw{constructor(t){this.urlTree=t}}function Qi(e){return ki(new il(e))}function uw(e){return ki(new lw(e))}class hk{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=nl(this.urlTree.root,[],[],this.config).segmentGroup,n=new X(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,J).pipe(K(i=>this.createUrlTree(Za(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Yn(i=>{if(i instanceof lw)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof il?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,J).pipe(K(o=>this.createUrlTree(Za(o),t.queryParams,t.fragment))).pipe(Yn(o=>{throw o instanceof il?this.noMatchError(o):o}))}noMatchError(t){return new S(4002,ol)}createUrlTree(t,n,r){const o=hf(t);return new br(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(K(i=>new X([],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 Me(o).pipe(qn(i=>{const s=r.children[i],a=nw(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(K(l=>({segment:l,outlet:i})))}),bD((i,s)=>(i[s.outlet]=s.segment,i),{}),ED())}expandSegment(t,n,r,o,i,s){return Me(r).pipe(qn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Yn(u=>{if(u instanceof il)return k(null);throw u}))),Jn(a=>!!a),Yn((a,l)=>{if(Af(a))return aw(n,o,i)?k(new X([],{})):Qi(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return sw(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):Qi(n):Qi(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("/")?uw(i):this.lineralizeSegments(r,i).pipe($e(s=>{const a=new X(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}=xf(n,o,i);if(!a)return Qi(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?uw(d):this.lineralizeSegments(o,d).pipe($e(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=tw(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(K(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new X(o,{})))):k(new X(o,{}))):iw(n,r,o,t).pipe(hn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe($e(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:m,slicedSegments:y}=nl(n,a,l,f),v=new X(m.segments,m.children);if(0===y.length&&v.hasChildren())return this.expandChildren(d,f,v).pipe(K(_=>new X(a,_)));if(0===f.length&&0===y.length)return k(new X(a,{}));const w=Ot(r)===i;return this.expandSegment(d,v,f,y,w?J:i,!0).pipe(K(A=>new X(a.concat(A.segments),A.children)))})):Qi(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 ok(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Mo(s,e);return Xn(function GP(e){return e&&Wi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Io(),ow())}(t,n,r).pipe($e(o=>o?this.configLoader.loadChildren(t,n).pipe(tt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function dk(e){return ki(YD(ol,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[J])return ki(new S(4e3,ol));o=o.children[J]}}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 br(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return We(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 We(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new X(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 S(4001,ol);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 gk{}class vk{constructor(t,n,r,o,i,s,a,l){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=nl(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,J).pipe(K(n=>{if(null===n)return null;const r=new Ya([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new KD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=QD(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 Me(Object.keys(r.children)).pipe(qn(o=>{const i=r.children[o],s=nw(n,o);return this.processSegmentGroup(t,s,i,o)}),bD((o,i)=>o&&i?(o.push(...i),o):null),function VF(e,t=!1){return He((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),Ga(null),ED(),K(o=>{if(null===o)return null;const i=cw(o);return function _k(e){e.sort((t,n)=>t.value.outlet===J?-1:n.value.outlet===J?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Me(n).pipe(qn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Jn(s=>!!s),Yn(s=>{if(Af(s))return aw(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!sw(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?SD(o).parameters:{},l=fw(r)+o.length;s=k({snapshot:new Ya(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pw(n),Ot(n),n.component??n._loadedComponent??null,n,dw(r),l,gw(n),l),consumedSegments:[],remainingSegments:[]})}else s=iw(r,n,o,t).pipe(K(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=fw(r)+l.length;return{snapshot:new Ya(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pw(n),Ot(n),n.component??n._loadedComponent??null,n,dw(r),d,gw(n),d),consumedSegments:l,remainingSegments:u}}));return s.pipe(hn(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}=nl(r,u,c,f.filter(w=>void 0===w.redirectTo),this.relativeLinkResolution);if(0===y.length&&m.hasChildren())return this.processChildren(d,f,m).pipe(K(w=>null===w?null:[new kn(l,w)]));if(0===f.length&&0===y.length)return k([new kn(l,[])]);const v=Ot(n)===i;return this.processSegment(d,f,m,y,v?J:i).pipe(K(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 cw(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=cw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function dw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function fw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function pw(e){return e.data||{}}function gw(e){return e.resolve||{}}function mw(e){return"string"==typeof e.title||null===e.title}function Rf(e){return hn(t=>{const n=e(t);return n?Me(n).pipe(K(()=>t)):k(t)})}let yw=(()=>{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===J);return r}getResolvedTitleForRoute(n){return n.data[Oi]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return Se(vw)},providedIn:"root"}),e})(),vw=(()=>{class e extends yw{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)(R(Sd))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Tk{}class Rk extends class xk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const al=new P("",{providedIn:"root",factory:()=>({})}),Nf=new P("ROUTES");let Ff=(()=>{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=Xn(n.loadComponent()).pipe(tt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),uf(()=>{this.componentLoaders.delete(n)})),o=new DD(r,()=>new en).pipe(af());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(K(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=ID(l.get(Nf,[],V.Self|V.Optional)));return{routes:u.map(Sf),injector:l}}),uf(()=>{this.childrenLoaders.delete(r)})),s=new DD(i,()=>new en).pipe(af());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Xn(n()).pipe($e(r=>r instanceof qy||Array.isArray(r)?k(r):Me(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)(R(Et),R($c))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Fk{}class Pk{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function kk(e){throw e}function Ok(e,t,n){return t.parse("/")}const Lk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Cw(){const e=Se(FD),t=Se($i),n=Se(od),r=Se(Et),o=Se($c),i=Se(Nf,{optional:!0})??[],s=Se(al,{optional:!0})??{},a=Se(vw),l=Se(yw,{optional:!0}),u=Se(Fk,{optional:!0}),c=Se(Tk,{optional:!0}),d=new qe(null,e,t,n,r,o,ID(i));return u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),d.titleStrategy=l??a,function jk(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.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,d),d}let qe=(()=>{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.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new en,this.errorHandler=kk,this.malformedUriErrorHandler=Ok,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=new Pk,this.routeReuseStrategy=new Rk,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Ff),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new CP(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new _P(f)),this.ngModule=s.get(vr),this.console=s.get(cT);const d=s.get(je);this.isNgZoneEnabled=d instanceof je&&je.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function $F(){return new br(new X([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=WD(this.currentUrlTree,this.rootComponentType),this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl: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.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(Yt(o=>0!==o.id),K(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),hn(o=>{let i=!1,s=!1;return k(o).pipe(tt(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),hn(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Dw(a.source)&&(this.browserUrlTree=a.extractedUrl),k(a).pipe(hn(d=>{const f=this.transitions.getValue();return r.next(new yf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?mn:Promise.resolve(d)}),function pk(e,t,n,r){return hn(o=>function fk(e,t,n,r,o){return new hk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(K(i=>({...o,urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),tt(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},o.urlAfterRedirects=d.urlAfterRedirects}),function bk(e,t,n,r,o,i){return $e(s=>function yk(e,t,n,r,o,i,s="emptyOnly",a="legacy"){return new vk(e,t,n,r,o,s,a,i).recognize().pipe(hn(l=>null===l?function mk(e){return new Ee(t=>t.error(e))}(new gk):k(l)))}(e,t,n,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,o,i).pipe(K(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),tt(d=>{if(o.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const m=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(m,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new pP(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:m,source:y,restoredState:v,extras:w}=a,b=new yf(f,this.serializeUrl(m),y,v);r.next(b);const A=WD(m,this.rootComponentType).snapshot;return k(o={...a,targetSnapshot:A,urlAfterRedirects:m,extras:{...w,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),mn}),tt(a=>{const l=new gP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),K(a=>o={...a,guards:jP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function ZP(e,t){return $e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function JP(e,t,n,r){return Me(e).pipe($e(o=>function rk(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=Gi(t)??o,u=Mo(a,l);return Xn(function WP(e){return e&&Wi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Jn())})).pipe(Io()):k(!0)}(o.component,o.route,n,t,r)),Jn(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function $P(e){return"boolean"==typeof e}(a)?function YP(e,t,n,r){return Me(t).pipe(qn(o=>sf(function ek(e,t){return null!==e&&t&&t(new DP(e)),k(!0)}(o.route.parent,r),function XP(e,t){return null!==e&&t&&t(new bP(e)),k(!0)}(o.route,r),function nk(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function UP(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=>CD(()=>k(s.guards.map(l=>{const u=Gi(s.node)??n,c=Mo(l,u);return Xn(function qP(e){return e&&Wi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Jn())})).pipe(Io())));return k(i).pipe(Io())}(e,o.path,n),function tk(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>CD(()=>{const s=Gi(t)??n,a=Mo(i,s);return Xn(function zP(e){return e&&Wi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Jn())}));return k(o).pipe(Io())}(e,o.route,n))),Jn(o=>!0!==o,!0))}(r,i,e,t):k(a)),K(a=>({...n,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),tt(a=>{if(o.guardsResult=a.guardsResult,Mr(a.guardsResult))throw JD(0,a.guardsResult);const l=new mP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Yt(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Rf(a=>{if(a.guards.canActivateChecks.length)return k(a).pipe(tt(l=>{const u=new yP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),hn(l=>{let u=!1;return k(l).pipe(function Ek(e,t){return $e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Me(o).pipe(qn(s=>function Mk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!mw(o)&&(i[Oi]=o.title),function Ik(e,t,n,r){const o=function Sk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Me(o).pipe($e(s=>function Ak(e,t,n,r){const o=Gi(t)??r,i=Mo(e,o);return Xn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Jn(),tt(a=>{i[s]=a}))),lf(1),function jF(e){return K(()=>e)}(i),Yn(s=>Af(s)?mn:ki(s)))}(i,e,t,r).pipe(K(s=>(e._resolvedData=s,e.data=QD(e,n).resolve,o&&mw(o)&&(e.data[Oi]=o.title),null)))}(s.route,r,e,t)),tt(()=>i++),lf(1),$e(s=>i===o.length?k(n):mn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),tt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),tt(l=>{const u=new vP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Rf(a=>{const l=u=>{const c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(tt(d=>{u.component=d}),K(()=>{})));for(const d of u.children)c.push(...l(d));return c};return vD(l(a.targetSnapshot.root)).pipe(Ga(),Ar(1))}),Rf(()=>this.afterPreactivation()),K(a=>{const l=function AP(e,t,n){const r=Hi(e,t._root,n?n._root:void 0);return new qD(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return o={...a,targetRouterState:l}}),tt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>K(r=>(new VP(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),tt({next(){i=!0},complete(){i=!0}}),uf(()=>{i||s||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Yn(a=>{if(s=!0,ew(a)){XD(a)||(this.navigated=!0,this.restoreHistory(o,!0));const l=new Ja(o.id,this.serializeUrl(o.extractedUrl),a.message,a.cancellationCode);if(r.next(l),XD(a)){const u=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),c={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Dw(o.source)};this.scheduleNavigation(u,"imperative",null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}else o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new $D(o.id,this.serializeUrl(o.extractedUrl),a,o.targetSnapshot??void 0);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return mn}))}))}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(i){const a={...i};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.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(Sf),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)),lP(u,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Mr(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 Uk(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 er(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,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,currentRawUrl:this.rawUrlTree,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.currentNavigation?.finalUrl||0===o?this.currentUrlTree===this.currentNavigation?.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 Ja(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){$u()},e.\u0275prov=L({token:e,factory:function(){return Cw()},providedIn:"root"}),e})();function Dw(e){return"imperative"!==e}let Pf=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new en,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=xn(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=xn(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=xn(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){if(null!=this.tabIndexAttribute)return;const r=this.renderer,o=this.el.nativeElement;null!==n?r.setAttribute(o,"tabindex",n):r.removeAttribute(o,"tabindex")}ngOnChanges(n){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(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}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(qe),M(tr),Uo("tabindex"),M(wn),M(bt))},e.\u0275dir=B({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&F("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[xt]}),e})(),nr=(()=>{class e{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new en,this.subscription=n.events.subscribe(i=>{i instanceof er&&this.updateTargetUrlAndHref()})}set preserveFragment(n){this._preserveFragment=xn(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=xn(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=xn(n)}get replaceUrl(){return this._replaceUrl}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){return!!(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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(qe),M(tr),M(Cr))},e.\u0275dir=B({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&F("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&zt("target",r.target)("href",r.href,Xo)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[xt]}),e})(),ww=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new be,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof er&&this.update()})}ngAfterContentInit(){k(this.links.changes,this.linksWithHrefs.changes,k(null)).pipe(Sr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(n).pipe(Sr()).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.linksWithHrefs||!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 Bk(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.linkWithHref&&n(this.linkWithHref)||this.links.some(n)||this.linksWithHrefs.some(n)}}return e.\u0275fac=function(n){return new(n||e)(M(qe),M(bt),M(wn),M(ca),M(Pf,8),M(nr,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&(kc(o,Pf,5),kc(o,nr,5)),2&n){let i;Pc(i=Oc())&&(r.links=i),Pc(i=Oc())&&(r.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[xt]}),e})();class bw{}let Hk=(()=>{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(Yt(n=>n instanceof er),qn(()=>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=ta(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 Me(o).pipe(Sr())}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($e(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?Me([i,this.loader.loadComponent(r)]).pipe(Sr()):i})}}return e.\u0275fac=function(n){return new(n||e)(R(qe),R($c),R(Bn),R(bw),R(Ff))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kf=new P("");let Ew=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.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 yf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof er&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof GD&&(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.router.triggerEvent(new GD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){$u()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function So(e,t){return{\u0275kind:e,\u0275providers:t}}function Of(e){return[{provide:Nf,multi:!0,useValue:e}]}function Iw(){const e=Se(Et);return t=>{const n=e.get(la);if(t!==n.components[0])return;const r=e.get(qe),o=e.get(Sw);1===e.get(Lf)&&r.initialNavigation(),e.get(Aw,null,V.Optional)?.setUpPreloading(),e.get(kf,null,V.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.next(),o.complete()}}const Sw=new P("",{factory:()=>new en}),Lf=new P("",{providedIn:"root",factory:()=>1});const Aw=new P("");function qk(e){return So(0,[{provide:Aw,useExisting:Hk},{provide:bw,useExisting:e}])}const Tw=new P("ROUTER_FORROOT_GUARD"),Wk=[od,{provide:FD,useClass:df},{provide:qe,useFactory:Cw},$i,{provide:tr,useFactory:function Mw(e){return e.routerState.root},deps:[qe]},Ff];function Qk(){return new Bv("Router",qe)}let xw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Wk,[],Of(n),{provide:Tw,useFactory:Yk,deps:[[qe,new Wo,new Qo]]},{provide:al,useValue:r||{}},r?.useHash?{provide:Cr,useClass:YT}:{provide:Cr,useClass:f_},{provide:kf,useFactory:()=>{const e=Se(qe),t=Se(yR),n=Se(al);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Ew(e,t,n)}},r?.preloadingStrategy?qk(r.preloadingStrategy).\u0275providers:[],{provide:Bv,multi:!0,useFactory:Qk},r?.initialNavigation?Xk(r):[],[{provide:Rw,useFactory:Iw},{provide:Pv,multi:!0,useExisting:Rw}]]}}static forChild(n){return{ngModule:e,providers:[Of(n)]}}}return e.\u0275fac=function(n){return new(n||e)(R(Tw,8))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[Mf]}),e})();function Yk(e){return"guarded"}function Xk(e){return["disabled"===e.initialNavigation?So(3,[{provide:ia,multi:!0,useFactory:()=>{const t=Se(qe);return()=>{t.setUpLocationChangeListener()}}},{provide:Lf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?So(2,[{provide:Lf,useValue:0},{provide:ia,multi:!0,deps:[Et],useFactory:t=>{const n=t.get(ZT,Promise.resolve(null));let r=!1;return()=>n.then(()=>new Promise(i=>{const s=t.get(qe),a=t.get(Sw);(function o(i){t.get(qe).events.pipe(Yt(a=>a instanceof er||a instanceof Ja||a instanceof $D),K(a=>a instanceof er||a instanceof Ja&&(0===a.code||1===a.code)&&null),Yt(a=>null!==a),Ar(1)).subscribe(()=>{i()})})(()=>{i(!0),r=!0}),s.afterPreactivation=()=>(i(!0),r||a.closed?k(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const Rw=new P("");class tO{constructor(){this.name="",this.email="",this.message=""}}const Be_apiBaseUrl="https://www.palmmedia.de/api/";let Nw=(()=>{class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${Be_apiBaseUrl}contact`,n)}}return e.\u0275fac=function(n){return new(n||e)(R(Nd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function nO(e,t){if(1&e){const n=ze();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(H().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(H().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(H().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(H().contactViewModel.message=o)}),p()(),h(20,"button",15),g(21,"Submit"),p()()}if(2&e){const n=function bm(e){return function kr(e,t){return e[t]}(function nE(){return $.lFrame.contextLView}(),22+e)}(1),r=H();C(7),I("ngModel",r.contactViewModel.name),C(6),I("ngModel",r.contactViewModel.email),C(6),I("ngModel",r.contactViewModel.message),C(1),I("disabled",!n.valid||r.enableFormCountDown>0)}}function rO(e,t){1&e&&(h(0,"p"),g(1,"Thanks for your message."),p())}function oO(e,t){1&e&&(h(0,"p",16),g(1,"Something went wrong. Please try again later."),p())}let iO=(()=>{class e{constructor(n){this.contactService=n,this.contactViewModel=new tO,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:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(M(Nw))},e.\u0275cmp=jt({type:e,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,nO,22,4,"form",2),q(4,rO,2,0,"p",3),q(5,oO,2,0,"p",4),p()),2&n&&(C(3),I("ngIf",!r.success&&!r.error),C(1),I("ngIf",r.success),C(1),I("ngIf",r.error))},dependencies:[Ea,Jd,Ai,Ud,Bd,Pi,Ba,Fi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]}),e})();const Lt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.10"},sO=function(){return["/usage"]};let aO=(()=>{class e{constructor(){this.versions=Lt}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(5,sO)),C(22),mr('\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),mr('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),mr("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),mr("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:[nr]}),e})();const lO=function(){return["/pro"]},uO=function(){return["/usage"]},cO=function(){return["/getstarted"]};let dO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(3,lO)),C(12),I("routerLink",Ae(4,uO)),C(24),I("routerLink",Ae(5,cO)))},dependencies:[nr],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}}"]}),e})();class Fw{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let Pw=(()=>{class e{initCodeFlow(){const o=`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: "+o),location.href=o}validateStateAndExtractCode(){let n=location.href;const r=n.indexOf("?");r>-1&&(n=n.substring(r+1));const o=this.parseQueryString(n);return o.state&&o.code&&this.validateNonce(o.state)?o.code:null}createAndSaveNonce(){const n=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",n),n}validateNonce(n){let r;return typeof window.localStorage<"u"&&(r=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),r&&0!==r.length?r===n||(console.error("Validating nonce failed. Values do not match.",r,n),!1):(console.error("Validating nonce failed. No saved nonce available.",r,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let r=45,o="";const i=typeof self>"u"?null:self.crypto||self.msCrypto;if(i){let a=new Uint8Array(r);i.getRandomValues(a),a.map||(a.map=Array.prototype.map);const l=[];for(var s=0;s0&&(u=decodeURIComponent(a),c=decodeURIComponent(l),"/"===u.substring(0,1)&&(u=u.substring(1)),r[u]=c);return r}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),kw=(()=>{class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${Be_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getPaddleLicense(n){return this.httpClient.post(`${Be_apiBaseUrl}reportgenerator/paddlelicense`,n)}}return e.\u0275fac=function(n){return new(n||e)(R(Nd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function fO(e,t){1&e&&(h(0,"div",38)(1,"span",39),g(2,"Loading..."),p()())}const Vf=function(){return["/contact"]};function hO(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=H(2);C(2),ve(n.license.error),C(3),I("routerLink",Ae(2,Vf))}}function pO(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 gO(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function mO(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function yO(e,t){if(1&e){const n=ze();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(H(2).copy())}),q(6,gO,3,0,"span",40),q(7,mO,3,0,"span",40),p()()}if(2&e){const n=H(2);C(4),ve(n.license.license),C(2),I("ngIf",!n.licenseCopied),C(1),I("ngIf",n.licenseCopied)}}function vO(e,t){if(1&e&&(h(0,"div",17),q(1,hO,8,3,"div",40),q(2,pO,6,0,"div",40),q(3,yO,8,3,"div",40),p()),2&e){const n=H();C(1),I("ngIf",n.license.error),C(1),I("ngIf",!n.license.error&&!n.license.isSponsor),C(1),I("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function _O(e,t){if(1&e){const n=ze();h(0,"button",56),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("individual"))}),g(1,"Buy now"),p()}}function CO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function DO(e,t){if(1&e){const n=ze();h(0,"button",58),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("team"))}),g(1,"Buy now"),p()}}function wO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function bO(e,t){if(1&e){const n=ze();h(0,"button",59),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("unlimited"))}),g(1,"Buy now"),p()}}function EO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function MO(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,_O,2,0,"button",50),q(10,CO,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,DO,2,0,"button",53),q(20,wO,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,bO,2,0,"button",55),q(30,EO,2,0,"button",51),p()()),2&e){const n=H();C(6),ve(n.paddleIndividualLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle),C(6),ve(n.paddleTeamLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle),C(6),ve(n.paddleUnlimitedLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle)}}function IO(e,t){1&e&&(fo(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(),ho())}function SO(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=H(3);C(2),ve(n.paddleLicense.error),C(3),I("routerLink",Ae(2,Vf))}}function AO(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function TO(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function xO(e,t){if(1&e){const n=ze();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(H(3).copyPaddle())}),q(6,AO,3,0,"span",40),q(7,TO,3,0,"span",40),p()()}if(2&e){const n=H(3);C(4),ve(n.paddleLicense.license),C(2),I("ngIf",!n.paddleLicenseCopied),C(1),I("ngIf",n.paddleLicenseCopied)}}function RO(e,t){if(1&e&&(h(0,"div",62),q(1,SO,8,3,"div",40),q(2,xO,8,3,"div",40),p()),2&e){const n=H(2);C(1),I("ngIf",n.paddleLicense.error),C(1),I("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function NO(e,t){if(1&e&&(h(0,"div",2),q(1,IO,6,0,"ng-container",40),q(2,RO,3,2,"div",60),p()),2&e){const n=H();C(1),I("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),C(1),I("ngIf",n.paddleLicense)}}let FO=(()=>{class e{constructor(n,r){this.oauthService=n,this.licenseService=r,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=o=>{this.paddleCheckoutComplete(o)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,o=>{this.paddleIndividualLicensePrice=o.recurring.price.gross}),window.Paddle.Product.Prices(762580,o=>{this.paddleTeamLicensePrice=o.recurring.price.gross}),window.Paddle.Product.Prices(762581,o=>{this.paddleUnlimitedLicensePrice=o.recurring.price.gross})}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:r=>{console.log("Received license response"),this.license=r,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:r=>{console.error(r),this.license=new Fw,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(n){console.error("Failed to copy license",n)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(n){console.error("Failed to copy paddle license",n)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(n){"unlimited"===n?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===n?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(n){console.log("Checkout completed",n),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(n).subscribe({next:r=>{console.log("Received paddle license response"),this.paddleLicense=r,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:r=>{console.error(r),this.paddleLicense=new Fw,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(M(Pw),M(kw))},e.\u0275cmp=jt({type:e,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,fO,3,0,"div",23),p(),q(91,vO,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,MO,31,9,"div",26),q(98,NO,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),I("routerLink",Ae(6,Vf)),C(20),I("disabled",r.licenseRequested),C(3),I("ngIf",r.licenseRequested&&!r.license),C(1),I("ngIf",r.license),C(6),I("ngIf",!r.paddleLicenseRequested),C(1),I("ngIf",r.paddleLicenseRequested))},dependencies:[Ea,nr],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]}),e})();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 PO 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 kO{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:"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 jf{constructor(t,n){this.tool=t,this.command=n}}function LO(e,t){if(1&e){const n=ze();h(0,"div",32)(1,"label",33)(2,"input",34),F("ngModelChange",function(o){return ce(n),de(H().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(H().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=H();C(2),I("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),C(2),ve(n.name),C(3),ve(n.description)}}function VO(e,t){if(1&e){const n=ze();h(0,"div",32)(1,"label",33)(2,"input",38),F("ngModelChange",function(o){return ce(n),de(H(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=H().$implicit,r=H(2);C(2),I("ngModel",r.selectedPackage)("value",n),C(2),ve(n.name),C(3),ve(n.description)}}function jO(e,t){if(1&e&&(fo(0),q(1,VO,8,4,"div",37),ho()),2&e){const n=t.$implicit,r=H(2);C(1),I("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function UO(e,t){if(1&e&&(fo(0),h(1,"h4"),g(2,"NuGet Package"),p(),q(3,jO,2,1,"ng-container",36),ho()),2&e){const n=H();C(3),I("ngForOf",n.packages)}}function BO(e,t){if(1&e){const n=ze();h(0,"span",42),F("click",function(){ce(n);const o=H().index;return de(H().configuration.removeReport(o))}),h(1,"a",43),D(2,"i",44),p()()}}const HO=function(e){return{"input-group":e}};function $O(e,t){if(1&e){const n=ze();h(0,"div",35)(1,"div",39)(2,"input",40),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.reports[s]=o)}),p(),q(3,BO,3,0,"span",41),p()()}if(2&e){const n=t.index,r=H();C(1),I("ngClass",Mc(4,HO,n>0)),C(1),In("name","report_",n,""),I("ngModel",r.configuration.reports[n]),C(1),I("ngIf",n>0)}}function GO(e,t){if(1&e){const n=ze();h(0,"span",47),D(1,"i",48),g(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(H(2).scrollToHistoryDir())}),g(4,"history directory"),p()()}}function zO(e,t){if(1&e){const n=ze();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,GO,5,0,"span",46),D(6,"br"),h(7,"div",35),g(8),p()()()}if(2&e){const n=t.$implicit,r=H();C(2),I("ngModel",n.checked),C(2),ve(n.name),C(1),I("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),C(3),ve(n.description)}}function qO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",50),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeSourceDirectory(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","sourcedir_",n,""),I("ngModel",r.configuration.sourcedirectories[n])}}function WO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",51),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.plugins[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removePlugin(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","plugin_",n,""),I("ngModel",r.configuration.plugins[n])}}function QO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",52),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeAssemblyFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","assemblyfilter_",n,""),I("ngModel",r.configuration.assemblyfilters[n])}}function KO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.classfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeClassFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","classfilter_",n,""),I("ngModel",r.configuration.classfilters[n])}}function ZO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.filefilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeFileFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","filefilter_",n,""),I("ngModel",r.configuration.filefilters[n])}}function JO(e,t){if(1&e&&(h(0,"option",55),g(1),p()),2&e){const n=t.$implicit;I("value",n),C(1),ve(n)}}function YO(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),ve(n.tool),C(3),ve(n.command)}}function XO(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),ve(n.tool),C(3),ve(n.command)}}function eL(e,t){1&e&&(h(0,"span"),D(1,"i",57),g(2," Copy"),p())}function tL(e,t){1&e&&(h(0,"span"),D(1,"i",58),g(2," Copied"),p())}const nL=function(){return["/pro"]};let Ow=(()=>{class e{constructor(){this.versions=Lt,this.lastResult="",this.usageCopied=!1,this.configuration=new kO,this.environments=[new fl(".NET Core",".NET Core"),new fl(".NET Framework","The full .NET framework"),new fl("Azure DevOps",null),new fl("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 jf("Package Manager",`Install-Package ReportGenerator -Version ${Lt.version}`),new jf(".NET CLI",`dotnet add package ReportGenerator --version ${Lt.version}`)],[new Ki(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net47\\ReportGenerator.exe`),new Ki(".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 jf(".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 Ki(".NET Core","reportgenerator")]),new PO("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new Ki("Azure DevOps","reportgenerator")]),new OO("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new Ki("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const n=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==n&&(this.lastResult=n,this.usageCopied=!1),n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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,LO,8,5,"div",4),q(9,UO,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,$O,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,zO,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,qO,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,WO,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,QO,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,KO,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,ZO,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,JO,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,YO,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,XO,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,eL,3,0,"span",5),q(209,tL,3,0,"span",5),p()()()()()),2&n&&(C(8),I("ngForOf",r.environments),C(1),I("ngIf",r.severalPackagesAvailable()),C(7),I("ngForOf",r.configuration.reports)("ngForTrackBy",r.trackByIndex),C(11),I("ngModel",r.configuration.targetdir),C(8),I("ngForOf",r.configuration.reporttypes),C(7),I("ngForOf",r.configuration.sourcedirectories)("ngForTrackBy",r.trackByIndex),C(16),I("ngModel",r.configuration.historydir)("required",r.configuration.historyDirRequired()),C(12),I("ngForOf",r.configuration.plugins)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.assemblyfilters)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.classfilters)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.filefilters)("ngForTrackBy",r.trackByIndex),C(11),I("ngModel",r.configuration.selectedverbosity),C(1),I("ngForOf",r.configuration.verbosities)("ngForTrackBy",r.trackByIndex),C(7),I("ngModel",r.configuration.title),C(7),I("ngModel",r.configuration.tag),C(6),I("routerLink",Ae(35,nL)),C(3),I("ngModel",r.configuration.license),C(6),I("href",r.selectedPackage.url,Xo),C(1),ve(r.selectedPackage.name),C(1),I("ngForOf",r.selectedPackage.installOptions),C(4),ve(r.getUsage()),C(5),I("href",r.selectedPackage.url,Xo),C(1),ve(r.selectedPackage.name),C(1),I("ngForOf",r.selectedPackage.installOptions),C(4),ve(r.getUsage()),C(2),I("ngIf",!r.usageCopied),C(1),I("ngIf",r.usageCopied))},dependencies:[pd,M_,Ea,nr,Jd,aD,uD,Ai,Od,Ha,Yd,Ud,Bd,Pi,rf,Ba,Fi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]}),e})();const rL=[{path:"",component:dO,pathMatch:"full",data:{title:"Home"}},{path:"getstarted",component:aO,data:{title:"Get started"}},{path:"usage",component:Ow,data:{title:"Usage"}},{path:"usage.html",component:Ow,data:{title:"Usage"}},{path:"pro",component:FO,data:{title:"PRO"}},{path:"contact",component:iO,data:{title:"Contact"}}];let oL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[xw.forRoot(rL),xw]}),e})();const Lw=function(){return["/"]},iL=function(e){return{show:e}},Zi=function(){return["link-active"]},sL=function(){return{exact:!0}},aL=function(){return["/getstarted"]},lL=function(){return["/usage"]},uL=function(){return["/contact"]},cL=function(){return["/pro"]};let dL=(()=>{class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(14,Lw)),C(3),zt("aria-expanded",r.isExpanded),C(2),I("ngClass",Mc(15,iL,r.isExpanded)),C(2),I("routerLinkActive",Ae(17,Zi))("routerLinkActiveOptions",Ae(18,sL)),C(1),I("routerLink",Ae(19,Lw)),C(2),I("routerLinkActive",Ae(20,Zi)),C(1),I("routerLink",Ae(21,aL)),C(2),I("routerLinkActive",Ae(22,Zi)),C(1),I("routerLink",Ae(23,lL)),C(2),I("routerLinkActive",Ae(24,Zi)),C(1),I("routerLink",Ae(25,uL)),C(2),I("routerLinkActive",Ae(26,Zi)),C(1),I("routerLink",Ae(27,cL)))},dependencies:[pd,nr,ww],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}"]}),e})(),fL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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}"]}),e})(),hL=(()=>{class e{constructor(n,r,o){this.titleService=n,this.router=r,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(Yt(n=>n instanceof er),K(()=>this.activatedRoute),K(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Yt(n=>"primary"===n.outlet),$e(n=>n.data)).subscribe(n=>{this.titleService.setTitle(n.title+" - ReportGenerator")})}}return e.\u0275fac=function(n){return new(n||e)(M(Sd),M(qe),M(tr))},e.\u0275cmp=jt({type:e,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:[Ef,dL,fL],encapsulation:2}),e})(),pL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e,bootstrap:[hL]}),e.\u0275inj=yt({providers:[Pw,kw,Nw],imports:[iN,oL,AN,RF]}),e})();(function TT(){Jv=!1})(),oN().bootstrapModule(pL).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 Ao(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 Ji=Ao(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 To(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 Ji?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Jf(i)}catch(s){t=t??[],s instanceof Ji?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ji(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Jf(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)&&To(n,t)}remove(t){const{_finalizers:n}=this;n&&To(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Kf=It.EMPTY;function Zf(e){return e instanceof It||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Jf(e){fe(e)?e():e.unsubscribe()}const rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Yi={setTimeout(e,t,...n){const{delegate:r}=Yi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Yi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yf(e){Yi.setTimeout(()=>{const{onUnhandledError:t}=rr;if(!t)throw e;t(e)})}function Xf(){}const Vw=hl("C",void 0,void 0);function hl(e,t,n){return{kind:e,value:t,error:n}}let or=null;function Xi(e){if(rr.useDeprecatedSynchronousErrorHandling){const t=!or;if(t&&(or={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=or;if(or=null,n)throw r}}else e()}class pl extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zf(t)&&t.add(this)):this.destination=zw}static create(t,n,r){return new es(t,n,r)}next(t){this.isStopped?ml(function Uw(e){return hl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ml(function jw(e){return hl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ml(Vw,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 Hw=Function.prototype.bind;function gl(e,t){return Hw.call(e,t)}class $w{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ts(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ts(r)}else ts(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ts(n)}}}class es extends pl{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&&rr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gl(t.next,i),error:t.error&&gl(t.error,i),complete:t.complete&&gl(t.complete,i)}):o=t}this.destination=new $w(o)}}function ts(e){rr.useDeprecatedSynchronousErrorHandling?function Bw(e){rr.useDeprecatedSynchronousErrorHandling&&or&&(or.errorThrown=!0,or.error=e)}(e):Yf(e)}function ml(e,t){const{onStoppedNotification:n}=rr;n&&Yi.setTimeout(()=>n(e,t))}const zw={closed:!0,next:Xf,error:function Gw(e){throw e},complete:Xf},yl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ir(e){return e}function eh(e){return 0===e.length?ir:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Ee=(()=>{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 Qw(e){return e&&e instanceof pl||function Ww(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&Zf(e)}(n)?n:new es(n,r,o);return Xi(()=>{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=th(r))((o,i)=>{const s=new es({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)}[yl](){return this}pipe(...n){return eh(n)(this)}toPromise(n){return new(n=th(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function th(e){var t;return null!==(t=e??rr.Promise)&&void 0!==t?t:Promise}const Kw=Ao(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let en=(()=>{class e extends Ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new nh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Kw}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xi(()=>{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(){Xi(()=>{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?Kf:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,To(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ee;return n.source=this,n}}return e.create=(t,n)=>new nh(t,n),e})();class nh extends en{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:Kf}}function rh(e){return fe(e?.lift)}function He(e){return t=>{if(rh(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 Zw(e,t,n,r,o)}class Zw extends pl{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 K(e,t){return He((n,r)=>{let o=0;n.subscribe(ke(r,i=>{r.next(e.call(t,i,o++))}))})}function sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function Xw(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 sr?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 eb(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 sh(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 ah=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function lh(e){return fe(e?.then)}function uh(e){return fe(e[yl])}function ch(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function dh(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 fh=function nb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hh(e){return fe(e?.[fh])}function ph(e){return Xw(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield sr(n.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function gh(e){return fe(e?.getReader)}function tn(e){if(e instanceof Ee)return e;if(null!=e){if(uh(e))return function rb(e){return new Ee(t=>{const n=e[yl]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ah(e))return function ob(e){return new Ee(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yf)})}(e);if(ch(e))return mh(e);if(hh(e))return function sb(e){return new Ee(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gh(e))return function ab(e){return mh(ph(e))}(e)}throw dh(e)}function mh(e){return new Ee(t=>{(function lb(e,t){var n,r,o,i;return function Jw(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=eb(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 $e(e,t,n=1/0){return fe(t)?$e((r,o)=>K((i,s)=>t(r,i,o,s))(tn(e(r,o))),n):("number"==typeof t&&(n=t),He((r,o)=>function ub(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 Sr(e=1/0){return $e(ir,e)}const mn=new Ee(e=>e.complete());function _l(e){return e[e.length-1]}function yh(e){return fe(_l(e))?e.pop():void 0}function xo(e){return function db(e){return e&&fe(e.schedule)}(_l(e))?e.pop():void 0}function vh(e,t=0){return He((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 _h(e,t=0){return He((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ch(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ee(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 Me(e,t){return t?function vb(e,t){if(null!=e){if(uh(e))return function hb(e,t){return tn(e).pipe(_h(t),vh(t))}(e,t);if(ah(e))return function gb(e,t){return new Ee(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(lh(e))return function pb(e,t){return tn(e).pipe(_h(t),vh(t))}(e,t);if(ch(e))return Ch(e,t);if(hh(e))return function mb(e,t){return new Ee(n=>{let r;return gn(n,t,()=>{r=e[fh](),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(gh(e))return function yb(e,t){return Ch(ph(e),t)}(e,t)}throw dh(e)}(e,t):tn(e)}function Ar(e){return e<=0?()=>mn:He((t,n)=>{let r=0;t.subscribe(ke(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Cl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Ar(1)).subscribe(()=>e())}function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}function Dl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(le).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 wl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Db=ae({__forward_ref__:ae});function he(e){return e.__forward_ref__=he,e.toString=function(){return le(this())},e}function U(e){return bl(e)?e():e}function bl(e){return"function"==typeof e&&e.hasOwnProperty(Db)&&e.__forward_ref__===he}class S extends Error{constructor(t,n){super(function ns(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 rs(e,t){throw new S(-201,!1)}function mt(e,t){null==e&&function oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function os(e){return Dh(e,is)||Dh(e,bh)}function Dh(e,t){return e.hasOwnProperty(t)?e[t]:null}function wh(e){return e&&(e.hasOwnProperty(El)||e.hasOwnProperty(xb))?e[El]:null}const is=ae({\u0275prov:ae}),El=ae({\u0275inj:ae}),bh=ae({ngInjectableDef:ae}),xb=ae({ngInjectorDef:ae});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let Ml;function St(e){const t=Ml;return Ml=e,t}function Eh(e,t,n){const r=os(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void rs(le(e))}function On(e){return{toString:e}.toString()}var Vt=(()=>((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 ue=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Tr={},re=[],ss=ae({\u0275cmp:ae}),Il=ae({\u0275dir:ae}),Sl=ae({\u0275pipe:ae}),Mh=ae({\u0275mod:ae}),vn=ae({\u0275fac:ae}),Ro=ae({__NG_ELEMENT_ID__:ae});let Nb=0;function jt(e){return On(()=>{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||re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,id:"c"+Nb++,styles:e.styles||re,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=Ah(e.inputs,r),o.outputs=Ah(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Ih).filter(Sh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(rt).filter(Sh):null,o})}function Ih(e){return ie(e)||nt(e)}function Sh(e){return null!==e}function At(e){return On(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ah(e,t){if(null==e)return Tr;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 ie(e){return e[ss]||null}function nt(e){return e[Il]||null}function rt(e){return e[Sl]||null}function vt(e,t){const n=e[Mh]||null;if(!n&&!0===t)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}const Z=11;function ft(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bt(e){return Array.isArray(e)&&!0===e[1]}function xl(e){return 0!=(8&e.flags)}function cs(e){return 2==(2&e.flags)}function ds(e){return 1==(1&e.flags)}function Ht(e){return null!==e.template}function Vb(e){return 0!=(256&e[2])}function dr(e,t){return e.hasOwnProperty(vn)?e[vn]:null}class Bb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xt(){return Rh}function Rh(e){return e.type.prototype.ngOnChanges&&(e.setInput=$b),Hb}function Hb(){const e=Fh(this),t=e?.current;if(t){const n=e.previous;if(n===Tr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $b(e,t,n,r){const o=Fh(e)||function Gb(e,t){return e[Nh]=t}(e,{previous:Tr,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new Bb(l&&l.currentValue,t,s===Tr),e[r]=t}xt.ngInherit=!0;const Nh="__ngSimpleChanges__";function Fh(e){return e[Nh]||null}function xe(e){for(;Array.isArray(e);)e=e[0];return e}function fs(e,t){return xe(t[e])}function Nt(e,t){return xe(t[e.index])}function kl(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return ft(n)?n:n[0]}function Ph(e){return 4==(4&e[2])}function hs(e){return 64==(64&e[2])}function Ln(e,t){return null==t?null:e[t]}function kh(e){e[18]=0}function Ol(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:Gh(null),bindingsEnabled:!0};function Lh(){return $.bindingsEnabled}function E(){return $.lFrame.lView}function te(){return $.lFrame.tView}function ce(e){return $.lFrame.contextLView=e,e[8]}function de(e){return $.lFrame.contextLView=null,e}function Oe(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return $.lFrame.currentTNode}function rn(e,t){const n=$.lFrame;n.currentTNode=e,n.isParent=t}function Ll(){return $.lFrame.isParent}function Vl(){$.lFrame.isParent=!1}function ot(){const e=$.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Or(){return $.lFrame.bindingIndex++}function oE(e,t){const n=$.lFrame;n.bindingIndex=n.bindingRootIndex=e,jl(t)}function jl(e){$.lFrame.currentDirectiveIndex=e}function Bh(){return $.lFrame.currentQueryIndex}function Bl(e){$.lFrame.currentQueryIndex=e}function sE(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Hh(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=sE(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=$.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function Hl(e){const t=$h(),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 $h(){const e=$.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(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 zh(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qh=zh;function $l(){const e=zh();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 it(){return $.lFrame.selectedIndex}function Vn(e){$.lFrame.selectedIndex=e}function De(){const e=$.lFrame;return kl(e.tView,e.selectedIndex)}function gs(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 Oo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function vs(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 ql=!0;function Cs(e){const t=ql;return ql=e,t}let DE=0;const on={};function Vo(e,t){const n=Ql(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wl(r.data,e),Wl(t,null),Wl(r.blueprint,null));const o=Ds(e,t),i=e.injectorIndex;if(Jh(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 Wl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ql(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ds(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=sp(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ws(e,t,n){!function wE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ro)&&(r=n[Ro]),null==r&&(r=n[Ro]=DE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:IE:t}(n);if("function"==typeof i){if(!Hh(t,e,r))return r&V.Host?ep(o,0,r):tp(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;rs()}finally{qh()}}else if("number"==typeof i){let s=null,a=Ql(e,t),l=-1,u=r&V.Host?t[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?Ds(e,t):t[a+8],-1!==l&&ip(r,!1)?(s=t[1],a=Lr(l),t=Vr(l,t)):a=-1);-1!==a;){const c=t[1];if(op(i,a,c.data)){const d=EE(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],-1!==l&&ip(r,t[1].data[a+8]===u)&&op(i,a,t)?(s=c,a=Lr(l),t=Vr(l,t)):a=-1}}return o}function EE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=bs(a,s,n,null==r?cs(a)&&ql:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?jo(t,s,c,a):on}function bs(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&&Ht(m)&&m.type===n)return l}return null}function jo(e,t,n,r){let o=e[n];const i=t.data;if(function mE(e){return e instanceof Oo}(o)){const s=o;s.resolving&&function wb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ne(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=Cs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?St(s.injectImpl):null;Hh(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function pE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Rh(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&&St(l),Cs(a),s.resolving=!1,qh()}}return o}function op(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[vn]||Kl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[vn]||Kl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Kl(e){return bl(e)?()=>{const t=Kl(U(e));return t&&t()}:dr(e)}function sp(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Uo(e){return function bE(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{const r=function Zl(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 P{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=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Dt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Dn(n,t):t(n))}function lp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Es(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=Gr(e,t);return r>=0?e[1|r]=n:(r=~r,function RE(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 Yl(e,t){const n=Gr(e,t);if(n>=0)return e[1|n]}function Gr(e,t){return function dp(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<((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 Xo(e){const t=function ei(){const e=E();return e&&e[12]}();return t?t.sanitize(Re.URL,e)||"":function Jo(e,t){const n=function u0(e){return e instanceof Mp&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Un(e):function Rs(e){return(e=String(e)).match(h0)?e:"unsafe:"+e}(G(e))}const cu=new P("ENVIRONMENT_INITIALIZER"),Pp=new P("INJECTOR",-1),kp=new P("INJECTOR_DEF_TYPES");class Op{get(t,n=Go){if(n===Go){const r=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw r.name="NullInjectorError",r}return n}}function S0(...e){return{\u0275providers:Lp(0,e)}}function Lp(e,...t){const n=[],r=new Set;let o;return Dn(t,i=>{const s=i;du(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Vp(o,n),n}function Vp(e,t){for(let n=0;n{t.push(i)})}}function du(e,t,n,r){if(!(e=U(e)))return!1;let o=null,i=wh(e);const s=!i&&ie(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=wh(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)du(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{Dn(i.imports,c=>{du(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Vp(u,t)}if(!a){const u=dr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:re},{provide:kp,useValue:o,multi:!0},{provide:cu,useValue:()=>R(o),multi:!0})}const l=i.providers;null==l||a||Dn(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}const A0=ae({provide:String,useValue:ae});function fu(e){return null!==e&&"object"==typeof e&&A0 in e}function fr(e){return"function"==typeof e}const hu=new P("Set Injector scope."),Fs={},x0={};let pu;function Ps(){return void 0===pu&&(pu=new Op),pu}class Bn{}class Bp 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,mu(t,s=>this.processProvider(s)),this.records.set(Pp,Qr(void 0,this)),o.has("environment")&&this.records.set(Bn,Qr(void 0,this));const i=this.records.get(hu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(kp.multi,re,V.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=zr(this),r=St(void 0);try{return t()}finally{zr(n),St(r)}}get(t,n=Go,r=V.Default){this.assertNotDestroyed();const o=zr(this),i=St(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function k0(e){return"function"==typeof e||"object"==typeof e&&e instanceof P}(t)&&os(t);a=l&&this.injectableDefInScope(l)?Qr(gu(t),Fs):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?Ps():this.parent).get(t,n=r&V.Optional&&n===Go?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Is]=s[Is]||[]).unshift(le(t)),o)throw s;return function $E(e,t,n,r){const o=e[Is];throw t[fp]&&o.unshift(t[fp]),e.message=function GE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=le(t);if(Array.isArray(t))o=t.map(le).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):le(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(jE,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Is]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{St(i),zr(o)}}resolveInjectorInitializers(){const t=zr(this),n=St(void 0);try{const r=this.get(cu.multi,re,V.Self);for(const o of r)o()}finally{zr(t),St(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=fr(t=U(t))?t:U(t&&t.provide);const r=function N0(e){return fu(e)?Qr(void 0,e.useValue):Qr(Hp(e),Fs)}(t);if(fr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Qr(void 0,Fs,!0),o.factory=()=>tu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Fs&&(n.value=x0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function P0(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=U(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function gu(e){const t=os(e),n=null!==t?t.factory:dr(e);if(null!==n)return n;if(e instanceof P)throw new S(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw function $o(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function Hp(e,t,n){let r;if(fr(e)){const o=U(e);return dr(o)||gu(o)}if(fu(e))r=()=>U(e.useValue);else if(function Up(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...tu(e.deps||[]));else if(function jp(e){return!(!e||!e.useExisting)}(e))r=()=>R(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function F0(e){return!!e.deps}(e))return dr(o)||gu(o);r=()=>new o(...tu(e.deps))}return r}function Qr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function O0(e){return!!e.\u0275providers}function mu(e,t){for(const n of e)Array.isArray(n)?mu(n,t):O0(n)?mu(n.\u0275providers,t):t(n)}class $p{}class j0{resolveComponentFactory(t){throw function V0(e){const t=Error(`No component factory found for ${le(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ti=(()=>{class e{}return e.NULL=new j0,e})();function U0(){return Kr(Oe(),E())}function Kr(e,t){return new bt(Nt(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=U0,e})();function B0(e){return e instanceof bt?e.nativeElement:e}class zp{}let wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function H0(){const e=E(),n=Ct(Oe().index,e);return(ft(n)?n:e)[Z]}(),e})(),$0=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>null}),e})();class ni{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const G0=new ni("14.2.0"),yu={};function wu(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&&wu(t);for(;n&&wu(n);)n=wu(n);return n||null}}const bu=new Map;let nM=0;const Mu="__ngContext__";function Je(e,t){ft(t)?(e[Mu]=t[20],function oM(e){bu.set(e[20],e)}(t)):e[Mu]=t}function ri(e){const t=e[Mu];return"number"==typeof t?function Jp(e){return bu.get(e)||null}(t):t||null}function Iu(e){const t=ri(e);return t?ft(t)?t:t.lView:null}function bn(e){return e instanceof Function?e():e}var ht=(()=>((ht=ht||{})[ht.Important=1]="Important",ht[ht.DashCase=2]="DashCase",ht))();function Au(e,t){return undefined(e,t)}function oi(e){const t=e[3];return Bt(t)?t[3]:t}function Tu(e){return og(e[13])}function xu(e){return og(e[4])}function og(e){for(;null!==e&&!Bt(e);)e=e[4];return e}function Yr(e,t,n,r,o){if(null!=r){let i,s=!1;Bt(r)?i=r:ft(r)&&(s=!0,r=r[0]);const a=xe(r);0===e&&null!==n?null==o?cg(t,n,a):hr(t,n,a,o||null,!0):1===e&&null!==n?hr(t,n,a,o||null,!0):2===e?function yg(e,t,n){const r=ks(e,t);r&&function RM(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function PM(e,t,n,r,o){const i=n[7];i!==xe(n)&&Yr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Es(e,10+t);!function bM(e,t){ii(e,t,t[Z],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 ag(e,t){if(!(128&t[2])){const n=t[Z];n.destroyNode&&ii(e,t,n,3,null,null),function IM(e){let t=e[13];if(!t)return Pu(e[1],e);for(;t;){let n=null;if(ft(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ft(t)&&Pu(t[1],t),t=t[3];null===t&&(t=e),ft(t)&&Pu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Pu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function xM(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const m=8&r?f:null;if(m&&-1!==Cg(m,u,0)||2&r&&u!==f){if($t(r))return!1;s=!0}}}}else{if(!s&&!$t(r)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,r=l|1&r}}return $t(r)||s}function $t(e){return 0==(1&e)}function jM(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&&!$t(s)&&(t+=Eg(i,o),o=""),r=s,i=i||!$t(r);n++}return""!==o&&(t+=Eg(i,o)),t}const z={};function C(e){Mg(te(),E(),it()+e,!1)}function Mg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&ms(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ys(t,i,0,n)}Vn(n)}function Tg(e,t=null,n=null,r){const o=xg(e,t,n,r);return o.resolveInjectorInitializers(),o}function xg(e,t=null,n=null,r,o=new Set){const i=[n||re,S0(e)];return r=r||("object"==typeof e?void 0:le(e)),new Bp(i,t||Ps(),r||null,o)}let Et=(()=>{class e{static create(n,r){if(Array.isArray(n))return Tg({name:""},r,n,"");{const o=n.name??"";return Tg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Go,e.NULL=new Op,e.\u0275prov=L({token:e,providedIn:"any",factory:()=>R(Pp)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,t=V.Default){const n=E();return null===n?R(e,t):np(Oe(),n,U(e),t)}function $u(){throw new Error("invalid")}function js(e,t){return e<<17|t<<2}function Gt(e){return e>>17&32767}function Gu(e){return 2|e}function En(e){return(131068&e)>>2}function zu(e,t){return-131069&e|t<<2}function qu(e){return 1|e}function Wg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Mg(e,t,22,!1),n(r,o)}finally{Vn(i)}}function Kg(e,t,n){if(xl(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})(a)!=l&&a.push(l),a.push(r,o,s)}}function nm(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function rm(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function OI(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&sc(n)}}function sc(e){for(let r=Tu(e);null!==r;r=xu(r))for(let o=10;o0&&sc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&sc(o)}}function $I(e,t){const n=Ct(t,e),r=n[1];(function GI(e,t){for(let n=t.length;n-1&&(Fu(t,r),Es(n,r))}this._attachedToViewContainer=!1}ag(this._lView[1],this._lView)}onDestroy(t){Jg(this._lView[1],this._lView,null,t)}markForCheck(){ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function lc(e,t,n){const r=t[10];r.begin&&r.begin();try{si(e,t,e.template,n)}catch(o){throw dm(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MM(e,t){ii(e,t,t[Z],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class qI extends ai{constructor(t){super(t),this._view=t}detectChanges(){!function am(e){!function zI(e){for(let t=0;t0&&Vu(u,d,N.join(" "))}if(b=kl(y,22),void 0!==n){const _=b.projection=[];for(let N=0;N=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_s(o.hostAttrs,n=_s(n,o.hostAttrs))}}(r)}function fc(e){return e===Tr?{}:e===re?[]:e}function nS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function rS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function oS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ws=null;function pr(){if(!Ws){const e=ue.Symbol;if(e&&e.iterator)Ws=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(xe(Y[r.index])):r.index;let N=null;if(!a&&l&&(N=function mS(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!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,m=!1;else{i=Tm(r,t,d,i,!1);const Y=n.listen(b,o,i);f.push(i,Y),c&&c.push(o,_,A,A+1)}}else i=Tm(r,t,d,i,!1);const y=r.outputs;let v;if(m&&null!==y&&(v=y[o])){const w=v.length;if(w)for(let b=0;b0;)t=t[15],e--;return t}(e,$.lFrame.contextLView))[8]}(e)}function In(e,t,n,r,o){const i=E(),s=ro(i,t,n,r);return s!==z&&Mt(te(),De(),i,e,s,i[Z],o,!1),In}function jm(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Gt(i):En(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];wS(e[a],t)&&(l=!0,e[a+1]=r?qu(c):Gu(c)),a=r?Gt(c):En(c)}l&&(e[n+1]=r?Gu(i):qu(i))}function wS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gr(e,t)>=0}function Ks(e,t){return function qt(e,t,n,r){const o=E(),i=te(),s=function Cn(e){const t=$.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Qm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[it()],s=function Wm(e,t){return t>=e.expandoStartIndex}(e,n);(function Ym(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function RS(e,t,n,r){const o=function Ul(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=fi(n=mc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=mc(o,e,t,n,r),null===i){let l=function NS(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==En(r))return e[Gt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=mc(null,e,t,l[1],r),l=fi(l,t.attrs,r),function FS(e,t,n,r){e[Gt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function PS(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=Gt(e[a+1]);e[r+1]=js(f,a),0!==f&&(e[f+1]=zu(e[f+1],r)),e[a+1]=function dI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=js(a,0),0!==a&&(e[a+1]=zu(e[a+1],r)),a=r;else e[r+1]=js(l,0),0===a?a=r:e[l+1]=zu(e[l+1],r),l=r;u&&(e[r+1]=Gu(e[r+1])),jm(e,c,r,!0),jm(e,c,r,!1),function DS(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gr(i,t)>=0&&(n[r+1]=qu(n[r+1]))}(t,c,e,r,i),s=js(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==z&&Ye(o,s,t)&&function Zm(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Zs(function jg(e){return 1==(1&e)}(u)?Jm(l,t,n,o,En(u),s):void 0)||(Zs(i)||function Vg(e){return 2==(2&e)}(u)&&(i=Jm(l,null,n,o,a,s)),function kM(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ht.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ht.Important),e.setStyle(n,r,o,i))}}(r,s,fs(it(),n),o,i))}(i,i.data[it()],o,o[Z],e,o[s+1]=function LS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=le(Un(e)))),e}(t,n),r,s)}(e,t,null,!0),Ks}function mc(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?re:void 0);let m=d?Yl(f,r):c===r?f:void 0;if(u&&!Zs(m)&&(m=Yl(l,r)),Zs(m)&&(a=m,s))return a;const y=e[o+1];o=s?Gt(y):En(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Yl(l,r))}return a}function Zs(e){return void 0!==e}function g(e,t=""){const n=E(),r=te(),o=e+22,i=r.firstCreatePass?eo(r,o,1,t,null):r.data[o],s=n[o]=function Ru(e,t){return e.createText(t)}(n[Z],t);Os(r,n,s,i),rn(i,!1)}function ve(e){return mr("",e,""),ve}function mr(e,t,n){const r=E(),o=ro(r,e,t,n);return o!==z&&function Mn(e,t,n){const r=fs(t,e);!function ig(e,t,n){e.setValue(t,n)}(e[Z],r,n)}(r,it(),o),mr}const mo="en-US";let Cy=mo;function _c(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(fr(e)||!e.multi){const m=new Oo(l,o,M),y=Dc(a,t,o?c:c+f,d);-1===y?(ws(Vo(u,s),i,a),Cc(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=Dc(a,t,c+f,d),y=Dc(a,t,c,c+f),v=m>=0&&n[m],w=y>=0&&n[y];if(o&&!w||!o&&!v){ws(Vo(u,s),i,a);const b=function tA(e,t,n,r,o){const i=new Oo(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,zy(i,o,r&&!n),i}(o?eA:X1,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Cc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Cc(i,e,m>-1?m:y,zy(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Cc(e,t,n,r){const o=fr(t),i=function T0(e){return!!e.useClass}(t);if(o||i){const l=(i?U(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 zy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function Y1(e,t,n){const r=te();if(r.firstCreatePass){const o=Ht(e);_c(n,r.data,r.blueprint,o,!0),_c(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class vr{}class qy{}class Wy extends vr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dc(this);const r=vt(t);this._bootstrapComponents=bn(r.bootstrap),this._r3Injector=xg(t,n,[{provide:vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],le(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 bc extends qy{constructor(t){super(),this.moduleType=t}create(t){return new Wy(this.moduleType,t)}}class rA extends vr{constructor(t,n,r){super(),this.componentFactoryResolver=new dc(this),this.instance=null;const o=new Bp([...t,{provide:vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],n||Ps(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ta(e,t,n=null){return new rA(e,t,n).injector}let oA=(()=>{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=Lp(0,n.type),o=r.length>0?ta([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=L({token:e,providedIn:"environment",factory:()=>new e(R(Bn))}),e})();function Qy(e){e.getStandaloneInjector=t=>t.get(oA).getOrCreateStandaloneInjector(e)}function Ae(e,t,n){const r=ot()+e,o=E();return o[r]===z?ln(o,r,n?t.call(n):t()):function ci(e,t){return e[t]}(o,r)}function Mc(e,t,n,r){return function tv(e,t,n,r,o,i){const s=t+n;return Ye(e,s,o)?ln(e,s+1,i?r.call(i,o):r(o)):function yi(e,t){const n=e[t];return n===z?void 0:n}(e,s+1)}(E(),ot(),e,t,n,r)}function Ic(e){return t=>{setTimeout(e,void 0,t)}}const be=class AA extends en{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=Ic(i),o&&(o=Ic(o)),s&&(s=Ic(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function TA(){return this._results[pr()]()}class Sc{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=pr(),r=Sc.prototype;r[n]||(r[n]=TA)}get changes(){return this._changes||(this._changes=new be)}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=Dt(t);(this._changesDetected=!function TE(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=NA,e})();const xA=Sn,RA=class extends xA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Hs(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)),$s(r,o,t),new ai(o)}};function NA(){return na(Oe(),E())}function na(e,t){return 4&e.type?new RA(t,e,Kr(e,t)):null}let Qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=FA,e})();function FA(){return lv(Oe(),E())}const PA=Qt,sv=class extends PA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new jr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ds(this._hostTNode,this._hostLView);if(Jh(t)){const n=Vr(t,this._hostLView),r=Lr(t);return new jr(n[1].data[r+8],n)}return new jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=av(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 Ho(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 li(ie(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 Zb(e){return Bt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new sv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function SM(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=oa,this.reject=oa,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)(R(ia,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ci=new P("AppId",{providedIn:"root",factory:function Nv(){return`${Bc()}${Bc()}${Bc()}`}});function Bc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Fv=new P("Platform Initializer"),Hc=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Pv=new P("appBootstrapListener");let cT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const An=new P("LocaleId",{providedIn:"root",factory:()=>Se(An,V.Optional|V.SkipSelf)||function dT(){return typeof $localize<"u"&&$localize.locale||mo}()});class hT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let $c=(()=>{class e{compileModuleSync(n){return new bc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=bn(vt(n).declarations).reduce((s,a)=>{const l=ie(a);return l&&s.push(new li(l)),s},[]);return new hT(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=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mT=(()=>Promise.resolve(0))();function Gc(e){typeof Zone>"u"?mT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class je{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}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 yT(){let e=ue.requestAnimationFrame,t=ue.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 CT(e){const t=()=>{!function _T(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qc(e),e.isCheckStableRunning=!0,zc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Lv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Vv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Lv(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Vv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,qc(e),zc(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(!je.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(je.isInAngularZone())throw new S(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,vT,oa,oa);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 vT={};function zc(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 qc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Lv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vv(e){e._nesting--,zc(e)}class DT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}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 jv=new P(""),aa=new P("");let Kc,Wc=(()=>{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,Kc||(function wT(e){Kc=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:()=>{je.assertNotInAngularZone(),Gc(()=>{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())Gc(()=>{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)(R(je),R(Qc),R(aa))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Qc=(()=>{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 Kc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Gn=null;const Uv=new P("AllowMultipleToken"),Zc=new P("PlatformDestroyListeners");class Bv{constructor(t,n){this.name=t,this.token=n}}function $v(e,t,n=[]){const r=`Platform: ${t}`,o=new P(r);return(i=[])=>{let s=Jc();if(!s||s.injector.get(Uv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function MT(e){if(Gn&&!Gn.get(Uv,!1))throw new S(400,!1);Gn=e;const t=e.get(zv);(function Hv(e){const t=e.get(Fv,null);t&&t.forEach(n=>n())})(e)}(function Gv(e=[],t){return Et.create({name:t,providers:[{provide:hu,useValue:"platform"},{provide:Zc,useValue:new Set([()=>Gn=null])},...e]})}(a,r))}return function ST(e){const t=Jc();if(!t)throw new S(401,!1);return t}()}}function Jc(){return Gn?.get(zv)??null}let zv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Wv(e,t){let n;return n="noop"===e?new DT:("zone.js"===e?void 0:e)||new je(t),n}(r?.ngZone,function qv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:je,useValue:o}];return o.run(()=>{const s=Et.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Zr,null);if(!l)throw new S(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ua(this._modules,a),u.unsubscribe()})}),function Qv(e,t,n){try{const r=n();return di(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(sa);return u.runInitializers(),u.donePromise.then(()=>(function Dy(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(Cy=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(An,mo)||mo),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Kv({},r);return function bT(e,t,n){const r=new bc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(la);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new S(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 S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zc,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)(R(Et))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Kv(e,t){return Array.isArray(t)?t.reduce(Kv,e):{...e,...t}}let la=(()=>{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 Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),Gc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function _b(...e){const t=xo(e),n=function fb(e,t){return"number"==typeof _l(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?tn(r[0]):Sr(n)(Me(r,t)):mn}(i,s.pipe(function Cb(e={}){const{connector:t=(()=>new en),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 He((v,w)=>{u++,!d&&!c&&f();const b=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Cl(y,o))}),b.subscribe(w),s||(s=new es({next:A=>b.next(A),error:A=>{d=!0,f(),a=Cl(m,n,A),b.error(A)},complete:()=>{c=!0,f(),a=Cl(m,r),b.complete()}}),Me(v).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof $p;if(!this._injector.get(sa).done)throw!o&&function xr(e){const t=ie(e)||nt(e)||rt(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=o?n:this._injector.get(ti).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ET(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vr),u=s.create(Et.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(jv,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ua(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(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;ua(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Pv,[]).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),()=>ua(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(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)(R(je),R(Bn),R(Zr))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ua(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Jv=!0,ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=xT,e})();function xT(e){return function RT(e,t,n){if(cs(e)&&!n){const r=Ct(e.index,t);return new ai(r,r)}return 47&e.type?new ai(t[16],t):null}(Oe(),E(),16==(16&e))}class n_{constructor(){}supports(t){return ui(t)}create(t){return new LT(t)}}const OT=(e,t)=>t;class LT{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||OT}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 VT(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 r_),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 r_),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 VT{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 jT{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 r_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jT,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 o_(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 BT(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 BT{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 s_(){return new ha([new n_])}let ha=(()=>{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||s_()),deps:[[e,new Qo,new Wo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new S(901,!1)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:s_}),e})();function a_(){return new Di([new i_])}let Di=(()=>{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||a_()),deps:[[e,new Qo,new Wo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new S(901,!1)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:a_}),e})();const GT=$v(null,"core",[]);let zT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(R(la))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})();function xn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let pa=null;function dn(){return pa}const ut=new P("DocumentToken");let nd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return function KT(){return R(l_)}()},providedIn:"platform"}),e})();const ZT=new P("Location Initialized");let l_=(()=>{class e extends nd{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return dn().getBaseHref(this._doc)}onPopState(n){const r=dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=dn().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){u_()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){u_()?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)(R(ut))},e.\u0275prov=L({token:e,factory:function(){return function JT(){return new l_(R(ut))}()},providedIn:"platform"}),e})();function u_(){return!!window.history.pushState}function rd(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 c_(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 Rn(e){return e&&"?"!==e[0]?"?"+e:e}let Cr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return Se(f_)},providedIn:"root"}),e})();const d_=new P("appBaseHref");let f_=(()=>{class e extends Cr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Se(ut).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 rd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Rn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(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)(R(nd),R(d_,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YT=(()=>{class e extends Cr{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=rd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(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)(R(nd),R(d_,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=c_(h_(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+Rn(r))}normalize(n){return e.stripTrailingSlash(function ex(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,h_(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+Rn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rn(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=Rn,e.joinWithSlash=rd,e.stripTrailingSlash=c_,e.\u0275fac=function(n){return new(n||e)(R(Cr))},e.\u0275prov=L({token:e,factory:function(){return function XT(){return new od(R(Cr))}()},providedIn:"root"}),e})();function h_(e){return e.replace(/\/index.html$/,"")}function w_(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 pd=(()=>{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&&(ui(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 ${le(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(ha),M(Di),M(bt),M(wn))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class Vx{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 M_=(()=>{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 Vx(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),I_(a,o)}});for(let o=0,i=r.length;o{I_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(M(Qt),M(Sn),M(ha))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function I_(e,t){e.context.$implicit=t.item}let Ea=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Ux,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){S_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){S_("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(Sn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Ux{constructor(){this.$implicit=null,this.ngIf=null}}function S_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${le(t)}'.`)}let hR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})();let yR=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>new vR(R(ut),window)}),e})();class vR{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 _R(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=R_(this.window.history)||R_(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 R_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class N_{}class Dd extends class LR extends class QT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function WT(e){pa||(pa=e)}(new Dd)}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 VR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==n?null:function jR(e){Ia=Ia||document.createElement("a"),Ia.setAttribute("href",e);const t=Ia.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return w_(document.cookie,t)}}let Ia,Mi=null;const O_=new P("TRANSITION_ID"),BR=[{provide:ia,useFactory:function UR(e,t,n){return()=>{n.get(sa).donePromise.then(()=>{const r=dn(),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=L({token:e,factory:e.\u0275fac}),e})();const Sa=new P("EventManagerPlugins");let Aa=(()=>{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=L({token:e,factory:e.\u0275fac}),e})(),Ii=(()=>{class e extends V_{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(j_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(j_))}}return e.\u0275fac=function(n){return new(n||e)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function j_(e){dn().remove(e)}const wd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},bd=/%COMP%/g;function Ta(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ed=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Md(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 KR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case nn.ShadowDom:return new ZR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ta(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)(R(Aa),R(Ii),R(Ci))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class Md{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(wd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(G_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(G_(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=wd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wd[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&(ht.DashCase|ht.Important)?t.style.setProperty(n,r,o&ht.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ht.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,H_(r)):this.eventManager.addEventListener(t,n,H_(r))}}function G_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class KR extends Md{constructor(t,n,r,o){super(t),this.component=r;const i=Ta(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function qR(e){return"_ngcontent-%COMP%".replace(bd,e)}(o+"-"+r.id),this.hostAttr=function WR(e){return"_nghost-%COMP%".replace(bd,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 ZR extends Md{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=Ta(o.id,o.styles,[]);for(let s=0;s{class e extends L_{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)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const z_=["alt","control","meta","shift"],YR={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},XR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eN=(()=>{class e extends L_{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(()=>dn().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."),z_.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=YR[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"),z_.forEach(s=>{s!==o&&(0,XR[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)(R(ut))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const oN=$v(GT,"browser",[{provide:Hc,useValue:"browser"},{provide:Fv,useValue:function tN(){Dd.makeCurrent()},multi:!0},{provide:ut,useFactory:function rN(){return function e0(e){ru=e}(document),document},deps:[]}]),Q_=new P(""),K_=[{provide:aa,useClass:class HR{addToWindow(t){ue.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ue.getAllAngularTestabilities=()=>t.getAllTestabilities(),ue.getAllAngularRootElements=()=>t.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r=>{const o=ue.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?dn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:jv,useClass:Wc,deps:[je,Qc,aa]},{provide:Wc,useClass:Wc,deps:[je,Qc,aa]}],Z_=[{provide:hu,useValue:"root"},{provide:Zr,useFactory:function nN(){return new Zr},deps:[]},{provide:Sa,useClass:JR,multi:!0,deps:[ut,je,Hc]},{provide:Sa,useClass:eN,multi:!0,deps:[ut]},{provide:Ed,useClass:Ed,deps:[Aa,Ii,Ci]},{provide:zp,useExisting:Ed},{provide:V_,useExisting:Ii},{provide:Ii,useClass:Ii,deps:[ut]},{provide:Aa,useClass:Aa,deps:[Sa,je]},{provide:N_,useClass:$R,deps:[]},[]];let iN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ci,useValue:n.appId},{provide:O_,useExisting:Ci},BR]}}}return e.\u0275fac=function(n){return new(n||e)(R(Q_,12))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[...Z_,...K_],imports:[hR,zT]}),e})(),Sd=(()=>{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)(R(ut))},e.\u0275prov=L({token:e,factory:function(n){let r=null;return r=n?new n:function aN(){return new Sd(R(ut))}(),r},providedIn:"root"}),e})();function k(...e){return Me(e,xo(e))}function qn(e,t){return fe(t)?$e(e,t,1):$e(e,1)}function Yt(e,t){return He((n,r)=>{let o=0;n.subscribe(ke(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class X_{}class eC{}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 gN{encodeKey(t){return tC(t)}encodeValue(t){return tC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const yN=/%(\d[a-f0-9])/gi,vN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tC(e){return encodeURIComponent(e).replace(yN,(t,n)=>vN[n]??t)}function xa(e){return`${e}`}class Wn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new gN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function mN(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(xa):[xa(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 Wn({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(xa(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(xa(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 _N{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 nC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function rC(e){return typeof Blob<"u"&&e instanceof Blob}function oC(e){return typeof FormData<"u"&&e instanceof FormData}class Si{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 CN(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 _N),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 Si(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Pe=(()=>((Pe=Pe||{})[Pe.Sent=0]="Sent",Pe[Pe.UploadProgress=1]="UploadProgress",Pe[Pe.ResponseHeader=2]="ResponseHeader",Pe[Pe.DownloadProgress=3]="DownloadProgress",Pe[Pe.Response=4]="Response",Pe[Pe.User=5]="User",Pe))();class Td{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 xd extends Td{constructor(t={}){super(t),this.type=Pe.ResponseHeader}clone(t={}){return new xd({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 Ra extends Td{constructor(t={}){super(t),this.type=Pe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ra({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 iC extends Td{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 Rd(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 Nd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Si)i=n;else{let l,u;l=o.headers instanceof Fn?o.headers:new Fn(o.headers),o.params&&(u=o.params instanceof Wn?o.params:new Wn({fromObject:o.params})),i=new Si(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(qn(l=>this.handler.handle(l)));if(n instanceof Si||"events"===o.observe)return s;const a=s.pipe(Yt(l=>l instanceof Ra));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(K(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(K(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(K(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(K(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 Wn).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,Rd(o,r))}post(n,r,o={}){return this.request("POST",n,Rd(o,r))}put(n,r,o={}){return this.request("PUT",n,Rd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(R(X_))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class sC{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const aC=new P("HTTP_INTERCEPTORS");let wN=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const bN=/^\)\]\}',?\n/;let lC=(()=>{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 Ee(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 EN(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 xd({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(bN,"");try{b=""!==b?JSON.parse(b):null}catch(N){b=_,A&&(A=!1,b={error:N,text:b})}}A?(r.next(new Ra({body:b,headers:m,status:y,statusText:v,url:w||void 0})),r.complete()):r.error(new iC({error:b,headers:m,status:y,statusText:v,url:w||void 0}))},u=m=>{const{url:y}=a(),v=new iC({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:Pe.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:Pe.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:Pe.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)(R(N_))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Fd=new P("XSRF_COOKIE_NAME"),Pd=new P("XSRF_HEADER_NAME");class uC{}let MN=(()=>{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=w_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(R(ut),R(Hc),R(Fd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(R(uC),R(Pd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),IN=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(aC,[]);this.chain=r.reduceRight((o,i)=>new sC(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(R(eC),R(Et))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),SN=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:kd,useClass:wN}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Fd,useValue:n.cookieName}:[],n.headerName?{provide:Pd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[kd,{provide:aC,useExisting:kd,multi:!0},{provide:uC,useClass:MN},{provide:Fd,useValue:"XSRF-TOKEN"},{provide:Pd,useValue:"X-XSRF-TOKEN"}]}),e})(),AN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({providers:[Nd,{provide:X_,useClass:IN},lC,{provide:eC,useExisting:lC}],imports:[SN.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();const{isArray:TN}=Array,{getPrototypeOf:xN,prototype:RN,keys:NN}=Object;function cC(e){if(1===e.length){const t=e[0];if(TN(t))return{args:t,keys:null};if(function FN(e){return e&&"object"==typeof e&&xN(e)===RN}(t)){const n=NN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:PN}=Array;function dC(e){return K(t=>function kN(e,t){return PN(t)?e(...t):e(t)}(e,t))}function fC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let hC=(()=>{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(wn),M(bt))},e.\u0275dir=B({type:e}),e})(),Dr=(()=>{class e extends hC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[se]}),e})();const fn=new P("NgValueAccessor"),LN={provide:fn,useExisting:he(()=>Od),multi:!0};let Od=(()=>{class e extends Dr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(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:[_e([LN]),se]}),e})();const VN={provide:fn,useExisting:he(()=>Ai),multi:!0},UN=new P("CompositionEventMode");let Ai=(()=>{class e extends hC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function jN(){const e=dn()?dn().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(wn),M(bt),M(UN,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:[_e([VN]),se]}),e})();function Qn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const et=new P("NgValidators"),Kn=new P("NgAsyncValidators");function yC(e){return Qn(e.value)?{required:!0}:null}function Na(e){return null}function bC(e){return null!=e}function EC(e){return di(e)?Me(e):e}function MC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function IC(e,t){return t.map(n=>n(e))}function SC(e){return e.map(t=>function $N(e){return!e.validate}(t)?t:n=>t.validate(n))}function Ld(e){return null!=e?function AC(e){if(!e)return null;const t=e.filter(bC);return 0==t.length?null:function(n){return MC(IC(n,t))}}(SC(e)):null}function Vd(e){return null!=e?function TC(e){if(!e)return null;const t=e.filter(bC);return 0==t.length?null:function(n){return function ON(...e){const t=yh(e),{args:n,keys:r}=cC(e),o=new Ee(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?fC(r,a):a),i.complete())}))}});return t?o.pipe(dC(t)):o}(IC(n,t).map(EC)).pipe(K(MC))}}(SC(e)):null}function xC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function jd(e){return e?Array.isArray(e)?e:[e]:[]}function Fa(e,t){return Array.isArray(e)?e.includes(t):e===t}function FC(e,t){const n=jd(t);return jd(e).forEach(o=>{Fa(n,o)||n.push(o)}),n}function PC(e,t){return jd(t).filter(n=>!Fa(e,n))}class kC{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=Ld(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Vd(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 ct extends kC{get formDirective(){return null}get path(){return null}}class Zn extends kC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class OC{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 Ud=(()=>{class e extends OC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Zn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ks("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:[se]}),e})(),Bd=(()=>{class e extends OC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(M(ct,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ks("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:[se]}),e})();const Ti="VALID",ka="INVALID",Co="PENDING",xi="DISABLED";function zd(e){return(Oa(e)?e.validators:e)||null}function VC(e){return Array.isArray(e)?Ld(e):e||null}function qd(e,t){return(Oa(t)?t.asyncValidators:e)||null}function jC(e){return Array.isArray(e)?Vd(e):e||null}function Oa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class HC{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._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=VC(this._rawValidators),this._composedAsyncValidatorFn=jC(this._rawAsyncValidators)}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===Ti}get invalid(){return this.status===ka}get pending(){return this.status==Co}get disabled(){return this.status===xi}get enabled(){return this.status!==xi}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._rawValidators=t,this._composedValidatorFn=VC(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=jC(t)}addValidators(t){this.setValidators(FC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(FC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(PC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(PC(t,this._rawAsyncValidators))}hasValidator(t){return Fa(this._rawValidators,t)}hasAsyncValidator(t){return Fa(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=Co,!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=xi,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=Ti,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===Ti||this.status===Co)&&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()?xi:Ti}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Co,this._hasOwnPendingAsyncValidator=!0;const n=EC(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 be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?xi:this.errors?ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Co)?Co:this._anyControlsHaveStatus(ka)?ka:Ti}_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){Oa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class Wd extends HC{constructor(t,n,r){super(zd(n),qd(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 BC(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new S(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function UC(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new S(1e3,"");if(!r[n])throw new S(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}}function Ri(e,t){Qd(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function YN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&$C(e,t)})}(e,t),function eF(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 XN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&$C(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function JN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ja(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Qd(e,t){const n=function RC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(xC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function NC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(xC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ja(t._rawValidators,o),ja(t._rawAsyncValidators,o)}function $C(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const iF={provide:ct,useExisting:he(()=>Fi)},Ni=(()=>Promise.resolve(null))();let Fi=(()=>{class e extends ct{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Wd({},Ld(n),Vd(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Ni.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Ri(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Ni.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Ni.then(()=>{const r=this._findContainer(n.path),o=new Wd({});(function GC(e,t){Qd(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Ni.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Ni.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function qC(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),!1}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(et,10),M(Kn,10))},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:[_e([iF]),se]}),e})();function WC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function QC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const KC=class extends HC{constructor(t=null,n,r){super(zd(n),qd(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}),Oa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=QC(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){WC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){WC(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){QC(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}},lF={provide:Zn,useExisting:he(()=>Ba)},YC=(()=>Promise.resolve(null))();let Ba=(()=>{class e extends Zn{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new KC,this._registered=!1,this.update=new be,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Zd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ai?n=i:function rF(e){return Object.getPrototypeOf(e.constructor)===Dr}(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 Kd(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(){Ri(this.control,this),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){YC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&xn(r);YC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function La(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(M(ct,9),M(et,10),M(Kn,10),M(fn,10),M(ca,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:[_e([lF]),se,xt]}),e})(),Jd=(()=>{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 cF={provide:fn,useExisting:he(()=>Yd),multi:!0};let eD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({}),e})(),dF=(()=>{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=L({token:e,factory:e.\u0275fac,providedIn:eD}),e})(),Yd=(()=>{class e extends Dr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Zn),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(wn),M(bt),M(dF),M(Et))},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:[_e([cF]),se]}),e})();const vF={provide:fn,useExisting:he(()=>Ha),multi:!0};function sD(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ha=(()=>{class e extends Dr{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=sD(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 _F(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=Ze(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:[_e([vF]),se]}),e})(),aD=(()=>{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(sD(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(bt),M(wn),M(Ha,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const CF={provide:fn,useExisting:he(()=>nf),multi:!0};function lD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let nf=(()=>{class e extends Dr{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(lD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(lD(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(bt),M(wn),M(nf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),wr=(()=>{class e{constructor(){this._validator=Na}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):Na,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 EF={provide:et,useExisting:he(()=>Pi),multi:!0};let Pi=(()=>{class e extends wr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=xn,this.createValidator=n=>yC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ze(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&&zt("required",r._enabled?"":null)},inputs:{required:"required"},features:[_e([EF]),se]}),e})();const TF={provide:et,useExisting:he(()=>rf),multi:!0};let rf=(()=>{class e extends wr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function wC(e){if(!e)return Na;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(Qn(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=Ze(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&zt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[_e([TF]),se]}),e})(),xF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[eD]}),e})(),RF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[xF]}),e})();class Xt extends en{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 $a=Ao(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function vD(...e){const t=xo(e),n=yh(e),{args:r,keys:o}=cC(e);if(0===r.length)return Me([],t);const i=new Ee(function FF(e,t,n=ir){return r=>{_D(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Me(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=>fC(o,s):ir));return n?i.pipe(dC(n)):i}function _D(e,t,n){e?gn(n,e,t):t()}function sf(...e){return function PF(){return Sr(1)}()(Me(e,xo(e)))}function CD(e){return new Ee(t=>{tn(e()).subscribe(t)})}function ki(e,t){const n=fe(e)?e:()=>e,r=o=>o.error(n());return new Ee(t?o=>t.schedule(r,0,o):r)}function af(){return He((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 DD extends Ee{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,rh(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 af()(this)}}function hn(e,t){return He((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 Ga(e){return He((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function wD(e=OF){return He((t,n)=>{let r=!1;t.subscribe(ke(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function OF(){return new $a}function Jn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Yt((o,i)=>e(o,i,r)):ir,Ar(1),n?Ga(t):wD(()=>new $a))}function tt(e,t,n){const r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?He((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)}))}):ir}function Yn(e){return He((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ke(n,void 0,void 0,s=>{i=tn(e(s,Yn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function LF(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 bD(e,t){return He(LF(e,t,arguments.length>=2,!0))}function lf(e){return e<=0?()=>mn:He((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 ED(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Yt((o,i)=>e(o,i,r)):ir,lf(1),n?Ga(t):wD(()=>new $a))}function uf(e){return He((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const J="primary",Oi=Symbol("RouteTitle");class UF{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 Do(e){return new UF(e)}function BF(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 ID(e){return Array.prototype.concat.apply([],e)}function SD(e){return e.length>0?e[e.length-1]:null}function We(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Xn(e){return gc(e)?e:di(e)?Me(Promise.resolve(e)):k(e)}const GF={exact:function xD(e,t,n){if(!Er(e.segments,t.segments)||!za(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!xD(e.children[r],t.children[r],n))return!1;return!0},subset:RD},AD={exact:function zF(e,t){return pn(e,t)},subset:function qF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>MD(e[n],t[n]))},ignored:()=>!0};function TD(e,t,n){return GF[n.paths](e.root,t.root,n.matrixParams)&&AD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function RD(e,t,n){return ND(e,t,t.segments,n)}function ND(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Er(o,n)||t.hasChildren()||!za(o,n,r))}if(e.segments.length===n.length){if(!Er(e.segments,n)||!za(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!RD(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!!(Er(e.segments,o)&&za(e.segments,o,r)&&e.children[J])&&ND(e.children[J],t,i,r)}}function za(e,t,n){return t.every((r,o)=>AD[n](e[o].parameters,r.parameters))}class br{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Do(this.queryParams)),this._queryParamMap}toString(){return KF.serialize(this)}}class X{constructor(t,n){this.segments=t,this.children=n,this.parent=null,We(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qa(this)}}class Li{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Do(this.parameters)),this._parameterMap}toString(){return OD(this)}}function Er(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let FD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new df},providedIn:"root"}),e})();class df{parse(t){const n=new oP(t);return new br(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Vi(t.root,!0)}`,r=function YF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Wa(n)}=${Wa(o)}`).join("&"):`${Wa(n)}=${Wa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function ZF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const KF=new df;function qa(e){return e.segments.map(t=>OD(t)).join("/")}function Vi(e,t){if(!e.hasChildren())return qa(e);if(t){const n=e.children[J]?Vi(e.children[J],!1):"",r=[];return We(e.children,(o,i)=>{i!==J&&r.push(`${i}:${Vi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function QF(e,t){let n=[];return We(e.children,(r,o)=>{o===J&&(n=n.concat(t(r,o)))}),We(e.children,(r,o)=>{o!==J&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===J?[Vi(e.children[J],!1)]:[`${o}:${Vi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[J]?`${qa(e)}/${n[0]}`:`${qa(e)}/(${n.join("//")})`}}function PD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wa(e){return PD(e).replace(/%3B/gi,";")}function ff(e){return PD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qa(e){return decodeURIComponent(e)}function kD(e){return Qa(e.replace(/\+/g,"%20"))}function OD(e){return`${ff(e.path)}${function JF(e){return Object.keys(e).map(t=>`;${ff(t)}=${ff(e[t])}`).join("")}(e.parameters)}`}const XF=/^[^\/()?;=#]+/;function Ka(e){const t=e.match(XF);return t?t[0]:""}const eP=/^[^=?&#]+/,nP=/^[^&#]+/;class oP{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],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[J]=new X(t,n)),r}parseSegment(){const t=Ka(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(t),new Li(Qa(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Ka(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Ka(this.remaining);o&&(r=o,this.capture(r))}t[Qa(n)]=Qa(r)}parseQueryParam(t){const n=function tP(e){const t=e.match(eP);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function rP(e){const t=e.match(nP);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=kD(n),i=kD(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=Ka(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new S(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=J);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[J]:new X([],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 S(4011,!1)}}function hf(e){return e.segments.length>0?new X([],{[J]:e}):e}function Za(e){const t={};for(const r of Object.keys(e.children)){const i=Za(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function iP(e){if(1===e.numberOfChildren&&e.children[J]){const t=e.children[J];return new X(e.segments.concat(t.segments),t.children)}return e}(new X(e.segments,t))}function Mr(e){return e instanceof br}function lP(e,t,n,r,o){if(0===n.length)return wo(t.root,t.root,t.root,r,o);const i=function jD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new VD(!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 We(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 VD(n,t,r)}(n);return i.toRoot()?wo(t.root,t.root,new X([],{}),r,o):function s(l){const u=function cP(e,t,n,r){if(e.isAbsolute)return new bo(t.root,!0,0);if(-1===r)return new bo(n,n===t.root,0);return function UD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new S(4005,!1);o=r.segments.length}return new bo(r,!1,o-i)}(n,r+(ji(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?Bi(u.segmentGroup,u.index,i.commands):gf(u.segmentGroup,u.index,i.commands);return wo(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function ji(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ui(e){return"object"==typeof e&&null!=e&&e.outlets}function wo(e,t,n,r,o){let s,i={};r&&We(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:LD(e,t,n);const a=hf(Za(s));return new br(a,i,o)}function LD(e,t,n){const r={};return We(e.children,(o,i)=>{r[i]=o===t?n:LD(o,t,n)}),new X(e.segments,r)}class VD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ji(r[0]))throw new S(4003,!1);const o=r.find(Ui);if(o&&o!==SD(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function gf(e,t,n){if(e||(e=new X([],{})),0===e.segments.length&&e.hasChildren())return Bi(e,t,n);const r=function fP(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(Ui(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!HD(l,u,s))return i;r+=2}else{if(!HD(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]=gf(e.children[s],t,i))}),We(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new X(e.segments,o)}}function mf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=mf(new X([],{}),0,n))}),t}function BD(e){const t={};return We(e,(n,r)=>t[r]=`${n}`),t}function HD(e,t,n){return e==n.path&&pn(t,n.parameters)}class Pn{constructor(t,n){this.id=t,this.url=n}}class yf extends Pn{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 er extends Pn{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 Ja extends Pn{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 $D extends Pn{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 pP extends Pn{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 gP extends Pn{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 mP extends Pn{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 yP extends Pn{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 vP extends Pn{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 _P{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class CP{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class DP{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wP{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bP{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class EP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GD{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 zD{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=vf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=vf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=_f(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return _f(t,this._root).map(n=>n.value)}}function vf(e,t){if(e===t.value)return t;for(const n of t.children){const r=vf(e,n);if(r)return r}return null}function _f(e,t){if(e===t.value)return[t];for(const n of t.children){const r=_f(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 Eo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class qD extends zD{constructor(t,n){super(t),this.snapshot=n,Cf(this,t)}toString(){return this.snapshot.toString()}}function WD(e,t){const n=function IP(e,t){const s=new Ya([],{},{},"",{},J,t,null,e.root,-1,{});return new KD("",new kn(s,[]))}(e,t),r=new Xt([new Li("",{})]),o=new Xt({}),i=new Xt({}),s=new Xt({}),a=new Xt(""),l=new tr(r,o,s,a,i,J,t,n.root);return l.snapshot=n.root,new qD(new kn(l,[]),n)}class tr{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(K(u=>u[Oi]))??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(K(t=>Do(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(t=>Do(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function QD(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 SP(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 Ya{constructor(t,n,r,o,i,s,a,l,u,c,d,f){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?.[Oi],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._correctedLastPathIndex=f??c,this._resolve=d}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=Do(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Do(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class KD extends zD{constructor(t,n){super(n),this.url=t,Cf(this,n)}toString(){return ZD(this._root)}}function Cf(e,t){t.value._routerState=e,t.children.forEach(n=>Cf(e,n))}function ZD(e){const t=e.children.length>0?` { ${e.children.map(ZD).join(", ")} } `:"";return`${e.value}${t}`}function Df(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,pn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),pn(t.params,n.params)||e.params.next(n.params),function HF(e,t){if(e.length!==t.length)return!1;for(let n=0;npn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||wf(e.parent,t.parent))}function Hi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function TP(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Hi(e,r,o);return Hi(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=>Hi(e,a)),s}}const r=function xP(e){return new tr(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Hi(e,i));return new kn(r,o)}}const bf="ngNavigationCancelingError";function JD(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Mr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=YD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function YD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[bf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function XD(e){return ew(e)&&Mr(e.url)}function ew(e){return e&&e[bf]}class RP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new $i,this.attachRef=null}}let $i=(()=>{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 RP,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=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xa=!1;let Ef=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.changeDetector=i,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.name=o||J,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&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 S(4012,Xa);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,Xa);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,Xa);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 S(4013,Xa);this._activatedRoute=n;const o=this.location,s=n._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new NP(n,a,o.injector);if(r&&function FP(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)(M($i),M(Qt),Uo("name"),M(ca),M(Bn))},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class NP{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===tr?this.route:t===$i?this.childContexts:this.parent.get(t,n)}}let Mf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qy],decls:1,vars:0,template:function(n,r){1&n&&D(0,"router-outlet")},dependencies:[Ef],encapsulation:2}),e})();function tw(e,t){return e.providers&&!e._injector&&(e._injector=ta(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Sf(e){const t=e.children&&e.children.map(Sf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==J&&(n.component=Mf),n}function Ot(e){return e.outlet||J}function nw(e,t){const n=e.filter(r=>Ot(r)===t);return n.push(...e.filter(r=>Ot(r)!==t)),n}function Gi(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 VP{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),Df(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Eo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),We(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=Eo(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=Eo(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=Eo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new EP(i.value.snapshot))}),t.children.length&&this.forwardEvent(new wP(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Df(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),Df(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Gi(o.snapshot),l=a?.get(ti)??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 rw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class el{constructor(t,n){this.component=t,this.route=n}}function jP(e,t,n){const r=e._root;return zi(r,t?t._root:null,n,[r.value])}function Mo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Sb(e){return null!==os(e)}(e)?t.get(e):e:r}function zi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Eo(t);return e.children.forEach(s=>{(function BP(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 HP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Er(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Er(e.url,t.url)||!pn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wf(e,t)||!pn(e.queryParams,t.queryParams);default:return!wf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new rw(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 el(a.outlet.component,s))}else s&&qi(t,a,o),o.canActivateChecks.push(new rw(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]}),We(i,(s,a)=>qi(s,n.getContext(a),o)),o}function qi(e,t,n){const r=Eo(e),o=e.value;We(r,(i,s)=>{qi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new el(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Wi(e){return"function"==typeof e}function Af(e){return e instanceof $a||"EmptyError"===e?.name}const tl=Symbol("INITIAL_VALUE");function Io(){return hn(e=>vD(e.map(t=>t.pipe(Ar(1),function kF(...e){const t=xo(e);return He((n,r)=>{(t?sf(e,n,t):sf(e,n)).subscribe(r)})}(tl)))).pipe(K(t=>{for(const n of t)if(!0!==n){if(n===tl)return tl;if(!1===n||n instanceof br)return n}return!0}),Yt(t=>t!==tl),Ar(1)))}function ow(e){return function qw(...e){return eh(e)}(tt(t=>{if(Mr(t))throw JD(0,t)}),K(t=>!0===t))}const Tf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iw(e,t,n,r,o){const i=xf(e,t,n);return i.matched?function ik(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Mo(s,e);return Xn(function QP(e){return e&&Wi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Io(),ow()):k(!0)}(r=tw(t,r),t,n).pipe(K(s=>!0===s?i:{...Tf})):k(i)}function xf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Tf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||BF)(n,e,t);if(!o)return{...Tf};const i={};We(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 nl(e,t,n,r,o="corrected"){if(n.length>0&&function lk(e,t,n){return n.some(r=>rl(e,t,r)&&Ot(r)!==J)}(e,n,r)){const s=new X(t,function ak(e,t,n,r){const o={};o[J]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Ot(i)!==J){const s=new X([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Ot(i)]=s}return o}(e,t,r,new X(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function uk(e,t,n){return n.some(r=>rl(e,t,r))}(e,n,r)){const s=new X(e.segments,function sk(e,t,n,r,o,i){const s={};for(const a of r)if(rl(e,n,a)&&!o[Ot(a)]){const l=new X([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[Ot(a)]=l}return{...o,...s}}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new X(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function rl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function sw(e,t,n,r){return!!(Ot(e)===r||r!==J&&rl(t,n,e))&&("**"===e.path||xf(t,e,n).matched)}function aw(e,t,n){return 0===t.length&&!e.children[n]}const ol=!1;class il{constructor(t){this.segmentGroup=t||null}}class lw{constructor(t){this.urlTree=t}}function Qi(e){return ki(new il(e))}function uw(e){return ki(new lw(e))}class hk{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=nl(this.urlTree.root,[],[],this.config).segmentGroup,n=new X(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,J).pipe(K(i=>this.createUrlTree(Za(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Yn(i=>{if(i instanceof lw)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof il?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,J).pipe(K(o=>this.createUrlTree(Za(o),t.queryParams,t.fragment))).pipe(Yn(o=>{throw o instanceof il?this.noMatchError(o):o}))}noMatchError(t){return new S(4002,ol)}createUrlTree(t,n,r){const o=hf(t);return new br(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(K(i=>new X([],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 Me(o).pipe(qn(i=>{const s=r.children[i],a=nw(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(K(l=>({segment:l,outlet:i})))}),bD((i,s)=>(i[s.outlet]=s.segment,i),{}),ED())}expandSegment(t,n,r,o,i,s){return Me(r).pipe(qn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Yn(u=>{if(u instanceof il)return k(null);throw u}))),Jn(a=>!!a),Yn((a,l)=>{if(Af(a))return aw(n,o,i)?k(new X([],{})):Qi(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return sw(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):Qi(n):Qi(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("/")?uw(i):this.lineralizeSegments(r,i).pipe($e(s=>{const a=new X(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}=xf(n,o,i);if(!a)return Qi(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?uw(d):this.lineralizeSegments(o,d).pipe($e(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=tw(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(K(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new X(o,{})))):k(new X(o,{}))):iw(n,r,o,t).pipe(hn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe($e(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:m,slicedSegments:y}=nl(n,a,l,f),v=new X(m.segments,m.children);if(0===y.length&&v.hasChildren())return this.expandChildren(d,f,v).pipe(K(_=>new X(a,_)));if(0===f.length&&0===y.length)return k(new X(a,{}));const w=Ot(r)===i;return this.expandSegment(d,v,f,y,w?J:i,!0).pipe(K(A=>new X(a.concat(A.segments),A.children)))})):Qi(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 ok(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Mo(s,e);return Xn(function GP(e){return e&&Wi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Io(),ow())}(t,n,r).pipe($e(o=>o?this.configLoader.loadChildren(t,n).pipe(tt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function dk(e){return ki(YD(ol,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[J])return ki(new S(4e3,ol));o=o.children[J]}}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 br(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return We(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 We(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new X(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 S(4001,ol);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 gk{}class vk{constructor(t,n,r,o,i,s,a,l){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=nl(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,J).pipe(K(n=>{if(null===n)return null;const r=new Ya([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new KD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=QD(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 Me(Object.keys(r.children)).pipe(qn(o=>{const i=r.children[o],s=nw(n,o);return this.processSegmentGroup(t,s,i,o)}),bD((o,i)=>o&&i?(o.push(...i),o):null),function VF(e,t=!1){return He((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),Ga(null),ED(),K(o=>{if(null===o)return null;const i=cw(o);return function _k(e){e.sort((t,n)=>t.value.outlet===J?-1:n.value.outlet===J?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Me(n).pipe(qn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Jn(s=>!!s),Yn(s=>{if(Af(s))return aw(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!sw(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?SD(o).parameters:{},l=fw(r)+o.length;s=k({snapshot:new Ya(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pw(n),Ot(n),n.component??n._loadedComponent??null,n,dw(r),l,gw(n),l),consumedSegments:[],remainingSegments:[]})}else s=iw(r,n,o,t).pipe(K(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=fw(r)+l.length;return{snapshot:new Ya(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pw(n),Ot(n),n.component??n._loadedComponent??null,n,dw(r),d,gw(n),d),consumedSegments:l,remainingSegments:u}}));return s.pipe(hn(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}=nl(r,u,c,f.filter(w=>void 0===w.redirectTo),this.relativeLinkResolution);if(0===y.length&&m.hasChildren())return this.processChildren(d,f,m).pipe(K(w=>null===w?null:[new kn(l,w)]));if(0===f.length&&0===y.length)return k([new kn(l,[])]);const v=Ot(n)===i;return this.processSegment(d,f,m,y,v?J:i).pipe(K(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 cw(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=cw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function dw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function fw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function pw(e){return e.data||{}}function gw(e){return e.resolve||{}}function mw(e){return"string"==typeof e.title||null===e.title}function Rf(e){return hn(t=>{const n=e(t);return n?Me(n).pipe(K(()=>t)):k(t)})}let yw=(()=>{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===J);return r}getResolvedTitleForRoute(n){return n.data[Oi]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return Se(vw)},providedIn:"root"}),e})(),vw=(()=>{class e extends yw{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)(R(Sd))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Tk{}class Rk extends class xk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const al=new P("",{providedIn:"root",factory:()=>({})}),Nf=new P("ROUTES");let Ff=(()=>{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=Xn(n.loadComponent()).pipe(tt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),uf(()=>{this.componentLoaders.delete(n)})),o=new DD(r,()=>new en).pipe(af());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(K(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=ID(l.get(Nf,[],V.Self|V.Optional)));return{routes:u.map(Sf),injector:l}}),uf(()=>{this.childrenLoaders.delete(r)})),s=new DD(i,()=>new en).pipe(af());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Xn(n()).pipe($e(r=>r instanceof qy||Array.isArray(r)?k(r):Me(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)(R(Et),R($c))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Fk{}class Pk{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function kk(e){throw e}function Ok(e,t,n){return t.parse("/")}const Lk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Cw(){const e=Se(FD),t=Se($i),n=Se(od),r=Se(Et),o=Se($c),i=Se(Nf,{optional:!0})??[],s=Se(al,{optional:!0})??{},a=Se(vw),l=Se(yw,{optional:!0}),u=Se(Fk,{optional:!0}),c=Se(Tk,{optional:!0}),d=new qe(null,e,t,n,r,o,ID(i));return u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),d.titleStrategy=l??a,function jk(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.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,d),d}let qe=(()=>{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.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new en,this.errorHandler=kk,this.malformedUriErrorHandler=Ok,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=new Pk,this.routeReuseStrategy=new Rk,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Ff),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new CP(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new _P(f)),this.ngModule=s.get(vr),this.console=s.get(cT);const d=s.get(je);this.isNgZoneEnabled=d instanceof je&&je.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function $F(){return new br(new X([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=WD(this.currentUrlTree,this.rootComponentType),this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl: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.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(Yt(o=>0!==o.id),K(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),hn(o=>{let i=!1,s=!1;return k(o).pipe(tt(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),hn(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Dw(a.source)&&(this.browserUrlTree=a.extractedUrl),k(a).pipe(hn(d=>{const f=this.transitions.getValue();return r.next(new yf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?mn:Promise.resolve(d)}),function pk(e,t,n,r){return hn(o=>function fk(e,t,n,r,o){return new hk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(K(i=>({...o,urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),tt(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},o.urlAfterRedirects=d.urlAfterRedirects}),function bk(e,t,n,r,o,i){return $e(s=>function yk(e,t,n,r,o,i,s="emptyOnly",a="legacy"){return new vk(e,t,n,r,o,s,a,i).recognize().pipe(hn(l=>null===l?function mk(e){return new Ee(t=>t.error(e))}(new gk):k(l)))}(e,t,n,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,o,i).pipe(K(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),tt(d=>{if(o.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const m=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(m,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new pP(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:m,source:y,restoredState:v,extras:w}=a,b=new yf(f,this.serializeUrl(m),y,v);r.next(b);const A=WD(m,this.rootComponentType).snapshot;return k(o={...a,targetSnapshot:A,urlAfterRedirects:m,extras:{...w,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),mn}),tt(a=>{const l=new gP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),K(a=>o={...a,guards:jP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function ZP(e,t){return $e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function JP(e,t,n,r){return Me(e).pipe($e(o=>function rk(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=Gi(t)??o,u=Mo(a,l);return Xn(function WP(e){return e&&Wi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Jn())})).pipe(Io()):k(!0)}(o.component,o.route,n,t,r)),Jn(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function $P(e){return"boolean"==typeof e}(a)?function YP(e,t,n,r){return Me(t).pipe(qn(o=>sf(function ek(e,t){return null!==e&&t&&t(new DP(e)),k(!0)}(o.route.parent,r),function XP(e,t){return null!==e&&t&&t(new bP(e)),k(!0)}(o.route,r),function nk(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function UP(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=>CD(()=>k(s.guards.map(l=>{const u=Gi(s.node)??n,c=Mo(l,u);return Xn(function qP(e){return e&&Wi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Jn())})).pipe(Io())));return k(i).pipe(Io())}(e,o.path,n),function tk(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>CD(()=>{const s=Gi(t)??n,a=Mo(i,s);return Xn(function zP(e){return e&&Wi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Jn())}));return k(o).pipe(Io())}(e,o.route,n))),Jn(o=>!0!==o,!0))}(r,i,e,t):k(a)),K(a=>({...n,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),tt(a=>{if(o.guardsResult=a.guardsResult,Mr(a.guardsResult))throw JD(0,a.guardsResult);const l=new mP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Yt(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Rf(a=>{if(a.guards.canActivateChecks.length)return k(a).pipe(tt(l=>{const u=new yP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),hn(l=>{let u=!1;return k(l).pipe(function Ek(e,t){return $e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Me(o).pipe(qn(s=>function Mk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!mw(o)&&(i[Oi]=o.title),function Ik(e,t,n,r){const o=function Sk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Me(o).pipe($e(s=>function Ak(e,t,n,r){const o=Gi(t)??r,i=Mo(e,o);return Xn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Jn(),tt(a=>{i[s]=a}))),lf(1),function jF(e){return K(()=>e)}(i),Yn(s=>Af(s)?mn:ki(s)))}(i,e,t,r).pipe(K(s=>(e._resolvedData=s,e.data=QD(e,n).resolve,o&&mw(o)&&(e.data[Oi]=o.title),null)))}(s.route,r,e,t)),tt(()=>i++),lf(1),$e(s=>i===o.length?k(n):mn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),tt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),tt(l=>{const u=new vP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Rf(a=>{const l=u=>{const c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(tt(d=>{u.component=d}),K(()=>{})));for(const d of u.children)c.push(...l(d));return c};return vD(l(a.targetSnapshot.root)).pipe(Ga(),Ar(1))}),Rf(()=>this.afterPreactivation()),K(a=>{const l=function AP(e,t,n){const r=Hi(e,t._root,n?n._root:void 0);return new qD(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return o={...a,targetRouterState:l}}),tt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>K(r=>(new VP(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),tt({next(){i=!0},complete(){i=!0}}),uf(()=>{i||s||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Yn(a=>{if(s=!0,ew(a)){XD(a)||(this.navigated=!0,this.restoreHistory(o,!0));const l=new Ja(o.id,this.serializeUrl(o.extractedUrl),a.message,a.cancellationCode);if(r.next(l),XD(a)){const u=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),c={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Dw(o.source)};this.scheduleNavigation(u,"imperative",null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}else o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new $D(o.id,this.serializeUrl(o.extractedUrl),a,o.targetSnapshot??void 0);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return mn}))}))}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(i){const a={...i};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.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(Sf),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)),lP(u,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Mr(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 Uk(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 er(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,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,currentRawUrl:this.rawUrlTree,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.currentNavigation?.finalUrl||0===o?this.currentUrlTree===this.currentNavigation?.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 Ja(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){$u()},e.\u0275prov=L({token:e,factory:function(){return Cw()},providedIn:"root"}),e})();function Dw(e){return"imperative"!==e}let Pf=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new en,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=xn(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=xn(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=xn(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){if(null!=this.tabIndexAttribute)return;const r=this.renderer,o=this.el.nativeElement;null!==n?r.setAttribute(o,"tabindex",n):r.removeAttribute(o,"tabindex")}ngOnChanges(n){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(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}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(qe),M(tr),Uo("tabindex"),M(wn),M(bt))},e.\u0275dir=B({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&F("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[xt]}),e})(),nr=(()=>{class e{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new en,this.subscription=n.events.subscribe(i=>{i instanceof er&&this.updateTargetUrlAndHref()})}set preserveFragment(n){this._preserveFragment=xn(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=xn(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=xn(n)}get replaceUrl(){return this._replaceUrl}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){return!!(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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(qe),M(tr),M(Cr))},e.\u0275dir=B({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&F("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&zt("target",r.target)("href",r.href,Xo)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[xt]}),e})(),ww=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new be,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof er&&this.update()})}ngAfterContentInit(){k(this.links.changes,this.linksWithHrefs.changes,k(null)).pipe(Sr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(n).pipe(Sr()).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.linksWithHrefs||!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 Bk(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.linkWithHref&&n(this.linkWithHref)||this.links.some(n)||this.linksWithHrefs.some(n)}}return e.\u0275fac=function(n){return new(n||e)(M(qe),M(bt),M(wn),M(ca),M(Pf,8),M(nr,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&(kc(o,Pf,5),kc(o,nr,5)),2&n){let i;Pc(i=Oc())&&(r.links=i),Pc(i=Oc())&&(r.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[xt]}),e})();class bw{}let Hk=(()=>{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(Yt(n=>n instanceof er),qn(()=>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=ta(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 Me(o).pipe(Sr())}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($e(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?Me([i,this.loader.loadComponent(r)]).pipe(Sr()):i})}}return e.\u0275fac=function(n){return new(n||e)(R(qe),R($c),R(Bn),R(bw),R(Ff))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kf=new P("");let Ew=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.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 yf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof er&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof GD&&(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.router.triggerEvent(new GD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){$u()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function So(e,t){return{\u0275kind:e,\u0275providers:t}}function Of(e){return[{provide:Nf,multi:!0,useValue:e}]}function Iw(){const e=Se(Et);return t=>{const n=e.get(la);if(t!==n.components[0])return;const r=e.get(qe),o=e.get(Sw);1===e.get(Lf)&&r.initialNavigation(),e.get(Aw,null,V.Optional)?.setUpPreloading(),e.get(kf,null,V.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.next(),o.complete()}}const Sw=new P("",{factory:()=>new en}),Lf=new P("",{providedIn:"root",factory:()=>1});const Aw=new P("");function qk(e){return So(0,[{provide:Aw,useExisting:Hk},{provide:bw,useExisting:e}])}const Tw=new P("ROUTER_FORROOT_GUARD"),Wk=[od,{provide:FD,useClass:df},{provide:qe,useFactory:Cw},$i,{provide:tr,useFactory:function Mw(e){return e.routerState.root},deps:[qe]},Ff];function Qk(){return new Bv("Router",qe)}let xw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Wk,[],Of(n),{provide:Tw,useFactory:Yk,deps:[[qe,new Wo,new Qo]]},{provide:al,useValue:r||{}},r?.useHash?{provide:Cr,useClass:YT}:{provide:Cr,useClass:f_},{provide:kf,useFactory:()=>{const e=Se(qe),t=Se(yR),n=Se(al);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Ew(e,t,n)}},r?.preloadingStrategy?qk(r.preloadingStrategy).\u0275providers:[],{provide:Bv,multi:!0,useFactory:Qk},r?.initialNavigation?Xk(r):[],[{provide:Rw,useFactory:Iw},{provide:Pv,multi:!0,useExisting:Rw}]]}}static forChild(n){return{ngModule:e,providers:[Of(n)]}}}return e.\u0275fac=function(n){return new(n||e)(R(Tw,8))},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[Mf]}),e})();function Yk(e){return"guarded"}function Xk(e){return["disabled"===e.initialNavigation?So(3,[{provide:ia,multi:!0,useFactory:()=>{const t=Se(qe);return()=>{t.setUpLocationChangeListener()}}},{provide:Lf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?So(2,[{provide:Lf,useValue:0},{provide:ia,multi:!0,deps:[Et],useFactory:t=>{const n=t.get(ZT,Promise.resolve(null));let r=!1;return()=>n.then(()=>new Promise(i=>{const s=t.get(qe),a=t.get(Sw);(function o(i){t.get(qe).events.pipe(Yt(a=>a instanceof er||a instanceof Ja||a instanceof $D),K(a=>a instanceof er||a instanceof Ja&&(0===a.code||1===a.code)&&null),Yt(a=>null!==a),Ar(1)).subscribe(()=>{i()})})(()=>{i(!0),r=!0}),s.afterPreactivation=()=>(i(!0),r||a.closed?k(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const Rw=new P("");class tO{constructor(){this.name="",this.email="",this.message=""}}const Be_apiBaseUrl="https://www.palmmedia.de/api/";let Nw=(()=>{class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${Be_apiBaseUrl}contact`,n)}}return e.\u0275fac=function(n){return new(n||e)(R(Nd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function nO(e,t){if(1&e){const n=ze();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(H().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(H().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(H().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(H().contactViewModel.message=o)}),p()(),h(20,"button",15),g(21,"Submit"),p()()}if(2&e){const n=function bm(e){return function kr(e,t){return e[t]}(function nE(){return $.lFrame.contextLView}(),22+e)}(1),r=H();C(7),I("ngModel",r.contactViewModel.name),C(6),I("ngModel",r.contactViewModel.email),C(6),I("ngModel",r.contactViewModel.message),C(1),I("disabled",!n.valid||r.enableFormCountDown>0)}}function rO(e,t){1&e&&(h(0,"p"),g(1,"Thanks for your message."),p())}function oO(e,t){1&e&&(h(0,"p",16),g(1,"Something went wrong. Please try again later."),p())}let iO=(()=>{class e{constructor(n){this.contactService=n,this.contactViewModel=new tO,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:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(M(Nw))},e.\u0275cmp=jt({type:e,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,nO,22,4,"form",2),q(4,rO,2,0,"p",3),q(5,oO,2,0,"p",4),p()),2&n&&(C(3),I("ngIf",!r.success&&!r.error),C(1),I("ngIf",r.success),C(1),I("ngIf",r.error))},dependencies:[Ea,Jd,Ai,Ud,Bd,Pi,Ba,Fi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]}),e})();const Lt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.12"},sO=function(){return["/usage"]};let aO=(()=>{class e{constructor(){this.versions=Lt}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(5,sO)),C(22),mr('\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),mr('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),mr("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),mr("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:[nr]}),e})();const lO=function(){return["/pro"]},uO=function(){return["/usage"]},cO=function(){return["/getstarted"]};let dO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(3,lO)),C(12),I("routerLink",Ae(4,uO)),C(24),I("routerLink",Ae(5,cO)))},dependencies:[nr],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}}"]}),e})();class Fw{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let Pw=(()=>{class e{initCodeFlow(){const o=`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: "+o),location.href=o}validateStateAndExtractCode(){let n=location.href;const r=n.indexOf("?");r>-1&&(n=n.substring(r+1));const o=this.parseQueryString(n);return o.state&&o.code&&this.validateNonce(o.state)?o.code:null}createAndSaveNonce(){const n=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",n),n}validateNonce(n){let r;return typeof window.localStorage<"u"&&(r=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),r&&0!==r.length?r===n||(console.error("Validating nonce failed. Values do not match.",r,n),!1):(console.error("Validating nonce failed. No saved nonce available.",r,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let r=45,o="";const i=typeof self>"u"?null:self.crypto||self.msCrypto;if(i){let a=new Uint8Array(r);i.getRandomValues(a),a.map||(a.map=Array.prototype.map);const l=[];for(var s=0;s0&&(u=decodeURIComponent(a),c=decodeURIComponent(l),"/"===u.substring(0,1)&&(u=u.substring(1)),r[u]=c);return r}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),kw=(()=>{class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${Be_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getPaddleLicense(n){return this.httpClient.post(`${Be_apiBaseUrl}reportgenerator/paddlelicense`,n)}}return e.\u0275fac=function(n){return new(n||e)(R(Nd))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function fO(e,t){1&e&&(h(0,"div",38)(1,"span",39),g(2,"Loading..."),p()())}const Vf=function(){return["/contact"]};function hO(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=H(2);C(2),ve(n.license.error),C(3),I("routerLink",Ae(2,Vf))}}function pO(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 gO(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function mO(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function yO(e,t){if(1&e){const n=ze();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(H(2).copy())}),q(6,gO,3,0,"span",40),q(7,mO,3,0,"span",40),p()()}if(2&e){const n=H(2);C(4),ve(n.license.license),C(2),I("ngIf",!n.licenseCopied),C(1),I("ngIf",n.licenseCopied)}}function vO(e,t){if(1&e&&(h(0,"div",17),q(1,hO,8,3,"div",40),q(2,pO,6,0,"div",40),q(3,yO,8,3,"div",40),p()),2&e){const n=H();C(1),I("ngIf",n.license.error),C(1),I("ngIf",!n.license.error&&!n.license.isSponsor),C(1),I("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function _O(e,t){if(1&e){const n=ze();h(0,"button",56),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("individual"))}),g(1,"Buy now"),p()}}function CO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function DO(e,t){if(1&e){const n=ze();h(0,"button",58),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("team"))}),g(1,"Buy now"),p()}}function wO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function bO(e,t){if(1&e){const n=ze();h(0,"button",59),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("unlimited"))}),g(1,"Buy now"),p()}}function EO(e,t){1&e&&(h(0,"button",57),g(1,"Coming soon"),p())}function MO(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,_O,2,0,"button",50),q(10,CO,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,DO,2,0,"button",53),q(20,wO,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,bO,2,0,"button",55),q(30,EO,2,0,"button",51),p()()),2&e){const n=H();C(6),ve(n.paddleIndividualLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle),C(6),ve(n.paddleTeamLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle),C(6),ve(n.paddleUnlimitedLicensePrice),C(3),I("ngIf",n.enablePaddle),C(1),I("ngIf",!n.enablePaddle)}}function IO(e,t){1&e&&(fo(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(),ho())}function SO(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=H(3);C(2),ve(n.paddleLicense.error),C(3),I("routerLink",Ae(2,Vf))}}function AO(e,t){1&e&&(h(0,"span"),D(1,"i",45),g(2," Copy"),p())}function TO(e,t){1&e&&(h(0,"span"),D(1,"i",46),g(2," Copied"),p())}function xO(e,t){if(1&e){const n=ze();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(H(3).copyPaddle())}),q(6,AO,3,0,"span",40),q(7,TO,3,0,"span",40),p()()}if(2&e){const n=H(3);C(4),ve(n.paddleLicense.license),C(2),I("ngIf",!n.paddleLicenseCopied),C(1),I("ngIf",n.paddleLicenseCopied)}}function RO(e,t){if(1&e&&(h(0,"div",62),q(1,SO,8,3,"div",40),q(2,xO,8,3,"div",40),p()),2&e){const n=H(2);C(1),I("ngIf",n.paddleLicense.error),C(1),I("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function NO(e,t){if(1&e&&(h(0,"div",2),q(1,IO,6,0,"ng-container",40),q(2,RO,3,2,"div",60),p()),2&e){const n=H();C(1),I("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),C(1),I("ngIf",n.paddleLicense)}}let FO=(()=>{class e{constructor(n,r){this.oauthService=n,this.licenseService=r,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=o=>{this.paddleCheckoutComplete(o)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,o=>{this.paddleIndividualLicensePrice=o.recurring.price.gross}),window.Paddle.Product.Prices(762580,o=>{this.paddleTeamLicensePrice=o.recurring.price.gross}),window.Paddle.Product.Prices(762581,o=>{this.paddleUnlimitedLicensePrice=o.recurring.price.gross})}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:r=>{console.log("Received license response"),this.license=r,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:r=>{console.error(r),this.license=new Fw,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(n){console.error("Failed to copy license",n)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(n){console.error("Failed to copy paddle license",n)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(n){"unlimited"===n?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===n?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(n){console.log("Checkout completed",n),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(n).subscribe({next:r=>{console.log("Received paddle license response"),this.paddleLicense=r,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:r=>{console.error(r),this.paddleLicense=new Fw,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(M(Pw),M(kw))},e.\u0275cmp=jt({type:e,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,fO,3,0,"div",23),p(),q(91,vO,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,MO,31,9,"div",26),q(98,NO,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),I("routerLink",Ae(6,Vf)),C(20),I("disabled",r.licenseRequested),C(3),I("ngIf",r.licenseRequested&&!r.license),C(1),I("ngIf",r.license),C(6),I("ngIf",!r.paddleLicenseRequested),C(1),I("ngIf",r.paddleLicenseRequested))},dependencies:[Ea,nr],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]}),e})();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 PO 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 kO{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:"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 jf{constructor(t,n){this.tool=t,this.command=n}}function LO(e,t){if(1&e){const n=ze();h(0,"div",32)(1,"label",33)(2,"input",34),F("ngModelChange",function(o){return ce(n),de(H().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(H().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=H();C(2),I("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),C(2),ve(n.name),C(3),ve(n.description)}}function VO(e,t){if(1&e){const n=ze();h(0,"div",32)(1,"label",33)(2,"input",38),F("ngModelChange",function(o){return ce(n),de(H(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=H().$implicit,r=H(2);C(2),I("ngModel",r.selectedPackage)("value",n),C(2),ve(n.name),C(3),ve(n.description)}}function jO(e,t){if(1&e&&(fo(0),q(1,VO,8,4,"div",37),ho()),2&e){const n=t.$implicit,r=H(2);C(1),I("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function UO(e,t){if(1&e&&(fo(0),h(1,"h4"),g(2,"NuGet Package"),p(),q(3,jO,2,1,"ng-container",36),ho()),2&e){const n=H();C(3),I("ngForOf",n.packages)}}function BO(e,t){if(1&e){const n=ze();h(0,"span",42),F("click",function(){ce(n);const o=H().index;return de(H().configuration.removeReport(o))}),h(1,"a",43),D(2,"i",44),p()()}}const HO=function(e){return{"input-group":e}};function $O(e,t){if(1&e){const n=ze();h(0,"div",35)(1,"div",39)(2,"input",40),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.reports[s]=o)}),p(),q(3,BO,3,0,"span",41),p()()}if(2&e){const n=t.index,r=H();C(1),I("ngClass",Mc(4,HO,n>0)),C(1),In("name","report_",n,""),I("ngModel",r.configuration.reports[n]),C(1),I("ngIf",n>0)}}function GO(e,t){if(1&e){const n=ze();h(0,"span",47),D(1,"i",48),g(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(H(2).scrollToHistoryDir())}),g(4,"history directory"),p()()}}function zO(e,t){if(1&e){const n=ze();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,GO,5,0,"span",46),D(6,"br"),h(7,"div",35),g(8),p()()()}if(2&e){const n=t.$implicit,r=H();C(2),I("ngModel",n.checked),C(2),ve(n.name),C(1),I("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),C(3),ve(n.description)}}function qO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",50),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeSourceDirectory(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","sourcedir_",n,""),I("ngModel",r.configuration.sourcedirectories[n])}}function WO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",51),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.plugins[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removePlugin(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","plugin_",n,""),I("ngModel",r.configuration.plugins[n])}}function QO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",52),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeAssemblyFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","assemblyfilter_",n,""),I("ngModel",r.configuration.assemblyfilters[n])}}function KO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.classfilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeClassFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","classfilter_",n,""),I("ngModel",r.configuration.classfilters[n])}}function ZO(e,t){if(1&e){const n=ze();h(0,"div",8)(1,"div",49)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.filefilters[s]=o)}),p(),h(3,"span",42),F("click",function(){const i=ce(n).index;return de(H().configuration.removeFileFilter(i))}),h(4,"a",43),D(5,"i",44),p()()()()}if(2&e){const n=t.index,r=H();C(2),In("name","filefilter_",n,""),I("ngModel",r.configuration.filefilters[n])}}function JO(e,t){if(1&e&&(h(0,"option",55),g(1),p()),2&e){const n=t.$implicit;I("value",n),C(1),ve(n)}}function YO(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),ve(n.tool),C(3),ve(n.command)}}function XO(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),ve(n.tool),C(3),ve(n.command)}}function eL(e,t){1&e&&(h(0,"span"),D(1,"i",57),g(2," Copy"),p())}function tL(e,t){1&e&&(h(0,"span"),D(1,"i",58),g(2," Copied"),p())}const nL=function(){return["/pro"]};let Ow=(()=>{class e{constructor(){this.versions=Lt,this.lastResult="",this.usageCopied=!1,this.configuration=new kO,this.environments=[new fl(".NET Core",".NET Core"),new fl(".NET Framework","The full .NET framework"),new fl("Azure DevOps",null),new fl("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 jf("Package Manager",`Install-Package ReportGenerator -Version ${Lt.version}`),new jf(".NET CLI",`dotnet add package ReportGenerator --version ${Lt.version}`)],[new Ki(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net47\\ReportGenerator.exe`),new Ki(".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 jf(".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 Ki(".NET Core","reportgenerator")]),new PO("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new Ki("Azure DevOps","reportgenerator")]),new OO("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new Ki("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const n=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==n&&(this.lastResult=n,this.usageCopied=!1),n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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,LO,8,5,"div",4),q(9,UO,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,$O,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,zO,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,qO,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,WO,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,QO,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,KO,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,ZO,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,JO,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,YO,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,XO,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,eL,3,0,"span",5),q(209,tL,3,0,"span",5),p()()()()()),2&n&&(C(8),I("ngForOf",r.environments),C(1),I("ngIf",r.severalPackagesAvailable()),C(7),I("ngForOf",r.configuration.reports)("ngForTrackBy",r.trackByIndex),C(11),I("ngModel",r.configuration.targetdir),C(8),I("ngForOf",r.configuration.reporttypes),C(7),I("ngForOf",r.configuration.sourcedirectories)("ngForTrackBy",r.trackByIndex),C(16),I("ngModel",r.configuration.historydir)("required",r.configuration.historyDirRequired()),C(12),I("ngForOf",r.configuration.plugins)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.assemblyfilters)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.classfilters)("ngForTrackBy",r.trackByIndex),C(26),I("ngForOf",r.configuration.filefilters)("ngForTrackBy",r.trackByIndex),C(11),I("ngModel",r.configuration.selectedverbosity),C(1),I("ngForOf",r.configuration.verbosities)("ngForTrackBy",r.trackByIndex),C(7),I("ngModel",r.configuration.title),C(7),I("ngModel",r.configuration.tag),C(6),I("routerLink",Ae(35,nL)),C(3),I("ngModel",r.configuration.license),C(6),I("href",r.selectedPackage.url,Xo),C(1),ve(r.selectedPackage.name),C(1),I("ngForOf",r.selectedPackage.installOptions),C(4),ve(r.getUsage()),C(5),I("href",r.selectedPackage.url,Xo),C(1),ve(r.selectedPackage.name),C(1),I("ngForOf",r.selectedPackage.installOptions),C(4),ve(r.getUsage()),C(2),I("ngIf",!r.usageCopied),C(1),I("ngIf",r.usageCopied))},dependencies:[pd,M_,Ea,nr,Jd,aD,uD,Ai,Od,Ha,Yd,Ud,Bd,Pi,rf,Ba,Fi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]}),e})();const rL=[{path:"",component:dO,pathMatch:"full",data:{title:"Home"}},{path:"getstarted",component:aO,data:{title:"Get started"}},{path:"usage",component:Ow,data:{title:"Usage"}},{path:"usage.html",component:Ow,data:{title:"Usage"}},{path:"pro",component:FO,data:{title:"PRO"}},{path:"contact",component:iO,data:{title:"Contact"}}];let oL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e}),e.\u0275inj=yt({imports:[xw.forRoot(rL),xw]}),e})();const Lw=function(){return["/"]},iL=function(e){return{show:e}},Zi=function(){return["link-active"]},sL=function(){return{exact:!0}},aL=function(){return["/getstarted"]},lL=function(){return["/usage"]},uL=function(){return["/contact"]},cL=function(){return["/pro"]};let dL=(()=>{class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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),I("routerLink",Ae(14,Lw)),C(3),zt("aria-expanded",r.isExpanded),C(2),I("ngClass",Mc(15,iL,r.isExpanded)),C(2),I("routerLinkActive",Ae(17,Zi))("routerLinkActiveOptions",Ae(18,sL)),C(1),I("routerLink",Ae(19,Lw)),C(2),I("routerLinkActive",Ae(20,Zi)),C(1),I("routerLink",Ae(21,aL)),C(2),I("routerLinkActive",Ae(22,Zi)),C(1),I("routerLink",Ae(23,lL)),C(2),I("routerLinkActive",Ae(24,Zi)),C(1),I("routerLink",Ae(25,uL)),C(2),I("routerLinkActive",Ae(26,Zi)),C(1),I("routerLink",Ae(27,cL)))},dependencies:[pd,nr,ww],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}"]}),e})(),fL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=jt({type:e,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}"]}),e})(),hL=(()=>{class e{constructor(n,r,o){this.titleService=n,this.router=r,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(Yt(n=>n instanceof er),K(()=>this.activatedRoute),K(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Yt(n=>"primary"===n.outlet),$e(n=>n.data)).subscribe(n=>{this.titleService.setTitle(n.title+" - ReportGenerator")})}}return e.\u0275fac=function(n){return new(n||e)(M(Sd),M(qe),M(tr))},e.\u0275cmp=jt({type:e,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:[Ef,dL,fL],encapsulation:2}),e})(),pL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=At({type:e,bootstrap:[hL]}),e.\u0275inj=yt({providers:[Pw,kw,Nw],imports:[iN,oL,AN,RF]}),e})();(function TT(){Jv=!1})(),oN().bootstrapModule(pL).catch(e=>console.error(e))}},fe=>{fe(fe.s=364)}]); \ No newline at end of file diff --git a/src/ReportGenerator.Console.NetCore/Properties/launchSettings.json b/src/ReportGenerator.Console.NetCore/Properties/launchSettings.json index 23b9ed88..dcca4c77 100644 --- a/src/ReportGenerator.Console.NetCore/Properties/launchSettings.json +++ b/src/ReportGenerator.Console.NetCore/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "ReportGenerator.Console.NetCore": { "commandName": "Project", - "commandLineArgs": "-reports:C:\\Users\\danie\\Documents\\Projects\\ReportGenerator\\src\\Testprojects\\CSharp\\Reports\\Cobertura_coverlet.xml -targetdir:C:\\Users\\danie\\Desktop\\coverlet" + "commandLineArgs": "-reports:C:\\Users\\danie\\Desktop\\coverage.xml -targetdir:C:\\Users\\danie\\Desktop\\out123 -verbosity:Verbose" } } } \ No newline at end of file