diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a2729ac..a2e4867a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,8 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.1.25 - dotnetSDKVersion: 7.0.400 + version: 5.1.26 + dotnetSDKVersion: 7.0.401 nodeVersion: 18 jobs: diff --git a/docs/404.html b/docs/404.html index f1efb3eb..4f035632 100644 --- a/docs/404.html +++ b/docs/404.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/contact.html b/docs/contact.html index 413fdb02..c946c4e8 100644 --- a/docs/contact.html +++ b/docs/contact.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/features.html b/docs/features.html index fb5eacb2..cd51750a 100644 --- a/docs/features.html +++ b/docs/features.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/getstarted.html b/docs/getstarted.html index befdce8d..0668f31a 100644 --- a/docs/getstarted.html +++ b/docs/getstarted.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 8fdb8d6e..eb4fa739 100644 --- a/docs/index.html +++ b/docs/index.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/main.752a4eb1bf070a26.js b/docs/main.752a4eb1bf070a26.js new file mode 100644 index 00000000..b902a135 --- /dev/null +++ b/docs/main.752a4eb1bf070a26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{603:()=>{function ue(e){return"function"==typeof e}function Wo(e){const r=e(n=>{Error.call(n),n.stack=(new Error).stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}const Es=Wo(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:\n${r.map((n,o)=>`${o+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=r});function Zo(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class gt{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const i of r)i.remove(this);else r.remove(this);const{initialTeardown:n}=this;if(ue(n))try{n()}catch(i){t=i instanceof Es?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Vh(i)}catch(s){t=t??[],s instanceof Es?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Es(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Vh(t);else{if(t instanceof gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(t){const{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){const{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){const{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Zo(r,t)}remove(t){const{_finalizers:r}=this;r&&Zo(r,t),t instanceof gt&&t._removeParent(this)}}gt.EMPTY=(()=>{const e=new gt;return e.closed=!0,e})();const Fh=gt.EMPTY;function Lh(e){return e instanceof gt||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function Vh(e){ue(e)?e():e.unsubscribe()}const ir={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ms={setTimeout(e,t,...r){const{delegate:n}=Ms;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=Ms;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jh(e){Ms.setTimeout(()=>{const{onUnhandledError:t}=ir;if(!t)throw e;t(e)})}function lc(){}const ME=cc("C",void 0,void 0);function cc(e,t,r){return{kind:e,value:t,error:r}}let sr=null;function Is(e){if(ir.useDeprecatedSynchronousErrorHandling){const t=!sr;if(t&&(sr={errorThrown:!1,error:null}),e(),t){const{errorThrown:r,error:n}=sr;if(sr=null,r)throw n}}else e()}class uc extends gt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lh(t)&&t.add(this)):this.destination=NE}static create(t,r,n){return new Ss(t,r,n)}next(t){this.isStopped?fc(function SE(e){return cc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?fc(function IE(e){return cc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fc(ME,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 AE=Function.prototype.bind;function dc(e,t){return AE.call(e,t)}class xE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){Ts(n)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){Ts(n)}else Ts(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){Ts(r)}}}class Ss extends uc{constructor(t,r,n){let o;if(super(),ue(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&ir.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&dc(t.next,i),error:t.error&&dc(t.error,i),complete:t.complete&&dc(t.complete,i)}):o=t}this.destination=new xE(o)}}function Ts(e){ir.useDeprecatedSynchronousErrorHandling?function TE(e){ir.useDeprecatedSynchronousErrorHandling&&sr&&(sr.errorThrown=!0,sr.error=e)}(e):jh(e)}function fc(e,t){const{onStoppedNotification:r}=ir;r&&Ms.setTimeout(()=>r(e,t))}const NE={closed:!0,next:lc,error:function RE(e){throw e},complete:lc},hc="function"==typeof Symbol&&Symbol.observable||"@@observable";function jn(e){return e}function Hh(e){return 0===e.length?jn:1===e.length?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}let Ie=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){const i=function kE(e){return e&&e instanceof uc||function PE(e){return e&&ue(e.next)&&ue(e.error)&&ue(e.complete)}(e)&&Lh(e)}(r)?r:new Ss(r,n,o);return Is(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return new(n=Uh(n))((o,i)=>{const s=new Ss({next:a=>{try{r(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)}[hc](){return this}pipe(...r){return Hh(r)(this)}toPromise(r){return new(r=Uh(r))((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function Uh(e){var t;return null!==(t=e??ir.Promise)&&void 0!==t?t:Promise}const FE=Wo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Vt=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){const n=new Bh(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new FE}next(r){Is(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(r)}})}error(r){Is(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;const{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Is(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){const{hasError:n,isStopped:o,observers:i}=this;return n||o?Fh:(this.currentObservers=null,i.push(r),new gt(()=>{this.currentObservers=null,Zo(i,r)}))}_checkFinalizedStatuses(r){const{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){const r=new Ie;return r.source=this,r}}return e.create=(t,r)=>new Bh(t,r),e})();class Bh extends Vt{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===n||n.call(r,t)}error(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===n||n.call(r,t)}complete(){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===r||r.call(t)}_subscribe(t){var r,n;return null!==(n=null===(r=this.source)||void 0===r?void 0:r.subscribe(t))&&void 0!==n?n:Fh}}function $h(e){return ue(e?.lift)}function Pe(e){return t=>{if($h(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Re(e,t,r,n,o){return new LE(e,t,r,n,o)}class LE extends uc{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(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=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ee(e,t){return Pe((r,n)=>{let o=0;r.subscribe(Re(n,i=>{n.next(e.call(t,i,o++))}))})}function Hn(e){return this instanceof Hn?(this.v=e,this):new Hn(e)}function Wh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function vc(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Zh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Yh(e){return ue(e?.then)}function Qh(e){return ue(e[hc])}function Xh(e){return Symbol.asyncIterator&&ue(e?.[Symbol.asyncIterator])}function Jh(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 Kh=function i1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ep(e){return ue(e?.[Kh])}function tp(e){return function qh(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(g){n[g]&&(o[g]=function(m){return new Promise(function(y,C){i.push([g,m,y,C])>1||a(g,m)})})}function a(g,m){try{!function l(g){g.value instanceof Hn?Promise.resolve(g.value.v).then(c,u):d(i[0][2],g)}(n[g](m))}catch(y){d(i[0][3],y)}}function c(g){a("next",g)}function u(g){a("throw",g)}function d(g,m){g(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const r=e.getReader();try{for(;;){const{value:n,done:o}=yield Hn(r.read());if(o)return yield Hn(void 0);yield yield Hn(n)}}finally{r.releaseLock()}})}function np(e){return ue(e?.getReader)}function jt(e){if(e instanceof Ie)return e;if(null!=e){if(Qh(e))return function s1(e){return new Ie(t=>{const r=e[hc]();if(ue(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Zh(e))return function a1(e){return new Ie(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,jh)})}(e);if(Xh(e))return rp(e);if(ep(e))return function c1(e){return new Ie(t=>{for(const r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(np(e))return function u1(e){return rp(tp(e))}(e)}throw Jh(e)}function rp(e){return new Ie(t=>{(function d1(e,t){var r,n,o,i;return function Gh(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof r?i:new r(function(s){s(i)})}(u.value).then(a,l)}c((n=n.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Wh(e);!(n=yield r.next()).done;)if(t.next(n.value),t.closed)return}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(r=>t.error(r))})}function vn(e,t,r,n=0,o=!1){const i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Ve(e,t,r=1/0){return ue(t)?Ve((n,o)=>ee((i,s)=>t(n,i,o,s))(jt(e(n,o))),r):("number"==typeof t&&(r=t),Pe((n,o)=>function f1(e,t,r,n,o,i,s,a){const l=[];let c=0,u=0,d=!1;const g=()=>{d&&!l.length&&!c&&t.complete()},m=C=>c{i&&t.next(C),c++;let b=!1;jt(r(C,u++)).subscribe(Re(t,E=>{o?.(E),i?m(E):t.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cy(E)):y(E)}g()}catch(E){t.error(E)}}))};return e.subscribe(Re(t,m,()=>{d=!0,g()})),()=>{a?.()}}(n,o,e,r)))}function Rr(e=1/0){return Ve(jn,e)}const Kt=new Ie(e=>e.complete());function yc(e){return e[e.length-1]}function op(e){return ue(yc(e))?e.pop():void 0}function Yo(e){return function p1(e){return e&&ue(e.schedule)}(yc(e))?e.pop():void 0}function ip(e,t=0){return Pe((r,n)=>{r.subscribe(Re(n,o=>vn(n,e,()=>n.next(o),t),()=>vn(n,e,()=>n.complete(),t),o=>vn(n,e,()=>n.error(o),t)))})}function sp(e,t=0){return Pe((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function ap(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(r=>{vn(r,t,()=>{const n=e[Symbol.asyncIterator]();vn(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Ne(e,t){return t?function D1(e,t){if(null!=e){if(Qh(e))return function m1(e,t){return jt(e).pipe(sp(t),ip(t))}(e,t);if(Zh(e))return function y1(e,t){return new Ie(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(Yh(e))return function v1(e,t){return jt(e).pipe(sp(t),ip(t))}(e,t);if(Xh(e))return ap(e,t);if(ep(e))return function _1(e,t){return new Ie(r=>{let n;return vn(r,t,()=>{n=e[Kh](),vn(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){return void r.error(s)}i?r.complete():r.next(o)},0,!0)}),()=>ue(n?.return)&&n.return()})}(e,t);if(np(e))return function C1(e,t){return ap(tp(e),t)}(e,t)}throw Jh(e)}(e,t):jt(e)}class At extends Vt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function V(...e){return Ne(e,Yo(e))}function ar(e){return e<=0?()=>Kt:Pe((t,r)=>{let n=0;t.subscribe(Re(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function lp(e={}){const{connector:t=(()=>new Vt),resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const g=()=>{a?.unsubscribe(),a=null},m=()=>{g(),s=l=null,u=d=!1},y=()=>{const C=s;m(),C?.unsubscribe()};return Pe((C,b)=>{c++,!d&&!u&&g();const E=l=l??t();b.add(()=>{c--,0===c&&!d&&!u&&(a=_c(y,o))}),E.subscribe(b),s||(s=new Ss({next:D=>E.next(D),error:D=>{d=!0,g(),a=_c(m,r,D),E.error(D)},complete:()=>{u=!0,g(),a=_c(m,n),E.complete()}}),Ne(C).subscribe(s))})(i)}}function _c(e,t,...r){return!0===t?(e(),null):!1===t?null:t(...r).pipe(ar(1)).subscribe(()=>e())}function Ht(e,t){return Pe((r,n)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&n.complete();r.subscribe(Re(n,l=>{o?.unsubscribe();let c=0;const u=i++;jt(e(l,u)).subscribe(o=Re(n,d=>n.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function E1(e,t){return e===t}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 As(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Cc(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const M1=ae({__forward_ref__:ae});function fe(e){return e.__forward_ref__=fe,e.toString=function(){return ke(this())},e}function U(e){return Dc(e)?e():e}function Dc(e){return"function"==typeof e&&e.hasOwnProperty(M1)&&e.__forward_ref__===fe}function bc(e){return e&&!!e.\u0275providers}const cp="https://g.co/ng/security#xss";class S extends Error{constructor(t,r){super(function xs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}function $(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(e,t){throw new S(-201,!1)}function xt(e,t){null==e&&function j(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(null==n?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}(t,e,null,"!=")}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rs(e){return up(e,Os)||up(e,dp)}function up(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ns(e){return e&&(e.hasOwnProperty(Ec)||e.hasOwnProperty(O1))?e[Ec]:null}const Os=ae({\u0275prov:ae}),Ec=ae({\u0275inj:ae}),dp=ae({ngInjectableDef:ae}),O1=ae({ngInjectorDef:ae});var Y=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Y||{});let Mc;function it(e){const t=Mc;return Mc=e,t}function hp(e,t,r){const n=Rs(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&Y.Optional?null:void 0!==t?t:void wc(ke(e))}const he=globalThis,Qo={},xc="__NG_DI_FLAG__",Ps="ngTempTokenPath",F1=/\n/gm,gp="__source";let Nr;function Un(e){const t=Nr;return Nr=e,t}function j1(e,t=Y.Default){if(void 0===Nr)throw new S(-203,!1);return null===Nr?hp(e,void 0,t):Nr.get(e,t&Y.Optional?null:void 0,t)}function F(e,t=Y.Default){return(function fp(){return Mc}()||j1)(U(e),t)}function A(e,t=Y.Default){return F(e,ks(t))}function ks(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Rc(e){const t=[];for(let r=0;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const m=8&n?g:null;if(m&&-1!==_p(m,c,0)||2&n&&c!==g){if(Bt(n))return!1;s=!0}}}}else{if(!s&&!Bt(n)&&!Bt(l))return!1;if(s&&Bt(l))continue;s=!1,n=l|1&n}}return Bt(n)||s}function Bt(e){return 0==(1&e)}function q1(e,t,r,n){if(null===t)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else 8&n?o+="."+s:4&n&&(o+=" "+s);else""!==o&&!Bt(s)&&(t+=Ip(i,o),o=""),n=s,i=i||!Bt(n);r++}return""!==o&&(t+=Ip(i,o)),t}function vt(e){return yn(()=>{const t=Tp(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};Ap(r);const n=e.dependencies;return r.directiveDefs=Vs(n,!1),r.pipeDefs=Vs(n,!0),r.id=function s0(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function t0(e){return X(e)||je(e)}function n0(e){return null!==e}function Cn(e){return yn(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sp(e,t){if(null==e)return tn;const r={};for(const n in e)if(e.hasOwnProperty(n)){let o=e[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,t&&(t[o]=i)}return r}function B(e){return yn(()=>{const t=Tp(e);return Ap(t),t})}function X(e){return e[Ls]||null}function je(e){return e[Nc]||null}function Qe(e){return e[Oc]||null}function yt(e,t){const r=e[vp]||null;if(!r&&!0===t)throw new Error(`Type ${ke(e)} does not have '\u0275mod' property.`);return r}function Tp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||tn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sp(e.inputs,t),outputs:Sp(e.outputs)}}function Ap(e){e.features?.forEach(t=>t(e))}function Vs(e,t){if(!e)return null;const r=t?Qe:t0;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(n0)}const we=0,T=1,q=2,_e=3,$t=4,ei=5,ze=6,Pr=7,Se=8,Bn=9,kr=10,G=11,ti=12,xp=13,Fr=14,Te=15,ni=16,Lr=17,nn=18,ri=19,Rp=20,$n=21,Dn=22,oi=23,ii=24,Q=25,kc=1,Np=2,rn=7,Vr=9,He=11;function at(e){return Array.isArray(e)&&"object"==typeof e[kc]}function Xe(e){return Array.isArray(e)&&!0===e[kc]}function Fc(e){return 0!=(4&e.flags)}function cr(e){return e.componentOffset>-1}function Hs(e){return 1==(1&e.flags)}function Gt(e){return!!e.template}function Lc(e){return 0!=(512&e[q])}function ur(e,t){return e.hasOwnProperty(_n)?e[_n]:null}let Ue=null,Us=!1;function Rt(e){const t=Ue;return Ue=e,t}const kp={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Lp(e){if(!ai(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Hp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function jp(e){e.dirty=!0,function Vp(e){if(void 0===e.liveConsumerNode)return;const t=Us;Us=!0;try{for(const r of e.liveConsumerNode)r.dirty||jp(r)}finally{Us=t}}(e),e.consumerMarkedDirty?.(e)}function jc(e){return e&&(e.nextProducerIndex=0),Rt(e)}function Hc(e,t){if(Rt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ai(e))for(let r=e.nextProducerIndex;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Hp(e){jr(e);for(let t=0;t0}function jr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Gp=null;const Zp=()=>{},_0=(()=>({...kp,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Zp}))();class C0{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function Nt(){return Yp}function Yp(e){return e.type.prototype.ngOnChanges&&(e.setInput=b0),D0}function D0(){const e=Xp(this),t=e?.current;if(t){const r=e.previous;if(r===tn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function b0(e,t,r,n){const o=this.declaredInputs[r],i=Xp(e)||function w0(e,t){return e[Qp]=t}(e,{previous:tn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new C0(l&&l.currentValue,t,a===tn),e[n]=t}Nt.ngInherit=!0;const Qp="__ngSimpleChanges__";function Xp(e){return e[Qp]||null}const on=function(e,t,r){};function pe(e){for(;Array.isArray(e);)e=e[we];return e}function $s(e,t){return pe(t[e])}function lt(e,t){return pe(t[e.index])}function eg(e,t){return e.data[t]}function _t(e,t){const r=t[e];return at(r)?r:r[we]}function zn(e,t){return null==t?null:e[t]}function tg(e){e[Lr]=0}function A0(e){1024&e[q]||(e[q]|=1024,rg(e,1))}function ng(e){1024&e[q]&&(e[q]&=-1025,rg(e,-1))}function rg(e,t){let r=e[_e];if(null===r)return;r[ei]+=t;let n=r;for(r=r[_e];null!==r&&(1===t&&1===n[ei]||-1===t&&0===n[ei]);)r[ei]+=t,n=r,r=r[_e]}const H={lFrame:pg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function sg(){return H.bindingsEnabled}function M(){return H.lFrame.lView}function J(){return H.lFrame.tView}function ne(e){return H.lFrame.contextLView=e,e[Se]}function re(e){return H.lFrame.contextLView=null,e}function Be(){let e=ag();for(;null!==e&&64===e.type;)e=e.parent;return e}function ag(){return H.lFrame.currentTNode}function sn(e,t){const r=H.lFrame;r.currentTNode=e,r.isParent=t}function zc(){return H.lFrame.isParent}function qc(){H.lFrame.isParent=!1}function Je(){const e=H.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Br(){return H.lFrame.bindingIndex++}function U0(e,t){const r=H.lFrame;r.bindingIndex=r.bindingRootIndex=e,Wc(t)}function Wc(e){H.lFrame.currentDirectiveIndex=e}function dg(){return H.lFrame.currentQueryIndex}function Yc(e){H.lFrame.currentQueryIndex=e}function $0(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ze]:null}function fg(e,t,r){if(r&Y.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||r&Y.Host||(o=$0(i),null===o||(i=i[Fr],10&o.type))););if(null===o)return!1;t=o,e=i}const n=H.lFrame=hg();return n.currentTNode=t,n.lView=e,!0}function Qc(e){const t=hg(),r=e[T];H.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function hg(){const e=H.lFrame,t=null===e?null:e.child;return null===t?pg(e):t}function pg(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 gg(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mg=gg;function Xc(){const e=gg();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 Ke(){return H.lFrame.selectedIndex}function dr(e){H.lFrame.selectedIndex=e}function be(){const e=H.lFrame;return eg(e.tView,e.selectedIndex)}let yg=!0;function Gs(){return yg}function qn(e){yg=e}function zs(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[l]<0&&(e[Lr]+=65536),(a>13>16&&(3&e[q])===t&&(e[q]+=8192,Cg(a,i)):Cg(a,i)}const $r=-1;class ci{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function eu(e){return e!==$r}function ui(e){return 32767&e}function di(e,t){let r=function tM(e){return e>>16}(e),n=t;for(;r>0;)n=n[Fr],r--;return n}let tu=!0;function Zs(e){const t=tu;return tu=e,t}const Dg=255,bg=5;let nM=0;const an={};function Ys(e,t){const r=wg(e,t);if(-1!==r)return r;const n=t[T];n.firstCreatePass&&(e.injectorIndex=t.length,nu(n.data,e),nu(t,null),nu(n.blueprint,null));const o=Qs(e,t),i=e.injectorIndex;if(eu(o)){const s=ui(o),a=di(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function nu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;null!==o;){if(n=xg(o),null===n)return $r;if(r++,o=o[Fr],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return $r}function ru(e,t,r){!function rM(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(Jo)&&(n=r[Jo]),null==n&&(n=r[Jo]=nM++);const o=n&Dg;t.data[e+(o>>bg)]|=1<=0?t&Dg:lM:t}(r);if("function"==typeof i){if(!fg(t,e,n))return n&Y.Host?Eg(o,0,n):Mg(t,r,n,o);try{let s;if(s=i(n),null!=s||n&Y.Optional)return s;wc()}finally{mg()}}else if("number"==typeof i){let s=null,a=wg(e,t),l=$r,c=n&Y.Host?t[Te][ze]:null;for((-1===a||n&Y.SkipSelf)&&(l=-1===a?Qs(e,t):t[a+8],l!==$r&&Ag(n,!1)?(s=t[T],a=ui(l),t=di(l,t)):a=-1);-1!==a;){const u=t[T];if(Tg(i,a,u.data)){const d=iM(a,t,r,s,n,c);if(d!==an)return d}l=t[a+8],l!==$r&&Ag(n,t[T].data[a+8]===c)&&Tg(i,a,t)?(s=u,a=ui(l),t=di(l,t)):a=-1}}return o}function iM(e,t,r,n,o,i){const s=t[T],a=s.data[e+8],u=Xs(a,s,r,null==n?cr(a)&&tu:n!=s&&0!=(3&a.type),o&Y.Host&&i===a);return null!==u?fr(t,s,u,a):an}function Xs(e,t,r,n,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,g=o?a+u:e.directiveEnd;for(let m=n?a:a+u;m=l&&y.type===r)return m}if(o){const m=s[l];if(m&&Gt(m)&&m.type===r)return l}return null}function fr(e,t,r,n){let o=e[r];const i=t.data;if(function J0(e){return e instanceof ci}(o)){const s=o;s.resolving&&function I1(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${r}`)}(function se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():$(e)}(i[r]));const a=Zs(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?it(s.injectImpl):null;fg(e,n,Y.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&function Q0(e,t,r){const{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){const s=Yp(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}(r,i[r],t)}finally{null!==c&&it(c),Zs(a),s.resolving=!1,mg()}}return o}function Tg(e,t,r){return!!(r[t+(e>>bg)]&1<{const t=e.prototype.constructor,r=t[_n]||ou(t),n=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){const i=o[_n]||ou(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ou(e){return Dc(e)?()=>{const t=ou(U(e));return t&&t()}:ur(e)}function xg(e){const t=e[T],r=t.type;return 2===r?t.declTNode:1===r?e[ze]:null}const zr="__parameters__";function Wr(e,t,r){return yn(()=>{const n=function iu(e){return function(...r){if(e){const n=e(...r);for(const o in n)this[o]=n[o]}}}(t);function o(...i){if(this instanceof o)return n.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(zr)?l[zr]:Object.defineProperty(l,zr,{value:[]})[zr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Yr(e,t){e.forEach(r=>Array.isArray(r)?Yr(r,t):t(r))}function Ng(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Ks(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ct(e,t,r){let n=Qr(e,t);return n>=0?e[1|n]=r:(n=~n,function mM(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(1===o)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function su(e,t){const r=Qr(e,t);if(r>=0)return e[1|r]}function Qr(e,t){return function Og(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){const i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<|^->||--!>|)/g,jM="\u200b$1\u200b";const du=new Map;let HM=0;const hu="__ngContext__";function qe(e,t){at(t)?(e[hu]=t[ri],function BM(e){du.set(e[ri],e)}(t)):e[hu]=t}let pu;function gu(e,t){return pu(e,t)}function vi(e){const t=e[_e];return Xe(t)?t[_e]:t}function Kg(e){return tm(e[ti])}function em(e){return tm(e[$t])}function tm(e){for(;null!==e&&!Xe(e);)e=e[$t];return e}function Kr(e,t,r,n,o){if(null!=n){let i,s=!1;Xe(n)?i=n:at(n)&&(s=!0,n=n[we]);const a=pe(n);0===e&&null!==r?null==o?im(t,r,a):hr(t,r,a,o||null,!0):1===e&&null!==r?hr(t,r,a,o||null,!0):2===e?function pa(e,t,r){const n=fa(e,t);n&&function aI(e,t,r,n){e.removeChild(t,r,n)}(e,n,t,r)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function uI(e,t,r,n,o){const i=r[rn];i!==pe(r)&&Kr(t,e,n,i,o);for(let a=He;at.replace(VM,jM))}(t))}function ua(e,t,r){return e.createElement(t,r)}function rm(e,t){const r=e[Vr],n=r.indexOf(t);ng(t),r.splice(n,1)}function da(e,t){if(e.length<=He)return;const r=He+t,n=e[r];if(n){const o=n[ni];null!==o&&o!==e&&rm(o,n),t>0&&(e[r-1][$t]=n[$t]);const i=Ks(e,He+t);!function KM(e,t){_i(e,t,t[G],2,null,null),t[we]=null,t[ze]=null}(n[T],n);const s=i[nn];null!==s&&s.detachView(i[T]),n[_e]=null,n[$t]=null,n[q]&=-129}return n}function vu(e,t){if(!(256&t[q])){const r=t[G];t[oi]&&Up(t[oi]),t[ii]&&Up(t[ii]),r.destroyNode&&_i(e,t,r,3,null,null),function nI(e){let t=e[ti];if(!t)return yu(e[T],e);for(;t;){let r=null;if(at(t))r=t[ti];else{const n=t[He];n&&(r=n)}if(!r){for(;t&&!t[$t]&&t!==e;)at(t)&&yu(t[T],t),t=t[_e];null===t&&(t=e),at(t)&&yu(t[T],t),r=t&&t[$t]}t=r}}(t)}}function yu(e,t){if(!(256&t[q])){t[q]&=-129,t[q]|=256,function sI(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),i+=2}else r[i].call(n[r[i+1]]);null!==n&&(t[Pr]=null);const o=t[$n];if(null!==o){t[$n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[n.directiveStart+o];if(i===Ut.None||i===Ut.Emulated)return null}return lt(n,r)}}(e,t.parent,r)}function hr(e,t,r,n,o){e.insertBefore(t,r,n,o)}function im(e,t,r){e.appendChild(t,r)}function sm(e,t,r,n,o){null!==n?hr(e,t,r,n,o):im(e,t,r)}function fa(e,t){return e.parentNode(t)}let Cu,Eu,ma,cm=function lm(e,t,r){return 40&e.type?lt(e,r):null};function ha(e,t,r,n){const o=_u(e,n,t),i=t[G],a=function am(e,t,r){return cm(e,t,r)}(n.parent||t[ze],n,t);if(null!=o)if(Array.isArray(r))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return ma}()?.createScriptURL(e)||e}class _m{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cp})`}}function Zn(e){return e instanceof _m?e.changingThisBreaksApplicationSecurity:e}function Ci(e,t){const r=function bI(e){return e instanceof _m&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${cp})`)}return r===t}const II=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var no=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(no||{});function ro(e){const t=bi();return t?t.sanitize(no.URL,e)||"":Ci(e,"URL")?Zn(e):function Iu(e){return(e=String(e)).match(II)?e:"unsafe:"+e}($(e))}function Im(e){const t=bi();if(t)return ym(t.sanitize(no.RESOURCE_URL,e)||"");if(Ci(e,"ResourceURL"))return ym(Zn(e));throw new S(904,!1)}function bi(){const e=M();return e&&e[kr].sanitizer}class x{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=L({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const wi=new x("ENVIRONMENT_INITIALIZER"),Tm=new x("INJECTOR",-1),Am=new x("INJECTOR_DEF_TYPES");class xu{get(t,r=Qo){if(r===Qo){const n=new Error(`NullInjectorError: No provider for ${ke(t)}!`);throw n.name="NullInjectorError",n}return r}}function Ru(e){return{\u0275providers:e}}function xm(...e){return{\u0275providers:Rm(0,e),\u0275fromNgModule:!0}}function Rm(e,...t){const r=[],n=new Set;let o;const i=s=>{r.push(s)};return Yr(t,s=>{const a=s;ya(a,i,[],n)&&(o||=[],o.push(a))}),void 0!==o&&Nm(o,i),r}function Nm(e,t){for(let r=0;r{t(i,n)})}}function ya(e,t,r,n){if(!(e=U(e)))return!1;let o=null,i=Ns(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Ns(l),!i)return!1;o=l}const a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ya(c,t,r,n)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;n.add(o);try{Yr(i.imports,u=>{ya(u,t,r,n)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Nm(c,t)}if(!a){const c=ur(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Am,useValue:o,multi:!0},o),t({provide:wi,useValue:()=>F(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Nu(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Nu(e,t){for(let r of e)bc(r)&&(r=r.\u0275providers),Array.isArray(r)?Nu(r,t):t(r)}const jI=ae({provide:String,useValue:ae});function Ou(e){return null!==e&&"object"==typeof e&&jI in e}function pr(e){return"function"==typeof e}const Pu=new x("Set Injector scope."),_a={},UI={};let ku;function Ca(){return void 0===ku&&(ku=new xu),ku}class Dt{}class Da extends Dt{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lu(t,s=>this.processProvider(s)),this.records.set(Tm,oo(void 0,this)),o.has("environment")&&this.records.set(Dt,oo(void 0,this));const i=this.records.get(Pu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Am.multi,te,Y.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Un(this),n=it(void 0);try{return t()}finally{Un(r),it(n)}}get(t,r=Qo,n=Y.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(yp))return t[yp](this);n=ks(n);const i=Un(this),s=it(void 0);try{if(!(n&Y.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function qI(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Rs(t);l=c&&this.injectableDefInScope(c)?oo(Fu(t),_a):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(n&Y.Self?Ca():this.parent).get(t,r=n&Y.Optional&&r===Qo?null:r)}catch(a){if("NullInjectorError"===a.name){if((a[Ps]=a[Ps]||[]).unshift(ke(t)),i)throw a;return function U1(e,t,r,n){const o=e[Ps];throw t[gp]&&o.unshift(t[gp]),e.message=function B1(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ke(t);if(Array.isArray(t))o=t.map(ke).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):ke(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(F1,"\n ")}`}("\n"+e.message,o,r,n),e.ngTokenPath=o,e[Ps]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{it(s),Un(i)}}resolveInjectorInitializers(){const t=Un(this),r=it(void 0);try{const o=this.get(wi.multi,te,Y.Self);for(const i of o)i()}finally{Un(t),it(r)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(ke(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let r=pr(t=U(t))?t:U(t&&t.provide);const n=function $I(e){return Ou(e)?oo(void 0,e.useValue):oo(km(e),_a)}(t);if(pr(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=oo(void 0,_a,!0),o.factory=()=>Rc(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===_a&&(r.value=UI,r.value=r.factory()),"object"==typeof r.value&&r.value&&function zI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=U(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Fu(e){const t=Rs(e),r=null!==t?t.factory:ur(e);if(null!==r)return r;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function BI(e){const t=e.length;if(t>0)throw function pi(e,t){const r=[];for(let n=0;nr.factory(e):()=>new e}(e);throw new S(204,!1)}function km(e,t,r){let n;if(pr(e)){const o=U(e);return ur(o)||Fu(o)}if(Ou(e))n=()=>U(e.useValue);else if(function Pm(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...Rc(e.deps||[]));else if(function Om(e){return!(!e||!e.useExisting)}(e))n=()=>F(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function GI(e){return!!e.deps}(e))return ur(o)||Fu(o);n=()=>new o(...Rc(e.deps))}return n}function oo(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Lu(e,t){for(const r of e)Array.isArray(r)?Lu(r,t):r&&bc(r)?Lu(r.\u0275providers,t):t(r)}const ba=new x("AppId",{providedIn:"root",factory:()=>WI}),WI="ng",Fm=new x("Platform Initializer"),gr=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Lm=new x("CSP nonce",{providedIn:"root",factory:()=>function to(){if(void 0!==Eu)return Eu;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Vm=(e,t,r)=>null;function zu(e,t,r=!1){return Vm(e,t,r)}class rS{}class Um{}class iS{resolveComponentFactory(t){throw function oS(e){const t=Error(`No component factory found for ${ke(e)}.`);return t.ngComponent=e,t}(t)}}let Ta=(()=>{class t{}return t.NULL=new iS,t})();function sS(){return ao(Be(),M())}function ao(e,t){return new bt(lt(e,t))}let bt=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=sS,t})();function aS(e){return e instanceof bt?e.nativeElement:e}class $m{}let Mn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function lS(){const e=M(),r=_t(Be().index,e);return(at(r)?r:e)[G]}(),t})(),cS=(()=>{var e;class t{}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>null}),t})();class Ii{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const uS=new Ii("16.2.8"),Zu={};function Wm(e,t=null,r=null,n){const o=Zm(e,t,r,n);return o.resolveInjectorInitializers(),o}function Zm(e,t=null,r=null,n,o=new Set){const i=[r||te,xm(e)];return n=n||("object"==typeof e?void 0:ke(e)),new Da(i,t||Ca(),n||null,o)}let wt=(()=>{var e;class t{static create(n,o){if(Array.isArray(n))return Wm({name:""},o,n,"");{const i=n.name??"";return Wm({name:i},n.parent,n.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Qo,e.NULL=new xu,e.\u0275prov=L({token:e,providedIn:"any",factory:()=>F(Tm)}),e.__NG_ELEMENT_ID__=-1,t})();function Qu(e){return e.ngOriginalError}class In{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Qu(t);for(;r&&Qu(r);)r=Qu(r);return r||null}}function Ju(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class vS extends Vt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;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=Ju(i),o&&(o=Ju(o)),s&&(s=Ju(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof gt&&t.add(a),a}};function Qm(...e){}class ge{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function yS(){const e="function"==typeof he.requestAnimationFrame;let t=he[e?"requestAnimationFrame":"setTimeout"],r=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function DS(e){const t=()=>{!function CS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ed(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ed(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(function wS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return r.invokeTask(o,i,s,a);try{return Xm(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Jm(e)}},onInvoke:(r,n,o,i,s,a,l)=>{try{return Xm(e),r.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Jm(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,ed(e),Ku(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.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(!ge.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(ge.isInAngularZone())throw new S(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,_S,Qm,Qm);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const _S={};function Ku(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 ed(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jm(e){e._nesting--,Ku(e)}const Km=new x("",{providedIn:"root",factory:ev});function ev(){const e=A(ge);let t=!0;return function b1(...e){const t=Yo(e),r=function g1(e,t){return"number"==typeof yc(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?jt(n[0]):Rr(r)(Ne(n,t)):Kt}(new Ie(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Ie(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ge.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(lp()))}function Sn(e){return e instanceof Function?e():e}let td=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new e}),t})();function Si(e){for(;e;){e[q]|=64;const t=vi(e);if(Lc(e)&&!t)return e;e=t}return null}const iv=new x("",{providedIn:"root",factory:()=>!1});let xa=null;function cv(e,t){return e[t]??fv()}function uv(e,t){const r=fv();r.producerNode?.length&&(e[t]=xa,r.lView=e,xa=dv())}const OS={...kp,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Si(e.lView)},lView:null};function dv(){return Object.create(OS)}function fv(){return xa??=dv(),xa}const z={};function _(e){hv(J(),M(),Ke()+e,!1)}function hv(e,t,r,n){if(!n)if(3==(3&t[q])){const i=e.preOrderCheckHooks;null!==i&&qs(t,i,r)}else{const i=e.preOrderHooks;null!==i&&Ws(t,i,0,r)}dr(r)}function I(e,t=Y.Default){const r=M();return null===r?F(e,t):Ig(Be(),r,U(e),t)}function Ra(e,t,r,n,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[we]=o,d[q]=140|n,(null!==c||e&&2048&e[q])&&(d[q]|=2048),tg(d),d[_e]=d[Fr]=e,d[Se]=r,d[kr]=s||e&&e[kr],d[G]=a||e&&e[G],d[Bn]=l||e&&e[Bn]||null,d[ze]=i,d[ri]=function UM(){return HM++}(),d[Dn]=u,d[Rp]=c,d[Te]=2==t.type?e[Te]:d,d}function uo(e,t,r,n,o){let i=e.data[t];if(null===i)i=function nd(e,t,r,n,o){const i=ag(),s=zc(),l=e.data[t]=function US(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ur(){return null!==H.skipHydrationRootTNode}()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,r,t,n,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,r,n,o),function H0(){return H.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=r,i.value=n,i.attrs=o;const s=function li(){const e=H.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return sn(i,!0),i}function Ti(e,t,r,n){if(0===r)return-1;const o=t.length;for(let i=0;iQ&&hv(e,t,Q,!1),on(a?2:0,o);const c=a?i:null,u=jc(c);try{null!==c&&(c.dirty=!1),r(n,o)}finally{Hc(c,u)}}finally{a&&null===t[oi]&&uv(t,oi),dr(s),on(a?3:1,o)}}function rd(e,t,r){if(Fc(t)){const n=Rt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function yv(e,t,r,n){for(let o in e)if(e.hasOwnProperty(o)){r=null===r?{}:r;const i=e[o];null===n?_v(r,t,o,i):n.hasOwnProperty(o)&&_v(r,t,n[o],i)}return r}function _v(e,t,r,n){e.hasOwnProperty(r)?e[r].push(t,n):e[r]=[t,n]}function Et(e,t,r,n,o,i,s,a){const l=lt(t,r);let u,c=t.inputs;!a&&null!=c&&(u=c[n])?(dd(e,r,u,n,o),cr(t)&&function GS(e,t){const r=_t(t,e);16&r[q]||(r[q]|=64)}(r,t.index)):3&t.type&&(n=function $S(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),o=null!=s?s(o,t.value||"",n):o,i.setProperty(l,n,o))}function ad(e,t,r,n){if(sg()){const o=null===n?null:{"":-1},i=function QS(e,t){const r=e.directiveRegistry;let n=null,o=null;if(r)for(let i=0;i0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(s)!=a&&s.push(a),s.push(r,n,i)}}(e,t,n,Ti(e,r,o.hostVars,z),o)}function ln(e,t,r,n,o,i){const s=lt(e,t);!function cd(e,t,r,n,o,i,s){if(null==i)e.removeAttribute(t,o,r);else{const a=null==s?$(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}(t[G],s,i,e.value,r,n,o)}function nT(e,t,r,n,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(n,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function y0(e,t,r){const n=Object.create(_0);r&&(n.consumerAllowSignalWrites=!0),n.fn=e,n.schedule=t;const o=s=>{n.cleanupFn=s};return n.ref={notify:()=>jp(n),run:()=>{if(n.dirty=!1,n.hasRun&&!Hp(n))return;n.hasRun=!0;const s=jc(n);try{n.cleanupFn(),n.cleanupFn=Zp,n.fn(o)}finally{Hc(n,s)}},cleanup:()=>n.cleanupFn()},n.ref}(n,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new e}),t})();function Oa(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Nv(e,1);const o=r.components;null!==o&&Pv(e,o,1)}}function Pv(e,t,r){for(let n=0;n-1&&(da(t,n),Ks(r,n))}this._attachedToViewContainer=!1}vu(this._lView[T],this._lView)}onDestroy(t){!function og(e,t){if(256==(256&e[q]))throw new S(911,!1);null===e[$n]&&(e[$n]=[]),e[$n].push(t)}(this._lView,t)}markForCheck(){Si(this._cdRefInjectingView||this._lView)}detach(){this._lView[q]&=-129}reattach(){this._lView[q]|=128}detectChanges(){Pa(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function tI(e,t){_i(e,t,t[G],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class dT extends xi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Pa(t[T],t,t[Se],!1)}checkNoChanges(){}get context(){return null}}class kv extends Ta{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=X(t);return new Ri(r,this.ngModule)}}function Fv(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class hT{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=ks(n);const o=this.injector.get(t,Zu,n);return o!==Zu||r===Zu?o:this.parentInjector.get(t,r,n)}}class Ri extends Um{get inputs(){const t=this.componentDef,r=t.inputTransforms,n=Fv(t.inputs);if(null!==r)for(const o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Fv(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function J1(e){return e.map(X1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){let i=(o=o||this.ngModule)instanceof Dt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new hT(t,i):t,a=s.get($m,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(cS,null),effectManager:s.get(Av,null),afterRenderEventManager:s.get(td,null)},g=a.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",y=n?function FS(e,t,r,n){const i=n.get(iv,!1)||r===Ut.ShadowDom,s=e.selectRootElement(t,i);return function LS(e){vv(e)}(s),s}(g,n,this.componentDef.encapsulation,s):ua(g,m,function fT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(m)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==y&&(D=zu(y,s,!0));const O=sd(0,null,null,1,0,null,null,null,null,null,null),N=Ra(null,O,null,E,null,null,d,g,s,null,D);let Z,Ge;Qc(N);try{const Tt=this.componentDef;let xr,ac=null;Tt.findHostDirectiveDefs?(xr=[],ac=new Map,Tt.findHostDirectiveDefs(Tt,xr,ac),xr.push(Tt)):xr=[Tt];const Ij=function gT(e,t){const r=e[T],n=Q;return e[n]=t,uo(r,n,2,"#host",null)}(N,y),Sj=function mT(e,t,r,n,o,i,s){const a=o[T];!function vT(e,t,r,n){for(const o of e)t.mergedAttrs=Ko(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Oa(t,t.mergedAttrs,!0),null!==r&&gm(n,r,t))}(n,e,t,s);let l=null;null!==t&&(l=zu(t,o[Bn]));const c=i.rendererFactory.createRenderer(t,r);let u=16;r.signals?u=4096:r.onPush&&(u=64);const d=Ra(o,mv(r),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&ld(a,e,n.length-1),Na(o,d),o[e.index]=d}(Ij,y,Tt,xr,N,d,g);Ge=eg(O,Q),y&&function _T(e,t,r,n){if(n)Pc(e,r,["ng-version",uS.full]);else{const{attrs:o,classes:i}=function K1(e){const t=[],r=[];let n=1,o=2;for(;n0&&pm(e,r,i.join(" "))}}(g,Tt,y,n),void 0!==r&&function CT(e,t,r){const n=e.projection=[];for(let o=0;o=0;n--){const o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=Ko(o.hostAttrs,r=Ko(r,o.hostAttrs))}}(n)}function ka(e){return e===tn?{}:e===te?[]:e}function wT(e,t){const r=e.viewQuery;e.viewQuery=r?(n,o)=>{t(n,o),r(n,o)}:t}function ET(e,t){const r=e.contentQueries;e.contentQueries=r?(n,o,i)=>{t(n,o,i),r(n,o,i)}:t}function MT(e,t){const r=e.hostBindings;e.hostBindings=r?(n,o)=>{t(n,o),r(n,o)}:t}function Uv(e){const t=e.inputConfig,r={};for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];Array.isArray(o)&&o[2]&&(r[n]=o[2])}e.inputTransforms=r}function Fa(e){return!!hd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function hd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cn(e,t,r){return e[t]=r}function We(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function zt(e,t,r,n){const o=M();return We(o,Br(),t)&&(J(),ln(be(),o,e,t,r,n)),zt}function ho(e,t,r,n){return We(e,Br(),r)?t+$(r)+n:z}function P(e,t,r,n,o,i,s,a){const l=M(),c=J(),u=e+Q,d=c.firstCreatePass?function QT(e,t,r,n,o,i,s,a,l){const c=t.consts,u=uo(t,e,4,s||null,zn(c,a));ad(t,r,u,zn(c,l)),zs(t,u);const d=u.tView=sd(2,u,n,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,r,n,o,i,s):c.data[u];sn(d,!1);const g=ey(c,l,d,e);Gs()&&ha(c,l,g,d),qe(g,l),Na(l,l[u]=wv(g,l,g,d)),Hs(d)&&od(c,l,d),null!=s&&id(l,d,a)}let ey=function ty(e,t,r,n){return qn(!0),t[G].createComment("")};function _d(e){return function Hr(e,t){return e[t]}(function j0(){return H.lFrame.contextLView}(),Q+e)}function w(e,t,r){const n=M();return We(n,Br(),t)&&Et(J(),be(),n,e,t,n[G],r,!1),w}function Cd(e,t,r,n,o){const s=o?"class":"style";dd(e,r,t.inputs[s],s,n)}function h(e,t,r,n){const o=M(),i=J(),s=Q+e,a=o[G],l=i.firstCreatePass?function eA(e,t,r,n,o,i){const s=t.consts,l=uo(t,e,2,n,zn(s,o));return ad(t,r,l,zn(s,i)),null!==l.attrs&&Oa(l,l.attrs,!1),null!==l.mergedAttrs&&Oa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,r,n):i.data[s],c=ny(i,o,l,a,t,e);o[s]=c;const u=Hs(l);return sn(l,!0),gm(a,c,l),32!=(32&l.flags)&&Gs()&&ha(i,o,c,l),0===function R0(){return H.lFrame.elementDepthCount}()&&qe(c,o),function N0(){H.lFrame.elementDepthCount++}(),u&&(od(i,o,l),rd(i,l,o)),null!==n&&id(o,l),h}function p(){let e=Be();zc()?qc():(e=e.parent,sn(e,!1));const t=e;(function P0(e){return H.skipHydrationRootTNode===e})(t)&&function V0(){H.skipHydrationRootTNode=null}(),function O0(){H.lFrame.elementDepthCount--}();const r=J();return r.firstCreatePass&&(zs(r,e),Fc(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function K0(e){return 0!=(8&e.flags)}(t)&&Cd(r,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function eM(e){return 0!=(16&e.flags)}(t)&&Cd(r,t,M(),t.stylesWithoutHost,!1),p}function v(e,t,r,n){return h(e,t,r,n),p(),v}let ny=(e,t,r,n,o,i)=>(qn(!0),ua(n,o,function vg(){return H.lFrame.currentNamespace}()));function ut(e,t,r){const n=M(),o=J(),i=e+Q,s=o.firstCreatePass?function rA(e,t,r,n,o){const i=t.consts,s=zn(i,n),a=uo(t,e,8,"ng-container",s);return null!==s&&Oa(a,s,!0),ad(t,r,a,zn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,n,t,r):o.data[i];sn(s,!0);const a=oy(o,n,s,e);return n[i]=a,Gs()&&ha(o,n,a,s),qe(a,n),Hs(s)&&(od(o,n,s),rd(o,s,n)),null!=r&&id(n,s),ut}function dt(){let e=Be();const t=J();return zc()?qc():(e=e.parent,sn(e,!1)),t.firstCreatePass&&(zs(t,e),Fc(e)&&t.queries.elementEnd(e)),dt}let oy=(e,t,r,n)=>(qn(!0),mu(t[G],""));function Ae(){return M()}function Fi(e){return!!e&&"function"==typeof e.then}function iy(e){return!!e&&"function"==typeof e.subscribe}function R(e,t,r,n){const o=M(),i=J(),s=Be();return function ay(e,t,r,n,o,i,s){const a=Hs(n),c=e.firstCreatePass&&Iv(e),u=t[Se],d=Mv(t);let g=!0;if(3&n.type||s){const C=lt(n,t),b=s?s(C):C,E=d.length,D=s?N=>s(pe(N[n.index])):n.index;let O=null;if(!s&&a&&(O=function sA(e,t,r,n){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,n.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,g=!1;else{i=cy(n,t,u,i,!1);const N=r.listen(b,o,i);d.push(i,N),c&&c.push(o,D,E,E+1)}}else i=cy(n,t,u,i,!1);const m=n.outputs;let y;if(g&&null!==m&&(y=m[o])){const C=y.length;if(C)for(let b=0;b-1?_t(e.index,t):t);let l=ly(t,r,n,s),c=i.__ngNextListenerFn__;for(;c;)l=ly(t,r,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function k(e=1){return function G0(e){return(H.lFrame.contextLView=function z0(e,t){for(;e>0;)t=t[Fr],e--;return t}(e,H.lFrame.contextLView))[Se]}(e)}function An(e,t,r,n,o){const i=M(),s=ho(i,t,r,n);return s!==z&&Et(J(),be(),i,e,s,i[G],o,!1),An}function Ua(e,t){return e<<17|t<<2}function Yn(e){return e>>17&32767}function Dd(e){return 2|e}function vr(e){return(131068&e)>>2}function bd(e,t){return-131069&e|t<<2}function wd(e){return 1|e}function _y(e,t,r,n,o){const i=e[r+1],s=null===t;let a=n?Yn(i):vr(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];gA(e[a],t)&&(l=!0,e[a+1]=n?wd(u):Dd(u)),a=n?Yn(u):vr(u)}l&&(e[r+1]=n?Dd(i):wd(i))}function gA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Qr(e,t)>=0}function Ba(e,t){return function qt(e,t,r,n){const o=M(),i=J(),s=function wn(e){const t=H.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}(2);i.firstUpdatePass&&function Ty(e,t,r,n){const o=e.data;if(null===o[r+1]){const i=o[Ke()],s=function Sy(e,t){return t>=e.expandoStartIndex}(e,r);(function Ny(e,t){return 0!=(e.flags&(t?8:16))})(i,n)&&null===t&&!s&&(t=!1),t=function EA(e,t,r,n){const o=function Zc(e){const t=H.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=n?t.residualClasses:t.residualStyles;if(null===o)0===(n?t.classBindings:t.styleBindings)&&(r=Li(r=Ed(null,e,t,r,n),t.attrs,n),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(r=Ed(o,e,t,r,n),null===i){let l=function MA(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==vr(n))return e[Yn(n)]}(e,t,n);void 0!==l&&Array.isArray(l)&&(l=Ed(null,e,t,l[1],n),l=Li(l,t.attrs,n),function IA(e,t,r,n){e[Yn(r?t.classBindings:t.styleBindings)]=n}(e,t,n,l))}else i=function SA(e,t,r){let n;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=r,o)if(0!==l){const g=Yn(e[a+1]);e[n+1]=Ua(g,a),0!==g&&(e[g+1]=bd(e[g+1],n)),e[a+1]=function dA(e,t){return 131071&e|t<<17}(e[a+1],n)}else e[n+1]=Ua(a,0),0!==a&&(e[a+1]=bd(e[a+1],n)),a=n;else e[n+1]=Ua(l,0),0===a?a=n:e[l+1]=bd(e[l+1],n),l=n;c&&(e[n+1]=Dd(e[n+1])),_y(e,u,n,!0),_y(e,u,n,!1),function pA(e,t,r,n,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Qr(i,t)>=0&&(r[n+1]=wd(r[n+1]))}(t,u,e,n,i),s=Ua(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,r,s,n)}}(i,e,s,n),t!==z&&We(o,s,t)&&function xy(e,t,r,n,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function fA(e){return 1==(1&e)}(c)?Ry(l,t,r,o,vr(c),s):void 0;$a(u)||($a(i)||function uA(e){return 2==(2&e)}(c)&&(i=Ry(l,null,r,o,a,s)),function dI(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=-1===n.indexOf("-")?void 0:Wn.DashCase;null==o?e.removeStyle(r,n,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Wn.Important),e.setStyle(r,n,o,i))}}(n,s,$s(Ke(),r),o,i))}(i,i.data[Ke()],o,o[G],e,o[s+1]=function RA(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ke(Zn(e)))),e}(t,r),n,s)}(e,t,null,!0),Ba}function Ed(e,t,r,n,o){let i=null;const s=r.directiveEnd;let a=r.directiveStylingLast;for(-1===a?a=r.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let g=r[o+1];g===z&&(g=d?te:void 0);let m=d?su(g,n):u===n?g:void 0;if(c&&!$a(m)&&(m=su(l,n)),$a(m)&&(a=m,s))return a;const y=e[o+1];o=s?Yn(y):vr(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=su(l,n))}return a}function $a(e){return void 0!==e}function f(e,t=""){const r=M(),n=J(),o=e+Q,i=n.firstCreatePass?uo(n,o,1,t,null):n.data[o],s=Oy(n,r,i,t,e);r[o]=s,Gs()&&ha(n,r,s,i),sn(i,!1)}let Oy=(e,t,r,n,o)=>(qn(!0),function ca(e,t){return e.createText(t)}(t[G],n));function Ce(e){return xn("",e,""),Ce}function xn(e,t,r){const n=M(),o=ho(n,e,t,r);return o!==z&&function Tn(e,t,r){const n=$s(t,e);!function nm(e,t,r){e.setValue(t,r)}(e[G],n,r)}(n,Ke(),o),xn}const wo="en-US";let t_=wo;function Sd(e,t,r,n,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(pr(e)||!e.multi){const m=new ci(c,o,I),y=Ad(l,t,o?u:u+g,d);-1===y?(ru(Ys(a,s),i,l),Td(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)):(r[y]=m,s[y]=m)}else{const m=Ad(l,t,u+g,d),y=Ad(l,t,u,u+g),b=y>=0&&r[y];if(o&&!b||!o&&!(m>=0&&r[m])){ru(Ys(a,s),i,l);const E=function Jx(e,t,r,n,o){const i=new ci(e,r,I);return i.multi=[],i.index=t,i.componentProviders=0,I_(i,o,n&&!r),i}(o?Xx:Qx,r.length,o,n,c);!o&&b&&(r[y].providerFactory=E),Td(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(E),s.push(E)}else Td(i,e,m>-1?m:y,I_(r[o?y:m],c,!o&&n));!o&&n&&b&&r[y].componentProviders++}}}function Td(e,t,r,n){const o=pr(t),i=function HI(e){return!!e.useClass}(t);if(o||i){const l=(i?U(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(r);-1===u?c.push(r,[n,l]):c[u+1].push(n,l)}else c.push(r,l)}}}function I_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Ad(e,t,r,n){for(let o=r;o{r.providersResolver=(n,o)=>function Yx(e,t,r){const n=J();if(n.firstCreatePass){const o=Gt(e);Sd(r,n.data,n.blueprint,o,!0),Sd(t,n.data,n.blueprint,o,!1)}}(n,o?o(e):e,t)}}class _r{}class S_{}class Rd extends _r{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kv(this);const o=yt(t);this._bootstrapComponents=Sn(o.bootstrap),this._r3Injector=Zm(t,r,[{provide:_r,useValue:this},{provide:Ta,useValue:this.componentFactoryResolver},...n],ke(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(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Nd extends S_{constructor(t){super(),this.moduleType=t}create(t){return new Rd(this.moduleType,t,[])}}class T_ extends _r{constructor(t){super(),this.componentFactoryResolver=new kv(this),this.instance=null;const r=new Da([...t.providers,{provide:_r,useValue:this},{provide:Ta,useValue:this.componentFactoryResolver}],t.parent||Ca(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Od(e,t,r=null){return new T_({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let tR=(()=>{var e;class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=Rm(0,n.type),i=o.length>0?Od([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=L({token:e,providedIn:"environment",factory:()=>new e(F(Dt))}),t})();function Mt(e){e.getStandaloneInjector=t=>t.get(tR).getOrCreateStandaloneInjector(e)}function K(e,t,r){const n=Je()+e,o=M();return o[n]===z?cn(o,n,r?t.call(r):t()):function Ni(e,t){return e[t]}(o,n)}function $i(e,t,r,n){return function F_(e,t,r,n,o,i){const s=t+r;return We(e,s,o)?cn(e,s+1,i?n.call(i,o):n(o)):Gi(e,s+1)}(M(),Je(),e,t,r,n)}function k_(e,t,r,n,o){return function L_(e,t,r,n,o,i,s){const a=t+r;return function mr(e,t,r,n){const o=We(e,t,r);return We(e,t+1,n)||o}(e,a,o,i)?cn(e,a+2,s?n.call(s,o,i):n(o,i)):Gi(e,a+2)}(M(),Je(),e,t,r,n,o)}function Gi(e,t){const r=e[t];return r===z?void 0:r}function ER(){return this._results[Symbol.iterator]()}class kd{get changes(){return this._changes||(this._changes=new Ee)}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 r=kd.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=ER)}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,r){return this._results.reduce(t,r)}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,r){const n=this;n.dirty=!1;const o=function Ot(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pM(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n0&&(r[o-1][$t]=t),n{class t{}return t.__NG_ELEMENT_ID__=AR,t})();const SR=Rn,TR=class extends SR{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const o=function MR(e,t,r,n){const o=t.tView,a=Ra(e,o,r,4096&e[q]?4096:16,null,t,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[ni]=e[t.index];const c=e[nn];return null!==c&&(a[nn]=c.createEmbeddedView(o)),fd(o,a,r),a}(this._declarationLView,this._declarationTContainer,t,{injector:r,hydrationInfo:n});return new xi(o)}};function AR(){return Za(Be(),M())}function Za(e,t){return 4&e.type?new TR(t,e,ao(e,t)):null}let Zt=(()=>{class t{}return t.__NG_ELEMENT_ID__=kR,t})();function kR(){return W_(Be(),M())}const FR=Zt,z_=class extends FR{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return ao(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qs(this._hostTNode,this._hostLView);if(eu(t)){const r=di(t,this._hostLView),n=ui(t);return new et(r[T].data[n+8],r)}return new et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=q_(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-He}createEmbeddedView(t,r,n){let o,i;"number"==typeof n?o=n:null!=n&&(o=n.index,i=n.injector);const a=t.createEmbeddedViewImpl(r||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,r,n,o,i){const s=t&&!function hi(e){return"function"==typeof e}(t);let a;if(s)a=r;else{const C=r||{};a=C.index,n=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef}const l=s?t:new Ri(X(t)),c=n||this.parentInjector;if(!i&&null==l.ngModule){const b=(s?c:this.parentInjector).get(Dt,null);b&&(i=b)}X(l.componentType??{});const m=l.create(c,o,null,i);return this.insertImpl(m.hostView,a,false),m}insert(t,r){return this.insertImpl(t,r,!1)}insertImpl(t,r,n){const o=t._lView;if(function T0(e){return Xe(e[_e])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[_e],u=new z_(c,c[ze],c[_e]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(r),a=this._lContainer;return IR(a,o,s,!n),t.attachToViewContainerRef(),Ng(Fd(a),s,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=q_(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=da(this._lContainer,r);n&&(Ks(Fd(this._lContainer),r),vu(n[T],n))}detach(t){const r=this._adjustIndex(t,-1),n=da(this._lContainer,r);return n&&null!=Ks(Fd(this._lContainer),r)?new xi(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function q_(e){return e[8]}function Fd(e){return e[8]||(e[8]=[])}function W_(e,t){let r;const n=t[e.index];return Xe(n)?r=n:(r=wv(n,t,null,e),t[e.index]=r,Na(t,r)),Z_(r,t,e,n),new z_(r,e,t)}let Z_=function Y_(e,t,r,n){if(e[rn])return;let o;o=8&r.type?pe(n):function LR(e,t){const r=e[G],n=r.createComment(""),o=lt(t,e);return hr(r,fa(r,o),n,function lI(e,t){return e.nextSibling(t)}(r,o),!1),n}(t,r),e[rn]=o};class Ld{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ld(this.queryList)}setDirty(){this.queryList.setDirty()}}class Vd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const n=null!==t.contentQueries?t.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=He;d{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=A(Wd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Fi(s))n.push(s);else if(iy(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),0===n.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),CC=(()=>{var e;class t{log(n){console.log(n)}warn(n){console.warn(n)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Nn=new x("LocaleId",{providedIn:"root",factory:()=>A(Nn,Y.Optional|Y.SkipSelf)||function pN(){return typeof $localize<"u"&&$localize.locale||wo}()});let Xa=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new At(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class vN{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let DC=(()=>{var e;class t{compileModuleSync(n){return new Nd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),s=Sn(yt(n).declarations).reduce((a,l)=>{const c=X(l);return c&&a.push(new Ri(c)),a},[]);return new vN(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const MC=new x(""),Ka=new x("");let Kd,Xd=(()=>{var e;class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Kd||(function LN(e){Kd=e}(i),i.addToWindow(o)),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:()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.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,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!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,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}}return(e=t).\u0275fac=function(n){return new(n||e)(F(ge),F(Jd),F(Ka))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),Jd=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Kd?.findTestabilityInTree(this,n,o)??null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Qn=null;const ef=new x("PlatformDestroyListeners"),tf=new x("appBootstrapListener");class TC{constructor(t,r){this.name=t,this.token=r}}function BN(e){try{const{rootComponent:t,appProviders:r,platformProviders:n}=e,o=function UN(e=[]){if(Qn)return Qn;const t=function xC(e=[],t){return wt.create({name:t,providers:[{provide:Pu,useValue:"platform"},{provide:ef,useValue:new Set([()=>Qn=null])},...e]})}(e);return Qn=t,function SC(){!function h0(e){Gp=e}(()=>{throw new S(600,!1)})}(),function AC(e){e.get(Fm,null)?.forEach(r=>r())}(t),t}(n),i=[WN(),...r||[]],a=new T_({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(ge);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(In,null);let u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:m=>{c.handleError(m)}})});const d=()=>a.destroy(),g=o.get(ef);return g.add(d),a.onDestroy(()=>{u.unsubscribe(),g.delete(d)}),function OC(e,t,r){try{const n=r();return Fi(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(c,l,()=>{const m=a.get(Zd);return m.runInitializers(),m.donePromise.then(()=>{!function n_(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&(t_=e.toLowerCase().replace(/_/g,"-"))}(a.get(Nn,wo)||wo);const C=a.get(Io);return void 0!==t&&C.bootstrap(t),C})})})}catch(t){return Promise.reject(t)}}let Io=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(FC),this.zoneIsStable=A(Km),this.componentTypes=[],this.components=[],this.isStable=A(Xa).hasPendingTasks.pipe(Ht(n=>n?V(!1):this.zoneIsStable),function w1(e,t=jn){return e=e??E1,Pe((r,n)=>{let o,i=!0;r.subscribe(Re(n,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,n.next(s))}))})}(),lp()),this._injector=A(Dt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const i=n instanceof Um;if(!this._injector.get(Zd).done)throw!i&&function Or(e){const t=X(e)||je(e)||Qe(e);return null!==t&&t.standalone}(n),new S(405,!1);let a;a=i?n:this._injector.get(Ta).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function jN(e){return e.isBoundToModule}(a)?void 0:this._injector.get(_r),u=a.create(wt.NULL,[],o||a.selector,l),d=u.location.nativeElement,g=u.injector.get(MC,null);return g?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),el(this.components,u),g?.unregisterApplication(d)}),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.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;el(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(tf,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>el(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=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function el(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const FC=new x("",{providedIn:"root",factory:()=>A(In).handleError.bind(void 0)});function zN(){const e=A(ge),t=A(In);return r=>e.runOutsideAngular(()=>t.handleError(r))}let qN=(()=>{var e;class t{constructor(){this.zone=A(ge),this.applicationRef=A(Io)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function LC(e){return[{provide:ge,useFactory:e},{provide:wi,multi:!0,useFactory:()=>{const t=A(qN,{optional:!0});return()=>t.initialize()}},{provide:FC,useFactory:zN},{provide:Km,useFactory:ev}]}function WN(e){return Ru([[],LC(()=>new ge(function NC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let tl=(()=>{class t{}return t.__NG_ELEMENT_ID__=ZN,t})();function ZN(e){return function YN(e,t,r){if(cr(e)&&!r){const n=_t(e.index,t);return new xi(n,n)}return 47&e.type?new xi(t[Te],t):null}(Be(),M(),16==(16&e))}class UC{constructor(){}supports(t){return Fa(t)}create(t){return new tO(t)}}const eO=(e,t)=>t;class tO{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||eO}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){const s=!n||r&&r.currentIndex<$C(n,o,i)?r:n,a=$C(s,o,i),l=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let g=0;g{s=this._trackByFn(o,a),null!==r&&Object.is(r.trackById,s)?(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)):(r=this._mismatch(r,a,s,o),n=!0),r=r._next,o++}),this.length=o;return this._truncate(r),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,r,n,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,i,o)):t=this._addAfter(new nO(r,n),i,o),t}_verifyReinsertion(t,r,n,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,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 r=t._next;this._addToRemovals(this._unlink(t)),t=r}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,r,n){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,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const o=null===r?this._itHead:r._next;return t._next=o,t._prev=r,null===o?this._itTail=t:o._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new BC),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return null===r?this._itHead=n:r._next=n,null===n?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new BC),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,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class nO{constructor(t,r){this.item=t,this.trackById=r,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 rO{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,r){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===r||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return null===r?this._head=n:r._nextDup=n,null===n?this._tail=r:n._prevDup=r,null===this._head}}class BC{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new rO,this.map.set(r,n)),n.add(t)}get(t,r){const o=this.map.get(t);return o?o.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(e,t,r){const n=e.previousIndex;if(null===n)return n;let o=0;return r&&n{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{const i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const n=t._prev;return r._next=t,r._prev=n,t._prev=r,n&&(n._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,r);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const n=new iO(t);return this._records.set(t,n),n.currentValue=r,this._addToAdditions(n),n}_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,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,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,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(n=>r(t[n],n))}}class iO{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 zC(){return new ol([new UC])}let ol=(()=>{var e;class t{constructor(n){this.factories=n}static create(n,o){if(null!=o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||zC()),deps:[[t,new na,new ta]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:zC}),t})();function qC(){return new Zi([new GC])}let Zi=(()=>{var e;class t{constructor(n){this.factories=n}static create(n,o){if(o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||qC()),deps:[[t,new na,new ta]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:qC}),t})(),lO=(()=>{var e;class t{constructor(n){}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Io))},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({}),t})();function So(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const ve_apiBaseUrl="https://www.palmmedia.de/api/";let uf=null;function Xn(){return uf}class bO{}const pt=new x("DocumentToken");let df=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(EO)},providedIn:"platform"}),t})();const wO=new x("Location Initialized");let EO=(()=>{var e;class t extends df{constructor(){super(),this._doc=A(pt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xn().getBaseHref(this._doc)}onPopState(n){const o=Xn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){const o=Xn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new e},providedIn:"platform"}),t})();function ff(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function tD(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function On(e){return e&&"?"!==e[0]?"?"+e:e}let Dr=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(rD)},providedIn:"root"}),t})();const nD=new x("appBaseHref");let rD=(()=>{var e;class t extends Dr{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??A(pt).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 ff(this._baseHref,n)}path(n=!1){const o=this._platformLocation.pathname+On(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){const a=this.prepareExternalUrl(i+On(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){const a=this.prepareExternalUrl(i+On(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(df),F(nD,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),MO=(()=>{var e;class t extends Dr{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=o&&(this._baseHref=o)}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 o=this._platformLocation.hash;return null==o&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){const o=ff(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+On(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+On(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(df),F(nD,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),hf=(()=>{var e;class t{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const o=this._locationStrategy.getBaseHref();this._basePath=function TO(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}(tD(oD(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+On(o))}normalize(n){return t.stripTrailingSlash(function SO(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,oD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(o)),i)}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(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{const o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}}return(e=t).normalizeQueryParams=On,e.joinWithSlash=ff,e.stripTrailingSlash=tD,e.\u0275fac=function(n){return new(n||e)(F(Dr))},e.\u0275prov=L({token:e,factory:function(){return function IO(){return new hf(F(Dr))}()},providedIn:"root"}),t})();function oD(e){return e.replace(/\/index.html$/,"")}function hD(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[o,i]=-1==n?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const wf=/\s+/,pD=[];let ml=(()=>{var e;class t{constructor(n,o,i,s){this._iterableDiffers=n,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=pD,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(wf):pD}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(wf):n}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const o of n)this._updateState(o,!0);else if(null!=n)for(const o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){const i=this.stateMap.get(n);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){(n=n.trim()).length>0&&n.split(wf).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(ol),I(Zi),I(bt),I(Mn))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class hP{constructor(t,r,n,o){this.$implicit=t,this.ngForOf=r,this.index=n,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 Ef=(()=>{var e;class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new hP(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),mD(l,i)}});for(let i=0,s=o.length;i{mD(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Zt),I(Rn),I(ol))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function mD(e,t){e.context.$implicit=t.item}let vl=(()=>{var e;class t{constructor(n,o){this._viewContainer=n,this._context=new pP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){vD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vD("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,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Zt),I(Rn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class pP{constructor(){this.$implicit=null,this.ngIf=null}}function vD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ke(t)}'.`)}let jP=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({}),t})();function DD(e){return"server"===e}let $P=(()=>{var e;class t{}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new GP(F(pt),window)}),t})();class GP{constructor(t,r){this.document=t,this.window=r,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 r=function zP(e,t){const r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=n.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class bD{}const{isArray:gk}=Array,{getPrototypeOf:mk,prototype:vk,keys:yk}=Object;function SD(e){if(1===e.length){const t=e[0];if(gk(t))return{args:t,keys:null};if(function _k(e){return e&&"object"==typeof e&&mk(e)===vk}(t)){const r=yk(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}const{isArray:Ck}=Array;function TD(e){return ee(t=>function Dk(e,t){return Ck(t)?e(...t):e(t)}(e,t))}function AD(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function Rf(...e){const t=Yo(e),r=op(e),{args:n,keys:o}=SD(e);if(0===n.length)return Ne([],t);const i=new Ie(function bk(e,t,r=jn){return n=>{xD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=Ne(e[l],t);let u=!1;c.subscribe(Re(n,d=>{i[l]=d,u||(u=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,t,o?s=>AD(o,s):jn));return r?i.pipe(TD(r)):i}function xD(e,t,r){e?vn(r,e,t):t()}const Cl=Wo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nf(...e){return function wk(){return Rr(1)}()(Ne(e,Yo(e)))}function RD(e){return new Ie(t=>{jt(e()).subscribe(t)})}function Ji(e,t){const r=ue(e)?e:()=>e,n=o=>o.error(r());return new Ie(t?o=>t.schedule(n,0,o):n)}function Of(){return Pe((e,t)=>{let r=null;e._refCount++;const n=Re(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(r=null);const o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}class ND extends Ie{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,$h(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 gt;const r=this.getSubject();t.add(this.source.subscribe(Re(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=gt.EMPTY)}return t}refCount(){return Of()(this)}}function Xt(e,t){return Pe((r,n)=>{let o=0;r.subscribe(Re(n,i=>e.call(t,i,o++)&&n.next(i)))})}function Dl(e){return Pe((t,r)=>{let n=!1;t.subscribe(Re(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function OD(e=Mk){return Pe((t,r)=>{let n=!1;t.subscribe(Re(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function Mk(){return new Cl}function br(e,t){const r=arguments.length>=2;return n=>n.pipe(e?Xt((o,i)=>e(o,i,n)):jn,ar(1),r?Dl(t):OD(()=>new Cl))}function Ao(e,t){return ue(t)?Ve(e,t,1):Ve(e,1)}function Ze(e,t,r){const n=ue(e)||t||r?{next:e,error:t,complete:r}:e;return n?Pe((o,i)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;o.subscribe(Re(i,l=>{var c;null===(c=n.next)||void 0===c||c.call(n,l),i.next(l)},()=>{var l;a=!1,null===(l=n.complete)||void 0===l||l.call(n),i.complete()},l=>{var c;a=!1,null===(c=n.error)||void 0===c||c.call(n,l),i.error(l)},()=>{var l,c;a&&(null===(l=n.unsubscribe)||void 0===l||l.call(n)),null===(c=n.finalize)||void 0===c||c.call(n)}))}):jn}function wr(e){return Pe((t,r)=>{let i,n=null,o=!1;n=t.subscribe(Re(r,void 0,void 0,s=>{i=jt(e(s,wr(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Pf(e){return e<=0?()=>Kt:Pe((t,r)=>{let n=[];t.subscribe(Re(r,o=>{n.push(o),e{for(const o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Ki(e){return Pe((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}class Rk extends bO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class kf extends Rk{static makeCurrent(){!function DO(e){uf||(uf=e)}(new kf)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return(r=r||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,r){return"window"===r?window:"document"===r?t:"body"===r?t.body:null}getBaseHref(t){const r=function Nk(){return es=es||document.querySelector("base"),es?es.getAttribute("href"):null}();return null==r?null:function Ok(e){bl=bl||document.createElement("a"),bl.setAttribute("href",e);const t=bl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(r)}resetBaseElement(){es=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return hD(document.cookie,t)}}let bl,es=null,kk=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const Ff=new x("EventManagerPlugins");let PD=(()=>{var e;class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(n,o),o}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Ff),F(ge))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();class kD{constructor(t){this._doc=t}}const Lf="ng-app-id";let FD=(()=>{var e;class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=DD(s),this.resetHostNodes()}addStyles(n){for(const o of n)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(n){for(const o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){const o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Lf}="${this.appId}"]`);if(n?.length){const o=new Map;return n.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){const i=this.styleRef;if(i.has(n)){const s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Lf),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Lf,this.appId),a}}addStyleToHost(n,o){const i=this.getStyleElement(n,o);n.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt),F(ba),F(Lm,8),F(gr))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const Vf={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/"},jf=/%COMP%/g,jk=new x("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function VD(e,t){return t.map(r=>r.replace(jf,e))}let jD=(()=>{var e;class t{constructor(n,o,i,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=DD(l),this.defaultRenderer=new Hf(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ut.ShadowDom&&(o={...o,encapsulation:Ut.Emulated});const i=this.getOrCreateRenderer(n,o);return i instanceof UD?i.applyToHost(n):i instanceof Uf&&i.applyStyles(),i}getOrCreateRenderer(n,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(o.encapsulation){case Ut.Emulated:s=new UD(c,u,o,this.appId,d,a,l,g);break;case Ut.ShadowDom:return new $k(c,u,n,o,a,l,this.nonce,g);default:s=new Uf(c,u,o,d,a,l,g)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(n){return new(n||e)(F(PD),F(FD),F(ba),F(jk),F(pt),F(gr),F(ge),F(Lm))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();class Hf{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Vf[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(HD(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(HD(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new S(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;const i=Vf[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){const o=Vf[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(Wn.DashCase|Wn.Important)?t.style.setProperty(r,n,o&Wn.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&Wn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t[r]=n}setValue(t,r){t.nodeValue=r}listen(t,r,n){if("string"==typeof t&&!(t=Xn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if("__ngUnwrap__"===r)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))&&r.preventDefault()}}}function HD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class $k extends Hf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=VD(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Uf extends Hf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=l?VD(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class UD extends Uf{constructor(t,r,n,o,i,s,a,l){const c=o+"-"+n.id;super(t,r,n,i,s,a,l,c),this.contentAttr=function Hk(e){return"_ngcontent-%COMP%".replace(jf,e)}(c),this.hostAttr=function Uk(e){return"_nghost-%COMP%".replace(jf,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){const n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}}let Gk=(()=>{var e;class t extends kD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const BD=["alt","control","meta","shift"],zk={"\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"},qk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Wk=(()=>{var e;class t extends kD{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const o=n.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),BD.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=zk[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),BD.forEach(a=>{a!==i&&(0,qk[a])(n)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function $D(e){return{appProviders:[...zD,...e?.providers??[]],platformProviders:Jk}}const Jk=[{provide:gr,useValue:"browser"},{provide:Fm,useValue:function Yk(){kf.makeCurrent()},multi:!0},{provide:pt,useFactory:function Xk(){return function mI(e){Eu=e}(document),document},deps:[]}],Kk=new x(""),GD=[{provide:Ka,useClass:class Pk{addToWindow(t){he.getAngularTestability=(n,o=!0)=>{const i=t.findTestabilityInTree(n,o);if(null==i)throw new S(5103,!1);return i},he.getAllAngularTestabilities=()=>t.getAllTestabilities(),he.getAllAngularRootElements=()=>t.getAllRootElements(),he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(n=>{const o=he.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&n(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,r,n){return null==r?null:t.getTestability(r)??(n?Xn().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},deps:[]},{provide:MC,useClass:Xd,deps:[ge,Jd,Ka]},{provide:Xd,useClass:Xd,deps:[ge,Jd,Ka]}],zD=[{provide:Pu,useValue:"root"},{provide:In,useFactory:function Qk(){return new In},deps:[]},{provide:Ff,useClass:Gk,multi:!0,deps:[pt,ge,gr]},{provide:Ff,useClass:Wk,multi:!0,deps:[pt]},jD,FD,PD,{provide:$m,useExisting:jD},{provide:bD,useClass:kk,deps:[]},[]];let eF=(()=>{var e;class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:ba,useValue:n.appId}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Kk,12))},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({providers:[...zD,...GD],imports:[jP,lO]}),t})(),qD=(()=>{var e;class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:function(n){let o=null;return o=n?new n:function nF(){return new qD(F(pt))}(),o},providedIn:"root"}),t})();typeof window<"u"&&window;const W="primary",ts=Symbol("RouteTitle");class aF{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function xo(e){return new aF(e)}function lF(e,t,r){const n=r.path.split("/");if(n.length>e.length||"full"===r.pathMatch&&(t.hasChildren()||n.lengthn[i]===o)}return e===t}function XD(e){return e.length>0?e[e.length-1]:null}function Kn(e){return function pk(e){return!!e&&(e instanceof Ie||ue(e.lift)&&ue(e.subscribe))}(e)?e:Fi(e)?Ne(Promise.resolve(e)):V(e)}const uF={exact:function eb(e,t,r){if(!Er(e.segments,t.segments)||!wl(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!eb(e.children[n],t.children[n],r))return!1;return!0},subset:tb},JD={exact:function dF(e,t){return fn(e,t)},subset:function fF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>QD(e[r],t[r]))},ignored:()=>!0};function KD(e,t,r){return uF[r.paths](e.root,t.root,r.matrixParams)&&JD[r.queryParams](e.queryParams,t.queryParams)&&!("exact"===r.fragment&&e.fragment!==t.fragment)}function tb(e,t,r){return nb(e,t,t.segments,r)}function nb(e,t,r,n){if(e.segments.length>r.length){const o=e.segments.slice(0,r.length);return!(!Er(o,r)||t.hasChildren()||!wl(o,r,n))}if(e.segments.length===r.length){if(!Er(e.segments,r)||!wl(e.segments,r,n))return!1;for(const o in t.children)if(!e.children[o]||!tb(e.children[o],t.children[o],n))return!1;return!0}{const o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!!(Er(e.segments,o)&&wl(e.segments,o,n)&&e.children[W])&&nb(e.children[W],t,i,n)}}function wl(e,t,r){return t.every((n,o)=>JD[r](e[o].parameters,n.parameters))}class Ro{constructor(t=new ce([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xo(this.queryParams)),this._queryParamMap}toString(){return gF.serialize(this)}}class ce{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return El(this)}}class ns{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=xo(this.parameters)),this._parameterMap}toString(){return ib(this)}}function Er(e,t){return e.length===t.length&&e.every((r,n)=>r.path===t[n].path)}let rs=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new $f},providedIn:"root"}),t})();class $f{parse(t){const r=new IF(t);return new Ro(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${os(t.root,!0)}`,n=function yF(e){const t=Object.keys(e).map(r=>{const n=e[r];return Array.isArray(n)?n.map(o=>`${Ml(r)}=${Ml(o)}`).join("&"):`${Ml(r)}=${Ml(n)}`}).filter(r=>!!r);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${r}${n}${"string"==typeof t.fragment?`#${function mF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const gF=new $f;function El(e){return e.segments.map(t=>ib(t)).join("/")}function os(e,t){if(!e.hasChildren())return El(e);if(t){const r=e.children[W]?os(e.children[W],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==W&&n.push(`${o}:${os(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=function pF(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===W&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==W&&(r=r.concat(t(o,n)))}),r}(e,(n,o)=>o===W?[os(e.children[W],!1)]:[`${o}:${os(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[W]?`${El(e)}/${r[0]}`:`${El(e)}/(${r.join("//")})`}}function rb(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ml(e){return rb(e).replace(/%3B/gi,";")}function Gf(e){return rb(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Il(e){return decodeURIComponent(e)}function ob(e){return Il(e.replace(/\+/g,"%20"))}function ib(e){return`${Gf(e.path)}${function vF(e){return Object.keys(e).map(t=>`;${Gf(t)}=${Gf(e[t])}`).join("")}(e.parameters)}`}const _F=/^[^\/()?;#]+/;function zf(e){const t=e.match(_F);return t?t[0]:""}const CF=/^[^\/()?;=#]+/,bF=/^[^=?&#]+/,EF=/^[^&#]+/;class IF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[W]=new ce(t,r)),n}parseSegment(){const t=zf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(t),new ns(Il(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=function DF(e){const t=e.match(CF);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const o=zf(this.remaining);o&&(n=o,this.capture(n))}t[Il(r)]=Il(n)}parseQueryParam(t){const r=function wF(e){const t=e.match(bF);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=function MF(e){const t=e.match(EF);return t?t[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const o=ob(r),i=ob(n);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 r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=zf(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new S(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=W);const s=this.parseChildren();r[i]=1===Object.keys(s).length?s[W]:new ce([],s),this.consumeOptional("//")}return r}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 sb(e){return e.segments.length>0?new ce([],{[W]:e}):e}function ab(e){const t={};for(const n of Object.keys(e.children)){const i=ab(e.children[n]);if(n===W&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function SF(e){if(1===e.numberOfChildren&&e.children[W]){const t=e.children[W];return new ce(e.segments.concat(t.segments),t.children)}return e}(new ce(e.segments,t))}function Mr(e){return e instanceof Ro}function lb(e){let t;const o=sb(function r(i){const s={};for(const l of i.children){const c=r(l);s[l.outlet]=c}const a=new ce(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function cb(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return qf(o,o,o,r,n);const i=function AF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new db(!0,0,e);let t=0,r=!1;const n=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...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?r=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new db(r,t,n)}(t);if(i.toRoot())return qf(o,o,new ce([],{}),r,n);const s=function xF(e,t,r){if(e.isAbsolute)return new Tl(t,!0,0);if(!r)return new Tl(t,!1,NaN);if(null===r.parent)return new Tl(r,!0,0);const n=Sl(e.commands[0])?0:1;return function RF(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new S(4005,!1);o=n.segments.length}return new Tl(n,!1,o-i)}(r,r.segments.length-1+n,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ss(s.segmentGroup,s.index,i.commands):fb(s.segmentGroup,s.index,i.commands);return qf(o,s.segmentGroup,a,r,n)}function Sl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function is(e){return"object"==typeof e&&null!=e&&e.outlets}function qf(e,t,r,n,o){let s,i={};n&&Object.entries(n).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===t?r:ub(e,t,r);const a=sb(ab(s));return new Ro(a,i,o)}function ub(e,t,r){const n={};return Object.entries(e.children).forEach(([o,i])=>{n[o]=i===t?r:ub(i,t,r)}),new ce(e.segments,n)}class db{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Sl(n[0]))throw new S(4003,!1);const o=n.find(is);if(o&&o!==XD(n))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tl{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function fb(e,t,r){if(e||(e=new ce([],{})),0===e.segments.length&&e.hasChildren())return ss(e,t,r);const n=function OF(e,t,r){let n=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;const s=e.segments[o],a=r[n];if(is(a))break;const l=`${a}`,c=n0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!pb(l,c,s))return i;n+=2}else{if(!pb(l,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==W)&&e.children[W]&&1===e.numberOfChildren&&0===e.children[W].segments.length){const i=ss(e.children[W],t,r);return new ce(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=fb(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===n[i]&&(o[i]=s)}),new ce(e.segments,o)}}function Wf(e,t,r){const n=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Wf(new ce([],{}),0,n))}),t}function hb(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function pb(e,t,r){return e==r.path&&fn(t,r.parameters)}const as="imperative";class hn{constructor(t,r){this.id=t,this.url=r}}class Al extends hn{constructor(t,r,n="imperative",o=null){super(t,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Fn extends hn{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ls extends hn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class No extends hn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=16}}class xl extends hn{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gb extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class FF extends hn{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,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 LF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class VF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jF{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class HF{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class UF{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BF{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $F{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GF{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mb{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Zf{}class Yf{constructor(t){this.url=t}}class zF{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new cs,this.attachRef=null}}let cs=(()=>{var e;class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){const i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){const o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new zF,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class vb{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=Qf(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=Qf(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=Xf(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Xf(t,this._root).map(r=>r.value)}}function Qf(e,t){if(e===t.value)return t;for(const r of t.children){const n=Qf(e,r);if(n)return n}return null}function Xf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Xf(e,r);if(n.length)return n.unshift(t),n}return[]}class Ln{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function Oo(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class yb extends vb{constructor(t,r){super(t),this.snapshot=r,Jf(this,t)}toString(){return this.snapshot.toString()}}function _b(e,t){const r=function qF(e,t){const s=new Rl([],{},{},"",{},W,t,null,{});return new Db("",new Ln(s,[]))}(0,t),n=new At([new ns("",{})]),o=new At({}),i=new At({}),s=new At({}),a=new At(""),l=new Ir(n,o,s,a,i,W,t,r.root);return l.snapshot=r.root,new yb(new Ln(l,[]),r)}class Ir{constructor(t,r,n,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[ts]))??V(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}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(ee(t=>xo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>xo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Cb(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const o=r[n],i=r[n-1];if(o.routeConfig&&""===o.routeConfig.path)n--;else{if(i.component)break;n--}}return function WF(e){return e.reduce((t,r)=>({params:{...t.params,...r.params},data:{...t.data,...r.data},resolve:{...r.data,...t.resolve,...r.routeConfig?.data,...r._resolvedData}}),{params:{},data:{},resolve:{}})}(r.slice(n))}class Rl{get title(){return this.data?.[ts]}constructor(t,r,n,o,i,s,a,l,c){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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=xo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Db extends vb{constructor(t,r){super(r),this.url=t,Jf(this,r)}toString(){return bb(this._root)}}function Jf(e,t){t.value._routerState=e,t.children.forEach(r=>Jf(e,r))}function bb(e){const t=e.children.length>0?` { ${e.children.map(bb).join(", ")} } `:"";return`${e.value}${t}`}function Kf(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,fn(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),fn(t.params,r.params)||e.paramsSubject.next(r.params),function cF(e,t){if(e.length!==t.length)return!1;for(let r=0;rfn(r.parameters,t[n].parameters))}(e.url,t.url);return r&&!(!e.parent!=!t.parent)&&(!e.parent||eh(e.parent,t.parent))}let th=(()=>{var e;class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=W,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=A(cs),this.location=A(Zt),this.changeDetector=A(tl),this.environmentInjector=A(Dt),this.inputBinder=A(Nl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),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,o){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=n;const i=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new ZF(n,l,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Nt]}),t})();class ZF{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Ir?this.route:t===cs?this.childContexts:this.parent.get(t,r)}}const Nl=new x("");let wb=(()=>{var e;class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:o}=n,i=Rf([o.queryParams,o.params,o.data]).pipe(Ht(([s,a,l],c)=>(l={...s,...a,...l},0===c?V(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(n);const a=function CO(e){const t=X(e);if(!t)return null;const r=new Ri(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(o.component);if(a)for(const{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,i)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function us(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const o=function QF(e,t,r){return t.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return us(e,n,o);return us(e,n)})}(e,t,r);return new Ln(n,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=>us(e,a)),s}}const n=function XF(e){return new Ir(new At(e.url),new At(e.params),new At(e.queryParams),new At(e.fragment),new At(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>us(e,i));return new Ln(n,o)}}const nh="ngNavigationCancelingError";function Eb(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=Mr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Mb(!1,0,t);return o.url=r,o.navigationBehaviorOptions=n,o}function Mb(e,t,r){const n=new Error("NavigationCancelingError: "+(e||""));return n[nh]=!0,n.cancellationCode=t,r&&(n.url=r),n}function Ib(e){return e&&e[nh]}let Sb=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Mt],decls:1,vars:0,template:function(n,o){1&n&&v(0,"router-outlet")},dependencies:[th],encapsulation:2}),t})();function rh(e){const t=e.children&&e.children.map(rh),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==W&&(r.component=Sb),r}function Jt(e){return e.outlet||W}function ds(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class i2{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Kf(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const o=Oo(r);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(o===i)if(o.component){const s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Oo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Oo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){const o=Oo(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new GF(i.value.snapshot))}),t.children.length&&this.forwardEvent(new BF(t.value.snapshot))}activateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(Kf(o),o===i)if(o.component){const s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){const s=n.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),Kf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ds(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}}class Tb{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ol{constructor(t,r){this.component=t,this.route=r}}function s2(e,t,r){const n=e._root;return fs(n,t?t._root:null,r,[n.value])}function Po(e,t){const r=Symbol(),n=t.get(e,r);return n===r?"function"!=typeof e||function R1(e){return null!==Rs(e)}(e)?t.get(e):e:n}function fs(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Oo(t);return e.children.forEach(s=>{(function l2(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function c2(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!Er(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Er(e.url,t.url)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!eh(e,t)||!fn(e.queryParams,t.queryParams);default:return!eh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Tb(n)):(i.data=s.data,i._resolvedData=s._resolvedData),fs(e,t,i.component?a?a.children:null:r,n,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ol(a.outlet.component,s))}else s&&hs(t,a,o),o.canActivateChecks.push(new Tb(n)),fs(e,null,i.component?a?a.children:null:r,n,o)})(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>hs(a,r.getContext(s),o)),o}function hs(e,t,r){const n=Oo(e),o=e.value;Object.entries(n).forEach(([i,s])=>{hs(s,o.component?t?t.children.getContext(i):null:t,r)}),r.canDeactivateChecks.push(new Ol(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ps(e){return"function"==typeof e}function Ab(e){return e instanceof Cl||"EmptyError"===e?.name}const Pl=Symbol("INITIAL_VALUE");function ko(){return Ht(e=>Rf(e.map(t=>t.pipe(ar(1),function Ek(...e){const t=Yo(e);return Pe((r,n)=>{(t?Nf(e,r,t):Nf(e,r)).subscribe(n)})}(Pl)))).pipe(ee(t=>{for(const r of t)if(!0!==r){if(r===Pl)return Pl;if(!1===r||r instanceof Ro)return r}return!0}),Xt(t=>t!==Pl),ar(1)))}function xb(e){return function OE(...e){return Hh(e)}(Ze(t=>{if(Mr(t))throw Eb(0,t)}),ee(t=>!0===t))}class kl{constructor(t){this.segmentGroup=t||null}}class Rb{constructor(t){this.urlTree=t}}function Fo(e){return Ji(new kl(e))}function Nb(e){return Ji(new Rb(e))}class A2{constructor(t,r){this.urlSerializer=t,this.urlTree=r}noMatchError(t){return new S(4002,!1)}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return V(n);if(o.numberOfChildren>1||!o.children[W])return Ji(new S(4e3,!1));o=o.children[W]}}applyRedirectCommands(t,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n)}applyRedirectCreateUrlTree(t,r,n,o){const i=this.createSegmentGroup(t,r.root,n,o);return new Ro(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){const i=this.createSegments(t,r.segments,n,o);let s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,n,o)}),new ce(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){const o=n[r.path.substring(1)];if(!o)throw new S(4001,!1);return o}findOrReturn(t,r){let n=0;for(const o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}}const oh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function x2(e,t,r,n,o){const i=ih(e,t,r);return i.matched?(n=function KF(e,t){return e.providers&&!e._injector&&(e._injector=Od(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,n),function I2(e,t,r,n){const o=t.canMatch;return o&&0!==o.length?V(o.map(s=>{const a=Po(s,e);return Kn(function g2(e){return e&&ps(e.canMatch)}(a)?a.canMatch(t,r):e.runInContext(()=>a(t,r)))})).pipe(ko(),xb()):V(!0)}(n,t,r).pipe(ee(s=>!0===s?i:{...oh}))):V(i)}function ih(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{...oh}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const o=(t.matcher||lF)(r,e,t);if(!o)return{...oh};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Ob(e,t,r,n){return r.length>0&&function O2(e,t,r){return r.some(n=>Fl(e,t,n)&&Jt(n)!==W)}(e,r,n)?{segmentGroup:new ce(t,N2(n,new ce(r,e.children))),slicedSegments:[]}:0===r.length&&function P2(e,t,r){return r.some(n=>Fl(e,t,n))}(e,r,n)?{segmentGroup:new ce(e.segments,R2(e,0,r,n,e.children)),slicedSegments:r}:{segmentGroup:new ce(e.segments,e.children),slicedSegments:r}}function R2(e,t,r,n,o){const i={};for(const s of n)if(Fl(e,r,s)&&!o[Jt(s)]){const a=new ce([],{});i[Jt(s)]=a}return{...o,...i}}function N2(e,t){const r={};r[W]=t;for(const n of e)if(""===n.path&&Jt(n)!==W){const o=new ce([],{});r[Jt(n)]=o}return r}function Fl(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path}class V2{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new A2(this.urlSerializer,this.urlTree)}noMatchError(t){return new S(4002,!1)}recognize(){const t=Ob(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,W).pipe(wr(r=>{if(r instanceof Rb)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof kl?this.noMatchError(r):r}),ee(r=>{const n=new Rl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},W,this.rootComponentType,null,{}),o=new Ln(n,r),i=new Db("",o),s=function TF(e,t,r=null,n=null){return cb(lb(e),t,r,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,W).pipe(wr(n=>{throw n instanceof kl?this.noMatchError(n):n}))}inheritParamsAndData(t){const r=t.value,n=Cb(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,r,n,o){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0)}processChildren(t,r,n){const o=[];for(const i of Object.keys(n.children))"primary"===i?o.unshift(i):o.push(i);return Ne(o).pipe(Ao(i=>{const s=n.children[i],a=function r2(e,t){const r=e.filter(n=>Jt(n)===t);return r.push(...e.filter(n=>Jt(n)!==t)),r}(r,i);return this.processSegmentGroup(t,a,s,i)}),function Sk(e,t){return Pe(function Ik(e,t,r,n,o){return(i,s)=>{let a=r,l=t,c=0;i.subscribe(Re(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),n&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Dl(null),function Tk(e,t){const r=arguments.length>=2;return n=>n.pipe(e?Xt((o,i)=>e(o,i,n)):jn,Pf(1),r?Dl(t):OD(()=>new Cl))}(),Ve(i=>{if(null===i)return Fo(n);const s=Pb(i);return function j2(e){e.sort((t,r)=>t.value.outlet===W?-1:r.value.outlet===W?1:t.value.outlet.localeCompare(r.value.outlet))}(s),V(s)}))}processSegment(t,r,n,o,i,s){return Ne(r).pipe(Ao(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(wr(l=>{if(l instanceof kl)return V(null);throw l}))),br(a=>!!a),wr(a=>{if(Ab(a))return function F2(e,t,r){return 0===t.length&&!e.children[r]}(n,o,i)?V([]):Fo(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return function k2(e,t,r,n){return!!(Jt(e)===n||n!==W&&Fl(t,r,e))&&("**"===e.path||ih(t,e,r).matched)}(n,o,i,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,o,n,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):Fo(o):Fo(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,o){const i=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Nb(i):this.applyRedirects.lineralizeSegments(n,i).pipe(Ve(s=>{const a=new ce(s,{});return this.processSegment(t,r,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=ih(r,o,i);if(!a)return Fo(r);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?Nb(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Ve(g=>this.processSegment(t,n,r,g.concat(c),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a;if("**"===n.path){const l=o.length>0?XD(o).parameters:{};a=V({snapshot:new Rl(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,kb(n),Jt(n),n.component??n._loadedComponent??null,n,Fb(n)),consumedSegments:[],remainingSegments:[]}),r.children={}}else a=x2(r,n,o,t).pipe(ee(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new Rl(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,kb(n),Jt(n),n.component??n._loadedComponent??null,n,Fb(n)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(Ht(l=>null===l?Fo(r):this.getChildConfig(t=n._injector??t,n,o).pipe(Ht(({routes:c})=>{const u=n._loadedInjector??t,{snapshot:d,consumedSegments:g,remainingSegments:m}=l,{segmentGroup:y,slicedSegments:C}=Ob(r,g,m,c);if(0===C.length&&y.hasChildren())return this.processChildren(u,c,y).pipe(ee(E=>null===E?null:[new Ln(d,E)]));if(0===c.length&&0===C.length)return V([new Ln(d,[])]);const b=Jt(n)===i;return this.processSegment(u,c,y,C,b?W:i,!0).pipe(ee(E=>[new Ln(d,E)]))}))))}getChildConfig(t,r,n){return r.children?V({routes:r.children,injector:t}):r.loadChildren?void 0!==r._loadedRoutes?V({routes:r._loadedRoutes,injector:r._loadedInjector}):function M2(e,t,r,n){const o=t.canLoad;return void 0===o||0===o.length?V(!0):V(o.map(s=>{const a=Po(s,e);return Kn(function d2(e){return e&&ps(e.canLoad)}(a)?a.canLoad(t,r):e.runInContext(()=>a(t,r)))})).pipe(ko(),xb())}(t,r,n).pipe(Ve(o=>o?this.configLoader.loadChildren(t,r).pipe(Ze(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):function T2(e){return Ji(Mb(!1,3))}())):V({routes:[],injector:t})}}function H2(e){const t=e.value.routeConfig;return t&&""===t.path}function Pb(e){const t=[],r=new Set;for(const n of e){if(!H2(n)){t.push(n);continue}const o=t.find(i=>n.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...n.children),r.add(o)):t.push(n)}for(const n of r){const o=Pb(n.children);t.push(new Ln(n.value,o))}return t.filter(n=>!r.has(n))}function kb(e){return e.data||{}}function Fb(e){return e.resolve||{}}function Lb(e){return"string"==typeof e.title||null===e.title}function sh(e){return Ht(t=>{const r=e(t);return r?Ne(r).pipe(ee(()=>t)):V(t)})}const Lo=new x("ROUTES");let ah=(()=>{var e;class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=A(DC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return V(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const o=Kn(n.loadComponent()).pipe(ee(Vb),Ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Ki(()=>{this.componentLoaders.delete(n)})),i=new ND(o,()=>new Vt).pipe(Of());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return V({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const s=function W2(e,t,r,n){return Kn(e.loadChildren()).pipe(ee(Vb),Ve(o=>o instanceof S_||Array.isArray(o)?V(o):Ne(t.compileModuleAsync(o))),ee(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(r).injector,s=i.get(Lo,[],{optional:!0,self:!0}).flat()),{routes:s.map(rh),injector:i}}))}(o,this.compiler,n,this.onLoadEndListener).pipe(Ki(()=>{this.childrenLoaders.delete(o)})),a=new ND(s,()=>new Vt).pipe(Of());return this.childrenLoaders.set(o,a),a}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Vb(e){return function Z2(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Ll=(()=>{var e;class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Vt,this.transitionAbortSubject=new Vt,this.configLoader=A(ah),this.environmentInjector=A(Dt),this.urlSerializer=A(rs),this.rootContexts=A(cs),this.inputBindingEnabled=null!==A(Nl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>V(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new HF(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new jF(i))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:o})}setupNavigations(n,o,i){return this.transitions=new At({id:0,currentUrlTree:o,currentRawUrl:o,currentBrowserUrl:o,extractedUrl:n.urlHandlingStrategy.extract(o),urlAfterRedirects:n.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:as,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Xt(s=>0!==s.id),ee(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),Ht(s=>{this.currentTransition=s;let a=!1,l=!1;return V(s).pipe(Ze(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ht(c=>{const u=c.currentBrowserUrl.toString(),d=!n.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!d&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const m="";return this.events.next(new No(c.id,this.urlSerializer.serialize(c.rawUrl),m,0)),c.resolve(null),Kt}if(n.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return V(c).pipe(Ht(m=>{const y=this.transitions?.getValue();return this.events.next(new Al(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),y!==this.transitions?.getValue()?Kt:Promise.resolve(m)}),function U2(e,t,r,n,o,i){return Ve(s=>function L2(e,t,r,n,o,i,s="emptyOnly"){return new V2(e,t,r,n,o,s,i).recognize()}(e,t,r,n,s.extractedUrl,o,i).pipe(ee(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Ze(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:m.urlAfterRedirects};const y=new gb(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(y)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:m,extractedUrl:y,source:C,restoredState:b,extras:E}=c,D=new Al(m,this.urlSerializer.serialize(y),C,b);this.events.next(D);const O=_b(0,this.rootComponentType).snapshot;return this.currentTransition=s={...c,targetSnapshot:O,urlAfterRedirects:y,extras:{...E,skipLocationChange:!1,replaceUrl:!1}},V(s)}{const m="";return this.events.next(new No(c.id,this.urlSerializer.serialize(c.extractedUrl),m,1)),c.resolve(null),Kt}}),Ze(c=>{const u=new kF(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),ee(c=>(this.currentTransition=s={...c,guards:s2(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},s)),function v2(e,t){return Ve(r=>{const{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return 0===s.length&&0===i.length?V({...r,guardsResult:!0}):function y2(e,t,r,n){return Ne(e).pipe(Ve(o=>function E2(e,t,r,n,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?V(i.map(a=>{const l=ds(t)??o,c=Po(a,l);return Kn(function p2(e){return e&&ps(e.canDeactivate)}(c)?c.canDeactivate(e,t,r,n):l.runInContext(()=>c(e,t,r,n))).pipe(br())})).pipe(ko()):V(!0)}(o.component,o.route,r,t,n)),br(o=>!0!==o,!0))}(s,n,o,e).pipe(Ve(a=>a&&function u2(e){return"boolean"==typeof e}(a)?function _2(e,t,r,n){return Ne(t).pipe(Ao(o=>Nf(function D2(e,t){return null!==e&&t&&t(new UF(e)),V(!0)}(o.route.parent,n),function C2(e,t){return null!==e&&t&&t(new $F(e)),V(!0)}(o.route,n),function w2(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function a2(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=>RD(()=>V(s.guards.map(l=>{const c=ds(s.node)??r,u=Po(l,c);return Kn(function h2(e){return e&&ps(e.canActivateChild)}(u)?u.canActivateChild(n,e):c.runInContext(()=>u(n,e))).pipe(br())})).pipe(ko())));return V(i).pipe(ko())}(e,o.path,r),function b2(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return V(!0);const o=n.map(i=>RD(()=>{const s=ds(t)??r,a=Po(i,s);return Kn(function f2(e){return e&&ps(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(br())}));return V(o).pipe(ko())}(e,o.route,r))),br(o=>!0!==o,!0))}(n,i,e,t):V(a)),ee(a=>({...r,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),Ze(c=>{if(s.guardsResult=c.guardsResult,Mr(c.guardsResult))throw Eb(0,c.guardsResult);const u=new FF(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Xt(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),sh(c=>{if(c.guards.canActivateChecks.length)return V(c).pipe(Ze(u=>{const d=new LF(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Ht(u=>{let d=!1;return V(u).pipe(function B2(e,t){return Ve(r=>{const{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return V(r);let i=0;return Ne(o).pipe(Ao(s=>function $2(e,t,r,n){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Lb(o)&&(i[ts]=o.title),function G2(e,t,r,n){const o=function z2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return V({});const i={};return Ne(o).pipe(Ve(s=>function q2(e,t,r,n){const o=ds(t)??n,i=Po(e,o);return Kn(i.resolve?i.resolve(t,r):o.runInContext(()=>i(t,r)))}(e[s],t,r,n).pipe(br(),Ze(a=>{i[s]=a}))),Pf(1),function Ak(e){return ee(()=>e)}(i),wr(s=>Ab(s)?Kt:Ji(s)))}(i,e,t,n).pipe(ee(s=>(e._resolvedData=s,e.data=Cb(e,r).resolve,o&&Lb(o)&&(e.data[ts]=o.title),null)))}(s.route,n,e,t)),Ze(()=>i++),Pf(1),Ve(s=>i===o.length?V(r):Kt))})}(n.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",2)}}))}),Ze(u=>{const d=new VF(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),sh(c=>{const u=d=>{const g=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(d.routeConfig).pipe(Ze(m=>{d.component=m}),ee(()=>{})));for(const m of d.children)g.push(...u(m));return g};return Rf(u(c.targetSnapshot.root)).pipe(Dl(),ar(1))}),sh(()=>this.afterPreactivation()),ee(c=>{const u=function YF(e,t,r){const n=us(e,t._root,r?r._root:void 0);return new yb(n,t)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s={...c,targetRouterState:u},s}),Ze(()=>{this.events.next(new Zf)}),((e,t,r,n)=>ee(o=>(new i2(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ar(1),Ze({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Fn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),n.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),function xk(e){return Pe((t,r)=>{jt(e).subscribe(Re(r,()=>r.complete(),lc)),!r.closed&&t.subscribe(r)})}(this.transitionAbortSubject.pipe(Ze(c=>{throw c}))),Ki(()=>{a||l||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),wr(c=>{if(l=!0,Ib(c))this.events.next(new ls(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),function JF(e){return Ib(e)&&Mr(e.url)}(c)?this.events.next(new Yf(c.url)):s.resolve(!1);else{this.events.next(new xl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){s.reject(u)}}return Kt}))}))}cancelNavigationTransition(n,o,i){const s=new ls(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function jb(e){return e!==as}let Hb=(()=>{var e;class t{buildTitle(n){let o,i=n.root;for(;void 0!==i;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===W);return o}getResolvedTitleForRoute(n){return n.data[ts]}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(Y2)},providedIn:"root"}),t})(),Y2=(()=>{var e;class t extends Hb{constructor(n){super(),this.title=n}updateTitle(n){const o=this.buildTitle(n);void 0!==o&&this.title.setTitle(o)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(qD))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Q2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(J2)},providedIn:"root"}),t})();class X2{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let J2=(()=>{var e;class t extends X2{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Vl=new x("",{providedIn:"root",factory:()=>({})});let K2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(eL)},providedIn:"root"}),t})(),eL=(()=>{var e;class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();var gs=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(gs||{});function Ub(e,t){e.events.pipe(Xt(r=>r instanceof Fn||r instanceof ls||r instanceof xl||r instanceof No),ee(r=>r instanceof Fn||r instanceof No?gs.COMPLETE:r instanceof ls&&(0===r.code||1===r.code)?gs.REDIRECTING:gs.FAILED),Xt(r=>r!==gs.REDIRECTING),ar(1)).subscribe(()=>{t()})}function tL(e){throw e}function nL(e,t,r){return t.parse("/")}const rL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},oL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let St=(()=>{var e;class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=A(CC),this.isNgZoneEnabled=!1,this._events=new Vt,this.options=A(Vl,{optional:!0})||{},this.pendingTasks=A(Xa),this.errorHandler=this.options.errorHandler||tL,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||nL,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=A(K2),this.routeReuseStrategy=A(Q2),this.titleStrategy=A(Hb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=A(Lo,{optional:!0})?.flat()??[],this.navigationTransitions=A(Ll),this.urlSerializer=A(rs),this.location=A(hf),this.componentInputBindingEnabled=!!A(Nl,{optional:!0}),this.eventsSubscription=new gt,this.isNgZoneEnabled=A(ge)instanceof ge&&ge.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ro,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=_b(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(o=>{try{const{currentTransition:i}=this.navigationTransitions;if(null===i)return void(Bb(o)&&this._events.next(o));if(o instanceof Al)jb(i.source)&&(this.browserUrlTree=i.extractedUrl);else if(o instanceof No)this.rawUrlTree=i.rawUrl;else if(o instanceof gb){if("eager"===this.urlUpdateStrategy){if(!i.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl);this.setBrowserUrl(s,i)}this.browserUrlTree=i.urlAfterRedirects}}else if(o instanceof Zf)this.currentUrlTree=i.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i),this.browserUrlTree=i.urlAfterRedirects);else if(o instanceof ls)0!==o.code&&1!==o.code&&(this.navigated=!0),(3===o.code||2===o.code)&&this.restoreHistory(i);else if(o instanceof Yf){const s=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||jb(i.source)};this.scheduleNavigation(s,as,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}o instanceof xl&&this.restoreHistory(i,!0),o instanceof Fn&&(this.navigated=!0),Bb(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),as,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const o="popstate"===n.type?"popstate":"hashchange";"popstate"===o&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,o,n.state)},0)}))}navigateToSyncWithBrowser(n,o,i){const s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){const c={...i};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(s.state=c)}const l=this.parseUrl(n);this.scheduleNavigation(l,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){const{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=o,u=c?this.currentUrlTree.fragment:a;let g,d=null;switch(l){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{g=lb(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return cb(g,n,d,u??null)}navigateByUrl(n,o={skipLocationChange:!1}){const i=Mr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,as,null,o)}navigate(n,o={skipLocationChange:!1}){return function iL(e){for(let t=0;t{const s=n[i];return null!=s&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((g,m)=>{l=g,c=m});const d=this.pendingTasks.add();return Ub(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(g=>Promise.reject(g))}setBrowserUrl(n,o){const i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){const a={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(i,"",a)}else{const s={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(i,"",s)}}restoreHistory(n,o=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&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))}generateNgRouterState(n,o){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Bb(e){return!(e instanceof Zf||e instanceof Yf)}let pn=(()=>{var e;class t{constructor(n,o,i,s,a,l){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Vt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Fn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||o||i||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Sm(e,t,r){return function VI(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Im:ro}(t,r)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){const i=this.renderer,s=this.el.nativeElement;null!==o?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(St),I(Ir),function Js(e){return function oM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const n=r.length;let o=0;for(;o{var e;class t{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Fn&&this.update()})}ngAfterContentInit(){V(this.links.changes,V(null)).pipe(Rr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Ne(n).pipe(Rr()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){const o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),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 o=function sL(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&n.isActive(i.urlTree,o)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(St),I(bt),I(Mn),I(tl),I(pn,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,o,i){if(1&n&&K_(i,pn,5),2&n){let s;J_(s=function eC(){return function zR(e,t){return e[nn].queries[t].queryList}(M(),dg())}())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Nt]}),t})();class Gb{}let aL=(()=>{var e;class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Xt(n=>n instanceof Fn),Ao(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){const i=[];for(const s of o){s.providers&&!s._injector&&(s._injector=Od(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ne(i).pipe(Rr())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;i=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(n,o):V(null);const s=i.pipe(Ve(a=>null===a?V(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return o.loadComponent&&!o._loadedComponent?Ne([s,this.loader.loadComponent(o)]).pipe(Rr()):s})}}return(e=t).\u0275fac=function(n){return new(n||e)(F(St),F(DC),F(Dt),F(Gb),F(ah))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const lh=new x("");let zb=(()=>{var e;class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Al?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Fn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof No&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof mb&&(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,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mb(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){!function pv(){throw new Error("invalid")}()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function Vn(e,t){return{\u0275kind:e,\u0275providers:t}}function Wb(){const e=A(wt);return t=>{const r=e.get(Io);if(t!==r.components[0])return;const n=e.get(St),o=e.get(Zb);1===e.get(ch)&&n.initialNavigation(),e.get(Yb,null,Y.Optional)?.setUpPreloading(),e.get(lh,null,Y.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const Zb=new x("",{factory:()=>new Vt}),ch=new x("",{providedIn:"root",factory:()=>1}),Yb=new x("");function dL(e){return Vn(0,[{provide:Yb,useExisting:aL},{provide:Gb,useExisting:e}])}const Qb=new x("ROUTER_FORROOT_GUARD"),hL=[hf,{provide:rs,useClass:$f},St,cs,{provide:Ir,useFactory:function qb(e){return e.routerState.root},deps:[St]},ah,[]];function pL(){return new TC("Router",St)}let Xb=(()=>{var e;class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[hL,[],{provide:Lo,multi:!0,useValue:n},{provide:Qb,useFactory:yL,deps:[[St,new ta,new na]]},{provide:Vl,useValue:o||{}},o?.useHash?{provide:Dr,useClass:MO}:{provide:Dr,useClass:rD},{provide:lh,useFactory:()=>{const e=A($P),t=A(ge),r=A(Vl),n=A(Ll),o=A(rs);return r.scrollOffset&&e.setOffset(r.scrollOffset),new zb(o,n,e,t,r)}},o?.preloadingStrategy?dL(o.preloadingStrategy).\u0275providers:[],{provide:TC,multi:!0,useFactory:pL},o?.initialNavigation?_L(o):[],o?.bindToComponentInputs?Vn(8,[wb,{provide:Nl,useExisting:wb}]).\u0275providers:[],[{provide:Jb,useFactory:Wb},{provide:tf,multi:!0,useExisting:Jb}]]}}static forChild(n){return{ngModule:t,providers:[{provide:Lo,multi:!0,useValue:n}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Qb,8))},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({}),t})();function yL(e){return"guarded"}function _L(e){return["disabled"===e.initialNavigation?Vn(3,[{provide:Wd,multi:!0,useFactory:()=>{const t=A(St);return()=>{t.setUpLocationChangeListener()}}},{provide:ch,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Vn(2,[{provide:ch,useValue:0},{provide:Wd,multi:!0,deps:[wt],useFactory:t=>{const r=t.get(wO,Promise.resolve());return()=>r.then(()=>new Promise(n=>{const o=t.get(St),i=t.get(Zb);Ub(o,()=>{n(!0)}),t.get(Ll).afterPreactivation=()=>(n(!0),i.closed?V(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Jb=new x(""),DL=function(){return["/pro"]};let bL=(()=>{var e;class t{constructor(){this.years=(new Date).getFullYear()-2009}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-footer"]],standalone:!0,features:[Mt],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5",2,"max-height","300px"],[1,"col-xs-12","col-md-8"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[3,"routerLink"],[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","mt-4","mt-md-0"],["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","mt-4","mt-md-0"],[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,o){1&n&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),v(5,"img",5),p(),h(6,"div",6)(7,"h2"),f(8,"Who's behind"),p(),h(9,"p"),f(10,"My name is Daniel Palme. I'm a software developer from Germany."),p(),h(11,"p"),f(12," Back in 2009 I wanted to create a code coverage report based on "),h(13,"i"),f(14,"PartCover"),p(),f(15," files."),v(16,"br"),f(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),v(18,"br"),f(19),h(20,"i"),f(21,"ReportGenerator"),p(),f(22,". "),p(),h(23,"p"),f(24," You can support the ongoing maintenance by becoming a "),v(25,"i",7),f(26,"\xa0"),h(27,"a",8),f(28,"GitHub sponsor"),p(),f(29," or by buying a "),h(30,"a",9),f(31,"PRO license"),p(),f(32,". "),p()()()()(),h(33,"div",2)(34,"div",3),v(35,"hr"),p()(),h(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),f(42,"GitHub"),p()(),h(43,"a",11),f(44,"Source code"),p(),v(45,"br"),h(46,"a",12),f(47,"Wiki"),p(),v(48,"br"),h(49,"a",13),f(50,"FAQ"),p()(),h(51,"div",14)(52,"p")(53,"b"),f(54,"Download"),p()(),h(55,"i"),f(56,"NuGet"),p(),v(57,"br"),h(58,"a",15),f(59,"ReportGenerator"),p(),v(60,"br"),h(61,"a",16),f(62,"dotnet-reportgenerator-globaltool"),p(),v(63,"br"),h(64,"a",17),f(65,"ReportGenerator.Core"),p(),v(66,"br")(67,"br"),h(68,"i"),f(69,"Integration"),p(),v(70,"br"),h(71,"a",18),f(72,"GitHub actions"),p(),v(73,"br"),h(74,"a",19),f(75,"Azure DevOps"),p()(),h(76,"div",20)(77,"p")(78,"b"),f(79,"Community"),p()(),h(80,"a",11),v(81,"i",21),f(82," GitHub"),p(),v(83,"br"),h(84,"a",22),v(85,"i",23),f(86," Twitter"),p(),v(87,"br")(88,"br"),h(89,"a",24),f(90,"Privacy"),p(),v(91,"br"),h(92,"a",25),f(93,"Imprint"),p()()()()()()),2&n&&(_(19),xn(" Fast forward ",o.years," years, I'm still maintaining "),_(11),w("routerLink",K(2,DL)))},dependencies:[pn],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]}),t})();const Kb=function(){return["/"]},wL=function(e){return{show:e}},Vo=function(){return["link-active"]},ew=function(){return{exact:!0}},EL=function(){return["/features"]},ML=function(){return["/getstarted"]},IL=function(){return["/usage"]},SL=function(){return["/contact"]},TL=function(){return["/pro"]};let AL=(()=>{var e;class t{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[Mt],decls:42,vars:34,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-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-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",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"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(n,o){1&n&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),v(4,"img",4),h(5,"span",5),f(6,"ReportGenerator"),p()(),h(7,"button",6),R("click",function(){return o.toggle()}),v(8,"span",7),p(),h(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),f(13,"Home"),p()(),h(14,"li",10)(15,"a",11),f(16,"Features"),p()(),h(17,"li",12)(18,"a",13),f(19,"Get started"),p()(),h(20,"li",12)(21,"a",11),f(22,"Usage"),p()(),h(23,"li",12)(24,"a",11),f(25,"Contact"),p()(),h(26,"li",12)(27,"a",11)(28,"span",14),f(29,"PRO"),p()()()(),v(30,"hr",15),h(31,"ul",16)(32,"li",17)(33,"a",18),v(34,"i",19),h(35,"span",20),f(36,"GitHub"),p()()(),h(37,"li",17)(38,"a",21),v(39,"i",22),h(40,"span",20),f(41,"Twitter"),p()()()()()()()()),2&n&&(_(3),w("routerLink",K(17,Kb)),_(4),zt("aria-expanded",o.isExpanded),_(2),w("ngClass",$i(18,wL,o.isExpanded)),_(2),w("routerLinkActive",K(20,Vo))("routerLinkActiveOptions",K(21,ew)),_(1),w("routerLink",K(22,Kb)),_(2),w("routerLinkActive",K(23,Vo))("routerLinkActiveOptions",K(24,ew)),_(1),w("routerLink",K(25,EL)),_(2),w("routerLinkActive",K(26,Vo)),_(1),w("routerLink",K(27,ML)),_(2),w("routerLinkActive",K(28,Vo)),_(1),w("routerLink",K(29,IL)),_(2),w("routerLinkActive",K(30,Vo)),_(1),w("routerLink",K(31,SL)),_(2),w("routerLinkActive",K(32,Vo)),_(1),w("routerLink",K(33,TL)))},dependencies:[pn,ml,$b],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]}),t})(),xL=(()=>{var e;class t{constructor(n,o,i){this.dom=n,this.router=o,this.activatedRoute=i}ngOnInit(){this.router.events.pipe(Xt(n=>n instanceof Fn),ee(()=>this.activatedRoute),ee(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Xt(n=>"primary"===n.outlet),Ve(n=>n.data)).subscribe(n=>{const o=`${window.location.protocol}//${window.location.hostname}`;this.updateCanonicalUrl(n.canonical?o+n.canonical:o+this.router.url)})}updateCanonicalUrl(n){const o=this.dom.getElementsByTagName("head")[0];var i=this.dom.querySelector("link[rel='canonical']")||null;null==i&&(i=this.dom.createElement("link"),o.appendChild(i)),i.setAttribute("rel","canonical"),i.setAttribute("href",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(pt),I(St),I(Ir))},e.\u0275cmp=vt({type:e,selectors:[["app-root"]],standalone:!0,features:[Mt],decls:3,vars:0,template:function(n,o){1&n&&v(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[AL,th,bL],encapsulation:2}),t})(),tw=(()=>{var e;class t{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt))},e.\u0275dir=B({type:e}),t})(),Sr=(()=>{var e;class t extends tw{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,features:[le]}),t})();const gn=new x("NgValueAccessor"),OL={provide:gn,useExisting:fe(()=>jo),multi:!0},kL=new x("CompositionEventMode");let jo=(()=>{var e;class t extends tw{constructor(n,o,i){super(n,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PL(){const e=Xn()?Xn().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=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt),I(kL,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,o){1&n&&R("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[De([OL]),le]}),t})();function er(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const Ye=new x("NgValidators"),tr=new x("NgAsyncValidators"),FL=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function sw(e){return er(e.value)?{required:!0}:null}function lw(e){return er(e.value)||FL.test(e.value)?null:{email:!0}}function jl(e){return null}function fw(e){return null!=e}function hw(e){return Fi(e)?Ne(e):e}function pw(e){let t={};return e.forEach(r=>{t=null!=r?{...t,...r}:t}),0===Object.keys(t).length?null:t}function gw(e,t){return t.map(r=>r(e))}function mw(e){return e.map(t=>function LL(e){return!e.validate}(t)?t:r=>t.validate(r))}function uh(e){return null!=e?function vw(e){if(!e)return null;const t=e.filter(fw);return 0==t.length?null:function(r){return pw(gw(r,t))}}(mw(e)):null}function dh(e){return null!=e?function yw(e){if(!e)return null;const t=e.filter(fw);return 0==t.length?null:function(r){return function RL(...e){const t=op(e),{args:r,keys:n}=SD(e),o=new Ie(i=>{const{length:s}=r;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=g},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(n?AD(n,a):a),i.complete())}))}});return t?o.pipe(TD(t)):o}(gw(r,t).map(hw)).pipe(ee(pw))}}(mw(e)):null}function _w(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function fh(e){return e?Array.isArray(e)?e:[e]:[]}function Hl(e,t){return Array.isArray(e)?e.includes(t):e===t}function bw(e,t){const r=fh(t);return fh(e).forEach(o=>{Hl(r,o)||r.push(o)}),r}function ww(e,t){return fh(t).filter(r=>!Hl(e,r))}class Ew{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=uh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dh(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=void 0){this.control&&this.control.reset(t)}hasError(t,r){return!!this.control&&this.control.hasError(t,r)}getError(t,r){return this.control?this.control.getError(t,r):null}}class ot extends Ew{get formDirective(){return null}get path(){return null}}class nr extends Ew{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Mw{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 Ul=(()=>{var e;class t extends Mw{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(nr,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){2&n&&Ba("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[le]}),t})(),Bl=(()=>{var e;class t extends Mw{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(ot,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){2&n&&Ba("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[le]}),t})();const ms="VALID",Gl="INVALID",Ho="PENDING",vs="DISABLED";function gh(e){return(zl(e)?e.validators:e)||null}function mh(e,t){return(zl(t)?t.asyncValidators:e)||null}function zl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Aw{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}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===ms}get invalid(){return this.status===Gl}get pending(){return this.status==Ho}get disabled(){return this.status===vs}get enabled(){return this.status!==vs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(bw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(bw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ww(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ww(t,this._rawAsyncValidators))}hasValidator(t){return Hl(this._rawValidators,t)}hasAsyncValidator(t){return Hl(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(r=>{r.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(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Ho,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=vs,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=ms,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!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===ms||this.status===Ho)&&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(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vs:ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ho,this._hasOwnPendingAsyncValidator=!0;const r=hw(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(!1!==r.emitEvent)}get(t){let r=t;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((n,o)=>n&&n._find(o),this)}getError(t,r){const n=r?this.get(r):this;return n&&n.errors?n.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}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 Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?vs:this.errors?Gl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ho)?Ho:this._anyControlsHaveStatus(Gl)?Gl:ms}_anyControlsHaveStatus(t){return this._anyControls(r=>r.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){zl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function UL(e){return Array.isArray(e)?uh(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function BL(e){return Array.isArray(e)?dh(e):e||null}(this._rawAsyncValidators)}}class vh extends Aw{constructor(t,r,n){super(gh(r),mh(n,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,n={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){(function Tw(e,t,r){e._forEachChild((n,o)=>{if(void 0===r[o])throw new S(1002,"")})})(this,0,t),Object.keys(t).forEach(n=>{(function Sw(e,t,r){const n=e.controls;if(!(t?Object.keys(n):n).length)throw new S(1e3,"");if(!n[r])throw new S(1001,"")})(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){null!=t&&(Object.keys(t).forEach(n=>{const o=this.controls[n];o&&o.patchValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((n,o)=>{n.reset(t[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,n)=>(t[n]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,n)=>!!n._syncPendingControls()||r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{const n=this.controls[r];n&&t(n,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[r,n]of Object.entries(this.controls))if(this.contains(r)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,n,o)=>((n.enabled||this.disabled)&&(r[o]=n.value),r))}_reduceChildren(t,r){let n=t;return this._forEachChild((o,i)=>{n=r(n,o,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Uo=new x("CallSetDisabledState",{providedIn:"root",factory:()=>ql}),ql="always";function ys(e,t,r=ql){yh(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===r)&&t.valueAccessor.setDisabledState?.(e.disabled),function zL(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&xw(e,t)})}(e,t),function WL(e,t){const r=(n,o)=>{t.valueAccessor.writeValue(n),o&&t.viewToModelUpdate(n)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}(e,t),function qL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&xw(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function GL(e,t){if(t.valueAccessor.setDisabledState){const r=n=>{t.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}(e,t)}function Yl(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function yh(e,t){const r=function Cw(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(_w(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const n=function Dw(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(_w(n,t.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);const o=()=>e.updateValueAndValidity();Yl(t._rawValidators,o),Yl(t._rawAsyncValidators,o)}function xw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const JL={provide:ot,useExisting:fe(()=>Bo)},_s=(()=>Promise.resolve())();let Bo=(()=>{var e;class t extends ot{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new vh({},uh(n),dh(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){_s.then(()=>{const o=this._findContainer(n.path);n.control=o.registerControl(n.name,n.control),ys(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){_s.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){_s.then(()=>{const o=this._findContainer(n.path),i=new vh({});(function Rw(e,t){yh(e,t)})(i,n),o.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){_s.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,o){_s.then(()=>{this.form.get(n.path).setValue(o)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Nw(e,t){e._syncPendingControls(),t.forEach(r=>{const n=r.control;"submit"===n.updateOn&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){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=t).\u0275fac=function(n){return new(n||e)(I(Ye,10),I(tr,10),I(Uo,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){1&n&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[De([JL]),le]}),t})();function Ow(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function Pw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const kw=class extends Aw{constructor(t=null,r,n){super(gh(r),mh(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zl(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=Pw(t)?t.value:t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ow(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ow(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){Pw(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}},tV={provide:nr,useExisting:fe(()=>Cs)},Vw=(()=>Promise.resolve())();let Cs=(()=>{var e;class t extends nr{constructor(n,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new kw,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function Dh(e,t){if(!t)return null;let r,n,o;return Array.isArray(t),t.forEach(i=>{i.constructor===jo?r=i:function QL(e){return Object.getPrototypeOf(e.constructor)===Sr}(i)?n=i:o=i}),o||n||r||null}(0,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Ch(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.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(){ys(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){Vw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const o=n.isDisabled.currentValue,i=0!==o&&So(o);Vw.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Wl(e,t){return[...t.path,e]}(n,this._parent):[n]}}return(e=t).\u0275fac=function(n){return new(n||e)(I(ot,9),I(Ye,10),I(tr,10),I(gn,10),I(tl,8),I(Uo,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:[De([tV]),le,Nt]}),t})(),Xl=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const rV={provide:gn,useExisting:fe(()=>bh),multi:!0};let Hw=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({}),t})(),oV=(()=>{var e;class t{constructor(){this._accessors=[]}add(n,o){this._accessors.push([n,o])}remove(n){for(let o=this._accessors.length-1;o>=0;--o)if(this._accessors[o][1]===n)return void this._accessors.splice(o,1)}select(n){this._accessors.forEach(o=>{this._isSameGroup(o,n)&&o[1]!==n&&o[1].fireUncheck(n.value)})}_isSameGroup(n,o){return!!n[0].control&&n[0]._parent===o._control._parent&&n[1].name===o.name}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:Hw}),t})(),bh=(()=>{var e;class t extends Sr{constructor(n,o,i,s){super(n,o),this._registry=i,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=A(Uo,{optional:!0})??ql}ngOnInit(){this._control=this._injector.get(nr),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)}}setDisabledState(n){(this.setDisabledStateFired||n||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt),I(oV),I(wt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,o){1&n&&R("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[De([rV]),le]}),t})();const dV={provide:gn,useExisting:fe(()=>Jl),multi:!0};function qw(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Jl=(()=>{var e;class t extends Sr{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 i=qw(this._getOptionId(n),n);this.setProperty("value",i)}registerOnChange(n){this.onChange=o=>{this.value=this._getOptionValue(o),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),n))return o;return null}_getOptionValue(n){const o=function fV(e){return e.split(":")[0]}(n);return this._optionMap.has(o)?this._optionMap.get(o):n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,o){1&n&&R("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[De([dV]),le]}),t})(),Ww=(()=>{var e;class t{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(qw(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=t).\u0275fac=function(n){return new(n||e)(I(bt),I(Mn),I(Jl,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const hV={provide:gn,useExisting:fe(()=>Ih),multi:!0};function Zw(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ih=(()=>{var e;class t extends Sr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let o;if(this.value=n,Array.isArray(n)){const i=n.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(n){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(Zw(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Zw(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=t).\u0275fac=function(n){return new(n||e)(I(bt),I(Mn),I(Ih,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();let Tr=(()=>{var e;class t{constructor(){this._validator=jl}ngOnChanges(n){if(this.inputName in n){const o=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):jl,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,features:[Nt]}),t})();const vV={provide:Ye,useExisting:fe(()=>$o),multi:!0};let $o=(()=>{var e;class t extends Tr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=So,this.createValidator=n=>sw}enabled(n){return n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||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,o){2&n&&zt("required",o._enabled?"":null)},inputs:{required:"required"},features:[De([vV]),le]}),t})();const _V={provide:Ye,useExisting:fe(()=>Kl),multi:!0};let Kl=(()=>{var e;class t extends Tr{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=So,this.createValidator=n=>lw}enabled(n){return n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[De([_V]),le]}),t})();const DV={provide:Ye,useExisting:fe(()=>Sh),multi:!0};let Sh=(()=>{var e;class t extends Tr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function Qw(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function uw(e){return t=>function rw(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&zt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[De([DV]),le]}),t})();const bV={provide:Ye,useExisting:fe(()=>Th),multi:!0};let Th=(()=>{var e;class t extends Tr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function dw(e){if(!e)return jl;let t,r;return"string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),n=>{if(er(n.value))return null;const o=n.value;return t.test(o)?null:{pattern:{requiredPattern:r,actualValue:o}}}}(n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&zt("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[De([bV]),le]}),t})(),wV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({imports:[Hw]}),t})(),ec=(()=>{var e;class t{static withConfig(n){return{ngModule:t,providers:[{provide:Uo,useValue:n.callSetDisabledState??ql}]}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({imports:[wV]}),t})();class tc{}class nc{}class mn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(r=>{const n=r.indexOf(":");if(n>0){const o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof mn?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){const r=new mn;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof mn?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){const r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,r);const o=("a"===t.op?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(r);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}else this.headers.delete(r),this.normalizedNames.delete(r)}}setHeaderEntries(t,r){const n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}}class MV{encodeKey(t){return nE(t)}encodeValue(t){return nE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const SV=/%(\d[a-f0-9])/gi,TV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nE(e){return encodeURIComponent(e).replace(SV,(t,r)=>TV[r]??t)}function rc(e){return`${e}`}class rr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new MV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function IV(e,t){const r=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=r.get(s)||[];l.push(a),r.set(s,l)}),r}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{const n=t.fromObject[r],o=Array.isArray(n)?n.map(rc):[rc(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){const r=[];return Object.keys(t).forEach(n=>{const o=t[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const r=new rr({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}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 r=("a"===t.op?this.map.get(t.param):void 0)||[];r.push(rc(t.value)),this.map.set(t.param,r);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const o=n.indexOf(rc(t.value));-1!==o&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class AV{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),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 rE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function oE(e){return typeof Blob<"u"&&e instanceof Blob}function iE(e){return typeof FormData<"u"&&e instanceof FormData}class Ds{constructor(t,r,n,o){let i;if(this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function xV(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!==n?n:null,i=o):i=n,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 mn),this.context||(this.context=new AV),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=r;else{const a=r.indexOf("?");this.urlWithParams=r+(-1===a?"?":ad.set(g,t.setHeaders[g]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,g)=>d.set(g,t.setParams[g]),c)),new Ds(r,n,i,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Go=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Go||{});class Ah{constructor(t,r=200,n="OK"){this.headers=t.headers||new mn,this.status=void 0!==t.status?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class xh extends Ah{constructor(t={}){super(t),this.type=Go.ResponseHeader}clone(t={}){return new xh({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 zo extends Ah{constructor(t={}){super(t),this.type=Go.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new zo({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 sE extends Ah{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 Rh(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 Nh=(()=>{var e;class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Ds)s=n;else{let c,u;c=i.headers instanceof mn?i.headers:new mn(i.headers),i.params&&(u=i.params instanceof rr?i.params:new rr({fromObject:i.params})),s=new Ds(n,o,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const a=V(s).pipe(Ao(c=>this.handler.handle(c)));if(n instanceof Ds||"events"===i.observe)return a;const l=a.pipe(Xt(c=>c instanceof zo));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ee(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(ee(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(ee(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(ee(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:(new rr).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Rh(i,o))}post(n,o,i={}){return this.request("POST",n,Rh(i,o))}put(n,o,i={}){return this.request("PUT",n,Rh(i,o))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(tc))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function cE(e,t){return t(e)}function OV(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}const kV=new x(""),bs=new x(""),uE=new x("");function FV(){let e=null;return(t,r)=>{null===e&&(e=(A(kV,{optional:!0})??[]).reduceRight(OV,cE));const n=A(Xa),o=n.add();return e(t,r).pipe(Ki(()=>n.remove(o)))}}let dE=(()=>{var e;class t extends tc{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=A(Xa)}handle(n){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(bs),...this.injector.get(uE,[])]));this.chain=i.reduceRight((s,a)=>function PV(e,t,r){return(n,o)=>r.runInContext(()=>t(n,i=>e(i,o)))}(s,a,this.injector),cE)}const o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Ki(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(nc),F(Dt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const HV=/^\)\]\}',?\n/;let hE=(()=>{var e;class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new S(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?Ne(o.\u0275loadImpl()):V(null)).pipe(Ht(()=>new Ie(s=>{const a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((b,E)=>a.setRequestHeader(b,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const b=n.detectContentTypeHeader();null!==b&&a.setRequestHeader("Content-Type",b)}if(n.responseType){const b=n.responseType.toLowerCase();a.responseType="json"!==b?b:"text"}const l=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const b=a.statusText||"OK",E=new mn(a.getAllResponseHeaders()),D=function UV(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||n.url;return c=new xh({headers:E,status:a.status,statusText:b,url:D}),c},d=()=>{let{headers:b,status:E,statusText:D,url:O}=u(),N=null;204!==E&&(N=typeof a.response>"u"?a.responseText:a.response),0===E&&(E=N?200:0);let Z=E>=200&&E<300;if("json"===n.responseType&&"string"==typeof N){const Ge=N;N=N.replace(HV,"");try{N=""!==N?JSON.parse(N):null}catch(Tt){N=Ge,Z&&(Z=!1,N={error:Tt,text:N})}}Z?(s.next(new zo({body:N,headers:b,status:E,statusText:D,url:O||void 0})),s.complete()):s.error(new sE({error:N,headers:b,status:E,statusText:D,url:O||void 0}))},g=b=>{const{url:E}=u(),D=new sE({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(D)};let m=!1;const y=b=>{m||(s.next(u()),m=!0);let E={type:Go.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),"text"===n.responseType&&a.responseText&&(E.partialText=a.responseText),s.next(E)},C=b=>{let E={type:Go.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",y),null!==l&&a.upload&&a.upload.addEventListener("progress",C)),a.send(l),s.next({type:Go.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",d),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",y),null!==l&&a.upload&&a.upload.removeEventListener("progress",C)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(bD))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const Oh=new x("XSRF_ENABLED"),pE=new x("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),gE=new x("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class mE{}let GV=(()=>{var e;class t{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,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=hD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt),F(gr),F(pE))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function zV(e,t){const r=e.url.toLowerCase();if(!A(Oh)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=A(mE).getToken(),o=A(gE);return null!=n&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var or=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(or||{});const vE=new x("LEGACY_INTERCEPTOR_FN");class KV{constructor(){this.name="",this.email="",this.message=""}}let yE=(()=>{var e;class t{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${ve_apiBaseUrl}contact`,n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Nh))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function e3(e,t){if(1&e){const r=Ae();h(0,"form",5,6),R("ngSubmit",function(){return ne(r),re(k().submit())}),h(2,"div",7)(3,"label",8),f(4,"Name "),h(5,"span",9),f(6,"*"),p()(),h(7,"input",10),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),f(10,"Email address "),h(11,"span",9),f(12,"*"),p()(),h(13,"input",12),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),f(16,"Message "),h(17,"span",9),f(18,"*"),p()(),h(19,"textarea",14),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.message=o)}),p()(),h(20,"button",15),f(21,"Submit"),p()()}if(2&e){const r=_d(1),n=k();_(7),w("ngModel",n.contactViewModel.name),_(6),w("ngModel",n.contactViewModel.email),_(6),w("ngModel",n.contactViewModel.message),_(1),w("disabled",!r.valid||n.enableFormCountDown>0)}}function t3(e,t){1&e&&(h(0,"p"),f(1,"Thanks for your message."),p())}function n3(e,t){1&e&&(h(0,"p",16),f(1,"Something went wrong. Please try again later."),p())}let r3=(()=>{var e;class t{constructor(n){this.contactService=n,this.contactViewModel=new KV,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=t).\u0275fac=function(n){return new(n||e)(I(yE))},e.\u0275cmp=vt({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[Mt],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","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,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Contact"),p(),P(3,e3,22,4,"form",2),P(4,t3,2,0,"p",3),P(5,n3,2,0,"p",4),p()),2&n&&(_(3),w("ngIf",!o.success&&!o.error),_(1),w("ngIf",o.success),_(1),w("ngIf",o.error))},dependencies:[vl,ec,Xl,jo,Ul,Bl,$o,Kl,Cs,Bo]}),t})();const _E=function(){return["/pro"]};let o3=(()=>{var e;class t{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-features-component"]],standalone:!0,features:[Mt],decls:131,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Features"),p(),h(3,"h2",2),f(4,"Coverage quotas"),p(),h(5,"p"),f(6," The overiew cards provide a quick "),h(7,"span",3),f(8,"overview"),p(),f(9," of your coverage quotas."),v(10,"br"),f(11," You can use them to get a glimpse into the different "),h(12,"a",4),f(13,"coverage metrics"),p(),f(14,"\xa0"),h(15,"a",4),v(16,"i",5),p(),f(17,": "),p(),h(18,"ul")(19,"li"),f(20,"Line coverage"),p(),h(21,"li"),f(22,"Branch coverage"),p(),h(23,"li"),f(24,"Method coverage "),h(25,"a",6)(26,"span",7),f(27,"PRO"),p()()()(),v(28,"img",8)(29,"br"),h(30,"h2",9),f(31,"Coverage history"),p(),h(32,"p"),f(33," The history chart helps you to understand how your coverage quotas are "),h(34,"span",3),f(35,"evolving over time"),p(),f(36,". "),p(),v(37,"img",10)(38,"br"),h(39,"h2",11),f(40,"Summary table / Overview"),p(),h(41,"p"),f(42," The summary table helps you to identify classes with "),h(43,"span",3),f(44,"low test coverage"),p(),f(45,"."),v(46,"br"),f(47," The table offers various "),h(48,"span",3),f(49,"filter and sorting"),p(),f(50," options for quick navigation. "),p(),v(51,"img",12)(52,"br"),h(53,"h2",13),f(54,"Details page"),p(),h(55,"p"),f(56," The details page visualizes your "),h(57,"span",3),f(58,"line and branch coverage"),p(),f(59,". "),p(),h(60,"ul")(61,"li"),f(62,"Colors indicate the coverage status of each line."),p(),h(63,"li"),f(64,"Branch indicators help you to identity uncovered conditions."),p()(),v(65,"img",14)(66,"br"),h(67,"h2",15),f(68,"Metrics"),p(),h(69,"p"),f(70," Depending on your "),h(71,"a",16),f(72,"coverage tool"),p(),f(73,", metrics are provided to get further insigths in your "),h(74,"span",3),f(75,"code quality"),p(),f(76,". "),p(),h(77,"ul")(78,"li"),f(79,"The "),h(80,"a",17),R("click",function(){return o.scrollToAnchor("#details")}),f(81,"details page"),p(),f(82," contains information about the metrics of all methods of a class."),p(),h(83,"li"),f(84,"The "),h(85,"a",17),R("click",function(){return o.scrollToAnchor("#summary")}),f(86,"summary table"),p(),f(87," shows the lowest metrics of all methods of a class "),h(88,"a",6)(89,"span",7),f(90,"PRO"),p()()()(),h(91,"b"),f(92,"Details page"),p(),v(93,"br")(94,"img",18)(95,"br")(96,"br"),h(97,"b"),f(98,"Summary table"),p(),v(99,"br")(100,"img",19)(101,"br"),h(102,"h2",20),f(103,"Risk Hotspots"),p(),h(104,"p"),f(105," Based on the "),h(106,"a",17),R("click",function(){return o.scrollToAnchor("#metrics")}),f(107,"metrics"),p(),f(108," you get a list of potential risk hotspots."),v(109,"br"),f(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),p(),h(111,"ul")(112,"li")(113,"a",21),f(114,"Cyclomatic complexity"),p(),f(115,"\xa0"),h(116,"a",21),v(117,"i",5),p()(),h(118,"li")(119,"a",22),f(120,"NPath complexity"),p(),f(121,"\xa0"),h(122,"a",22),v(123,"i",5),p()(),h(124,"li")(125,"a",23),f(126,"Crap score"),p(),f(127,"\xa0"),h(128,"a",23),v(129,"i",5),p()()(),v(130,"img",24),p()),2&n&&(_(25),w("routerLink",K(2,_E)),_(63),w("routerLink",K(3,_E)))},dependencies:[pn]}),t})();const Lt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.26"},i3=function(){return["/usage"]};let s3=(()=>{var e;class t{constructor(){this.versions=Lt}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[Mt],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Get started"),p(),h(3,"h2"),f(4,"General"),p(),h(5,"p"),f(6,"In general you need a tool that instruments your test code and collects coverage information."),v(7,"br"),f(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),v(9,"br"),h(10,"em"),f(11,"ReportGenerator"),p(),f(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),f(14,"Use the online "),h(15,"a",2),f(16,"configuration tool"),p(),f(17," to get started quickly."),p(),h(18,"h2",3),f(19,".NET"),p(),h(20,"p"),f(21,"For .NET you can use "),h(22,"a",4),f(23,"coverlet"),p(),f(24," or "),h(25,"a",5),f(26,"altcover"),p(),f(27," for instrumenting your test code."),p(),h(28,"p"),f(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(30,"p")(31,"strong"),f(32,"Add dependencies to your "),h(33,"code"),f(34,"*.csproj"),p(),f(35," file:"),p()(),h(36,"pre",6),f(37),p(),h(38,"p")(39,"strong"),f(40,"Execute tests and create coverage report"),p()(),h(41,"pre",6),f(42),p(),h(43,"h2",7),f(44,"Java"),p(),h(45,"p"),f(46,"For Java you can use "),h(47,"a",8),f(48,"JaCoCo"),p(),f(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"),f(52,"Add dependencies to your "),h(53,"code"),f(54,"pom.xml"),p(),f(55," file:"),p()(),h(56,"pre",6),f(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"),f(60,"Execute tests and create coverage report"),p()(),h(61,"pre",6),f(62),p(),h(63,"h2",9),f(64,"NodeJS"),p(),h(65,"p"),f(66,"For NodeJS you can use "),h(67,"a",10),f(68,"Istanbul"),p(),f(69," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(70,"pre",6),f(71),p()()),2&n&&(_(15),w("routerLink",K(5,i3)),_(22),xn('\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'),_(5),xn('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',o.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),_(20),xn("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",o.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),_(9),xn("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",o.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[pn]}),t})(),CE=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[Mt],decls:30,vars:0,consts:[[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"container"],[1,"text-center"],[1,"row","mt-5"],[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"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"]],template:function(n,o){1&n&&(h(0,"section",0)(1,"div",1)(2,"h2",2),f(3,"Trusted by"),p(),h(4,"div",3)(5,"div",4),v(6,"i",5)(7,"br"),h(8,"a",6),f(9,".NET Runtime"),p()(),h(10,"div",4),v(11,"i",7)(12,"br"),h(13,"a",8),f(14,"Google Cloud"),p()(),h(15,"div",4),v(16,"i",9)(17,"br"),h(18,"a",10),f(19,"AWS Encryption SDK"),p()(),h(20,"div",11),v(21,"i",12)(22,"br"),h(23,"a",13),f(24,"Many more"),p()()(),h(25,"div",3)(26,"div",4)(27,"a",14),v(28,"i",15),f(29," Over 50 million downloads on Nuget"),p()()()()())},encapsulation:2}),t})();const a3=function(){return["/pro"]},l3=function(){return["/usage"]},c3=function(){return["/getstarted"]},u3=function(){return["/features"]};let d3=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-home"]],standalone:!0,features:[Mt],decls:114,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],[3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],[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","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(n,o){1&n&&(h(0,"section",0)(1,"div",1)(2,"div",2),v(3,"img",3),p(),h(4,"div",4)(5,"h1"),f(6,"ReportGenerator"),p(),h(7,"h2",5),f(8,"Powerful code coverage visualization"),p(),h(9,"div",6),f(10,"\xa0"),p(),h(11,"div",7)(12,"p")(13,"i"),f(14,"ReportGenerator"),p(),f(15," converts "),h(16,"span",8),f(17,"coverage reports"),p(),f(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),h(19,"span",8),f(20,"human readable reports in various formats"),p(),f(21,"."),p(),h(22,"p"),f(23,"The reports show the "),h(24,"span",8),f(25,"coverage quotas"),p(),f(26," and also visualize which lines of your source code have been covered."),p(),h(27,"p")(28,"a",9),v(29,"i",10),f(30," Browse example report"),p()()()()(),h(31,"div",11)(32,"div",12)(33,"div",13),v(34,"i",14),p(),h(35,"span",15),f(36,"Open source"),p(),h(37,"p",16)(38,"i"),f(39,"ReportGenerator"),p(),f(40," is open source under the permissive Apache License."),p(),h(41,"p"),f(42,"It's free to use."),v(43,"br"),f(44,"The "),h(45,"a",17),f(46,"PRO"),p(),f(47," version offers additional features."),p()(),h(48,"div",18)(49,"div",13),v(50,"i",19),p(),h(51,"span",15),f(52,"Easy to use"),p(),h(53,"p",16)(54,"i"),f(55,"ReportGenerator"),p(),f(56," is a command line tool which only requires a "),h(57,"a",17),f(58,"few parameters"),p(),f(59,"."),p(),h(60,"p"),f(61,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(62,"div",18)(63,"div",13),v(64,"i",20),p(),h(65,"span",15),f(66,"Integration"),p(),h(67,"p",16)(68,"i"),f(69,"ReportGenerator"),p(),f(70," works on Windows, Linux and macOS."),p(),h(71,"p"),f(72,"Support for "),h(73,"a",21),f(74,"GitHub actions"),p(),f(75," and "),h(76,"a",22),f(77,"Azure DevOps"),p(),f(78," is available."),p()()(),h(79,"div",11)(80,"div",23)(81,"a",24),v(82,"i",25),f(83," Learn how to use"),p(),h(84,"a",26),v(85,"i",27),f(86," GitHub"),p()()()(),v(87,"app-testimonials"),h(88,"section",28)(89,"div",0)(90,"h2"),f(91,"Screenshots"),p(),h(92,"p"),f(93,"The screenshots show two snippets of the generated reports."),p(),h(94,"p"),f(95," Have a look the "),h(96,"a",17),f(97,"features page"),p(),f(98," to explore the elements in a coverage report or "),h(99,"a",29),f(100,"browse the example report"),p(),f(101,". "),v(102,"br"),f(103," You can also download "),h(104,"a",30),f(105,"sample reports"),p(),f(106," of all supported output formats."),p(),h(107,"div",1)(108,"div",31)(109,"a",32),v(110,"img",33),p()(),h(111,"div",34)(112,"a",35),v(113,"img",36),p()()()()()),2&n&&(_(45),w("routerLink",K(4,a3)),_(12),w("routerLink",K(5,l3)),_(24),w("routerLink",K(6,c3)),_(15),w("routerLink",K(7,u3)))},dependencies:[pn,CE],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]}),t})(),f3=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-not-found"]],standalone:!0,features:[Mt],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Not found"),p(),v(3,"i",2),f(4," The requested page does not exist.\n"),p())}}),t})();class DE{constructor(){this.error=null,this.licenses=[]}}class h3{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let bE=(()=>{var e;class t{initCodeFlow(){const i=`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: "+i),location.href=i}validateStateAndExtractCode(){let n=location.href;const o=n.indexOf("?");o>-1&&(n=n.substring(o+1));const i=this.parseQueryString(n);return i.state&&i.code&&this.validateNonce(i.state)?i.code:null}createAndSaveNonce(){const n=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",n),n}validateNonce(n){let o;return typeof window.localStorage<"u"&&(o=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),o&&0!==o.length?o===n||(console.error("Validating nonce failed. Values do not match.",o,n),!1):(console.error("Validating nonce failed. No saved nonce available.",o,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let o=45,i="";const s=typeof self>"u"?null:self.crypto||self.msCrypto;if(s){let l=new Uint8Array(o);s.getRandomValues(l),l.map||(l.map=Array.prototype.map);const c=[];for(var a=0;a0&&(u=decodeURIComponent(l),d=decodeURIComponent(c),"/"===u.substring(0,1)&&(u=u.substring(1)),o[u]=d);return o}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),wE=(()=>{var e;class t{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${ve_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${ve_apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${ve_apiBaseUrl}reportgenerator/paddlelicense`,n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Nh))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),p3=(()=>{var e;class t{constructor(){this.isActive=!1,this.isActive=new Date-1)}}function G3(e,t){if(1&e&&(h(0,"div")(1,"label",110),f(2,"Thank you! Please save your license key persistently:"),p(),P(3,$3,6,3,"div",111),p()),2&e){const r=k(3);_(3),w("ngForOf",r.paddleLicense.licenses)}}function z3(e,t){if(1&e&&(h(0,"div",109),P(1,H3,8,3,"div",34),P(2,G3,4,1,"div",34),p()),2&e){const r=k(2);_(1),w("ngIf",r.paddleLicense.error),_(1),w("ngIf",!r.paddleLicense.error)}}function q3(e,t){if(1&e&&(h(0,"div",2),P(1,j3,6,0,"ng-container",34),P(2,z3,3,2,"div",107),p()),2&e){const r=k();_(1),w("ngIf",r.paddleLicenseRequested&&!r.paddleLicense),_(1),w("ngIf",r.paddleLicense)}}function W3(e,t){1&e&&(h(0,"p")(1,"i"),f(2,"ReportGenerator"),p(),f(3," subscription based licences are provided with a 30 day money back guarantee."),p())}const qo=function(){return["/features"]};let Z3=(()=>{var e;class t{get lifetimeLicense(){return this._lifetimeLicense}set lifetimeLicense(n){this._lifetimeLicense=n,this.lifetimeLicenseChangeTracked||(this.lifetimeLicenseChangeTracked=!0,this.trackingService.track("Licensetype changed"))}constructor(n,o,i){this.oauthService=n,this.licenseService=o,this.trackingService=i,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.paddleIndividualLifetimeLicensePrice="US$79",this.paddleTeamLifetimeLicensePrice="US$249",this.paddleEnterpriseLifetimeLicensePrice="US$449",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.trialDisabled=!1,this.requestTrialData={name:"",email:""},this.paddleLicenseRequested=!1,this.paddleLicense=null,this.copiedPaddledLicenses=[],this.self=this,this.lifetimeLicenseChangeTracked=!1,this._lifetimeLicense=!1,window.paddleCheckoutComplete=s=>{this.paddleCheckoutComplete(s)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,s=>{this.paddleIndividualLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(762580,s=>{this.paddleTeamLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(762581,s=>{this.paddleEnterpriseLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(833943,s=>{this.paddleIndividualLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(833944,s=>{this.paddleTeamLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(833945,s=>{this.paddleEnterpriseLifetimeLicensePrice=s.price.gross})}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:o=>{console.log("Received license response"),this.license=o,this.scrollToGithub()},error:o=>{console.error(o),this.license=new h3,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available"),location.href.indexOf("?source=trial")>-1&&this.trackingService.track("Trial2Pro"),this.requestTrialModal=new window.bootstrap.Modal("#requestTrialModal");try{this.trialDisabled=null!==window.localStorage.getItem("trialRequested")}catch{}}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(n){try{navigator.clipboard.writeText(n),this.copiedPaddledLicenses.push(n)}catch(o){console.error("Failed to copy paddle license",o)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}requestTrial(){this.requestTrialModal.show(),this.trackingService.track("Trial-Started")}completeTrial(){console.log("Trial completed"),this.requestTrialModal.hide(),this.paddleLicenseRequested=!0,this.licenseService.getTrialLicense(this.requestTrialData).subscribe({next:n=>{console.log("Received trial license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.localStorage.setItem("trialRequested","true"),this.trialDisabled=!0}catch{}this.trackingService.track("Trial-Completed")},error:n=>{console.error(n),this.paddleLicense=new DE,this.paddleLicense.error="Unable to generate trial license."},complete:()=>{console.info("complete"),this.requestTrialData={name:"",email:""}}})}openPaddleCheckout(n){"enterprise"===n?window.Paddle.Checkout.open({product:this.lifetimeLicense?833945:762581,successCallback:"paddleCheckoutComplete"}):"team"===n?window.Paddle.Checkout.open({product:this.lifetimeLicense?833944:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:this.lifetimeLicense?833943:762579,successCallback:"paddleCheckoutComplete"}),this.trackingService.track("Paddle-Started",{props:{product:n,lifetimeLicense:this.lifetimeLicense}})}paddleCheckoutComplete(n){console.log("Checkout completed",n),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(n).subscribe({next:o=>{console.log("Received paddle license response"),this.paddleLicense=o,this.scrollToPaddle(),this.trackingService.track("Paddle-Completed",{props:{product:n.product.name,lifetimeLicense:this.lifetimeLicense}})},error:o=>{console.error(o),this.paddleLicense=new DE,this.paddleLicense.error="Unable to generate Paddle license."},complete:()=>console.info("complete")})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(bE),I(wE),I(p3))},e.\u0275cmp=vt({type:e,selectors:[["app-pro-component"]],standalone:!0,features:[Mt],decls:229,vars:25,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"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[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",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",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-md-6 pb-3 d-none d-lg-block","style","position: relative;",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","paddle",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"text-center","mb-3"],["class","togglecontainer",4,"ngIf"],["class","row",4,"ngIf"],[1,"mt-5"],[4,"ngIf"],[1,"container-fluid","mt-4","pt-5","pb-5","bg-light"],[1,"container","text-center"],[1,"row","mt-5",2,"max-width","550px","margin","auto"],["href","https://twitter.com/fredyfx/status/1642807795828543488","target","_blank"],["loading","lazy","src","resources/twitter_light.webp","alt","Testimonial",1,"img-fluid"],["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"],["id","headingThree",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseThree","aria-expanded","false","aria-controls","collapseThree",1,"accordion-button","collapsed"],["id","collapseThree","aria-labelledby","headingThree","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["tabindex","-1","id","requestTrialModal",1,"modal"],[1,"modal-dialog"],[1,"modal-content"],["method","post",3,"ngSubmit"],["trialForm","ngForm"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],[1,"form-floating","mb-3"],["type","text","id","name","name","name","required","","maxlength","150",1,"form-control",3,"ngModel","ngModelChange"],["for","floatingInput"],[1,"required"],["type","email","id","email","name","email","required","","email","","maxlength","150",1,"form-control",3,"ngModel","ngModelChange"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-secondary"],["type","submit",1,"btn","btn-primary",3,"disabled"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"col-md-6","pb-3","d-none","d-lg-block",2,"position","relative"],[1,"fa-solid","fa-heart","githubheartlarge"],["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,"togglecontainer"],[1,"option",3,"ngClass","click"],[1,"fa-solid","fa-rotate-right"],[1,"fa-solid","fa-infinity"],[1,"col-xs-12","col-md-6","col-lg-3","mt-0","pb-3","text-center","paddle-container"],[1,"paddle","trial"],["src","resources/trial.svg","alt","Trial",1,"img-fluid"],[1,"mt-3"],[1,"fa-solid","fa-magnifying-glass"],[1,"fa-solid","fa-calendar-days"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-md-0","pb-3","text-center","paddle-container"],[1,"paddle"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"fa-solid","fa-user"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/team.svg","alt","Team",1,"img-fluid"],[1,"fa-solid","fa-users"],[1,"col-xs-6","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],[1,"fa-solid","fa-industry"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button",1,"btn","btn-primary",3,"click"],[1,"fa-solid","fa-cart-shopping"],["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"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-2"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control"]],template:function(n,o){if(1&n&&(h(0,"div",0)(1,"h1",1),f(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),v(8,"th",5),h(9,"th",6),f(10,"Free"),p(),h(11,"th",6)(12,"span",7),f(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),f(17,"Metrics "),h(18,"a",9),v(19,"i",10),p()(),h(20,"td",11),v(21,"i",12),p(),h(22,"td",11),v(23,"i",12),p()(),h(24,"tr")(25,"th",8),f(26,"Risk Hotspots "),h(27,"a",13),v(28,"i",10),p()(),h(29,"td",11),v(30,"i",12),p(),h(31,"td",11),v(32,"i",12),p()(),h(33,"tr")(34,"th",8),f(35,"Line coverage "),h(36,"a",14),v(37,"i",10),p()(),h(38,"td",11),v(39,"i",12),p(),h(40,"td",11),v(41,"i",12),p()(),h(42,"tr")(43,"th",8),f(44,"Branch coverage "),h(45,"a",14),v(46,"i",10),p()(),h(47,"td",11),v(48,"i",12),p(),h(49,"td",11),v(50,"i",12),p()(),h(51,"tr")(52,"th",8),f(53,"Method coverage "),h(54,"a",14),v(55,"i",10),p()(),v(56,"td",11),h(57,"td",11),v(58,"i",15),p()(),h(59,"tr")(60,"th",8),f(61,"Metrics on summary page "),h(62,"a",9),v(63,"i",10),p()(),v(64,"td",11),h(65,"td",11),v(66,"i",15),p()(),h(67,"tr")(68,"th",8)(69,"i"),f(70,"OpenCover"),p(),f(71," output format"),p(),v(72,"td",11),h(73,"td",11),v(74,"i",15),p()()()()(),h(75,"div",16)(76,"p")(77,"i"),f(78,"ReportGenerator"),p(),f(79," is Open Source and free to use."),v(80,"br"),f(81," Some of the advanced features require a PRO license. "),p(),h(82,"p"),f(83," You can either become a "),h(84,"a",17),R("click",function(){return o.scrollToGithub()}),f(85,"GitHub sponsor"),p(),f(86," or you can "),h(87,"a",17),R("click",function(){return o.scrollToPaddle()}),f(88,"buy a license"),p(),f(89,"."),v(90,"br"),f(91," A "),h(92,"a",17),R("click",function(){return o.scrollToPaddle()}),f(93,"free trial version"),p(),f(94," is available too. "),p(),h(95,"p"),f(96," Get "),h(97,"a",18),f(98,"in touch"),p(),f(99," if you have any issues and we will figure it out. "),p()()()(),h(100,"section",19)(101,"div",0)(102,"h2",1),f(103,"Get your license as a GitHub sponsor"),p(),h(104,"div",2)(105,"div",20)(106,"p"),f(107,"You can obtain your license in two easy steps (no sign up required):"),p(),h(108,"span",21),f(109,"1."),p(),h(110,"a",22),v(111,"i",23),f(112," Become a GitHub sponsor"),p(),v(113,"br"),h(114,"span",21),f(115,"2."),p(),h(116,"button",24),R("click",function(){return o.requestLicense()}),v(117,"i",25),f(118," Get license"),p(),P(119,g3,3,0,"div",26),p(),P(120,m3,2,0,"div",27),P(121,b3,4,3,"div",28),p()()(),h(122,"section",29)(123,"div",0)(124,"h2",1),f(125,"Buy a license"),p(),h(126,"div",30),P(127,w3,7,6,"span",31),p(),P(128,V3,61,17,"div",32),P(129,q3,3,2,"div",32),h(130,"div",33),P(131,W3,4,0,"p",34),h(132,"p"),f(133,"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()()()(),v(134,"app-testimonials"),h(135,"section",35)(136,"div",36)(137,"h3"),f(138,"Customers"),p(),h(139,"div",37)(140,"a",38),v(141,"img",39),p()()()(),h(142,"section",40)(143,"h2",1),f(144,"Frequently Asked Questions"),p(),h(145,"div",41)(146,"div",42)(147,"h2",43)(148,"button",44),f(149," How do I use/activate my license? "),p()(),h(150,"div",45)(151,"div",46),f(152," Your license key is passed to "),h(153,"i"),f(154,"ReportGenerator"),p(),f(155," via a command line parameter: "),h(156,"i"),f(157,"-license:YOUR_KEY"),p()()()(),h(158,"div",42)(159,"h2",47)(160,"button",48),f(161," Are there limitations on number of users? "),p()(),h(162,"div",49)(163,"div",46)(164,"b"),f(165,"GitHub sponsors"),p(),v(166,"br"),h(167,"p"),f(168,"There's no enforced limit. Please pick a sponsor level that fits your company size and budget."),p(),h(169,"b"),f(170,"Bought license"),p(),v(171,"br"),h(172,"p"),f(173,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(174,"i"),f(175,"ReportGenerator"),p(),f(176,"."),p()()()(),h(177,"div",42)(178,"h2",50)(179,"button",51),f(180," Will my license expire? "),p()(),h(181,"div",52)(182,"div",46)(183,"b"),f(184,"GitHub sponsors"),p(),v(185,"br"),h(186,"p"),f(187,"Your license will not expire."),p(),h(188,"b"),f(189,"Bought license"),p(),v(190,"br"),h(191,"p")(192,"b"),f(193,"Annual subscription"),p(),f(194,": Your license may get revoked for new releases of "),h(195,"i"),f(196,"ReportGenerator"),p(),f(197,", if you cancel your subscription."),v(198,"br"),h(199,"b"),f(200,"Lifetime licenses"),p(),f(201,": Lifetime licenses will not expire. "),p()()()()()(),h(202,"div",53)(203,"div",54)(204,"div",55)(205,"form",56,57),R("ngSubmit",function(){return o.completeTrial()}),h(207,"div",58)(208,"h5",59),f(209,"Free Trial"),p(),v(210,"button",60),p(),h(211,"div",61)(212,"div",62)(213,"input",63),R("ngModelChange",function(s){return o.requestTrialData.name=s}),p(),h(214,"label",64),f(215,"Name "),h(216,"span",65),f(217,"*"),p()()(),h(218,"div",62)(219,"input",66),R("ngModelChange",function(s){return o.requestTrialData.email=s}),p(),h(220,"label",64),f(221,"Email address "),h(222,"span",65),f(223,"*"),p()()()(),h(224,"div",67)(225,"button",68),f(226,"Close"),p(),h(227,"button",69),f(228,"Get trial license"),p()()()()()()),2&n){const i=_d(206);_(18),w("routerLink",K(18,qo)),_(9),w("routerLink",K(19,qo)),_(9),w("routerLink",K(20,qo)),_(9),w("routerLink",K(21,qo)),_(9),w("routerLink",K(22,qo)),_(8),w("routerLink",K(23,qo)),_(35),w("routerLink",K(24,Ph)),_(19),w("disabled",o.licenseRequested),_(3),w("ngIf",o.licenseRequested&&!o.license),_(1),w("ngIf",!o.license),_(1),w("ngIf",o.license),_(6),w("ngIf",!o.paddleLicenseRequested),_(1),w("ngIf",!o.paddleLicenseRequested),_(1),w("ngIf",o.paddleLicenseRequested),_(2),w("ngIf",!o.lifetimeLicense),_(82),w("ngModel",o.requestTrialData.name),_(6),w("ngModel",o.requestTrialData.email),_(8),w("disabled",!i.valid)}},dependencies:[pn,Ef,vl,ml,ec,Xl,jo,Ul,Bl,$o,Sh,Kl,Cs,Bo,CE],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.paddle-container[_ngcontent-%COMP%]{padding:10px}.paddle[_ngcontent-%COMP%]{border:1px solid #8c8888;border-radius:20px;padding:20px;background-color:#d8e8f0}.trial[_ngcontent-%COMP%]{background-color:#b2cad7}.githubheartlarge[_ngcontent-%COMP%]{position:absolute;top:-120px;left:40%;font-size:20rem;color:#ffd2ed}.togglecontainer[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;border-radius:20px;white-space:nowrap}.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{background-color:#fff;padding:8px 15px;border-radius:20px;cursor:pointer;display:inline-block}.togglecontainer[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{color:#fff;background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}@media only screen and (max-width: 400px){.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa-solid[_ngcontent-%COMP%]{display:none}}"]}),t})();class ic{constructor(t,r,n,o,i,s){this.name=t,this.url=r,this.runtimes=n,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,r){if(""===(r=r.trim()))return"";const n=r.indexOf(" ")>-1?'"':"";return`\r\n${n}-${t}:${r}${n}`}formatArguments(t,r){return this.formatArgument(t,r.filter(n=>null!=n&&0!==n.length&&0!==n.trim().length).join(";"))}}class Y3 extends ic{formatExecutable(t){let r=`- task: ${t.tool}@${Lt.majorVersion}`;return r+="\r\n displayName: ReportGenerator",r+="\r\n inputs:",console.log("hello",r),r}formatArgument(t,r){if(""===(r=r.trim()))return"";const n=r.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${n}${r}${n}`}}class Q3{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.types=["Html","Coverage tool","Json","Markdown","Xml","Text","Image"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",types:["Html"],description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",types:["Html"],description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",types:["Html"],description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"Html_BlueRed",types:["Html"],description:"Same as Html but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed/index.html"},{name:"HtmlSummary",types:["Html"],description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"Html_BlueRed_Summary",types:["Html"],description:"Same as HtmlSummary but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed_Summary/summary.html"},{name:"HtmlChart",types:["Html"],description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{name:"HtmlInline",types:["Html"],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,sampleReport:"resources/reports/HtmlInline/index.html"},{name:"HtmlInline_AzurePipelines",types:["Html"],description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{name:"HtmlInline_AzurePipelines_Light",types:["Html"],description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{name:"HtmlInline_AzurePipelines_Dark",types:["Html"],description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",types:["Html"],description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",types:["Coverage tool"],description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{name:"Cobertura",types:["Coverage tool"],description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"OpenCover",types:["Coverage tool"],description:"Creates a XML file in OpenCover format (PRO version only).",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/OpenCover/OpenCover.xml"},{name:"SonarQube",types:["Coverage tool"],description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",types:["Coverage tool"],description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",types:["Xml"],description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",types:["Xml"],description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",types:["Json"],description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"Latex",types:["Text"],description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",types:["Text"],description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",types:["Coverage tool"],description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",types:["Text"],description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",types:["Text"],description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",types:["Text"],description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownSummaryGithub",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"SvgChart",types:["Image"],description:"Creates a single SVG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/SvgChart/CoverageHistory.svg"},{name:"Badges",types:["Image"],description:"Creates SVG files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[1],this.selectedType=null,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,r){const n=t.executables.find(a=>a.runtime==r);let o=void 0!==n?t.formatExecutable(n):"";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),"Info"!==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}: ${n}${r}${n}`}}class kh{constructor(t,r){this.tool=t,this.command=r}}function J3(e,t){if(1&e){const r=Ae();h(0,"div",35)(1,"label",36)(2,"input",37),R("ngModelChange",function(o){return ne(r),re(k().selectedEnvironment=o)})("ngModelChange",function(){return ne(r),re(k().selectedEnvironmentChanged())}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",38),f(7),p()()()}if(2&e){const r=t.$implicit,n=k();_(2),w("ngModel",n.selectedEnvironment)("value",r)("checked",n.selectedEnvironment.name===r.name),_(2),Ce(r.name),_(3),Ce(r.description)}}function K3(e,t){if(1&e){const r=Ae();h(0,"div",35)(1,"label",36)(2,"input",41),R("ngModelChange",function(o){return ne(r),re(k(3).selectedPackage=o)}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",38),f(7),p()()()}if(2&e){const r=k().$implicit,n=k(2);_(2),w("ngModel",n.selectedPackage)("value",r),_(2),Ce(r.name),_(3),Ce(r.description)}}function ej(e,t){if(1&e&&(ut(0),P(1,K3,8,4,"div",40),dt()),2&e){const r=t.$implicit,n=k(2);_(1),w("ngIf",r.runtimes.indexOf(n.selectedEnvironment.name)>-1)}}function tj(e,t){if(1&e&&(ut(0),h(1,"h4"),f(2,"NuGet Package"),p(),P(3,ej,2,1,"ng-container",39),dt()),2&e){const r=k();_(3),w("ngForOf",r.packages)}}function nj(e,t){if(1&e){const r=Ae();h(0,"span",45),R("click",function(){ne(r);const o=k().index;return re(k().configuration.removeReport(o))}),h(1,"a",46),v(2,"i",47),p()()}}const rj=function(e){return{"input-group":e}};function oj(e,t){if(1&e){const r=Ae();h(0,"div",38)(1,"div",42)(2,"input",43),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.reports[s]=o)}),p(),P(3,nj,3,0,"span",44),p()()}if(2&e){const r=t.index,n=k();_(1),w("ngClass",$i(4,rj,r>0)),_(1),An("name","report_",r,""),w("ngModel",n.configuration.reports[r]),_(1),w("ngIf",r>0)}}const ij=function(e,t){return{"btn-outline-primary":e,"btn-primary":t}};function sj(e,t){if(1&e){const r=Ae();h(0,"button",48),R("click",function(){const i=ne(r).$implicit,s=k();return re(s.configuration.selectedType=s.configuration.selectedType===i?null:i)}),f(1),p()}if(2&e){const r=t.$implicit,n=k();w("ngClass",k_(2,ij,r!==n.configuration.selectedType,r===n.configuration.selectedType)),_(1),Ce(r)}}function aj(e,t){if(1&e){const r=Ae();h(0,"span",53),v(1,"i",54),f(2," Please specify a "),h(3,"a",9),R("click",function(){return ne(r),re(k(3).scrollToHistoryDir())}),f(4,"history directory"),p()()}}function lj(e,t){if(1&e&&(ut(0),v(1,"br",55),h(2,"a",29),f(3,"Sample report"),p(),f(4,"\xa0"),h(5,"a",29),v(6,"i",56),p(),dt()),2&e){const r=k(2).$implicit;_(2),w("href",r.sampleReport,ro),_(3),w("href",r.sampleReport,ro)}}function cj(e,t){if(1&e){const r=Ae();h(0,"div",50)(1,"label",36)(2,"input",51),R("change",function(){ne(r);const o=k().$implicit;return re(o.checked=!o.checked)}),p(),h(3,"b"),f(4),p(),P(5,aj,5,0,"span",52),v(6,"br"),h(7,"div",38),f(8),P(9,lj,7,2,"ng-container",5),p()()()}if(2&e){const r=k().$implicit,n=k();_(2),w("checked",r.checked),_(2),Ce(r.name),_(1),w("ngIf",r.checked&&r.requiresHistoryDir&&!n.configuration.historydir),_(3),xn("",r.description," "),_(1),w("ngIf",r.sampleReport)}}function uj(e,t){if(1&e&&(ut(0),P(1,cj,10,5,"div",49),dt()),2&e){const r=t.$implicit,n=k();_(1),w("ngIf",!n.configuration.selectedType||r.types.indexOf(n.configuration.selectedType)>-1)}}function dj(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",58),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeSourceDirectory(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),An("name","sourcedir_",r,""),w("ngModel",n.configuration.sourcedirectories[r])}}function fj(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",59),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.plugins[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removePlugin(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),An("name","plugin_",r,""),w("ngModel",n.configuration.plugins[r])}}function hj(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",60),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeAssemblyFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),An("name","assemblyfilter_",r,""),w("ngModel",n.configuration.assemblyfilters[r])}}function pj(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",61),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.classfilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeClassFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),An("name","classfilter_",r,""),w("ngModel",n.configuration.classfilters[r])}}function gj(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",62),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.filefilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeFileFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),An("name","filefilter_",r,""),w("ngModel",n.configuration.filefilters[r])}}function mj(e,t){if(1&e&&(h(0,"option",63),f(1),p()),2&e){const r=t.$implicit;w("value",r),_(1),Ce(r)}}function vj(e,t){if(1&e&&(h(0,"div",64)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",32),f(5),p()()),2&e){const r=t.$implicit;_(2),Ce(r.tool),_(3),Ce(r.command)}}function yj(e,t){1&e&&(h(0,"span"),v(1,"i",65),f(2," Copy"),p())}function _j(e,t){1&e&&(h(0,"span"),v(1,"i",66),f(2," Copied"),p())}function Cj(e,t){if(1&e&&(h(0,"div",64)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",32),f(5),p()()),2&e){const r=t.$implicit;_(2),Ce(r.tool),_(3),Ce(r.command)}}function Dj(e,t){1&e&&(h(0,"span"),v(1,"i",65),f(2," Copy"),p())}function bj(e,t){1&e&&(h(0,"span"),v(1,"i",66),f(2," Copied"),p())}const wj=function(){return["/pro"]},Ej=[{path:"",component:d3,pathMatch:"full",title:"Home",data:{canonical:"/"}},{path:"features",component:o3,title:"Features",data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:s3,title:"Get started",data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:(()=>{var e;class t{constructor(){this.versions=Lt,this.lastResult="",this.usageCopied=!1,this.configuration=new Q3,this.environments=[new sc(".NET Core",".NET Core"),new sc(".NET Framework","The full .NET framework"),new sc("Azure DevOps",null),new sc("Github Action",null)],this.packages=[new ic("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 kh("Package Manager",`Install-Package ReportGenerator -Version ${Lt.version}`),new kh(".NET CLI",`dotnet add package ReportGenerator --version ${Lt.version}`)],[new ws(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net47\\ReportGenerator.exe`),new ws(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Lt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new ic("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 kh(".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 ws(".NET Core","reportgenerator")]),new Y3("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new ws("Azure DevOps","reportgenerator")]),new X3("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new ws("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,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-usage-component"]],standalone:!0,features:[Mt],decls:219,vars:41,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"],[1,"me-2"],["type","button","class","btn btn-sm me-1 mb-1",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir"],["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,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[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","button",1,"btn","btn-sm","me-1","mb-1",3,"ngClass","click"],["class","form-check mt-1",4,"ngIf"],[1,"form-check","mt-1"],["type","checkbox","name","reporttype",1,"form-check-input",3,"checked","change"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[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,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),f(7,"Environment"),p(),P(8,J3,8,5,"div",4),v(9,"hr"),P(10,tj,4,1,"ng-container",5),v(11,"hr"),h(12,"h3"),f(13,"Reports"),p(),h(14,"div",6),f(15,"Path to the coverage report(s) that should be parsed."),v(16,"br"),f(17,"Globbing is supported."),p(),P(18,oj,4,6,"div",7),h(19,"div",8)(20,"a",9),R("click",function(){return o.configuration.addReport()}),v(21,"i",10),f(22," Add report"),p()(),v(23,"br"),h(24,"h3"),f(25,"Target directory"),p(),h(26,"div",6),f(27,"The directory where the generated report(s) should be saved."),p(),h(28,"div",8)(29,"input",11),R("ngModelChange",function(s){return o.configuration.targetdir=s}),p()(),v(30,"br"),h(31,"h3"),f(32,"Report types"),p(),h(33,"div",6),f(34,"Download "),h(35,"a",12),f(36,"sample reports"),p()(),h(37,"span",13),f(38,"Filter:"),p(),P(39,sj,2,5,"button",14),v(40,"br"),P(41,uj,2,1,"ng-container",15),h(42,"h3"),f(43,"Source directories"),p(),h(44,"div",6),f(45,"Optional directories which contain the corresponding source code."),v(46,"br"),f(47,"The source directories are used if coverage report contains classes without path information."),p(),P(48,dj,6,2,"div",16),h(49,"div",8)(50,"a",9),R("click",function(){return o.configuration.addSourceDirectory()}),v(51,"i",10),f(52," Add source directory"),p()(),v(53,"br"),h(54,"h3",17),f(55,"History directory"),p(),h(56,"div",6),f(57,"Optional directory for storing "),h(58,"b"),f(59,"persistent"),p(),f(60," coverage information. Choose a directory which does not get deleted between builds."),v(61,"br"),f(62,"Required to show the history chart in the HTML reports."),p(),h(63,"div",8)(64,"input",18),R("ngModelChange",function(s){return o.configuration.historydir=s}),p()(),v(65,"br"),h(66,"h3"),f(67,"Plugins"),p(),h(68,"div",6),f(69,"Optional plugin files for "),h(70,"a",19),f(71,"custom reports"),p(),f(72," or "),h(73,"a",20),f(74,"custom history storage"),p(),f(75,"."),p(),P(76,fj,6,2,"div",16),h(77,"div",8)(78,"a",9),R("click",function(){return o.configuration.addPlugin()}),v(79,"i",10),f(80," Add plugin"),p()(),v(81,"br"),h(82,"h3"),f(83,"Assembly filters"),p(),h(84,"div",6),f(85,"Optional list of "),h(86,"b"),f(87,"assemblies"),p(),f(88," that should be included or excluded in the report. "),v(89,"br"),f(90,"Exclusion filters take precedence over inclusion filters. "),v(91,"br"),f(92,"Wildcards are allowed."),v(93,"br"),h(94,"p"),f(95,"Examples:"),v(96,"br"),h(97,"code"),f(98,"+Included"),p(),v(99,"br"),h(100,"code"),f(101,"-Excluded"),p()()(),P(102,hj,6,2,"div",16),h(103,"div",8)(104,"a",9),R("click",function(){return o.configuration.addAssemblyFilter()}),v(105,"i",10),f(106," Add assembly filter"),p()(),v(107,"br"),h(108,"h3"),f(109,"Class filters"),p(),h(110,"div",6),f(111,"Optional list of "),h(112,"b"),f(113,"classes"),p(),f(114," that should be included or excluded in the report. "),v(115,"br"),f(116,"Exclusion filters take precedence over inclusion filters. "),v(117,"br"),f(118,"Wildcards are allowed."),v(119,"br"),h(120,"p"),f(121,"Examples:"),v(122,"br"),h(123,"code"),f(124,"+Included"),p(),v(125,"br"),h(126,"code"),f(127,"-Excluded"),p()()(),P(128,pj,6,2,"div",16),h(129,"div",8)(130,"a",9),R("click",function(){return o.configuration.addClassFilter()}),v(131,"i",10),f(132," Add class filter"),p()(),v(133,"br"),h(134,"h3"),f(135,"File filters"),p(),h(136,"div",6),f(137,"Optional list of "),h(138,"b"),f(139,"files"),p(),f(140," that should be included or excluded in the report. "),v(141,"br"),f(142,"Exclusion filters take precedence over inclusion filters. "),v(143,"br"),f(144,"Wildcards are allowed."),v(145,"br"),h(146,"p"),f(147,"Examples:"),v(148,"br"),h(149,"code"),f(150,"+Included"),p(),v(151,"br"),h(152,"code"),f(153,"-Excluded"),p()()(),P(154,gj,6,2,"div",16),h(155,"div",8)(156,"a",9),R("click",function(){return o.configuration.addFileFilter()}),v(157,"i",10),f(158," Add file filter"),p()(),v(159,"br"),h(160,"h3"),f(161,"Verbosity"),p(),h(162,"div",6),f(163,"The verbosity level of the log messages."),p(),h(164,"div",8)(165,"select",21),R("ngModelChange",function(s){return o.configuration.selectedverbosity=s}),P(166,mj,2,2,"option",22),p()(),v(167,"br"),h(168,"h3"),f(169,"Title"),p(),h(170,"div",6),f(171,"Optional title."),p(),h(172,"div",8)(173,"input",23),R("ngModelChange",function(s){return o.configuration.title=s}),p()(),v(174,"br"),h(175,"h3"),f(176,"Tag"),p(),h(177,"div",6),f(178,"Optional tag or build version."),p(),h(179,"div",8)(180,"input",24),R("ngModelChange",function(s){return o.configuration.tag=s}),p()(),v(181,"br"),h(182,"h3"),f(183,"License"),p(),h(184,"div",6),f(185,"Optional license. Get your license here: "),h(186,"a",25),f(187,"https://reportgenerator.io/pro"),p()(),h(188,"div",8)(189,"textarea",26),R("ngModelChange",function(s){return o.configuration.license=s}),p()()()(),h(190,"div",27)(191,"div",28)(192,"h3"),f(193,"Instructions"),p(),f(194," Install "),h(195,"a",29),f(196),p(),P(197,vj,6,2,"div",30),h(198,"h4",31),f(199,"Usage"),p(),h(200,"pre",32),f(201),p(),h(202,"button",33),R("click",function(){return o.copy()}),P(203,yj,3,0,"span",5),P(204,_j,3,0,"span",5),p()(),h(205,"div",34)(206,"h3"),f(207,"Instructions"),p(),f(208," Install "),h(209,"a",29),f(210),p(),P(211,Cj,6,2,"div",30),h(212,"h4",31),f(213,"Usage"),p(),h(214,"pre",32),f(215),p(),h(216,"button",33),R("click",function(){return o.copy()}),P(217,Dj,3,0,"span",5),P(218,bj,3,0,"span",5),p()()()()()),2&n&&(_(8),w("ngForOf",o.environments),_(2),w("ngIf",o.severalPackagesAvailable()),_(8),w("ngForOf",o.configuration.reports)("ngForTrackBy",o.trackByIndex),_(11),w("ngModel",o.configuration.targetdir),_(10),w("ngForOf",o.configuration.types)("ngForTrackBy",o.trackByIndex),_(2),w("ngForOf",o.configuration.reporttypes)("ngForTrackBy",o.trackByIndex),_(7),w("ngForOf",o.configuration.sourcedirectories)("ngForTrackBy",o.trackByIndex),_(16),w("ngModel",o.configuration.historydir)("required",o.configuration.historyDirRequired()),_(12),w("ngForOf",o.configuration.plugins)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.assemblyfilters)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.classfilters)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.filefilters)("ngForTrackBy",o.trackByIndex),_(11),w("ngModel",o.configuration.selectedverbosity),_(1),w("ngForOf",o.configuration.verbosities)("ngForTrackBy",o.trackByIndex),_(7),w("ngModel",o.configuration.title),_(7),w("ngModel",o.configuration.tag),_(6),w("routerLink",K(40,wj)),_(3),w("ngModel",o.configuration.license),_(6),w("href",o.selectedPackage.url,ro),_(1),Ce(o.selectedPackage.name),_(1),w("ngForOf",o.selectedPackage.installOptions),_(4),Ce(o.getUsage()),_(2),w("ngIf",!o.usageCopied),_(1),w("ngIf",o.usageCopied),_(5),w("href",o.selectedPackage.url,ro),_(1),Ce(o.selectedPackage.name),_(1),w("ngForOf",o.selectedPackage.installOptions),_(4),Ce(o.getUsage()),_(2),w("ngIf",!o.usageCopied),_(1),w("ngIf",o.usageCopied))},dependencies:[ec,Xl,Ww,Yw,jo,Jl,bh,Ul,Bl,$o,Th,Cs,Bo,Ef,vl,ml,pn],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]}),t})(),title:"Usage",data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:Z3,title:"PRO",data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:r3,title:"Contact",data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:f3,title:"404 - Not found"},{path:"**",redirectTo:"/404"}];(function Zk(e,t){return BN({rootComponent:e,...$D(t)})})(xL,{providers:[xm(eF,(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=en({imports:[Xb.forRoot(Ej,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),Xb]}),t})(),ec),bE,wE,yE,function qV(...e){const t=[Nh,hE,dE,{provide:tc,useExisting:dE},{provide:nc,useExisting:hE},{provide:bs,useValue:zV,multi:!0},{provide:Oh,useValue:!0},{provide:mE,useClass:GV}];for(const r of e)t.push(...r.\u0275providers);return Ru(t)}(function WV(){return function Ar(e,t){return{\u0275kind:e,\u0275providers:t}}(or.LegacyInterceptors,[{provide:vE,useFactory:FV},{provide:bs,useExisting:vE,multi:!0}])}())]}).catch(e=>console.error(e))}},ue=>{ue(ue.s=603)}]); \ No newline at end of file diff --git a/docs/main.ef294caf361a7de0.js b/docs/main.ef294caf361a7de0.js deleted file mode 100644 index 43d2a524..00000000 --- a/docs/main.ef294caf361a7de0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{603:()=>{function ue(e){return"function"==typeof e}function zo(e){const r=e(n=>{Error.call(n),n.stack=(new Error).stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}const _s=zo(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:\n${r.map((n,o)=>`${o+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=r});function qo(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class gt{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const i of r)i.remove(this);else r.remove(this);const{initialTeardown:n}=this;if(ue(n))try{n()}catch(i){t=i instanceof _s?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{kh(i)}catch(s){t=t??[],s instanceof _s?t=[...t,...s.errors]:t.push(s)}}if(t)throw new _s(t)}}add(t){var r;if(t&&t!==this)if(this.closed)kh(t);else{if(t instanceof gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(t){const{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){const{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){const{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&qo(r,t)}remove(t){const{_finalizers:r}=this;r&&qo(r,t),t instanceof gt&&t._removeParent(this)}}gt.EMPTY=(()=>{const e=new gt;return e.closed=!0,e})();const Ph=gt.EMPTY;function Oh(e){return e instanceof gt||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function kh(e){ue(e)?e():e.unsubscribe()}const rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cs={setTimeout(e,t,...r){const{delegate:n}=Cs;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=Cs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Fh(e){Cs.setTimeout(()=>{const{onUnhandledError:t}=rr;if(!t)throw e;t(e)})}function sc(){}const h1=ac("C",void 0,void 0);function ac(e,t,r){return{kind:e,value:t,error:r}}let or=null;function Ds(e){if(rr.useDeprecatedSynchronousErrorHandling){const t=!or;if(t&&(or={errorThrown:!1,error:null}),e(),t){const{errorThrown:r,error:n}=or;if(or=null,r)throw n}}else e()}class lc extends gt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Oh(t)&&t.add(this)):this.destination=C1}static create(t,r,n){return new bs(t,r,n)}next(t){this.isStopped?uc(function g1(e){return ac("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?uc(function p1(e){return ac("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?uc(h1,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 v1=Function.prototype.bind;function cc(e,t){return v1.call(e,t)}class y1{constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){ws(n)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){ws(n)}else ws(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){ws(r)}}}class bs extends lc{constructor(t,r,n){let o;if(super(),ue(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&rr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&cc(t.next,i),error:t.error&&cc(t.error,i),complete:t.complete&&cc(t.complete,i)}):o=t}this.destination=new y1(o)}}function ws(e){rr.useDeprecatedSynchronousErrorHandling?function m1(e){rr.useDeprecatedSynchronousErrorHandling&&or&&(or.errorThrown=!0,or.error=e)}(e):Fh(e)}function uc(e,t){const{onStoppedNotification:r}=rr;r&&Cs.setTimeout(()=>r(e,t))}const C1={closed:!0,next:sc,error:function _1(e){throw e},complete:sc},dc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vn(e){return e}function Lh(e){return 0===e.length?Vn:1===e.length?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}let Ie=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){const i=function w1(e){return e&&e instanceof lc||function b1(e){return e&&ue(e.next)&&ue(e.error)&&ue(e.complete)}(e)&&Oh(e)}(r)?r:new bs(r,n,o);return Ds(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return new(n=Vh(n))((o,i)=>{const s=new bs({next:a=>{try{r(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)}[dc](){return this}pipe(...r){return Lh(r)(this)}toPromise(r){return new(r=Vh(r))((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function Vh(e){var t;return null!==(t=e??rr.Promise)&&void 0!==t?t:Promise}const E1=zo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Lt=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){const n=new jh(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new E1}next(r){Ds(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(r)}})}error(r){Ds(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;const{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Ds(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){const{hasError:n,isStopped:o,observers:i}=this;return n||o?Ph:(this.currentObservers=null,i.push(r),new gt(()=>{this.currentObservers=null,qo(i,r)}))}_checkFinalizedStatuses(r){const{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){const r=new Ie;return r.source=this,r}}return e.create=(t,r)=>new jh(t,r),e})();class jh extends Lt{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===n||n.call(r,t)}error(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===n||n.call(r,t)}complete(){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===r||r.call(t)}_subscribe(t){var r,n;return null!==(n=null===(r=this.source)||void 0===r?void 0:r.subscribe(t))&&void 0!==n?n:Ph}}function Hh(e){return ue(e?.lift)}function Oe(e){return t=>{if(Hh(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Re(e,t,r,n,o){return new M1(e,t,r,n,o)}class M1 extends lc{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(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=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ee(e,t){return Oe((r,n)=>{let o=0;r.subscribe(Re(n,i=>{n.next(e.call(t,i,o++))}))})}function jn(e){return this instanceof jn?(this.v=e,this):new jn(e)}function Gh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function gc(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const zh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function qh(e){return ue(e?.then)}function Wh(e){return ue(e[dc])}function Zh(e){return Symbol.asyncIterator&&ue(e?.[Symbol.asyncIterator])}function Yh(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 Qh=function W1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xh(e){return ue(e?.[Qh])}function Jh(e){return function $h(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(g){n[g]&&(o[g]=function(m){return new Promise(function(y,C){i.push([g,m,y,C])>1||a(g,m)})})}function a(g,m){try{!function l(g){g.value instanceof jn?Promise.resolve(g.value.v).then(c,u):d(i[0][2],g)}(n[g](m))}catch(y){d(i[0][3],y)}}function c(g){a("next",g)}function u(g){a("throw",g)}function d(g,m){g(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const r=e.getReader();try{for(;;){const{value:n,done:o}=yield jn(r.read());if(o)return yield jn(void 0);yield yield jn(n)}}finally{r.releaseLock()}})}function Kh(e){return ue(e?.getReader)}function Vt(e){if(e instanceof Ie)return e;if(null!=e){if(Wh(e))return function Z1(e){return new Ie(t=>{const r=e[dc]();if(ue(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(zh(e))return function Y1(e){return new Ie(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Fh)})}(e);if(Zh(e))return ep(e);if(Xh(e))return function X1(e){return new Ie(t=>{for(const r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(Kh(e))return function J1(e){return ep(Jh(e))}(e)}throw Yh(e)}function ep(e){return new Ie(t=>{(function K1(e,t){var r,n,o,i;return function Uh(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof r?i:new r(function(s){s(i)})}(u.value).then(a,l)}c((n=n.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Gh(e);!(n=yield r.next()).done;)if(t.next(n.value),t.closed)return}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(r=>t.error(r))})}function vn(e,t,r,n=0,o=!1){const i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Ve(e,t,r=1/0){return ue(t)?Ve((n,o)=>ee((i,s)=>t(n,i,o,s))(Vt(e(n,o))),r):("number"==typeof t&&(r=t),Oe((n,o)=>function eE(e,t,r,n,o,i,s,a){const l=[];let c=0,u=0,d=!1;const g=()=>{d&&!l.length&&!c&&t.complete()},m=C=>c{i&&t.next(C),c++;let b=!1;Vt(r(C,u++)).subscribe(Re(t,E=>{o?.(E),i?m(E):t.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cy(E)):y(E)}g()}catch(E){t.error(E)}}))};return e.subscribe(Re(t,m,()=>{d=!0,g()})),()=>{a?.()}}(n,o,e,r)))}function xr(e=1/0){return Ve(Vn,e)}const Jt=new Ie(e=>e.complete());function mc(e){return e[e.length-1]}function tp(e){return ue(mc(e))?e.pop():void 0}function Wo(e){return function nE(e){return e&&ue(e.schedule)}(mc(e))?e.pop():void 0}function np(e,t=0){return Oe((r,n)=>{r.subscribe(Re(n,o=>vn(n,e,()=>n.next(o),t),()=>vn(n,e,()=>n.complete(),t),o=>vn(n,e,()=>n.error(o),t)))})}function rp(e,t=0){return Oe((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function op(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(r=>{vn(r,t,()=>{const n=e[Symbol.asyncIterator]();vn(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Ne(e,t){return t?function cE(e,t){if(null!=e){if(Wh(e))return function oE(e,t){return Vt(e).pipe(rp(t),np(t))}(e,t);if(zh(e))return function sE(e,t){return new Ie(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(qh(e))return function iE(e,t){return Vt(e).pipe(rp(t),np(t))}(e,t);if(Zh(e))return op(e,t);if(Xh(e))return function aE(e,t){return new Ie(r=>{let n;return vn(r,t,()=>{n=e[Qh](),vn(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){return void r.error(s)}i?r.complete():r.next(o)},0,!0)}),()=>ue(n?.return)&&n.return()})}(e,t);if(Kh(e))return function lE(e,t){return op(Jh(e),t)}(e,t)}throw Yh(e)}(e,t):Vt(e)}class At extends Lt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function V(...e){return Ne(e,Wo(e))}function ir(e){return e<=0?()=>Jt:Oe((t,r)=>{let n=0;t.subscribe(Re(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function ip(e={}){const{connector:t=(()=>new Lt),resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const g=()=>{a?.unsubscribe(),a=null},m=()=>{g(),s=l=null,u=d=!1},y=()=>{const C=s;m(),C?.unsubscribe()};return Oe((C,b)=>{c++,!d&&!u&&g();const E=l=l??t();b.add(()=>{c--,0===c&&!d&&!u&&(a=vc(y,o))}),E.subscribe(b),s||(s=new bs({next:D=>E.next(D),error:D=>{d=!0,g(),a=vc(m,r,D),E.error(D)},complete:()=>{u=!0,g(),a=vc(m,n),E.complete()}}),Ne(C).subscribe(s))})(i)}}function vc(e,t,...r){return!0===t?(e(),null):!1===t?null:t(...r).pipe(ir(1)).subscribe(()=>e())}function jt(e,t){return Oe((r,n)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&n.complete();r.subscribe(Re(n,l=>{o?.unsubscribe();let c=0;const u=i++;Vt(e(l,u)).subscribe(o=Re(n,d=>n.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function fE(e,t){return e===t}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 Es(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function yc(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const hE=ae({__forward_ref__:ae});function he(e){return e.__forward_ref__=he,e.toString=function(){return ke(this())},e}function U(e){return _c(e)?e():e}function _c(e){return"function"==typeof e&&e.hasOwnProperty(hE)&&e.__forward_ref__===he}function Cc(e){return e&&!!e.\u0275providers}const sp="https://g.co/ng/security#xss";class S extends Error{constructor(t,r){super(function Ms(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}function $(e){return"string"==typeof e?e:null==e?"":String(e)}function Dc(e,t){throw new S(-201,!1)}function xt(e,t){null==e&&function j(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(null==n?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}(t,e,null,"!=")}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Is(e){return ap(e,Ts)||ap(e,lp)}function ap(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ss(e){return e&&(e.hasOwnProperty(bc)||e.hasOwnProperty(DE))?e[bc]:null}const Ts=ae({\u0275prov:ae}),bc=ae({\u0275inj:ae}),lp=ae({ngInjectableDef:ae}),DE=ae({ngInjectorDef:ae});var Y=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Y||{});let wc;function it(e){const t=wc;return wc=e,t}function up(e,t,r){const n=Is(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&Y.Optional?null:void 0!==t?t:void Dc(ke(e))}const de=globalThis,Zo={},Tc="__NG_DI_FLAG__",As="ngTempTokenPath",EE=/\n/gm,fp="__source";let Rr;function Hn(e){const t=Rr;return Rr=e,t}function SE(e,t=Y.Default){if(void 0===Rr)throw new S(-203,!1);return null===Rr?up(e,void 0,t):Rr.get(e,t&Y.Optional?null:void 0,t)}function F(e,t=Y.Default){return(function cp(){return wc}()||SE)(U(e),t)}function A(e,t=Y.Default){return F(e,xs(t))}function xs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ac(e){const t=[];for(let r=0;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const m=8&n?g:null;if(m&&-1!==mp(m,c,0)||2&n&&c!==g){if(Ut(n))return!1;s=!0}}}}else{if(!s&&!Ut(n)&&!Ut(l))return!1;if(s&&Ut(l))continue;s=!1,n=l|1&n}}return Ut(n)||s}function Ut(e){return 0==(1&e)}function OE(e,t,r,n){if(null===t)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else 8&n?o+="."+s:4&n&&(o+=" "+s);else""!==o&&!Ut(s)&&(t+=wp(i,o),o=""),n=s,i=i||!Ut(n);r++}return""!==o&&(t+=wp(i,o)),t}function vt(e){return yn(()=>{const t=Mp(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};Ip(r);const n=e.dependencies;return r.directiveDefs=Ps(n,!1),r.pipeDefs=Ps(n,!0),r.id=function WE(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function $E(e){return X(e)||He(e)}function GE(e){return null!==e}function Cn(e){return yn(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ep(e,t){if(null==e)return en;const r={};for(const n in e)if(e.hasOwnProperty(n)){let o=e[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,t&&(t[o]=i)}return r}function B(e){return yn(()=>{const t=Mp(e);return Ip(t),t})}function X(e){return e[Ns]||null}function He(e){return e[xc]||null}function Qe(e){return e[Rc]||null}function yt(e,t){const r=e[pp]||null;if(!r&&!0===t)throw new Error(`Type ${ke(e)} does not have '\u0275mod' property.`);return r}function Mp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ep(e.inputs,t),outputs:Ep(e.outputs)}}function Ip(e){e.features?.forEach(t=>t(e))}function Ps(e,t){if(!e)return null;const r=t?Qe:$E;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(GE)}const we=0,T=1,z=2,_e=3,Bt=4,Jo=5,ze=6,Pr=7,Se=8,Un=9,Or=10,G=11,Ko=12,Sp=13,kr=14,Te=15,ei=16,Fr=17,tn=18,ti=19,Tp=20,Bn=21,Dn=22,Os=23,ks=24,Q=25,Pc=1,Ap=2,nn=7,Lr=9,Ue=11;function at(e){return Array.isArray(e)&&"object"==typeof e[Pc]}function Xe(e){return Array.isArray(e)&&!0===e[Pc]}function Oc(e){return 0!=(4&e.flags)}function ar(e){return e.componentOffset>-1}function Ls(e){return 1==(1&e.flags)}function $t(e){return!!e.template}function kc(e){return 0!=(512&e[z])}function lr(e,t){return e.hasOwnProperty(_n)?e[_n]:null}let KE=de.WeakRef??class JE{constructor(t){this.ref=t}deref(){return this.ref}},t0=0,rn=null,Vs=!1;function je(e){const t=rn;return rn=e,t}class Op{constructor(){this.id=t0++,this.ref=function e0(e){return new KE(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,r]of this.producers){const n=r.producerNode.deref();if(null!=n&&r.atTrackingVersion===this.trackingVersion){if(n.producerPollStatus(r.seenValueVersion))return!0}else this.producers.delete(t),n?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Vs;Vs=!0;try{for(const[r,n]of this.consumers){const o=n.consumerNode.deref();null!=o&&o.trackingVersion===n.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(r),o?.producers.delete(this.id))}}finally{Vs=t}}producerAccessed(){if(Vs)throw new Error("");if(null===rn)return;let t=rn.producers.get(this.id);void 0===t?(t={consumerNode:rn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:rn.trackingVersion},rn.producers.set(this.id,t),this.consumers.set(rn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=rn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==rn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let kp=null;const Lp=()=>{};class s0 extends Op{constructor(t,r,n){super(),this.watch=t,this.schedule=r,this.dirty=!1,this.cleanupFn=Lp,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=je(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Lp,this.watch(this.registerOnCleanup)}finally{je(t)}}cleanup(){this.cleanupFn()}}class a0{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function Rt(){return Vp}function Vp(e){return e.type.prototype.ngOnChanges&&(e.setInput=c0),l0}function l0(){const e=Hp(this),t=e?.current;if(t){const r=e.previous;if(r===en)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function c0(e,t,r,n){const o=this.declaredInputs[r],i=Hp(e)||function u0(e,t){return e[jp]=t}(e,{previous:en,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new a0(l&&l.currentValue,t,a===en),e[n]=t}Rt.ngInherit=!0;const jp="__ngSimpleChanges__";function Hp(e){return e[jp]||null}const on=function(e,t,r){};function pe(e){for(;Array.isArray(e);)e=e[we];return e}function Us(e,t){return pe(t[e])}function lt(e,t){return pe(t[e.index])}function $p(e,t){return e.data[t]}function _t(e,t){const r=t[e];return at(r)?r:r[we]}function $n(e,t){return null==t?null:e[t]}function Gp(e){e[Fr]=0}function m0(e){1024&e[z]||(e[z]|=1024,qp(e,1))}function zp(e){1024&e[z]&&(e[z]&=-1025,qp(e,-1))}function qp(e,t){let r=e[_e];if(null===r)return;r[Jo]+=t;let n=r;for(r=r[_e];null!==r&&(1===t&&1===n[Jo]||-1===t&&0===n[Jo]);)r[Jo]+=t,n=r,r=r[_e]}const H={lFrame:rg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Yp(){return H.bindingsEnabled}function M(){return H.lFrame.lView}function J(){return H.lFrame.tView}function ne(e){return H.lFrame.contextLView=e,e[Se]}function re(e){return H.lFrame.contextLView=null,e}function Be(){let e=Qp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Qp(){return H.lFrame.currentTNode}function sn(e,t){const r=H.lFrame;r.currentTNode=e,r.isParent=t}function Bc(){return H.lFrame.isParent}function $c(){H.lFrame.isParent=!1}function Je(){const e=H.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hr(){return H.lFrame.bindingIndex++}function T0(e,t){const r=H.lFrame;r.bindingIndex=r.bindingRootIndex=e,Gc(t)}function Gc(e){H.lFrame.currentDirectiveIndex=e}function eg(){return H.lFrame.currentQueryIndex}function qc(e){H.lFrame.currentQueryIndex=e}function x0(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ze]:null}function tg(e,t,r){if(r&Y.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||r&Y.Host||(o=x0(i),null===o||(i=i[kr],10&o.type))););if(null===o)return!1;t=o,e=i}const n=H.lFrame=ng();return n.currentTNode=t,n.lView=e,!0}function Wc(e){const t=ng(),r=e[T];H.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function ng(){const e=H.lFrame,t=null===e?null:e.child;return null===t?rg(e):t}function rg(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 og(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ig=og;function Zc(){const e=og();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 Ke(){return H.lFrame.selectedIndex}function cr(e){H.lFrame.selectedIndex=e}function be(){const e=H.lFrame;return $p(e.tView,e.selectedIndex)}let ag=!0;function Bs(){return ag}function Gn(e){ag=e}function $s(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[l]<0&&(e[Fr]+=65536),(a>13>16&&(3&e[z])===t&&(e[z]+=8192,cg(a,i)):cg(a,i)}const Ur=-1;class oi{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function Xc(e){return e!==Ur}function ii(e){return 32767&e}function si(e,t){let r=function B0(e){return e>>16}(e),n=t;for(;r>0;)n=n[kr],r--;return n}let Jc=!0;function qs(e){const t=Jc;return Jc=e,t}const ug=255,dg=5;let $0=0;const an={};function Ws(e,t){const r=fg(e,t);if(-1!==r)return r;const n=t[T];n.firstCreatePass&&(e.injectorIndex=t.length,Kc(n.data,e),Kc(t,null),Kc(n.blueprint,null));const o=Zs(e,t),i=e.injectorIndex;if(Xc(o)){const s=ii(o),a=si(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Kc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Zs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;null!==o;){if(n=_g(o),null===n)return Ur;if(r++,o=o[kr],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Ur}function eu(e,t,r){!function G0(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(Qo)&&(n=r[Qo]),null==n&&(n=r[Qo]=$0++);const o=n&ug;t.data[e+(o>>dg)]|=1<=0?t&ug:Y0:t}(r);if("function"==typeof i){if(!tg(t,e,n))return n&Y.Host?hg(o,0,n):pg(t,r,n,o);try{let s;if(s=i(n),null!=s||n&Y.Optional)return s;Dc()}finally{ig()}}else if("number"==typeof i){let s=null,a=fg(e,t),l=Ur,c=n&Y.Host?t[Te][ze]:null;for((-1===a||n&Y.SkipSelf)&&(l=-1===a?Zs(e,t):t[a+8],l!==Ur&&yg(n,!1)?(s=t[T],a=ii(l),t=si(l,t)):a=-1);-1!==a;){const u=t[T];if(vg(i,a,u.data)){const d=q0(a,t,r,s,n,c);if(d!==an)return d}l=t[a+8],l!==Ur&&yg(n,t[T].data[a+8]===c)&&vg(i,a,t)?(s=u,a=ii(l),t=si(l,t)):a=-1}}return o}function q0(e,t,r,n,o,i){const s=t[T],a=s.data[e+8],u=Ys(a,s,r,null==n?ar(a)&&Jc:n!=s&&0!=(3&a.type),o&Y.Host&&i===a);return null!==u?ur(t,s,u,a):an}function Ys(e,t,r,n,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,g=o?a+u:e.directiveEnd;for(let m=n?a:a+u;m=l&&y.type===r)return m}if(o){const m=s[l];if(m&&$t(m)&&m.type===r)return l}return null}function ur(e,t,r,n){let o=e[r];const i=t.data;if(function j0(e){return e instanceof oi}(o)){const s=o;s.resolving&&function pE(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${r}`)}(function se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():$(e)}(i[r]));const a=qs(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?it(s.injectImpl):null;tg(e,n,Y.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&function L0(e,t,r){const{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){const s=Vp(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}(r,i[r],t)}finally{null!==c&&it(c),qs(a),s.resolving=!1,ig()}}return o}function vg(e,t,r){return!!(r[t+(e>>dg)]&1<{const t=e.prototype.constructor,r=t[_n]||tu(t),n=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){const i=o[_n]||tu(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function tu(e){return _c(e)?()=>{const t=tu(U(e));return t&&t()}:lr(e)}function _g(e){const t=e[T],r=t.type;return 2===r?t.declTNode:1===r?e[ze]:null}const $r="__parameters__";function zr(e,t,r){return yn(()=>{const n=function nu(e){return function(...r){if(e){const n=e(...r);for(const o in n)this[o]=n[o]}}}(t);function o(...i){if(this instanceof o)return n.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty($r)?l[$r]:Object.defineProperty(l,$r,{value:[]})[$r];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Wr(e,t){e.forEach(r=>Array.isArray(r)?Wr(r,t):t(r))}function Dg(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Xs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ct(e,t,r){let n=Zr(e,t);return n>=0?e[1|n]=r:(n=~n,function rM(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(1===o)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function ru(e,t){const r=Zr(e,t);if(r>=0)return e[1|r]}function Zr(e,t){return function bg(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){const i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<|^->||--!>|)/g,IM="\u200b$1\u200b";const lu=new Map;let SM=0;const uu="__ngContext__";function qe(e,t){at(t)?(e[uu]=t[ti],function AM(e){lu.set(e[ti],e)}(t)):e[uu]=t}let du;function fu(e,t){return du(e,t)}function fi(e){const t=e[_e];return Xe(t)?t[_e]:t}function Bg(e){return Gg(e[Ko])}function $g(e){return Gg(e[Bt])}function Gg(e){for(;null!==e&&!Xe(e);)e=e[Bt];return e}function Xr(e,t,r,n,o){if(null!=n){let i,s=!1;Xe(n)?i=n:at(n)&&(s=!0,n=n[we]);const a=pe(n);0===e&&null!==r?null==o?Zg(t,r,a):dr(t,r,a,o||null,!0):1===e&&null!==r?dr(t,r,a,o||null,!0):2===e?function fa(e,t,r){const n=ua(e,t);n&&function ZM(e,t,r,n){e.removeChild(t,r,n)}(e,n,t,r)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function XM(e,t,r,n,o){const i=r[nn];i!==pe(r)&&Xr(t,e,n,i,o);for(let a=Ue;at.replace(MM,IM))}(t))}function la(e,t,r){return e.createElement(t,r)}function qg(e,t){const r=e[Lr],n=r.indexOf(t);zp(t),r.splice(n,1)}function ca(e,t){if(e.length<=Ue)return;const r=Ue+t,n=e[r];if(n){const o=n[ei];null!==o&&o!==e&&qg(o,n),t>0&&(e[r-1][Bt]=n[Bt]);const i=Xs(e,Ue+t);!function HM(e,t){pi(e,t,t[G],2,null,null),t[we]=null,t[ze]=null}(n[T],n);const s=i[tn];null!==s&&s.detachView(i[T]),n[_e]=null,n[Bt]=null,n[z]&=-129}return n}function pu(e,t){if(!(256&t[z])){const r=t[G];t[Os]?.destroy(),t[ks]?.destroy(),r.destroyNode&&pi(e,t,r,3,null,null),function $M(e){let t=e[Ko];if(!t)return gu(e[T],e);for(;t;){let r=null;if(at(t))r=t[Ko];else{const n=t[Ue];n&&(r=n)}if(!r){for(;t&&!t[Bt]&&t!==e;)at(t)&&gu(t[T],t),t=t[_e];null===t&&(t=e),at(t)&&gu(t[T],t),r=t&&t[Bt]}t=r}}(t)}}function gu(e,t){if(!(256&t[z])){t[z]&=-129,t[z]|=256,function WM(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),i+=2}else r[i].call(n[r[i+1]]);null!==n&&(t[Pr]=null);const o=t[Bn];if(null!==o){t[Bn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[n.directiveStart+o];if(i===Ht.None||i===Ht.Emulated)return null}return lt(n,r)}}(e,t.parent,r)}function dr(e,t,r,n,o){e.insertBefore(t,r,n,o)}function Zg(e,t,r){e.appendChild(t,r)}function Yg(e,t,r,n,o){null!==n?dr(e,t,r,n,o):Zg(e,t,r)}function ua(e,t){return e.parentNode(t)}let vu,Du,pa,Jg=function Xg(e,t,r){return 40&e.type?lt(e,r):null};function da(e,t,r,n){const o=mu(e,n,t),i=t[G],a=function Qg(e,t,r){return Jg(e,t,r)}(n.parent||t[ze],n,t);if(null!=o)if(Array.isArray(r))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createScriptURL(e)||e}class lm{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sp})`}}function qn(e){return e instanceof lm?e.changingThisBreaksApplicationSecurity:e}function gi(e,t){const r=function cI(e){return e instanceof lm&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${sp})`)}return r===t}const hI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var eo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(eo||{});function to(e){const t=vi();return t?t.sanitize(eo.URL,e)||"":gi(e,"URL")?qn(e):function wu(e){return(e=String(e)).match(hI)?e:"unsafe:"+e}($(e))}function gm(e){const t=vi();if(t)return am(t.sanitize(eo.RESOURCE_URL,e)||"");if(gi(e,"ResourceURL"))return am(qn(e));throw new S(904,!1)}function vi(){const e=M();return e&&e[Or].sanitizer}class x{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=L({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const yi=new x("ENVIRONMENT_INITIALIZER"),vm=new x("INJECTOR",-1),ym=new x("INJECTOR_DEF_TYPES");class Su{get(t,r=Zo){if(r===Zo){const n=new Error(`NullInjectorError: No provider for ${ke(t)}!`);throw n.name="NullInjectorError",n}return r}}function Tu(e){return{\u0275providers:e}}function _m(...e){return{\u0275providers:Cm(0,e),\u0275fromNgModule:!0}}function Cm(e,...t){const r=[],n=new Set;let o;const i=s=>{r.push(s)};return Wr(t,s=>{const a=s;ma(a,i,[],n)&&(o||=[],o.push(a))}),void 0!==o&&Dm(o,i),r}function Dm(e,t){for(let r=0;r{t(i,n)})}}function ma(e,t,r,n){if(!(e=U(e)))return!1;let o=null,i=Ss(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Ss(l),!i)return!1;o=l}const a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ma(c,t,r,n)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;n.add(o);try{Wr(i.imports,u=>{ma(u,t,r,n)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Dm(c,t)}if(!a){const c=lr(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:ym,useValue:o,multi:!0},o),t({provide:yi,useValue:()=>F(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Au(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Au(e,t){for(let r of e)Cc(r)&&(r=r.\u0275providers),Array.isArray(r)?Au(r,t):t(r)}const II=ae({provide:String,useValue:ae});function xu(e){return null!==e&&"object"==typeof e&&II in e}function fr(e){return"function"==typeof e}const Ru=new x("Set Injector scope."),va={},TI={};let Nu;function ya(){return void 0===Nu&&(Nu=new Su),Nu}class Dt{}class _a extends Dt{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ou(t,s=>this.processProvider(s)),this.records.set(vm,no(void 0,this)),o.has("environment")&&this.records.set(Dt,no(void 0,this));const i=this.records.get(Ru);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ym.multi,te,Y.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Hn(this),n=it(void 0);try{return t()}finally{Hn(r),it(n)}}get(t,r=Zo,n=Y.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(gp))return t[gp](this);n=xs(n);const i=Hn(this),s=it(void 0);try{if(!(n&Y.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function PI(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Is(t);l=c&&this.injectableDefInScope(c)?no(Pu(t),va):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(n&Y.Self?ya():this.parent).get(t,r=n&Y.Optional&&r===Zo?null:r)}catch(a){if("NullInjectorError"===a.name){if((a[As]=a[As]||[]).unshift(ke(t)),i)throw a;return function AE(e,t,r,n){const o=e[As];throw t[fp]&&o.unshift(t[fp]),e.message=function xE(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ke(t);if(Array.isArray(t))o=t.map(ke).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):ke(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(EE,"\n ")}`}("\n"+e.message,o,r,n),e.ngTokenPath=o,e[As]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{it(s),Hn(i)}}resolveInjectorInitializers(){const t=Hn(this),r=it(void 0);try{const o=this.get(yi.multi,te,Y.Self);for(const i of o)i()}finally{Hn(t),it(r)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(ke(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let r=fr(t=U(t))?t:U(t&&t.provide);const n=function xI(e){return xu(e)?no(void 0,e.useValue):no(Em(e),va)}(t);if(fr(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=no(void 0,va,!0),o.factory=()=>Ac(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===va&&(r.value=TI,r.value=r.factory()),"object"==typeof r.value&&r.value&&function NI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=U(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Pu(e){const t=Is(e),r=null!==t?t.factory:lr(e);if(null!==r)return r;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function AI(e){const t=e.length;if(t>0)throw function ci(e,t){const r=[];for(let n=0;nr.factory(e):()=>new e}(e);throw new S(204,!1)}function Em(e,t,r){let n;if(fr(e)){const o=U(e);return lr(o)||Pu(o)}if(xu(e))n=()=>U(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...Ac(e.deps||[]));else if(function bm(e){return!(!e||!e.useExisting)}(e))n=()=>F(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function RI(e){return!!e.deps}(e))return lr(o)||Pu(o);n=()=>new o(...Ac(e.deps))}return n}function no(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Ou(e,t){for(const r of e)Array.isArray(r)?Ou(r,t):r&&Cc(r)?Ou(r.\u0275providers,t):t(r)}const Ca=new x("AppId",{providedIn:"root",factory:()=>OI}),OI="ng",Mm=new x("Platform Initializer"),hr=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Im=new x("CSP nonce",{providedIn:"root",factory:()=>function Kr(){if(void 0!==Du)return Du;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Sm=(e,t,r)=>null;function Bu(e,t,r=!1){return Sm(e,t,r)}class GI{}class xm{}class qI{resolveComponentFactory(t){throw function zI(e){const t=Error(`No component factory found for ${ke(e)}.`);return t.ngComponent=e,t}(t)}}let Ia=(()=>{class t{}return t.NULL=new qI,t})();function WI(){return io(Be(),M())}function io(e,t){return new bt(lt(e,t))}let bt=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=WI,t})();function ZI(e){return e instanceof bt?e.nativeElement:e}class Nm{}let Mn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function YI(){const e=M(),r=_t(Be().index,e);return(at(r)?r:e)[G]}(),t})(),QI=(()=>{var e;class t{}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>null}),t})();class Di{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const XI=new Di("16.2.3"),zu={};function Fm(e,t=null,r=null,n){const o=Lm(e,t,r,n);return o.resolveInjectorInitializers(),o}function Lm(e,t=null,r=null,n,o=new Set){const i=[r||te,_m(e)];return n=n||("object"==typeof e?void 0:ke(e)),new _a(i,t||ya(),n||null,o)}let wt=(()=>{var e;class t{static create(n,o){if(Array.isArray(n))return Fm({name:""},o,n,"");{const i=n.name??"";return Fm({name:i},n.parent,n.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Zo,e.NULL=new Su,e.\u0275prov=L({token:e,providedIn:"any",factory:()=>F(vm)}),e.__NG_ELEMENT_ID__=-1,t})();function Zu(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class oS extends Lt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;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=Zu(i),o&&(o=Zu(o)),s&&(s=Zu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof gt&&t.add(a),a}};function Vm(...e){}class ge{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function iS(){const e="function"==typeof de.requestAnimationFrame;let t=de[e?"requestAnimationFrame":"setTimeout"],r=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function lS(e){const t=()=>{!function aS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Qu(e),e.isCheckStableRunning=!0,Yu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Qu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{try{return jm(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hm(e)}},onInvoke:(r,n,o,i,s,a,l)=>{try{return jm(e),r.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hm(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Qu(e),Yu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.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(!ge.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(ge.isInAngularZone())throw new S(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,sS,Vm,Vm);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const sS={};function Yu(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 Qu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hm(e){e._nesting--,Yu(e)}const Um=new x("",{providedIn:"root",factory:Bm});function Bm(){const e=A(ge);let t=!0;return function uE(...e){const t=Wo(e),r=function rE(e,t){return"number"==typeof mc(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?Vt(n[0]):xr(r)(Ne(n,t)):Jt}(new Ie(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Ie(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ge.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(ip()))}function In(e){return e instanceof Function?e():e}let Xu=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new S(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const n of this.callbacks)n.invoke()}finally{this.runningCallbacks=!1;for(const n of this.deferredCallbacks)this.callbacks.add(n);this.deferredCallbacks.clear()}}register(n){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(n)}unregister(n){this.callbacks.delete(n),this.deferredCallbacks.delete(n)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new e}),t})();function bi(e){for(;e;){e[z]|=64;const t=fi(e);if(kc(e)&&!t)return e;e=t}return null}function Ju(e){return e.ngOriginalError}class pr{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Ju(t);for(;r&&Ju(r);)r=Ju(r);return r||null}}const Wm=new x("",{providedIn:"root",factory:()=>!1});class Xm extends Op{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){bi(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,r,n){const o=je(this);this.trackingVersion++;try{t(r,n)}finally{je(o)}}destroy(){this.trackingVersion++}}let Ta=null;function Jm(){return Ta??=new Xm,Ta}function Km(e,t){return e[t]??Jm()}function ev(e,t){const r=Jm();r.hasReadASignal&&(e[t]=Ta,r.lView=e,Ta=new Xm)}const q={};function _(e){tv(J(),M(),Ke()+e,!1)}function tv(e,t,r,n){if(!n)if(3==(3&t[z])){const i=e.preOrderCheckHooks;null!==i&&Gs(t,i,r)}else{const i=e.preOrderHooks;null!==i&&zs(t,i,0,r)}cr(r)}function I(e,t=Y.Default){const r=M();return null===r?F(e,t):gg(Be(),r,U(e),t)}function Aa(e,t,r,n,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[we]=o,d[z]=140|n,(null!==c||e&&2048&e[z])&&(d[z]|=2048),Gp(d),d[_e]=d[kr]=e,d[Se]=r,d[Or]=s||e&&e[Or],d[G]=a||e&&e[G],d[Un]=l||e&&e[Un]||null,d[ze]=i,d[ti]=function TM(){return SM++}(),d[Dn]=u,d[Tp]=c,d[Te]=2==t.type?e[Te]:d,d}function lo(e,t,r,n,o){let i=e.data[t];if(null===i)i=function Ku(e,t,r,n,o){const i=Qp(),s=Bc(),l=e.data[t]=function IS(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return function jr(){return null!==H.skipHydrationRootTNode}()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,r,t,n,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,r,n,o),function S0(){return H.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=r,i.value=n,i.attrs=o;const s=function ri(){const e=H.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return sn(i,!0),i}function wi(e,t,r,n){if(0===r)return-1;const o=t.length;for(let i=0;iQ&&tv(e,t,Q,!1),on(a?2:0,o),a)i.runInContext(r,n,o);else{const c=je(null);try{r(n,o)}finally{je(c)}}}finally{a&&null===t[Os]&&ev(t,Os),cr(s),on(a?3:1,o)}}function ed(e,t,r){if(Oc(t)){const n=je(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function sv(e,t,r,n){for(let o in e)if(e.hasOwnProperty(o)){r=null===r?{}:r;const i=e[o];null===n?av(r,t,o,i):n.hasOwnProperty(o)&&av(r,t,n[o],i)}return r}function av(e,t,r,n){e.hasOwnProperty(r)?e[r].push(t,n):e[r]=[t,n]}function Et(e,t,r,n,o,i,s,a){const l=lt(t,r);let u,c=t.inputs;!a&&null!=c&&(u=c[n])?(ld(e,r,u,n,o),ar(t)&&function AS(e,t){const r=_t(t,e);16&r[z]||(r[z]|=64)}(r,t.index)):3&t.type&&(n=function TS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),o=null!=s?s(o,t.value||"",n):o,i.setProperty(l,n,o))}function od(e,t,r,n){if(Yp()){const o=null===n?null:{"":-1},i=function kS(e,t){const r=e.directiveRegistry;let n=null,o=null;if(r)for(let i=0;i0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(s)!=a&&s.push(a),s.push(r,n,i)}}(e,t,n,wi(e,r,o.hostVars,q),o)}function ln(e,t,r,n,o,i){const s=lt(e,t);!function sd(e,t,r,n,o,i,s){if(null==i)e.removeAttribute(t,o,r);else{const a=null==s?$(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}(t[G],s,i,e.value,r,n,o)}function US(e,t,r,n,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(n,o,i){const s=typeof Zone>"u"?null:Zone.current,a=new s0(n,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new e}),t})();function Ra(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Cv(e,1);const o=e[T].components;null!==o&&bv(e,o,1)}}function bv(e,t,r){for(let n=0;n-1&&(ca(t,n),Xs(r,n))}this._attachedToViewContainer=!1}pu(this._lView[T],this._lView)}onDestroy(t){!function Wp(e,t){if(256==(256&e[z]))throw new S(911,!1);null===e[Bn]&&(e[Bn]=[]),e[Bn].push(t)}(this._lView,t)}markForCheck(){bi(this._cdRefInjectingView||this._lView)}detach(){this._lView[z]&=-129}reattach(){this._lView[z]|=128}detectChanges(){Na(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function BM(e,t){pi(e,t,t[G],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class QS extends Mi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Na(t[T],t,t[Se],!1)}checkNoChanges(){}get context(){return null}}class wv extends Ia{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=X(t);return new Ii(r,this.ngModule)}}function Ev(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class JS{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=xs(n);const o=this.injector.get(t,zu,n);return o!==zu||r===zu?o:this.parentInjector.get(t,r,n)}}class Ii extends xm{get inputs(){const t=this.componentDef,r=t.inputTransforms,n=Ev(t.inputs);if(null!==r)for(const o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Ev(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function HE(e){return e.map(jE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){let i=(o=o||this.ngModule)instanceof Dt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new JS(t,i):t,a=s.get(Nm,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(QI,null),effectManager:s.get(vv,null),afterRenderEventManager:s.get(Xu,null)},g=a.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",y=n?function DS(e,t,r,n){const i=n.get(Wm,!1)||r===Ht.ShadowDom,s=e.selectRootElement(t,i);return function bS(e){iv(e)}(s),s}(g,n,this.componentDef.encapsulation,s):la(g,m,function XS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(m)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==y&&(D=Bu(y,s,!0));const P=rd(0,null,null,1,0,null,null,null,null,null,null),N=Aa(null,P,null,E,null,null,d,g,s,null,D);let Z,Ge;Wc(N);try{const Tt=this.componentDef;let Ar,ic=null;Tt.findHostDirectiveDefs?(Ar=[],ic=new Map,Tt.findHostDirectiveDefs(Tt,Ar,ic),Ar.push(Tt)):Ar=[Tt];const uj=function eT(e,t){const r=e[T],n=Q;return e[n]=t,lo(r,n,2,"#host",null)}(N,y),dj=function tT(e,t,r,n,o,i,s){const a=o[T];!function nT(e,t,r,n){for(const o of e)t.mergedAttrs=Xo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ra(t,t.mergedAttrs,!0),null!==r&&om(n,r,t))}(n,e,t,s);let l=null;null!==t&&(l=Bu(t,o[Un]));const c=i.rendererFactory.createRenderer(t,r);let u=16;r.signals?u=4096:r.onPush&&(u=64);const d=Aa(o,ov(r),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&id(a,e,n.length-1),xa(o,d),o[e.index]=d}(uj,y,Tt,Ar,N,d,g);Ge=$p(P,Q),y&&function oT(e,t,r,n){if(n)Nc(e,r,["ng-version",XI.full]);else{const{attrs:o,classes:i}=function UE(e){const t=[],r=[];let n=1,o=2;for(;n0&&rm(e,r,i.join(" "))}}(g,Tt,y,n),void 0!==r&&function iT(e,t,r){const n=e.projection=[];for(let o=0;o=0;n--){const o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=Xo(o.hostAttrs,r=Xo(r,o.hostAttrs))}}(n)}function Pa(e){return e===en?{}:e===te?[]:e}function lT(e,t){const r=e.viewQuery;e.viewQuery=r?(n,o)=>{t(n,o),r(n,o)}:t}function cT(e,t){const r=e.contentQueries;e.contentQueries=r?(n,o,i)=>{t(n,o,i),r(n,o,i)}:t}function uT(e,t){const r=e.hostBindings;e.hostBindings=r?(n,o)=>{t(n,o),r(n,o)}:t}function Av(e){const t=e.inputConfig,r={};for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];Array.isArray(o)&&o[2]&&(r[n]=o[2])}e.inputTransforms=r}function Oa(e){return!!ud(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ud(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cn(e,t,r){return e[t]=r}function We(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function Gt(e,t,r,n){const o=M();return We(o,Hr(),t)&&(J(),ln(be(),o,e,t,r,n)),Gt}function uo(e,t,r,n){return We(e,Hr(),r)?t+$(r)+n:q}function O(e,t,r,n,o,i,s,a){const l=M(),c=J(),u=e+Q,d=c.firstCreatePass?function kT(e,t,r,n,o,i,s,a,l){const c=t.consts,u=lo(t,e,4,s||null,$n(c,a));od(t,r,u,$n(c,l)),$s(t,u);const d=u.tView=rd(2,u,n,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,r,n,o,i,s):c.data[u];sn(d,!1);const g=Bv(c,l,d,e);Bs()&&da(c,l,g,d),qe(g,l),xa(l,l[u]=dv(g,l,g,d)),Ls(d)&&td(c,l,d),null!=s&&nd(l,d,a)}let Bv=function $v(e,t,r,n){return Gn(!0),t[G].createComment("")};function md(e){return function Vr(e,t){return e[t]}(function I0(){return H.lFrame.contextLView}(),Q+e)}function w(e,t,r){const n=M();return We(n,Hr(),t)&&Et(J(),be(),n,e,t,n[G],r,!1),w}function vd(e,t,r,n,o){const s=o?"class":"style";ld(e,r,t.inputs[s],s,n)}function h(e,t,r,n){const o=M(),i=J(),s=Q+e,a=o[G],l=i.firstCreatePass?function jT(e,t,r,n,o,i){const s=t.consts,l=lo(t,e,2,n,$n(s,o));return od(t,r,l,$n(s,i)),null!==l.attrs&&Ra(l,l.attrs,!1),null!==l.mergedAttrs&&Ra(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,r,n):i.data[s],c=Gv(i,o,l,a,t,e);o[s]=c;const u=Ls(l);return sn(l,!0),om(a,c,l),32!=(32&l.flags)&&Bs()&&da(i,o,c,l),0===function y0(){return H.lFrame.elementDepthCount}()&&qe(c,o),function _0(){H.lFrame.elementDepthCount++}(),u&&(td(i,o,l),ed(i,l,o)),null!==n&&nd(o,l),h}function p(){let e=Be();Bc()?$c():(e=e.parent,sn(e,!1));const t=e;(function D0(e){return H.skipHydrationRootTNode===e})(t)&&function M0(){H.skipHydrationRootTNode=null}(),function C0(){H.lFrame.elementDepthCount--}();const r=J();return r.firstCreatePass&&($s(r,e),Oc(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function H0(e){return 0!=(8&e.flags)}(t)&&vd(r,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function U0(e){return 0!=(16&e.flags)}(t)&&vd(r,t,M(),t.stylesWithoutHost,!1),p}function v(e,t,r,n){return h(e,t,r,n),p(),v}let Gv=(e,t,r,n,o,i)=>(Gn(!0),la(n,o,function sg(){return H.lFrame.currentNamespace}()));function ut(e,t,r){const n=M(),o=J(),i=e+Q,s=o.firstCreatePass?function BT(e,t,r,n,o){const i=t.consts,s=$n(i,n),a=lo(t,e,8,"ng-container",s);return null!==s&&Ra(a,s,!0),od(t,r,a,$n(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,n,t,r):o.data[i];sn(s,!0);const a=qv(o,n,s,e);return n[i]=a,Bs()&&da(o,n,a,s),qe(a,n),Ls(s)&&(td(o,n,s),ed(o,s,n)),null!=r&&nd(n,s),ut}function dt(){let e=Be();const t=J();return Bc()?$c():(e=e.parent,sn(e,!1)),t.firstCreatePass&&($s(t,e),Oc(e)&&t.queries.elementEnd(e)),dt}let qv=(e,t,r,n)=>(Gn(!0),hu(t[G],""));function Ae(){return M()}function Ri(e){return!!e&&"function"==typeof e.then}function Wv(e){return!!e&&"function"==typeof e.subscribe}function R(e,t,r,n){const o=M(),i=J(),s=Be();return function Yv(e,t,r,n,o,i,s){const a=Ls(n),c=e.firstCreatePass&&pv(e),u=t[Se],d=hv(t);let g=!0;if(3&n.type||s){const C=lt(n,t),b=s?s(C):C,E=d.length,D=s?N=>s(pe(N[n.index])):n.index;let P=null;if(!s&&a&&(P=function zT(e,t,r,n){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,n.index)),null!==P)(P.__ngLastListenerFn__||P).__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,g=!1;else{i=Xv(n,t,u,i,!1);const N=r.listen(b,o,i);d.push(i,N),c&&c.push(o,D,E,E+1)}}else i=Xv(n,t,u,i,!1);const m=n.outputs;let y;if(g&&null!==m&&(y=m[o])){const C=y.length;if(C)for(let b=0;b-1?_t(e.index,t):t);let l=Qv(t,r,n,s),c=i.__ngNextListenerFn__;for(;c;)l=Qv(t,r,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function k(e=1){return function R0(e){return(H.lFrame.contextLView=function N0(e,t){for(;e>0;)t=t[kr],e--;return t}(e,H.lFrame.contextLView))[Se]}(e)}function Tn(e,t,r,n,o){const i=M(),s=uo(i,t,r,n);return s!==q&&Et(J(),be(),i,e,s,i[G],o,!1),Tn}function ja(e,t){return e<<17|t<<2}function Wn(e){return e>>17&32767}function yd(e){return 2|e}function mr(e){return(131068&e)>>2}function _d(e,t){return-131069&e|t<<2}function Cd(e){return 1|e}function ay(e,t,r,n,o){const i=e[r+1],s=null===t;let a=n?Wn(i):mr(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];eA(e[a],t)&&(l=!0,e[a+1]=n?Cd(u):yd(u)),a=n?Wn(u):mr(u)}l&&(e[r+1]=n?yd(i):Cd(i))}function eA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zr(e,t)>=0}function Ha(e,t){return function zt(e,t,r,n){const o=M(),i=J(),s=function wn(e){const t=H.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}(2);i.firstUpdatePass&&function my(e,t,r,n){const o=e.data;if(null===o[r+1]){const i=o[Ke()],s=function gy(e,t){return t>=e.expandoStartIndex}(e,r);(function Cy(e,t){return 0!=(e.flags&(t?8:16))})(i,n)&&null===t&&!s&&(t=!1),t=function cA(e,t,r,n){const o=function zc(e){const t=H.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=n?t.residualClasses:t.residualStyles;if(null===o)0===(n?t.classBindings:t.styleBindings)&&(r=Ni(r=Dd(null,e,t,r,n),t.attrs,n),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(r=Dd(o,e,t,r,n),null===i){let l=function uA(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==mr(n))return e[Wn(n)]}(e,t,n);void 0!==l&&Array.isArray(l)&&(l=Dd(null,e,t,l[1],n),l=Ni(l,t.attrs,n),function dA(e,t,r,n){e[Wn(r?t.classBindings:t.styleBindings)]=n}(e,t,n,l))}else i=function fA(e,t,r){let n;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=r,o)if(0!==l){const g=Wn(e[a+1]);e[n+1]=ja(g,a),0!==g&&(e[g+1]=_d(e[g+1],n)),e[a+1]=function QT(e,t){return 131071&e|t<<17}(e[a+1],n)}else e[n+1]=ja(a,0),0!==a&&(e[a+1]=_d(e[a+1],n)),a=n;else e[n+1]=ja(l,0),0===a?a=n:e[l+1]=_d(e[l+1],n),l=n;c&&(e[n+1]=yd(e[n+1])),ay(e,u,n,!0),ay(e,u,n,!1),function KT(e,t,r,n,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Zr(i,t)>=0&&(r[n+1]=Cd(r[n+1]))}(t,u,e,n,i),s=ja(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,r,s,n)}}(i,e,s,n),t!==q&&We(o,s,t)&&function yy(e,t,r,n,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function XT(e){return 1==(1&e)}(c)?_y(l,t,r,o,mr(c),s):void 0;Ua(u)||(Ua(i)||function YT(e){return 2==(2&e)}(c)&&(i=_y(l,null,r,o,a,s)),function JM(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=-1===n.indexOf("-")?void 0:zn.DashCase;null==o?e.removeStyle(r,n,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=zn.Important),e.setStyle(r,n,o,i))}}(n,s,Us(Ke(),r),o,i))}(i,i.data[Ke()],o,o[G],e,o[s+1]=function mA(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ke(qn(e)))),e}(t,r),n,s)}(e,t,null,!0),Ha}function Dd(e,t,r,n,o){let i=null;const s=r.directiveEnd;let a=r.directiveStylingLast;for(-1===a?a=r.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let g=r[o+1];g===q&&(g=d?te:void 0);let m=d?ru(g,n):u===n?g:void 0;if(c&&!Ua(m)&&(m=ru(l,n)),Ua(m)&&(a=m,s))return a;const y=e[o+1];o=s?Wn(y):mr(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=ru(l,n))}return a}function Ua(e){return void 0!==e}function f(e,t=""){const r=M(),n=J(),o=e+Q,i=n.firstCreatePass?lo(n,o,1,t,null):n.data[o],s=Dy(n,r,i,t,e);r[o]=s,Bs()&&da(n,r,s,i),sn(i,!1)}let Dy=(e,t,r,n,o)=>(Gn(!0),function aa(e,t){return e.createText(t)}(t[G],n));function Ce(e){return An("",e,""),Ce}function An(e,t,r){const n=M(),o=uo(n,e,t,r);return o!==q&&function Sn(e,t,r){const n=Us(t,e);!function zg(e,t,r){e.setValue(t,r)}(e[G],n,r)}(n,Ke(),o),An}const Do="en-US";let $y=Do;function Ed(e,t,r,n,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(fr(e)||!e.multi){const m=new oi(c,o,I),y=Id(l,t,o?u:u+g,d);-1===y?(eu(Ws(a,s),i,l),Md(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)):(r[y]=m,s[y]=m)}else{const m=Id(l,t,u+g,d),y=Id(l,t,u,u+g),b=y>=0&&r[y];if(o&&!b||!o&&!(m>=0&&r[m])){eu(Ws(a,s),i,l);const E=function Lx(e,t,r,n,o){const i=new oi(e,r,I);return i.multi=[],i.index=t,i.componentProviders=0,p_(i,o,n&&!r),i}(o?Fx:kx,r.length,o,n,c);!o&&b&&(r[y].providerFactory=E),Md(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(E),s.push(E)}else Md(i,e,m>-1?m:y,p_(r[o?y:m],c,!o&&n));!o&&n&&b&&r[y].componentProviders++}}}function Md(e,t,r,n){const o=fr(t),i=function SI(e){return!!e.useClass}(t);if(o||i){const l=(i?U(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(r);-1===u?c.push(r,[n,l]):c[u+1].push(n,l)}else c.push(r,l)}}}function p_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Id(e,t,r,n){for(let o=r;o{r.providersResolver=(n,o)=>function Ox(e,t,r){const n=J();if(n.firstCreatePass){const o=$t(e);Ed(r,n.data,n.blueprint,o,!0),Ed(t,n.data,n.blueprint,o,!1)}}(n,o?o(e):e,t)}}class yr{}class g_{}class Td extends yr{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new wv(this);const o=yt(t);this._bootstrapComponents=In(o.bootstrap),this._r3Injector=Lm(t,r,[{provide:yr,useValue:this},{provide:Ia,useValue:this.componentFactoryResolver},...n],ke(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(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ad extends g_{constructor(t){super(),this.moduleType=t}create(t){return new Td(this.moduleType,t,[])}}class m_ extends yr{constructor(t){super(),this.componentFactoryResolver=new wv(this),this.instance=null;const r=new _a([...t.providers,{provide:yr,useValue:this},{provide:Ia,useValue:this.componentFactoryResolver}],t.parent||ya(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function xd(e,t,r=null){return new m_({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let Hx=(()=>{var e;class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=Cm(0,n.type),i=o.length>0?xd([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=L({token:e,providedIn:"environment",factory:()=>new e(F(Dt))}),t})();function Mt(e){e.getStandaloneInjector=t=>t.get(Hx).getOrCreateStandaloneInjector(e)}function K(e,t,r){const n=Je()+e,o=M();return o[n]===q?cn(o,n,r?t.call(r):t()):function Si(e,t){return e[t]}(o,n)}function Vi(e,t,r,n){return function E_(e,t,r,n,o,i){const s=t+r;return We(e,s,o)?cn(e,s+1,i?n.call(i,o):n(o)):ji(e,s+1)}(M(),Je(),e,t,r,n)}function w_(e,t,r,n,o){return function M_(e,t,r,n,o,i,s){const a=t+r;return function gr(e,t,r,n){const o=We(e,t,r);return We(e,t+1,n)||o}(e,a,o,i)?cn(e,a+2,s?n.call(s,o,i):n(o,i)):ji(e,a+2)}(M(),Je(),e,t,r,n,o)}function ji(e,t){const r=e[t];return r===q?void 0:r}function cR(){return this._results[Symbol.iterator]()}class Nd{get changes(){return this._changes||(this._changes=new Ee)}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 r=Nd.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=cR)}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,r){return this._results.reduce(t,r)}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,r){const n=this;n.dirty=!1;const o=function Nt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function tM(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n0&&(r[o-1][Bt]=t),n{class t{}return t.__NG_ELEMENT_ID__=pR,t})();const fR=xn,hR=class extends fR{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const o=function uR(e,t,r,n){const o=t.tView,a=Aa(e,o,r,4096&e[z]?4096:16,null,t,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[ei]=e[t.index];const c=e[tn];return null!==c&&(a[tn]=c.createEmbeddedView(o)),cd(o,a,r),a}(this._declarationLView,this._declarationTContainer,t,{injector:r,hydrationInfo:n});return new Mi(o)}};function pR(){return qa(Be(),M())}function qa(e,t){return 4&e.type?new hR(t,e,io(e,t)):null}let Wt=(()=>{class t{}return t.__NG_ELEMENT_ID__=CR,t})();function CR(){return k_(Be(),M())}const DR=Wt,P_=class extends DR{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return io(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){const t=Zs(this._hostTNode,this._hostLView);if(Xc(t)){const r=si(t,this._hostLView),n=ii(t);return new et(r[T].data[n+8],r)}return new et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=O_(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(t,r,n){let o,i;"number"==typeof n?o=n:null!=n&&(o=n.index,i=n.injector);const a=t.createEmbeddedViewImpl(r||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,r,n,o,i){const s=t&&!function li(e){return"function"==typeof e}(t);let a;if(s)a=r;else{const C=r||{};a=C.index,n=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef}const l=s?t:new Ii(X(t)),c=n||this.parentInjector;if(!i&&null==l.ngModule){const b=(s?c:this.parentInjector).get(Dt,null);b&&(i=b)}X(l.componentType??{});const m=l.create(c,o,null,i);return this.insertImpl(m.hostView,a,false),m}insert(t,r){return this.insertImpl(t,r,!1)}insertImpl(t,r,n){const o=t._lView;if(function g0(e){return Xe(e[_e])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[_e],u=new P_(c,c[ze],c[_e]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(r),a=this._lContainer;return dR(a,o,s,!n),t.attachToViewContainerRef(),Dg(Pd(a),s,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=O_(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=ca(this._lContainer,r);n&&(Xs(Pd(this._lContainer),r),pu(n[T],n))}detach(t){const r=this._adjustIndex(t,-1),n=ca(this._lContainer,r);return n&&null!=Xs(Pd(this._lContainer),r)?new Mi(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function O_(e){return e[8]}function Pd(e){return e[8]||(e[8]=[])}function k_(e,t){let r;const n=t[e.index];return Xe(n)?r=n:(r=dv(n,t,null,e),t[e.index]=r,xa(t,r)),F_(r,t,e,n),new P_(r,e,t)}let F_=function L_(e,t,r,n){if(e[nn])return;let o;o=8&r.type?pe(n):function bR(e,t){const r=e[G],n=r.createComment(""),o=lt(t,e);return dr(r,ua(r,o),n,function YM(e,t){return e.nextSibling(t)}(r,o),!1),n}(t,r),e[nn]=o};class Od{constructor(t){this.queryList=t,this.matches=null}clone(){return new Od(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const n=null!==t.contentQueries?t.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=Ue;d{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=A(Gd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Ri(s))n.push(s);else if(Wv(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),0===n.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),lC=(()=>{var e;class t{log(n){console.log(n)}warn(n){console.warn(n)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Rn=new x("LocaleId",{providedIn:"root",factory:()=>A(Rn,Y.Optional|Y.SkipSelf)||function KR(){return typeof $localize<"u"&&$localize.locale||Do}()});let Ya=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new At(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class nN{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let cC=(()=>{var e;class t{compileModuleSync(n){return new Ad(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),s=In(yt(n).declarations).reduce((a,l)=>{const c=X(l);return c&&a.push(new Ii(c)),a},[]);return new nN(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const hC=new x(""),Xa=new x("");let Qd,Zd=(()=>{var e;class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Qd||(function bN(e){Qd=e}(i),i.addToWindow(o)),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:()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.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,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!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,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}}return(e=t).\u0275fac=function(n){return new(n||e)(F(ge),F(Yd),F(Xa))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),Yd=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Qd?.findTestabilityInTree(this,n,o)??null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Zn=null;const Xd=new x("PlatformDestroyListeners"),Jd=new x("appBootstrapListener");class mC{constructor(t,r){this.name=t,this.token=r}}function SN(e){try{const{rootComponent:t,appProviders:r,platformProviders:n}=e,o=function IN(e=[]){if(Zn)return Zn;const t=function yC(e=[],t){return wt.create({name:t,providers:[{provide:Ru,useValue:"platform"},{provide:Xd,useValue:new Set([()=>Zn=null])},...e]})}(e);return Zn=t,function gC(){!function r0(e){kp=e}(()=>{throw new S(600,!1)})}(),function vC(e){e.get(Mm,null)?.forEach(r=>r())}(t),t}(n),i=[NN(),...r||[]],a=new m_({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(ge);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(pr,null);let u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:m=>{c.handleError(m)}})});const d=()=>a.destroy(),g=o.get(Xd);return g.add(d),a.onDestroy(()=>{u.unsubscribe(),g.delete(d)}),function DC(e,t,r){try{const n=r();return Ri(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(c,l,()=>{const m=a.get(zd);return m.runInitializers(),m.donePromise.then(()=>{!function Gy(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&($y=e.toLowerCase().replace(/_/g,"-"))}(a.get(Rn,Do)||Do);const C=a.get(Eo);return void 0!==t&&C.bootstrap(t),C})})})}catch(t){return Promise.reject(t)}}let Eo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(EC),this.zoneIsStable=A(Um),this.componentTypes=[],this.components=[],this.isStable=A(Ya).hasPendingTasks.pipe(jt(n=>n?V(!1):this.zoneIsStable),function dE(e,t=Vn){return e=e??fE,Oe((r,n)=>{let o,i=!0;r.subscribe(Re(n,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,n.next(s))}))})}(),ip()),this._injector=A(Dt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const i=n instanceof xm;if(!this._injector.get(zd).done)throw!i&&function Nr(e){const t=X(e)||He(e)||Qe(e);return null!==t&&t.standalone}(n),new S(405,!1);let a;a=i?n:this._injector.get(Ia).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function EN(e){return e.isBoundToModule}(a)?void 0:this._injector.get(yr),u=a.create(wt.NULL,[],o||a.selector,l),d=u.location.nativeElement,g=u.injector.get(hC,null);return g?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Ja(this.components,u),g?.unregisterApplication(d)}),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.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;Ja(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(Jd,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ja(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=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ja(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const EC=new x("",{providedIn:"root",factory:()=>A(pr).handleError.bind(void 0)});function xN(){const e=A(ge),t=A(pr);return r=>e.runOutsideAngular(()=>t.handleError(r))}let RN=(()=>{var e;class t{constructor(){this.zone=A(ge),this.applicationRef=A(Eo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function MC(e){return[{provide:ge,useFactory:e},{provide:yi,multi:!0,useFactory:()=>{const t=A(RN,{optional:!0});return()=>t.initialize()}},{provide:EC,useFactory:xN},{provide:Um,useFactory:Bm}]}function NN(e){return Tu([[],MC(()=>new ge(function CC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let Ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=PN,t})();function PN(e){return function ON(e,t,r){if(ar(e)&&!r){const n=_t(e.index,t);return new Mi(n,n)}return 47&e.type?new Mi(t[Te],t):null}(Be(),M(),16==(16&e))}class AC{constructor(){}supports(t){return Oa(t)}create(t){return new HN(t)}}const jN=(e,t)=>t;class HN{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||jN}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){const s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),null!==r&&Object.is(r.trackById,s)?(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)):(r=this._mismatch(r,a,s,o),n=!0),r=r._next,o++}),this.length=o;return this._truncate(r),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,r,n,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,i,o)):t=this._addAfter(new UN(r,n),i,o),t}_verifyReinsertion(t,r,n,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,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 r=t._next;this._addToRemovals(this._unlink(t)),t=r}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,r,n){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,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const o=null===r?this._itHead:r._next;return t._next=o,t._prev=r,null===o?this._itTail=t:o._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new xC),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return null===r?this._itHead=n:r._next=n,null===n?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xC),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,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class UN{constructor(t,r){this.item=t,this.trackById=r,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 BN{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,r){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===r||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return null===r?this._head=n:r._nextDup=n,null===n?this._tail=r:n._prevDup=r,null===this._head}}class xC{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new BN,this.map.set(r,n)),n.add(t)}get(t,r){const o=this.map.get(t);return o?o.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function RC(e,t,r){const n=e.previousIndex;if(null===n)return n;let o=0;return r&&n{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{const i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const n=t._prev;return r._next=t,r._prev=n,t._prev=r,n&&(n._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,r);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const n=new GN(t);return this._records.set(t,n),n.currentValue=r,this._addToAdditions(n),n}_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,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,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,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(n=>r(t[n],n))}}class GN{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 PC(){return new nl([new AC])}let nl=(()=>{var e;class t{constructor(n){this.factories=n}static create(n,o){if(null!=o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||PC()),deps:[[t,new ea,new Ks]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:PC}),t})();function OC(){return new $i([new NC])}let $i=(()=>{var e;class t{constructor(n){this.factories=n}static create(n,o){if(o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||OC()),deps:[[t,new ea,new Ks]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:OC}),t})(),WN=(()=>{var e;class t{constructor(n){}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Eo))},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({}),t})();function Mo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const ve_apiBaseUrl="https://www.palmmedia.de/api/";let af=null;function Yn(){return af}class aP{}const pt=new x("DocumentToken");let lf=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(cP)},providedIn:"platform"}),t})();const lP=new x("Location Initialized");let cP=(()=>{var e;class t extends lf{constructor(){super(),this._doc=A(pt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yn().getBaseHref(this._doc)}onPopState(n){const o=Yn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){const o=Yn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new e},providedIn:"platform"}),t})();function cf(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function $C(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function Nn(e){return e&&"?"!==e[0]?"?"+e:e}let Cr=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(zC)},providedIn:"root"}),t})();const GC=new x("appBaseHref");let zC=(()=>{var e;class t extends Cr{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??A(pt).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 cf(this._baseHref,n)}path(n=!1){const o=this._platformLocation.pathname+Nn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){const a=this.prepareExternalUrl(i+Nn(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){const a=this.prepareExternalUrl(i+Nn(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(lf),F(GC,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),uP=(()=>{var e;class t extends Cr{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=o&&(this._baseHref=o)}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 o=this._platformLocation.hash;return null==o&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){const o=cf(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Nn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Nn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(lf),F(GC,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),uf=(()=>{var e;class t{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const o=this._locationStrategy.getBaseHref();this._basePath=function hP(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}($C(qC(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Nn(o))}normalize(n){return t.stripTrailingSlash(function fP(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,qC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(o)),i)}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(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{const o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}}return(e=t).normalizeQueryParams=Nn,e.joinWithSlash=cf,e.stripTrailingSlash=$C,e.\u0275fac=function(n){return new(n||e)(F(Cr))},e.\u0275prov=L({token:e,factory:function(){return function dP(){return new uf(F(Cr))}()},providedIn:"root"}),t})();function qC(e){return e.replace(/\/index.html$/,"")}function tD(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[o,i]=-1==n?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const Cf=/\s+/,nD=[];let pl=(()=>{var e;class t{constructor(n,o,i,s){this._iterableDiffers=n,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=nD,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Cf):nD}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Cf):n}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const o of n)this._updateState(o,!0);else if(null!=n)for(const o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){const i=this.stateMap.get(n);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){(n=n.trim()).length>0&&n.split(Cf).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(nl),I($i),I(bt),I(Mn))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class JP{constructor(t,r,n,o){this.$implicit=t,this.ngForOf=r,this.index=n,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 Df=(()=>{var e;class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new JP(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),oD(l,i)}});for(let i=0,s=o.length;i{oD(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Wt),I(xn),I(nl))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function oD(e,t){e.context.$implicit=t.item}let gl=(()=>{var e;class t{constructor(n,o){this._viewContainer=n,this._context=new KP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){iD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){iD("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,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Wt),I(xn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class KP{constructor(){this.$implicit=null,this.ngIf=null}}function iD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ke(t)}'.`)}let EO=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({}),t})();function cD(e){return"server"===e}let TO=(()=>{var e;class t{}return(e=t).\u0275prov=L({token:e,providedIn:"root",factory:()=>new AO(F(pt),window)}),t})();class AO{constructor(t,r){this.document=t,this.window=r,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 r=function xO(e,t){const r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=n.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class uD{}const{isArray:ek}=Array,{getPrototypeOf:tk,prototype:nk,keys:rk}=Object;function gD(e){if(1===e.length){const t=e[0];if(ek(t))return{args:t,keys:null};if(function ok(e){return e&&"object"==typeof e&&tk(e)===nk}(t)){const r=rk(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}const{isArray:ik}=Array;function mD(e){return ee(t=>function sk(e,t){return ik(t)?e(...t):e(t)}(e,t))}function vD(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function Tf(...e){const t=Wo(e),r=tp(e),{args:n,keys:o}=gD(e);if(0===n.length)return Ne([],t);const i=new Ie(function ak(e,t,r=Vn){return n=>{yD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=Ne(e[l],t);let u=!1;c.subscribe(Re(n,d=>{i[l]=d,u||(u=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,t,o?s=>vD(o,s):Vn));return r?i.pipe(mD(r)):i}function yD(e,t,r){e?vn(r,e,t):t()}const yl=zo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Af(...e){return function lk(){return xr(1)}()(Ne(e,Wo(e)))}function _D(e){return new Ie(t=>{Vt(e()).subscribe(t)})}function Wi(e,t){const r=ue(e)?e:()=>e,n=o=>o.error(r());return new Ie(t?o=>t.schedule(n,0,o):n)}function xf(){return Oe((e,t)=>{let r=null;e._refCount++;const n=Re(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(r=null);const o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}class CD extends Ie{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Hh(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 gt;const r=this.getSubject();t.add(this.source.subscribe(Re(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=gt.EMPTY)}return t}refCount(){return xf()(this)}}function Qt(e,t){return Oe((r,n)=>{let o=0;r.subscribe(Re(n,i=>e.call(t,i,o++)&&n.next(i)))})}function _l(e){return Oe((t,r)=>{let n=!1;t.subscribe(Re(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function DD(e=uk){return Oe((t,r)=>{let n=!1;t.subscribe(Re(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function uk(){return new yl}function Dr(e,t){const r=arguments.length>=2;return n=>n.pipe(e?Qt((o,i)=>e(o,i,n)):Vn,ir(1),r?_l(t):DD(()=>new yl))}function So(e,t){return ue(t)?Ve(e,t,1):Ve(e,1)}function Ze(e,t,r){const n=ue(e)||t||r?{next:e,error:t,complete:r}:e;return n?Oe((o,i)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;o.subscribe(Re(i,l=>{var c;null===(c=n.next)||void 0===c||c.call(n,l),i.next(l)},()=>{var l;a=!1,null===(l=n.complete)||void 0===l||l.call(n),i.complete()},l=>{var c;a=!1,null===(c=n.error)||void 0===c||c.call(n,l),i.error(l)},()=>{var l,c;a&&(null===(l=n.unsubscribe)||void 0===l||l.call(n)),null===(c=n.finalize)||void 0===c||c.call(n)}))}):Vn}function br(e){return Oe((t,r)=>{let i,n=null,o=!1;n=t.subscribe(Re(r,void 0,void 0,s=>{i=Vt(e(s,br(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Rf(e){return e<=0?()=>Jt:Oe((t,r)=>{let n=[];t.subscribe(Re(r,o=>{n.push(o),e{for(const o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Zi(e){return Oe((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}class mk extends aP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Nf extends mk{static makeCurrent(){!function sP(e){af||(af=e)}(new Nf)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return(r=r||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,r){return"window"===r?window:"document"===r?t:"body"===r?t.body:null}getBaseHref(t){const r=function vk(){return Yi=Yi||document.querySelector("base"),Yi?Yi.getAttribute("href"):null}();return null==r?null:function yk(e){Cl=Cl||document.createElement("a"),Cl.setAttribute("href",e);const t=Cl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(r)}resetBaseElement(){Yi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return tD(document.cookie,t)}}let Cl,Yi=null,Ck=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const Pf=new x("EventManagerPlugins");let bD=(()=>{var e;class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(n,o),o}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Pf),F(ge))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();class wD{constructor(t){this._doc=t}}const Of="ng-app-id";let ED=(()=>{var e;class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=cD(s),this.resetHostNodes()}addStyles(n){for(const o of n)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(n){for(const o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){const o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Of}="${this.appId}"]`);if(n?.length){const o=new Map;return n.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){const i=this.styleRef;if(i.has(n)){const s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Of),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Of,this.appId),a}}addStyleToHost(n,o){const i=this.getStyleElement(n,o);n.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt),F(Ca),F(Im,8),F(hr))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const kf={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/"},Ff=/%COMP%/g,Ek=new x("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ID(e,t){return t.map(r=>r.replace(Ff,e))}let SD=(()=>{var e;class t{constructor(n,o,i,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=cD(l),this.defaultRenderer=new Lf(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ht.ShadowDom&&(o={...o,encapsulation:Ht.Emulated});const i=this.getOrCreateRenderer(n,o);return i instanceof AD?i.applyToHost(n):i instanceof Vf&&i.applyStyles(),i}getOrCreateRenderer(n,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(o.encapsulation){case Ht.Emulated:s=new AD(c,u,o,this.appId,d,a,l,g);break;case Ht.ShadowDom:return new Tk(c,u,n,o,a,l,this.nonce,g);default:s=new Vf(c,u,o,d,a,l,g)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(n){return new(n||e)(F(bD),F(ED),F(Ca),F(Ek),F(pt),F(hr),F(ge),F(Im))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();class Lf{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(kf[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(TD(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(TD(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new S(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;const i=kf[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){const o=kf[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(zn.DashCase|zn.Important)?t.style.setProperty(r,n,o&zn.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&zn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t[r]=n}setValue(t,r){t.nodeValue=r}listen(t,r,n){if("string"==typeof t&&!(t=Yn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if("__ngUnwrap__"===r)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))&&r.preventDefault()}}}function TD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Tk extends Lf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ID(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Vf extends Lf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=l?ID(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class AD extends Vf{constructor(t,r,n,o,i,s,a,l){const c=o+"-"+n.id;super(t,r,n,i,s,a,l,c),this.contentAttr=function Mk(e){return"_ngcontent-%COMP%".replace(Ff,e)}(c),this.hostAttr=function Ik(e){return"_nghost-%COMP%".replace(Ff,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){const n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}}let Ak=(()=>{var e;class t extends wD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const xD=["alt","control","meta","shift"],xk={"\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"},Rk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Nk=(()=>{var e;class t extends wD{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const o=n.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),xD.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=xk[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),xD.forEach(a=>{a!==i&&(0,Rk[a])(n)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function RD(e){return{appProviders:[...PD,...e?.providers??[]],platformProviders:Lk}}const Lk=[{provide:hr,useValue:"browser"},{provide:Mm,useValue:function Ok(){Nf.makeCurrent()},multi:!0},{provide:pt,useFactory:function Fk(){return function rI(e){Du=e}(document),document},deps:[]}],Vk=new x(""),ND=[{provide:Xa,useClass:class _k{addToWindow(t){de.getAngularTestability=(n,o=!0)=>{const i=t.findTestabilityInTree(n,o);if(null==i)throw new S(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(n=>{const o=de.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&n(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,r,n){return null==r?null:t.getTestability(r)??(n?Yn().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},deps:[]},{provide:hC,useClass:Zd,deps:[ge,Yd,Xa]},{provide:Zd,useClass:Zd,deps:[ge,Yd,Xa]}],PD=[{provide:Ru,useValue:"root"},{provide:pr,useFactory:function kk(){return new pr},deps:[]},{provide:Pf,useClass:Ak,multi:!0,deps:[pt,ge,hr]},{provide:Pf,useClass:Nk,multi:!0,deps:[pt]},SD,ED,bD,{provide:Nm,useExisting:SD},{provide:uD,useClass:Ck,deps:[]},[]];let jk=(()=>{var e;class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:Ca,useValue:n.appId}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Vk,12))},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({providers:[...PD,...ND],imports:[EO,WN]}),t})(),OD=(()=>{var e;class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt))},e.\u0275prov=L({token:e,factory:function(n){let o=null;return o=n?new n:function Uk(){return new OD(F(pt))}(),o},providedIn:"root"}),t})();typeof window<"u"&&window;const W="primary",Qi=Symbol("RouteTitle");class qk{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function To(e){return new qk(e)}function Wk(e,t,r){const n=r.path.split("/");if(n.length>e.length||"full"===r.pathMatch&&(t.hasChildren()||n.lengthn[i]===o)}return e===t}function jD(e){return e.length>0?e[e.length-1]:null}function Xn(e){return function KO(e){return!!e&&(e instanceof Ie||ue(e.lift)&&ue(e.subscribe))}(e)?e:Ri(e)?Ne(Promise.resolve(e)):V(e)}const Yk={exact:function BD(e,t,r){if(!wr(e.segments,t.segments)||!Dl(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!BD(e.children[n],t.children[n],r))return!1;return!0},subset:$D},HD={exact:function Qk(e,t){return fn(e,t)},subset:function Xk(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>VD(e[r],t[r]))},ignored:()=>!0};function UD(e,t,r){return Yk[r.paths](e.root,t.root,r.matrixParams)&&HD[r.queryParams](e.queryParams,t.queryParams)&&!("exact"===r.fragment&&e.fragment!==t.fragment)}function $D(e,t,r){return GD(e,t,t.segments,r)}function GD(e,t,r,n){if(e.segments.length>r.length){const o=e.segments.slice(0,r.length);return!(!wr(o,r)||t.hasChildren()||!Dl(o,r,n))}if(e.segments.length===r.length){if(!wr(e.segments,r)||!Dl(e.segments,r,n))return!1;for(const o in t.children)if(!e.children[o]||!$D(e.children[o],t.children[o],n))return!1;return!0}{const o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!!(wr(e.segments,o)&&Dl(e.segments,o,n)&&e.children[W])&&GD(e.children[W],t,i,n)}}function Dl(e,t,r){return t.every((n,o)=>HD[r](e[o].parameters,n.parameters))}class Ao{constructor(t=new ce([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=To(this.queryParams)),this._queryParamMap}toString(){return eF.serialize(this)}}class ce{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return bl(this)}}class Xi{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=To(this.parameters)),this._parameterMap}toString(){return WD(this)}}function wr(e,t){return e.length===t.length&&e.every((r,n)=>r.path===t[n].path)}let Ji=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return new Hf},providedIn:"root"}),t})();class Hf{parse(t){const r=new dF(t);return new Ao(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${Ki(t.root,!0)}`,n=function rF(e){const t=Object.keys(e).map(r=>{const n=e[r];return Array.isArray(n)?n.map(o=>`${wl(r)}=${wl(o)}`).join("&"):`${wl(r)}=${wl(n)}`}).filter(r=>!!r);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${r}${n}${"string"==typeof t.fragment?`#${function tF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const eF=new Hf;function bl(e){return e.segments.map(t=>WD(t)).join("/")}function Ki(e,t){if(!e.hasChildren())return bl(e);if(t){const r=e.children[W]?Ki(e.children[W],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==W&&n.push(`${o}:${Ki(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=function Kk(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===W&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==W&&(r=r.concat(t(o,n)))}),r}(e,(n,o)=>o===W?[Ki(e.children[W],!1)]:[`${o}:${Ki(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[W]?`${bl(e)}/${r[0]}`:`${bl(e)}/(${r.join("//")})`}}function zD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wl(e){return zD(e).replace(/%3B/gi,";")}function Uf(e){return zD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function El(e){return decodeURIComponent(e)}function qD(e){return El(e.replace(/\+/g,"%20"))}function WD(e){return`${Uf(e.path)}${function nF(e){return Object.keys(e).map(t=>`;${Uf(t)}=${Uf(e[t])}`).join("")}(e.parameters)}`}const oF=/^[^\/()?;#]+/;function Bf(e){const t=e.match(oF);return t?t[0]:""}const iF=/^[^\/()?;=#]+/,aF=/^[^=?&#]+/,cF=/^[^&#]+/;class dF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[W]=new ce(t,r)),n}parseSegment(){const t=Bf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(t),new Xi(El(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=function sF(e){const t=e.match(iF);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const o=Bf(this.remaining);o&&(n=o,this.capture(n))}t[El(r)]=El(n)}parseQueryParam(t){const r=function lF(e){const t=e.match(aF);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=function uF(e){const t=e.match(cF);return t?t[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const o=qD(r),i=qD(n);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 r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Bf(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new S(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=W);const s=this.parseChildren();r[i]=1===Object.keys(s).length?s[W]:new ce([],s),this.consumeOptional("//")}return r}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 ZD(e){return e.segments.length>0?new ce([],{[W]:e}):e}function YD(e){const t={};for(const n of Object.keys(e.children)){const i=YD(e.children[n]);if(n===W&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function fF(e){if(1===e.numberOfChildren&&e.children[W]){const t=e.children[W];return new ce(e.segments.concat(t.segments),t.children)}return e}(new ce(e.segments,t))}function Er(e){return e instanceof Ao}function QD(e){let t;const o=ZD(function r(i){const s={};for(const l of i.children){const c=r(l);s[l.outlet]=c}const a=new ce(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function XD(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return $f(o,o,o,r,n);const i=function pF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new KD(!0,0,e);let t=0,r=!1;const n=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...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?r=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new KD(r,t,n)}(t);if(i.toRoot())return $f(o,o,new ce([],{}),r,n);const s=function gF(e,t,r){if(e.isAbsolute)return new Il(t,!0,0);if(!r)return new Il(t,!1,NaN);if(null===r.parent)return new Il(r,!0,0);const n=Ml(e.commands[0])?0:1;return function mF(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new S(4005,!1);o=n.segments.length}return new Il(n,!1,o-i)}(r,r.segments.length-1+n,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ts(s.segmentGroup,s.index,i.commands):eb(s.segmentGroup,s.index,i.commands);return $f(o,s.segmentGroup,a,r,n)}function Ml(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function es(e){return"object"==typeof e&&null!=e&&e.outlets}function $f(e,t,r,n,o){let s,i={};n&&Object.entries(n).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===t?r:JD(e,t,r);const a=ZD(YD(s));return new Ao(a,i,o)}function JD(e,t,r){const n={};return Object.entries(e.children).forEach(([o,i])=>{n[o]=i===t?r:JD(i,t,r)}),new ce(e.segments,n)}class KD{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Ml(n[0]))throw new S(4003,!1);const o=n.find(es);if(o&&o!==jD(n))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Il{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function eb(e,t,r){if(e||(e=new ce([],{})),0===e.segments.length&&e.hasChildren())return ts(e,t,r);const n=function yF(e,t,r){let n=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;const s=e.segments[o],a=r[n];if(es(a))break;const l=`${a}`,c=n0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!nb(l,c,s))return i;n+=2}else{if(!nb(l,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==W)&&e.children[W]&&1===e.numberOfChildren&&0===e.children[W].segments.length){const i=ts(e.children[W],t,r);return new ce(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=eb(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===n[i]&&(o[i]=s)}),new ce(e.segments,o)}}function Gf(e,t,r){const n=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Gf(new ce([],{}),0,n))}),t}function tb(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function nb(e,t,r){return e==r.path&&fn(t,r.parameters)}const ns="imperative";class hn{constructor(t,r){this.id=t,this.url=r}}class Sl extends hn{constructor(t,r,n="imperative",o=null){super(t,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class kn extends hn{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class rs extends hn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xo extends hn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=16}}class Tl extends hn{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rb extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class CF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class DF extends hn{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,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 bF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wF extends hn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class EF{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class MF{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class IF{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class SF{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TF{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class AF{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ob{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zf{}class qf{constructor(t){this.url=t}}class xF{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new os,this.attachRef=null}}let os=(()=>{var e;class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){const i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){const o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new xF,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class ib{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=Wf(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=Wf(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=Zf(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Zf(t,this._root).map(r=>r.value)}}function Wf(e,t){if(e===t.value)return t;for(const r of t.children){const n=Wf(e,r);if(n)return n}return null}function Zf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Zf(e,r);if(n.length)return n.unshift(t),n}return[]}class Fn{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function Ro(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class sb extends ib{constructor(t,r){super(t),this.snapshot=r,Yf(this,t)}toString(){return this.snapshot.toString()}}function ab(e,t){const r=function RF(e,t){const s=new Al([],{},{},"",{},W,t,null,{});return new cb("",new Fn(s,[]))}(0,t),n=new At([new Xi("",{})]),o=new At({}),i=new At({}),s=new At({}),a=new At(""),l=new Mr(n,o,s,a,i,W,t,r.root);return l.snapshot=r.root,new sb(new Fn(l,[]),r)}class Mr{constructor(t,r,n,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[Qi]))??V(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}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(ee(t=>To(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>To(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function lb(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const o=r[n],i=r[n-1];if(o.routeConfig&&""===o.routeConfig.path)n--;else{if(i.component)break;n--}}return function NF(e){return e.reduce((t,r)=>({params:{...t.params,...r.params},data:{...t.data,...r.data},resolve:{...r.data,...t.resolve,...r.routeConfig?.data,...r._resolvedData}}),{params:{},data:{},resolve:{}})}(r.slice(n))}class Al{get title(){return this.data?.[Qi]}constructor(t,r,n,o,i,s,a,l,c){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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=To(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=To(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cb extends ib{constructor(t,r){super(r),this.url=t,Yf(this,r)}toString(){return ub(this._root)}}function Yf(e,t){t.value._routerState=e,t.children.forEach(r=>Yf(e,r))}function ub(e){const t=e.children.length>0?` { ${e.children.map(ub).join(", ")} } `:"";return`${e.value}${t}`}function Qf(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,fn(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),fn(t.params,r.params)||e.paramsSubject.next(r.params),function Zk(e,t){if(e.length!==t.length)return!1;for(let r=0;rfn(r.parameters,t[n].parameters))}(e.url,t.url);return r&&!(!e.parent!=!t.parent)&&(!e.parent||Xf(e.parent,t.parent))}let Jf=(()=>{var e;class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=W,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=A(os),this.location=A(Wt),this.changeDetector=A(Ka),this.environmentInjector=A(Dt),this.inputBinder=A(xl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),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,o){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=n;const i=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new PF(n,l,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Rt]}),t})();class PF{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Mr?this.route:t===os?this.childContexts:this.parent.get(t,r)}}const xl=new x("");let db=(()=>{var e;class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:o}=n,i=Tf([o.queryParams,o.params,o.data]).pipe(jt(([s,a,l],c)=>(l={...s,...a,...l},0===c?V(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(n);const a=function iP(e){const t=X(e);if(!t)return null;const r=new Ii(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(o.component);if(a)for(const{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,i)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function is(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const o=function kF(e,t,r){return t.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return is(e,n,o);return is(e,n)})}(e,t,r);return new Fn(n,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=>is(e,a)),s}}const n=function FF(e){return new Mr(new At(e.url),new At(e.params),new At(e.queryParams),new At(e.fragment),new At(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>is(e,i));return new Fn(n,o)}}const Kf="ngNavigationCancelingError";function fb(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=Er(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=hb(!1,0,t);return o.url=r,o.navigationBehaviorOptions=n,o}function hb(e,t,r){const n=new Error("NavigationCancelingError: "+(e||""));return n[Kf]=!0,n.cancellationCode=t,r&&(n.url=r),n}function pb(e){return e&&e[Kf]}let gb=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Mt],decls:1,vars:0,template:function(n,o){1&n&&v(0,"router-outlet")},dependencies:[Jf],encapsulation:2}),t})();function eh(e){const t=e.children&&e.children.map(eh),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==W&&(r.component=gb),r}function Xt(e){return e.outlet||W}function ss(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class GF{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Qf(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const o=Ro(r);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(o===i)if(o.component){const s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Ro(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Ro(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){const o=Ro(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new AF(i.value.snapshot))}),t.children.length&&this.forwardEvent(new SF(t.value.snapshot))}activateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(Qf(o),o===i)if(o.component){const s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){const s=n.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),Qf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ss(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}}class mb{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Rl{constructor(t,r){this.component=t,this.route=r}}function zF(e,t,r){const n=e._root;return as(n,t?t._root:null,r,[n.value])}function No(e,t){const r=Symbol(),n=t.get(e,r);return n===r?"function"!=typeof e||function _E(e){return null!==Is(e)}(e)?t.get(e):e:n}function as(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Ro(t);return e.children.forEach(s=>{(function WF(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function ZF(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!wr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!wr(e.url,t.url)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xf(e,t)||!fn(e.queryParams,t.queryParams);default:return!Xf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new mb(n)):(i.data=s.data,i._resolvedData=s._resolvedData),as(e,t,i.component?a?a.children:null:r,n,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Rl(a.outlet.component,s))}else s&&ls(t,a,o),o.canActivateChecks.push(new mb(n)),as(e,null,i.component?a?a.children:null:r,n,o)})(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ls(a,r.getContext(s),o)),o}function ls(e,t,r){const n=Ro(e),o=e.value;Object.entries(n).forEach(([i,s])=>{ls(s,o.component?t?t.children.getContext(i):null:t,r)}),r.canDeactivateChecks.push(new Rl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function cs(e){return"function"==typeof e}function vb(e){return e instanceof yl||"EmptyError"===e?.name}const Nl=Symbol("INITIAL_VALUE");function Po(){return jt(e=>Tf(e.map(t=>t.pipe(ir(1),function ck(...e){const t=Wo(e);return Oe((r,n)=>{(t?Af(e,r,t):Af(e,r)).subscribe(n)})}(Nl)))).pipe(ee(t=>{for(const r of t)if(!0!==r){if(r===Nl)return Nl;if(!1===r||r instanceof Ao)return r}return!0}),Qt(t=>t!==Nl),ir(1)))}function yb(e){return function D1(...e){return Lh(e)}(Ze(t=>{if(Er(t))throw fb(0,t)}),ee(t=>!0===t))}class Pl{constructor(t){this.segmentGroup=t||null}}class _b{constructor(t){this.urlTree=t}}function Oo(e){return Wi(new Pl(e))}function Cb(e){return Wi(new _b(e))}class p2{constructor(t,r){this.urlSerializer=t,this.urlTree=r}noMatchError(t){return new S(4002,!1)}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return V(n);if(o.numberOfChildren>1||!o.children[W])return Wi(new S(4e3,!1));o=o.children[W]}}applyRedirectCommands(t,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n)}applyRedirectCreateUrlTree(t,r,n,o){const i=this.createSegmentGroup(t,r.root,n,o);return new Ao(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){const i=this.createSegments(t,r.segments,n,o);let s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,n,o)}),new ce(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){const o=n[r.path.substring(1)];if(!o)throw new S(4001,!1);return o}findOrReturn(t,r){let n=0;for(const o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}}const th={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function g2(e,t,r,n,o){const i=nh(e,t,r);return i.matched?(n=function VF(e,t){return e.providers&&!e._injector&&(e._injector=xd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,n),function d2(e,t,r,n){const o=t.canMatch;return o&&0!==o.length?V(o.map(s=>{const a=No(s,e);return Xn(function e2(e){return e&&cs(e.canMatch)}(a)?a.canMatch(t,r):e.runInContext(()=>a(t,r)))})).pipe(Po(),yb()):V(!0)}(n,t,r).pipe(ee(s=>!0===s?i:{...th}))):V(i)}function nh(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{...th}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const o=(t.matcher||Wk)(r,e,t);if(!o)return{...th};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Db(e,t,r,n){return r.length>0&&function y2(e,t,r){return r.some(n=>Ol(e,t,n)&&Xt(n)!==W)}(e,r,n)?{segmentGroup:new ce(t,v2(n,new ce(r,e.children))),slicedSegments:[]}:0===r.length&&function _2(e,t,r){return r.some(n=>Ol(e,t,n))}(e,r,n)?{segmentGroup:new ce(e.segments,m2(e,0,r,n,e.children)),slicedSegments:r}:{segmentGroup:new ce(e.segments,e.children),slicedSegments:r}}function m2(e,t,r,n,o){const i={};for(const s of n)if(Ol(e,r,s)&&!o[Xt(s)]){const a=new ce([],{});i[Xt(s)]=a}return{...o,...i}}function v2(e,t){const r={};r[W]=t;for(const n of e)if(""===n.path&&Xt(n)!==W){const o=new ce([],{});r[Xt(n)]=o}return r}function Ol(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path}class w2{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new p2(this.urlSerializer,this.urlTree)}noMatchError(t){return new S(4002,!1)}recognize(){const t=Db(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,W).pipe(br(r=>{if(r instanceof _b)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof Pl?this.noMatchError(r):r}),ee(r=>{const n=new Al([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},W,this.rootComponentType,null,{}),o=new Fn(n,r),i=new cb("",o),s=function hF(e,t,r=null,n=null){return XD(QD(e),t,r,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,W).pipe(br(n=>{throw n instanceof Pl?this.noMatchError(n):n}))}inheritParamsAndData(t){const r=t.value,n=lb(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,r,n,o){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0)}processChildren(t,r,n){const o=[];for(const i of Object.keys(n.children))"primary"===i?o.unshift(i):o.push(i);return Ne(o).pipe(So(i=>{const s=n.children[i],a=function BF(e,t){const r=e.filter(n=>Xt(n)===t);return r.push(...e.filter(n=>Xt(n)!==t)),r}(r,i);return this.processSegmentGroup(t,a,s,i)}),function fk(e,t){return Oe(function dk(e,t,r,n,o){return(i,s)=>{let a=r,l=t,c=0;i.subscribe(Re(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),n&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),_l(null),function hk(e,t){const r=arguments.length>=2;return n=>n.pipe(e?Qt((o,i)=>e(o,i,n)):Vn,Rf(1),r?_l(t):DD(()=>new yl))}(),Ve(i=>{if(null===i)return Oo(n);const s=bb(i);return function E2(e){e.sort((t,r)=>t.value.outlet===W?-1:r.value.outlet===W?1:t.value.outlet.localeCompare(r.value.outlet))}(s),V(s)}))}processSegment(t,r,n,o,i,s){return Ne(r).pipe(So(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(br(l=>{if(l instanceof Pl)return V(null);throw l}))),Dr(a=>!!a),br(a=>{if(vb(a))return function D2(e,t,r){return 0===t.length&&!e.children[r]}(n,o,i)?V([]):Oo(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return function C2(e,t,r,n){return!!(Xt(e)===n||n!==W&&Ol(t,r,e))&&("**"===e.path||nh(t,e,r).matched)}(n,o,i,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,o,n,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):Oo(o):Oo(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,o){const i=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Cb(i):this.applyRedirects.lineralizeSegments(n,i).pipe(Ve(s=>{const a=new ce(s,{});return this.processSegment(t,r,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=nh(r,o,i);if(!a)return Oo(r);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?Cb(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Ve(g=>this.processSegment(t,n,r,g.concat(c),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a;if("**"===n.path){const l=o.length>0?jD(o).parameters:{};a=V({snapshot:new Al(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wb(n),Xt(n),n.component??n._loadedComponent??null,n,Eb(n)),consumedSegments:[],remainingSegments:[]}),r.children={}}else a=g2(r,n,o,t).pipe(ee(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new Al(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wb(n),Xt(n),n.component??n._loadedComponent??null,n,Eb(n)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(jt(l=>null===l?Oo(r):this.getChildConfig(t=n._injector??t,n,o).pipe(jt(({routes:c})=>{const u=n._loadedInjector??t,{snapshot:d,consumedSegments:g,remainingSegments:m}=l,{segmentGroup:y,slicedSegments:C}=Db(r,g,m,c);if(0===C.length&&y.hasChildren())return this.processChildren(u,c,y).pipe(ee(E=>null===E?null:[new Fn(d,E)]));if(0===c.length&&0===C.length)return V([new Fn(d,[])]);const b=Xt(n)===i;return this.processSegment(u,c,y,C,b?W:i,!0).pipe(ee(E=>[new Fn(d,E)]))}))))}getChildConfig(t,r,n){return r.children?V({routes:r.children,injector:t}):r.loadChildren?void 0!==r._loadedRoutes?V({routes:r._loadedRoutes,injector:r._loadedInjector}):function u2(e,t,r,n){const o=t.canLoad;return void 0===o||0===o.length?V(!0):V(o.map(s=>{const a=No(s,e);return Xn(function QF(e){return e&&cs(e.canLoad)}(a)?a.canLoad(t,r):e.runInContext(()=>a(t,r)))})).pipe(Po(),yb())}(t,r,n).pipe(Ve(o=>o?this.configLoader.loadChildren(t,r).pipe(Ze(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):function h2(e){return Wi(hb(!1,3))}())):V({routes:[],injector:t})}}function M2(e){const t=e.value.routeConfig;return t&&""===t.path}function bb(e){const t=[],r=new Set;for(const n of e){if(!M2(n)){t.push(n);continue}const o=t.find(i=>n.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...n.children),r.add(o)):t.push(n)}for(const n of r){const o=bb(n.children);t.push(new Fn(n.value,o))}return t.filter(n=>!r.has(n))}function wb(e){return e.data||{}}function Eb(e){return e.resolve||{}}function Mb(e){return"string"==typeof e.title||null===e.title}function rh(e){return jt(t=>{const r=e(t);return r?Ne(r).pipe(ee(()=>t)):V(t)})}const ko=new x("ROUTES");let oh=(()=>{var e;class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=A(cC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return V(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const o=Xn(n.loadComponent()).pipe(ee(Ib),Ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Zi(()=>{this.componentLoaders.delete(n)})),i=new CD(o,()=>new Lt).pipe(xf());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return V({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const s=this.loadModuleFactoryOrRoutes(o.loadChildren).pipe(ee(l=>{this.onLoadEndListener&&this.onLoadEndListener(o);let c,u;return Array.isArray(l)?u=l:(c=l.create(n).injector,u=c.get(ko,[],Y.Self|Y.Optional).flat()),{routes:u.map(eh),injector:c}}),Zi(()=>{this.childrenLoaders.delete(o)})),a=new CD(s,()=>new Lt).pipe(xf());return this.childrenLoaders.set(o,a),a}loadModuleFactoryOrRoutes(n){return Xn(n()).pipe(ee(Ib),Ve(o=>o instanceof g_||Array.isArray(o)?V(o):Ne(this.compiler.compileModuleAsync(o))))}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ib(e){return function N2(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let kl=(()=>{var e;class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Lt,this.transitionAbortSubject=new Lt,this.configLoader=A(oh),this.environmentInjector=A(Dt),this.urlSerializer=A(Ji),this.rootContexts=A(os),this.inputBindingEnabled=null!==A(xl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>V(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new MF(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new EF(i))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:o})}setupNavigations(n,o,i){return this.transitions=new At({id:0,currentUrlTree:o,currentRawUrl:o,currentBrowserUrl:o,extractedUrl:n.urlHandlingStrategy.extract(o),urlAfterRedirects:n.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ns,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qt(s=>0!==s.id),ee(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),jt(s=>{this.currentTransition=s;let a=!1,l=!1;return V(s).pipe(Ze(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),jt(c=>{const u=c.currentBrowserUrl.toString(),d=!n.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!d&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const m="";return this.events.next(new xo(c.id,this.urlSerializer.serialize(c.rawUrl),m,0)),c.resolve(null),Jt}if(n.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return V(c).pipe(jt(m=>{const y=this.transitions?.getValue();return this.events.next(new Sl(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),y!==this.transitions?.getValue()?Jt:Promise.resolve(m)}),function I2(e,t,r,n,o,i){return Ve(s=>function b2(e,t,r,n,o,i,s="emptyOnly"){return new w2(e,t,r,n,o,s,i).recognize()}(e,t,r,n,s.extractedUrl,o,i).pipe(ee(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Ze(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:m.urlAfterRedirects};const y=new rb(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(y)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:m,extractedUrl:y,source:C,restoredState:b,extras:E}=c,D=new Sl(m,this.urlSerializer.serialize(y),C,b);this.events.next(D);const P=ab(0,this.rootComponentType).snapshot;return this.currentTransition=s={...c,targetSnapshot:P,urlAfterRedirects:y,extras:{...E,skipLocationChange:!1,replaceUrl:!1}},V(s)}{const m="";return this.events.next(new xo(c.id,this.urlSerializer.serialize(c.extractedUrl),m,1)),c.resolve(null),Jt}}),Ze(c=>{const u=new CF(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),ee(c=>(this.currentTransition=s={...c,guards:zF(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},s)),function n2(e,t){return Ve(r=>{const{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return 0===s.length&&0===i.length?V({...r,guardsResult:!0}):function r2(e,t,r,n){return Ne(e).pipe(Ve(o=>function c2(e,t,r,n,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?V(i.map(a=>{const l=ss(t)??o,c=No(a,l);return Xn(function KF(e){return e&&cs(e.canDeactivate)}(c)?c.canDeactivate(e,t,r,n):l.runInContext(()=>c(e,t,r,n))).pipe(Dr())})).pipe(Po()):V(!0)}(o.component,o.route,r,t,n)),Dr(o=>!0!==o,!0))}(s,n,o,e).pipe(Ve(a=>a&&function YF(e){return"boolean"==typeof e}(a)?function o2(e,t,r,n){return Ne(t).pipe(So(o=>Af(function s2(e,t){return null!==e&&t&&t(new IF(e)),V(!0)}(o.route.parent,n),function i2(e,t){return null!==e&&t&&t(new TF(e)),V(!0)}(o.route,n),function l2(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function qF(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=>_D(()=>V(s.guards.map(l=>{const c=ss(s.node)??r,u=No(l,c);return Xn(function JF(e){return e&&cs(e.canActivateChild)}(u)?u.canActivateChild(n,e):c.runInContext(()=>u(n,e))).pipe(Dr())})).pipe(Po())));return V(i).pipe(Po())}(e,o.path,r),function a2(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return V(!0);const o=n.map(i=>_D(()=>{const s=ss(t)??r,a=No(i,s);return Xn(function XF(e){return e&&cs(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Dr())}));return V(o).pipe(Po())}(e,o.route,r))),Dr(o=>!0!==o,!0))}(n,i,e,t):V(a)),ee(a=>({...r,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),Ze(c=>{if(s.guardsResult=c.guardsResult,Er(c.guardsResult))throw fb(0,c.guardsResult);const u=new DF(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Qt(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),rh(c=>{if(c.guards.canActivateChecks.length)return V(c).pipe(Ze(u=>{const d=new bF(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),jt(u=>{let d=!1;return V(u).pipe(function S2(e,t){return Ve(r=>{const{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return V(r);let i=0;return Ne(o).pipe(So(s=>function T2(e,t,r,n){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Mb(o)&&(i[Qi]=o.title),function A2(e,t,r,n){const o=function x2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return V({});const i={};return Ne(o).pipe(Ve(s=>function R2(e,t,r,n){const o=ss(t)??n,i=No(e,o);return Xn(i.resolve?i.resolve(t,r):o.runInContext(()=>i(t,r)))}(e[s],t,r,n).pipe(Dr(),Ze(a=>{i[s]=a}))),Rf(1),function pk(e){return ee(()=>e)}(i),br(s=>vb(s)?Jt:Wi(s)))}(i,e,t,n).pipe(ee(s=>(e._resolvedData=s,e.data=lb(e,r).resolve,o&&Mb(o)&&(e.data[Qi]=o.title),null)))}(s.route,n,e,t)),Ze(()=>i++),Rf(1),Ve(s=>i===o.length?V(r):Jt))})}(n.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",2)}}))}),Ze(u=>{const d=new wF(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),rh(c=>{const u=d=>{const g=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(d.routeConfig).pipe(Ze(m=>{d.component=m}),ee(()=>{})));for(const m of d.children)g.push(...u(m));return g};return Tf(u(c.targetSnapshot.root)).pipe(_l(),ir(1))}),rh(()=>this.afterPreactivation()),ee(c=>{const u=function OF(e,t,r){const n=is(e,t._root,r?r._root:void 0);return new sb(n,t)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s={...c,targetRouterState:u},s}),Ze(()=>{this.events.next(new zf)}),((e,t,r,n)=>ee(o=>(new GF(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ir(1),Ze({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new kn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),n.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),function gk(e){return Oe((t,r)=>{Vt(e).subscribe(Re(r,()=>r.complete(),sc)),!r.closed&&t.subscribe(r)})}(this.transitionAbortSubject.pipe(Ze(c=>{throw c}))),Zi(()=>{a||l||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),br(c=>{if(l=!0,pb(c))this.events.next(new rs(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),function LF(e){return pb(e)&&Er(e.url)}(c)?this.events.next(new qf(c.url)):s.resolve(!1);else{this.events.next(new Tl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){s.reject(u)}}return Jt}))}))}cancelNavigationTransition(n,o,i){const s=new rs(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Sb(e){return e!==ns}let Tb=(()=>{var e;class t{buildTitle(n){let o,i=n.root;for(;void 0!==i;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===W);return o}getResolvedTitleForRoute(n){return n.data[Qi]}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(P2)},providedIn:"root"}),t})(),P2=(()=>{var e;class t extends Tb{constructor(n){super(),this.title=n}updateTitle(n){const o=this.buildTitle(n);void 0!==o&&this.title.setTitle(o)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(OD))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),O2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(F2)},providedIn:"root"}),t})();class k2{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let F2=(()=>{var e;class t extends k2{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Fl=new x("",{providedIn:"root",factory:()=>({})});let L2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return A(V2)},providedIn:"root"}),t})(),V2=(()=>{var e;class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();var us=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(us||{});function Ab(e,t){e.events.pipe(Qt(r=>r instanceof kn||r instanceof rs||r instanceof Tl||r instanceof xo),ee(r=>r instanceof kn||r instanceof xo?us.COMPLETE:r instanceof rs&&(0===r.code||1===r.code)?us.REDIRECTING:us.FAILED),Qt(r=>r!==us.REDIRECTING),ir(1)).subscribe(()=>{t()})}function j2(e){throw e}function H2(e,t,r){return t.parse("/")}const U2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},B2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let St=(()=>{var e;class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=A(lC),this.isNgZoneEnabled=!1,this._events=new Lt,this.options=A(Fl,{optional:!0})||{},this.pendingTasks=A(Ya),this.errorHandler=this.options.errorHandler||j2,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||H2,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=A(L2),this.routeReuseStrategy=A(O2),this.titleStrategy=A(Tb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=A(ko,{optional:!0})?.flat()??[],this.navigationTransitions=A(kl),this.urlSerializer=A(Ji),this.location=A(uf),this.componentInputBindingEnabled=!!A(xl,{optional:!0}),this.eventsSubscription=new gt,this.isNgZoneEnabled=A(ge)instanceof ge&&ge.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ao,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ab(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(o=>{try{const{currentTransition:i}=this.navigationTransitions;if(null===i)return void(xb(o)&&this._events.next(o));if(o instanceof Sl)Sb(i.source)&&(this.browserUrlTree=i.extractedUrl);else if(o instanceof xo)this.rawUrlTree=i.rawUrl;else if(o instanceof rb){if("eager"===this.urlUpdateStrategy){if(!i.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl);this.setBrowserUrl(s,i)}this.browserUrlTree=i.urlAfterRedirects}}else if(o instanceof zf)this.currentUrlTree=i.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i),this.browserUrlTree=i.urlAfterRedirects);else if(o instanceof rs)0!==o.code&&1!==o.code&&(this.navigated=!0),(3===o.code||2===o.code)&&this.restoreHistory(i);else if(o instanceof qf){const s=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Sb(i.source)};this.scheduleNavigation(s,ns,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}o instanceof Tl&&this.restoreHistory(i,!0),o instanceof kn&&(this.navigated=!0),xb(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ns,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const o="popstate"===n.type?"popstate":"hashchange";"popstate"===o&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,o,n.state)},0)}))}navigateToSyncWithBrowser(n,o,i){const s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){const c={...i};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(s.state=c)}const l=this.parseUrl(n);this.scheduleNavigation(l,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(eh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){const{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=o,u=c?this.currentUrlTree.fragment:a;let g,d=null;switch(l){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{g=QD(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return XD(g,n,d,u??null)}navigateByUrl(n,o={skipLocationChange:!1}){const i=Er(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,ns,null,o)}navigate(n,o={skipLocationChange:!1}){return function $2(e){for(let t=0;t{const s=n[i];return null!=s&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((g,m)=>{l=g,c=m});const d=this.pendingTasks.add();return Ab(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(g=>Promise.reject(g))}setBrowserUrl(n,o){const i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){const a={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(i,"",a)}else{const s={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(i,"",s)}}restoreHistory(n,o=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&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))}generateNgRouterState(n,o){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function xb(e){return!(e instanceof zf||e instanceof qf)}let pn=(()=>{var e;class t{constructor(n,o,i,s,a,l){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Lt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof kn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||o||i||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function mm(e,t,r){return function MI(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gm:to}(t,r)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){const i=this.renderer,s=this.el.nativeElement;null!==o?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(St),I(Mr),function Qs(e){return function z0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const n=r.length;let o=0;for(;o{var e;class t{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof kn&&this.update()})}ngAfterContentInit(){V(this.links.changes,V(null)).pipe(xr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Ne(n).pipe(xr()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){const o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),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 o=function G2(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&n.isActive(i.urlTree,o)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(St),I(bt),I(Mn),I(Ka),I(pn,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,o,i){if(1&n&&U_(i,pn,5),2&n){let s;H_(s=function B_(){return function xR(e,t){return e[tn].queries[t].queryList}(M(),eg())}())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Rt]}),t})();class Nb{}let z2=(()=>{var e;class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Qt(n=>n instanceof kn),So(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){const i=[];for(const s of o){s.providers&&!s._injector&&(s._injector=xd(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ne(i).pipe(xr())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;i=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(n,o):V(null);const s=i.pipe(Ve(a=>null===a?V(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return o.loadComponent&&!o._loadedComponent?Ne([s,this.loader.loadComponent(o)]).pipe(xr()):s})}}return(e=t).\u0275fac=function(n){return new(n||e)(F(St),F(cC),F(Dt),F(Nb),F(oh))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ih=new x("");let Pb=(()=>{var e;class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Sl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof kn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof xo&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ob&&(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,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ob(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){!function nv(){throw new Error("invalid")}()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function Ln(e,t){return{\u0275kind:e,\u0275providers:t}}function kb(){const e=A(wt);return t=>{const r=e.get(Eo);if(t!==r.components[0])return;const n=e.get(St),o=e.get(Fb);1===e.get(sh)&&n.initialNavigation(),e.get(Lb,null,Y.Optional)?.setUpPreloading(),e.get(ih,null,Y.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const Fb=new x("",{factory:()=>new Lt}),sh=new x("",{providedIn:"root",factory:()=>1}),Lb=new x("");function Y2(e){return Ln(0,[{provide:Lb,useExisting:z2},{provide:Nb,useExisting:e}])}const Vb=new x("ROUTER_FORROOT_GUARD"),X2=[uf,{provide:Ji,useClass:Hf},St,os,{provide:Mr,useFactory:function Ob(e){return e.routerState.root},deps:[St]},oh,[]];function J2(){return new mC("Router",St)}let jb=(()=>{var e;class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[X2,[],{provide:ko,multi:!0,useValue:n},{provide:Vb,useFactory:nL,deps:[[St,new Ks,new ea]]},{provide:Fl,useValue:o||{}},o?.useHash?{provide:Cr,useClass:uP}:{provide:Cr,useClass:zC},{provide:ih,useFactory:()=>{const e=A(TO),t=A(ge),r=A(Fl),n=A(kl),o=A(Ji);return r.scrollOffset&&e.setOffset(r.scrollOffset),new Pb(o,n,e,t,r)}},o?.preloadingStrategy?Y2(o.preloadingStrategy).\u0275providers:[],{provide:mC,multi:!0,useFactory:J2},o?.initialNavigation?rL(o):[],o?.bindToComponentInputs?Ln(8,[db,{provide:xl,useExisting:db}]).\u0275providers:[],[{provide:Hb,useFactory:kb},{provide:Jd,multi:!0,useExisting:Hb}]]}}static forChild(n){return{ngModule:t,providers:[{provide:ko,multi:!0,useValue:n}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Vb,8))},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({}),t})();function nL(e){return"guarded"}function rL(e){return["disabled"===e.initialNavigation?Ln(3,[{provide:Gd,multi:!0,useFactory:()=>{const t=A(St);return()=>{t.setUpLocationChangeListener()}}},{provide:sh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ln(2,[{provide:sh,useValue:0},{provide:Gd,multi:!0,deps:[wt],useFactory:t=>{const r=t.get(lP,Promise.resolve());return()=>r.then(()=>new Promise(n=>{const o=t.get(St),i=t.get(Fb);Ab(o,()=>{n(!0)}),t.get(kl).afterPreactivation=()=>(n(!0),i.closed?V(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Hb=new x(""),iL=function(){return["/pro"]};let sL=(()=>{var e;class t{constructor(){this.years=(new Date).getFullYear()-2009}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-footer"]],standalone:!0,features:[Mt],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5",2,"max-height","300px"],[1,"col-xs-12","col-md-8"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[3,"routerLink"],[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","mt-4","mt-md-0"],["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","mt-4","mt-md-0"],[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,o){1&n&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),v(5,"img",5),p(),h(6,"div",6)(7,"h2"),f(8,"Who's behind"),p(),h(9,"p"),f(10,"My name is Daniel Palme. I'm a software developer from Germany."),p(),h(11,"p"),f(12," Back in 2009 I wanted to create a code coverage report based on "),h(13,"i"),f(14,"PartCover"),p(),f(15," files."),v(16,"br"),f(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),v(18,"br"),f(19),h(20,"i"),f(21,"ReportGenerator"),p(),f(22,". "),p(),h(23,"p"),f(24," You can support the ongoing maintenance by becoming a "),v(25,"i",7),f(26,"\xa0"),h(27,"a",8),f(28,"GitHub sponsor"),p(),f(29," or by buying a "),h(30,"a",9),f(31,"PRO license"),p(),f(32,". "),p()()()()(),h(33,"div",2)(34,"div",3),v(35,"hr"),p()(),h(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),f(42,"GitHub"),p()(),h(43,"a",11),f(44,"Source code"),p(),v(45,"br"),h(46,"a",12),f(47,"Wiki"),p(),v(48,"br"),h(49,"a",13),f(50,"FAQ"),p()(),h(51,"div",14)(52,"p")(53,"b"),f(54,"Download"),p()(),h(55,"i"),f(56,"NuGet"),p(),v(57,"br"),h(58,"a",15),f(59,"ReportGenerator"),p(),v(60,"br"),h(61,"a",16),f(62,"dotnet-reportgenerator-globaltool"),p(),v(63,"br"),h(64,"a",17),f(65,"ReportGenerator.Core"),p(),v(66,"br")(67,"br"),h(68,"i"),f(69,"Integration"),p(),v(70,"br"),h(71,"a",18),f(72,"GitHub actions"),p(),v(73,"br"),h(74,"a",19),f(75,"Azure DevOps"),p()(),h(76,"div",20)(77,"p")(78,"b"),f(79,"Community"),p()(),h(80,"a",11),v(81,"i",21),f(82," GitHub"),p(),v(83,"br"),h(84,"a",22),v(85,"i",23),f(86," Twitter"),p(),v(87,"br")(88,"br"),h(89,"a",24),f(90,"Privacy"),p(),v(91,"br"),h(92,"a",25),f(93,"Imprint"),p()()()()()()),2&n&&(_(19),An(" Fast forward ",o.years," years, I'm still maintaining "),_(11),w("routerLink",K(2,iL)))},dependencies:[pn],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]}),t})();const Ub=function(){return["/"]},aL=function(e){return{show:e}},Fo=function(){return["link-active"]},Bb=function(){return{exact:!0}},lL=function(){return["/features"]},cL=function(){return["/getstarted"]},uL=function(){return["/usage"]},dL=function(){return["/contact"]},fL=function(){return["/pro"]};let hL=(()=>{var e;class t{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[Mt],decls:42,vars:34,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-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-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",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"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(n,o){1&n&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),v(4,"img",4),h(5,"span",5),f(6,"ReportGenerator"),p()(),h(7,"button",6),R("click",function(){return o.toggle()}),v(8,"span",7),p(),h(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),f(13,"Home"),p()(),h(14,"li",10)(15,"a",11),f(16,"Features"),p()(),h(17,"li",12)(18,"a",13),f(19,"Get started"),p()(),h(20,"li",12)(21,"a",11),f(22,"Usage"),p()(),h(23,"li",12)(24,"a",11),f(25,"Contact"),p()(),h(26,"li",12)(27,"a",11)(28,"span",14),f(29,"PRO"),p()()()(),v(30,"hr",15),h(31,"ul",16)(32,"li",17)(33,"a",18),v(34,"i",19),h(35,"span",20),f(36,"GitHub"),p()()(),h(37,"li",17)(38,"a",21),v(39,"i",22),h(40,"span",20),f(41,"Twitter"),p()()()()()()()()),2&n&&(_(3),w("routerLink",K(17,Ub)),_(4),Gt("aria-expanded",o.isExpanded),_(2),w("ngClass",Vi(18,aL,o.isExpanded)),_(2),w("routerLinkActive",K(20,Fo))("routerLinkActiveOptions",K(21,Bb)),_(1),w("routerLink",K(22,Ub)),_(2),w("routerLinkActive",K(23,Fo))("routerLinkActiveOptions",K(24,Bb)),_(1),w("routerLink",K(25,lL)),_(2),w("routerLinkActive",K(26,Fo)),_(1),w("routerLink",K(27,cL)),_(2),w("routerLinkActive",K(28,Fo)),_(1),w("routerLink",K(29,uL)),_(2),w("routerLinkActive",K(30,Fo)),_(1),w("routerLink",K(31,dL)),_(2),w("routerLinkActive",K(32,Fo)),_(1),w("routerLink",K(33,fL)))},dependencies:[pn,pl,Rb],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]}),t})(),pL=(()=>{var e;class t{constructor(n,o,i){this.dom=n,this.router=o,this.activatedRoute=i}ngOnInit(){this.router.events.pipe(Qt(n=>n instanceof kn),ee(()=>this.activatedRoute),ee(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Qt(n=>"primary"===n.outlet),Ve(n=>n.data)).subscribe(n=>{const o=`${window.location.protocol}//${window.location.hostname}`;this.updateCanonicalUrl(n.canonical?o+n.canonical:o+this.router.url)})}updateCanonicalUrl(n){const o=this.dom.getElementsByTagName("head")[0];var i=this.dom.querySelector("link[rel='canonical']")||null;null==i&&(i=this.dom.createElement("link"),o.appendChild(i)),i.setAttribute("rel","canonical"),i.setAttribute("href",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(pt),I(St),I(Mr))},e.\u0275cmp=vt({type:e,selectors:[["app-root"]],standalone:!0,features:[Mt],decls:3,vars:0,template:function(n,o){1&n&&v(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[hL,Jf,sL],encapsulation:2}),t})(),$b=(()=>{var e;class t{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt))},e.\u0275dir=B({type:e}),t})(),Ir=(()=>{var e;class t extends $b{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,features:[le]}),t})();const gn=new x("NgValueAccessor"),vL={provide:gn,useExisting:he(()=>Lo),multi:!0},_L=new x("CompositionEventMode");let Lo=(()=>{var e;class t extends $b{constructor(n,o,i){super(n,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function yL(){const e=Yn()?Yn().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=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt),I(_L,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,o){1&n&&R("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[De([vL]),le]}),t})();function Jn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const Ye=new x("NgValidators"),Kn=new x("NgAsyncValidators"),CL=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function Zb(e){return Jn(e.value)?{required:!0}:null}function Qb(e){return Jn(e.value)||CL.test(e.value)?null:{email:!0}}function Ll(e){return null}function ew(e){return null!=e}function tw(e){return Ri(e)?Ne(e):e}function nw(e){let t={};return e.forEach(r=>{t=null!=r?{...t,...r}:t}),0===Object.keys(t).length?null:t}function rw(e,t){return t.map(r=>r(e))}function ow(e){return e.map(t=>function DL(e){return!e.validate}(t)?t:r=>t.validate(r))}function ah(e){return null!=e?function iw(e){if(!e)return null;const t=e.filter(ew);return 0==t.length?null:function(r){return nw(rw(r,t))}}(ow(e)):null}function lh(e){return null!=e?function sw(e){if(!e)return null;const t=e.filter(ew);return 0==t.length?null:function(r){return function gL(...e){const t=tp(e),{args:r,keys:n}=gD(e),o=new Ie(i=>{const{length:s}=r;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=g},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(n?vD(n,a):a),i.complete())}))}});return t?o.pipe(mD(t)):o}(rw(r,t).map(tw)).pipe(ee(nw))}}(ow(e)):null}function aw(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ch(e){return e?Array.isArray(e)?e:[e]:[]}function Vl(e,t){return Array.isArray(e)?e.includes(t):e===t}function uw(e,t){const r=ch(t);return ch(e).forEach(o=>{Vl(r,o)||r.push(o)}),r}function dw(e,t){return ch(t).filter(r=>!Vl(e,r))}class fw{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=ah(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=lh(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=void 0){this.control&&this.control.reset(t)}hasError(t,r){return!!this.control&&this.control.hasError(t,r)}getError(t,r){return this.control?this.control.getError(t,r):null}}class ot extends fw{get formDirective(){return null}get path(){return null}}class er extends fw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class hw{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 jl=(()=>{var e;class t extends hw{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(er,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){2&n&&Ha("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[le]}),t})(),Hl=(()=>{var e;class t extends hw{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(ot,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){2&n&&Ha("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[le]}),t})();const ds="VALID",Bl="INVALID",Vo="PENDING",fs="DISABLED";function fh(e){return($l(e)?e.validators:e)||null}function hh(e,t){return($l(t)?t.asyncValidators:e)||null}function $l(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class vw{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}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===ds}get invalid(){return this.status===Bl}get pending(){return this.status==Vo}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(uw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(uw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(dw(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(dw(t,this._rawAsyncValidators))}hasValidator(t){return Vl(this._rawValidators,t)}hasAsyncValidator(t){return Vl(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(r=>{r.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(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Vo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=fs,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=ds,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!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===ds||this.status===Vo)&&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(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Vo,this._hasOwnPendingAsyncValidator=!0;const r=tw(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(!1!==r.emitEvent)}get(t){let r=t;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((n,o)=>n&&n._find(o),this)}getError(t,r){const n=r?this.get(r):this;return n&&n.errors?n.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}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 Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Bl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vo)?Vo:this._anyControlsHaveStatus(Bl)?Bl:ds}_anyControlsHaveStatus(t){return this._anyControls(r=>r.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){$l(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function ML(e){return Array.isArray(e)?ah(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function IL(e){return Array.isArray(e)?lh(e):e||null}(this._rawAsyncValidators)}}class ph extends vw{constructor(t,r,n){super(fh(r),hh(n,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,n={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){(function mw(e,t,r){e._forEachChild((n,o)=>{if(void 0===r[o])throw new S(1002,"")})})(this,0,t),Object.keys(t).forEach(n=>{(function gw(e,t,r){const n=e.controls;if(!(t?Object.keys(n):n).length)throw new S(1e3,"");if(!n[r])throw new S(1001,"")})(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){null!=t&&(Object.keys(t).forEach(n=>{const o=this.controls[n];o&&o.patchValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((n,o)=>{n.reset(t[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,n)=>(t[n]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,n)=>!!n._syncPendingControls()||r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{const n=this.controls[r];n&&t(n,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[r,n]of Object.entries(this.controls))if(this.contains(r)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,n,o)=>((n.enabled||this.disabled)&&(r[o]=n.value),r))}_reduceChildren(t,r){let n=t;return this._forEachChild((o,i)=>{n=r(n,o,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const jo=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Gl}),Gl="always";function hs(e,t,r=Gl){gh(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===r)&&t.valueAccessor.setDisabledState?.(e.disabled),function AL(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&yw(e,t)})}(e,t),function RL(e,t){const r=(n,o)=>{t.valueAccessor.writeValue(n),o&&t.viewToModelUpdate(n)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}(e,t),function xL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&yw(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function TL(e,t){if(t.valueAccessor.setDisabledState){const r=n=>{t.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}(e,t)}function Wl(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function gh(e,t){const r=function lw(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(aw(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const n=function cw(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(aw(n,t.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);const o=()=>e.updateValueAndValidity();Wl(t._rawValidators,o),Wl(t._rawAsyncValidators,o)}function yw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const FL={provide:ot,useExisting:he(()=>Ho)},ps=(()=>Promise.resolve())();let Ho=(()=>{var e;class t extends ot{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new ph({},ah(n),lh(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ps.then(()=>{const o=this._findContainer(n.path);n.control=o.registerControl(n.name,n.control),hs(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ps.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ps.then(()=>{const o=this._findContainer(n.path),i=new ph({});(function _w(e,t){gh(e,t)})(i,n),o.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ps.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,o){ps.then(()=>{this.form.get(n.path).setValue(o)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Cw(e,t){e._syncPendingControls(),t.forEach(r=>{const n=r.control;"submit"===n.updateOn&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){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=t).\u0275fac=function(n){return new(n||e)(I(Ye,10),I(Kn,10),I(jo,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){1&n&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[De([FL]),le]}),t})();function Dw(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function bw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const ww=class extends vw{constructor(t=null,r,n){super(fh(r),hh(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$l(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=bw(t)?t.value:t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Dw(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Dw(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){bw(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}},jL={provide:er,useExisting:he(()=>gs)},Iw=(()=>Promise.resolve())();let gs=(()=>{var e;class t extends er{constructor(n,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new ww,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function yh(e,t){if(!t)return null;let r,n,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Lo?r=i:function OL(e){return Object.getPrototypeOf(e.constructor)===Ir}(i)?n=i:o=i}),o||n||r||null}(0,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function vh(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.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(){hs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){Iw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const o=n.isDisabled.currentValue,i=0!==o&&Mo(o);Iw.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function zl(e,t){return[...t.path,e]}(n,this._parent):[n]}}return(e=t).\u0275fac=function(n){return new(n||e)(I(ot,9),I(Ye,10),I(Kn,10),I(gn,10),I(Ka,8),I(jo,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:[De([jL]),le,Rt]}),t})(),Yl=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const UL={provide:gn,useExisting:he(()=>_h),multi:!0};let Tw=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({}),t})(),BL=(()=>{var e;class t{constructor(){this._accessors=[]}add(n,o){this._accessors.push([n,o])}remove(n){for(let o=this._accessors.length-1;o>=0;--o)if(this._accessors[o][1]===n)return void this._accessors.splice(o,1)}select(n){this._accessors.forEach(o=>{this._isSameGroup(o,n)&&o[1]!==n&&o[1].fireUncheck(n.value)})}_isSameGroup(n,o){return!!n[0].control&&n[0]._parent===o._control._parent&&n[1].name===o.name}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:Tw}),t})(),_h=(()=>{var e;class t extends Ir{constructor(n,o,i,s){super(n,o),this._registry=i,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=A(jo,{optional:!0})??Gl}ngOnInit(){this._control=this._injector.get(er),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)}}setDisabledState(n){(this.setDisabledStateFired||n||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(e=t).\u0275fac=function(n){return new(n||e)(I(Mn),I(bt),I(BL),I(wt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,o){1&n&&R("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[De([UL]),le]}),t})();const YL={provide:gn,useExisting:he(()=>Ql),multi:!0};function Ow(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ql=(()=>{var e;class t extends Ir{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 i=Ow(this._getOptionId(n),n);this.setProperty("value",i)}registerOnChange(n){this.onChange=o=>{this.value=this._getOptionValue(o),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),n))return o;return null}_getOptionValue(n){const o=function QL(e){return e.split(":")[0]}(n);return this._optionMap.has(o)?this._optionMap.get(o):n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,o){1&n&&R("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[De([YL]),le]}),t})(),kw=(()=>{var e;class t{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(Ow(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=t).\u0275fac=function(n){return new(n||e)(I(bt),I(Mn),I(Ql,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const XL={provide:gn,useExisting:he(()=>wh),multi:!0};function Fw(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let wh=(()=>{var e;class t extends Ir{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let o;if(this.value=n,Array.isArray(n)){const i=n.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(n){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(Fw(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Fw(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=t).\u0275fac=function(n){return new(n||e)(I(bt),I(Mn),I(wh,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();let Sr=(()=>{var e;class t{constructor(){this._validator=Ll}ngOnChanges(n){if(this.inputName in n){const o=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):Ll,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,features:[Rt]}),t})();const tV={provide:Ye,useExisting:he(()=>Uo),multi:!0};let Uo=(()=>{var e;class t extends Sr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Mo,this.createValidator=n=>Zb}enabled(n){return n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||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,o){2&n&&Gt("required",o._enabled?"":null)},inputs:{required:"required"},features:[De([tV]),le]}),t})();const rV={provide:Ye,useExisting:he(()=>Xl),multi:!0};let Xl=(()=>{var e;class t extends Sr{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Mo,this.createValidator=n=>Qb}enabled(n){return n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[De([rV]),le]}),t})();const iV={provide:Ye,useExisting:he(()=>Eh),multi:!0};let Eh=(()=>{var e;class t extends Sr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function Vw(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function Jb(e){return t=>function zb(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&Gt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[De([iV]),le]}),t})();const sV={provide:Ye,useExisting:he(()=>Mh),multi:!0};let Mh=(()=>{var e;class t extends Sr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function Kb(e){if(!e)return Ll;let t,r;return"string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),n=>{if(Jn(n.value))return null;const o=n.value;return t.test(o)?null:{pattern:{requiredPattern:r,actualValue:o}}}}(n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=$e(e)))(o||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&Gt("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[De([sV]),le]}),t})(),aV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({imports:[Tw]}),t})(),Jl=(()=>{var e;class t{static withConfig(n){return{ngModule:t,providers:[{provide:jo,useValue:n.callSetDisabledState??Gl}]}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({imports:[aV]}),t})();class Kl{}class ec{}class mn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(r=>{const n=r.indexOf(":");if(n>0){const o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof mn?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){const r=new mn;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof mn?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){const r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,r);const o=("a"===t.op?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(r);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}else this.headers.delete(r),this.normalizedNames.delete(r)}}setHeaderEntries(t,r){const n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}}class cV{encodeKey(t){return Gw(t)}encodeValue(t){return Gw(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const dV=/%(\d[a-f0-9])/gi,fV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gw(e){return encodeURIComponent(e).replace(dV,(t,r)=>fV[r]??t)}function tc(e){return`${e}`}class tr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new cV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function uV(e,t){const r=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=r.get(s)||[];l.push(a),r.set(s,l)}),r}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{const n=t.fromObject[r],o=Array.isArray(n)?n.map(tc):[tc(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){const r=[];return Object.keys(t).forEach(n=>{const o=t[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const r=new tr({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}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 r=("a"===t.op?this.map.get(t.param):void 0)||[];r.push(tc(t.value)),this.map.set(t.param,r);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const o=n.indexOf(tc(t.value));-1!==o&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class hV{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),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 zw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function qw(e){return typeof Blob<"u"&&e instanceof Blob}function Ww(e){return typeof FormData<"u"&&e instanceof FormData}class ms{constructor(t,r,n,o){let i;if(this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function pV(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!==n?n:null,i=o):i=n,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 mn),this.context||(this.context=new hV),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=r;else{const a=r.indexOf("?");this.urlWithParams=r+(-1===a?"?":ad.set(g,t.setHeaders[g]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,g)=>d.set(g,t.setParams[g]),c)),new ms(r,n,i,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Bo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Bo||{});class Ih{constructor(t,r=200,n="OK"){this.headers=t.headers||new mn,this.status=void 0!==t.status?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Sh extends Ih{constructor(t={}){super(t),this.type=Bo.ResponseHeader}clone(t={}){return new Sh({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 $o extends Ih{constructor(t={}){super(t),this.type=Bo.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new $o({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 Zw extends Ih{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 Th(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 Ah=(()=>{var e;class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ms)s=n;else{let c,u;c=i.headers instanceof mn?i.headers:new mn(i.headers),i.params&&(u=i.params instanceof tr?i.params:new tr({fromObject:i.params})),s=new ms(n,o,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const a=V(s).pipe(So(c=>this.handler.handle(c)));if(n instanceof ms||"events"===i.observe)return a;const l=a.pipe(Qt(c=>c instanceof $o));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ee(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(ee(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(ee(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(ee(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:(new tr).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Th(i,o))}post(n,o,i={}){return this.request("POST",n,Th(i,o))}put(n,o,i={}){return this.request("PUT",n,Th(i,o))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Kl))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function Xw(e,t){return t(e)}function vV(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}const _V=new x(""),vs=new x(""),Jw=new x("");function CV(){let e=null;return(t,r)=>{null===e&&(e=(A(_V,{optional:!0})??[]).reduceRight(vV,Xw));const n=A(Ya),o=n.add();return e(t,r).pipe(Zi(()=>n.remove(o)))}}let Kw=(()=>{var e;class t extends Kl{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=A(Ya)}handle(n){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(vs),...this.injector.get(Jw,[])]));this.chain=i.reduceRight((s,a)=>function yV(e,t,r){return(n,o)=>r.runInContext(()=>t(n,i=>e(i,o)))}(s,a,this.injector),Xw)}const o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Zi(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(ec),F(Dt))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const EV=/^\)\]\}',?\n/;let t1=(()=>{var e;class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new S(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?Ne(o.\u0275loadImpl()):V(null)).pipe(jt(()=>new Ie(s=>{const a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((b,E)=>a.setRequestHeader(b,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const b=n.detectContentTypeHeader();null!==b&&a.setRequestHeader("Content-Type",b)}if(n.responseType){const b=n.responseType.toLowerCase();a.responseType="json"!==b?b:"text"}const l=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const b=a.statusText||"OK",E=new mn(a.getAllResponseHeaders()),D=function MV(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||n.url;return c=new Sh({headers:E,status:a.status,statusText:b,url:D}),c},d=()=>{let{headers:b,status:E,statusText:D,url:P}=u(),N=null;204!==E&&(N=typeof a.response>"u"?a.responseText:a.response),0===E&&(E=N?200:0);let Z=E>=200&&E<300;if("json"===n.responseType&&"string"==typeof N){const Ge=N;N=N.replace(EV,"");try{N=""!==N?JSON.parse(N):null}catch(Tt){N=Ge,Z&&(Z=!1,N={error:Tt,text:N})}}Z?(s.next(new $o({body:N,headers:b,status:E,statusText:D,url:P||void 0})),s.complete()):s.error(new Zw({error:N,headers:b,status:E,statusText:D,url:P||void 0}))},g=b=>{const{url:E}=u(),D=new Zw({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(D)};let m=!1;const y=b=>{m||(s.next(u()),m=!0);let E={type:Bo.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),"text"===n.responseType&&a.responseText&&(E.partialText=a.responseText),s.next(E)},C=b=>{let E={type:Bo.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",y),null!==l&&a.upload&&a.upload.addEventListener("progress",C)),a.send(l),s.next({type:Bo.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",d),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",y),null!==l&&a.upload&&a.upload.removeEventListener("progress",C)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(n){return new(n||e)(F(uD))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();const xh=new x("XSRF_ENABLED"),n1=new x("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),r1=new x("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class o1{}let TV=(()=>{var e;class t{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,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=tD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(e=t).\u0275fac=function(n){return new(n||e)(F(pt),F(hr),F(n1))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function AV(e,t){const r=e.url.toLowerCase();if(!A(xh)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=A(o1).getToken(),o=A(r1);return null!=n&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var nr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(nr||{});const i1=new x("LEGACY_INTERCEPTOR_FN");class LV{constructor(){this.name="",this.email="",this.message=""}}let s1=(()=>{var e;class t{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${ve_apiBaseUrl}contact`,n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Ah))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})();function VV(e,t){if(1&e){const r=Ae();h(0,"form",5,6),R("ngSubmit",function(){return ne(r),re(k().submit())}),h(2,"div",7)(3,"label",8),f(4,"Name "),h(5,"span",9),f(6,"*"),p()(),h(7,"input",10),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),f(10,"Email address "),h(11,"span",9),f(12,"*"),p()(),h(13,"input",12),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),f(16,"Message "),h(17,"span",9),f(18,"*"),p()(),h(19,"textarea",14),R("ngModelChange",function(o){return ne(r),re(k().contactViewModel.message=o)}),p()(),h(20,"button",15),f(21,"Submit"),p()()}if(2&e){const r=md(1),n=k();_(7),w("ngModel",n.contactViewModel.name),_(6),w("ngModel",n.contactViewModel.email),_(6),w("ngModel",n.contactViewModel.message),_(1),w("disabled",!r.valid||n.enableFormCountDown>0)}}function jV(e,t){1&e&&(h(0,"p"),f(1,"Thanks for your message."),p())}function HV(e,t){1&e&&(h(0,"p",16),f(1,"Something went wrong. Please try again later."),p())}let UV=(()=>{var e;class t{constructor(n){this.contactService=n,this.contactViewModel=new LV,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=t).\u0275fac=function(n){return new(n||e)(I(s1))},e.\u0275cmp=vt({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[Mt],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","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,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Contact"),p(),O(3,VV,22,4,"form",2),O(4,jV,2,0,"p",3),O(5,HV,2,0,"p",4),p()),2&n&&(_(3),w("ngIf",!o.success&&!o.error),_(1),w("ngIf",o.success),_(1),w("ngIf",o.error))},dependencies:[gl,Jl,Yl,Lo,jl,Hl,Uo,Xl,gs,Ho]}),t})();const a1=function(){return["/pro"]};let BV=(()=>{var e;class t{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-features-component"]],standalone:!0,features:[Mt],decls:131,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Features"),p(),h(3,"h2",2),f(4,"Coverage quotas"),p(),h(5,"p"),f(6," The overiew cards provide a quick "),h(7,"span",3),f(8,"overview"),p(),f(9," of your coverage quotas."),v(10,"br"),f(11," You can use them to get a glimpse into the different "),h(12,"a",4),f(13,"coverage metrics"),p(),f(14,"\xa0"),h(15,"a",4),v(16,"i",5),p(),f(17,": "),p(),h(18,"ul")(19,"li"),f(20,"Line coverage"),p(),h(21,"li"),f(22,"Branch coverage"),p(),h(23,"li"),f(24,"Method coverage "),h(25,"a",6)(26,"span",7),f(27,"PRO"),p()()()(),v(28,"img",8)(29,"br"),h(30,"h2",9),f(31,"Coverage history"),p(),h(32,"p"),f(33," The history chart helps you to understand how your coverage quotas are "),h(34,"span",3),f(35,"evolving over time"),p(),f(36,". "),p(),v(37,"img",10)(38,"br"),h(39,"h2",11),f(40,"Summary table / Overview"),p(),h(41,"p"),f(42," The summary table helps you to identify classes with "),h(43,"span",3),f(44,"low test coverage"),p(),f(45,"."),v(46,"br"),f(47," The table offers various "),h(48,"span",3),f(49,"filter and sorting"),p(),f(50," options for quick navigation. "),p(),v(51,"img",12)(52,"br"),h(53,"h2",13),f(54,"Details page"),p(),h(55,"p"),f(56," The details page visualizes your "),h(57,"span",3),f(58,"line and branch coverage"),p(),f(59,". "),p(),h(60,"ul")(61,"li"),f(62,"Colors indicate the coverage status of each line."),p(),h(63,"li"),f(64,"Branch indicators help you to identity uncovered conditions."),p()(),v(65,"img",14)(66,"br"),h(67,"h2",15),f(68,"Metrics"),p(),h(69,"p"),f(70," Depending on your "),h(71,"a",16),f(72,"coverage tool"),p(),f(73,", metrics are provided to get further insigths in your "),h(74,"span",3),f(75,"code quality"),p(),f(76,". "),p(),h(77,"ul")(78,"li"),f(79,"The "),h(80,"a",17),R("click",function(){return o.scrollToAnchor("#details")}),f(81,"details page"),p(),f(82," contains information about the metrics of all methods of a class."),p(),h(83,"li"),f(84,"The "),h(85,"a",17),R("click",function(){return o.scrollToAnchor("#summary")}),f(86,"summary table"),p(),f(87," shows the lowest metrics of all methods of a class "),h(88,"a",6)(89,"span",7),f(90,"PRO"),p()()()(),h(91,"b"),f(92,"Details page"),p(),v(93,"br")(94,"img",18)(95,"br")(96,"br"),h(97,"b"),f(98,"Summary table"),p(),v(99,"br")(100,"img",19)(101,"br"),h(102,"h2",20),f(103,"Risk Hotspots"),p(),h(104,"p"),f(105," Based on the "),h(106,"a",17),R("click",function(){return o.scrollToAnchor("#metrics")}),f(107,"metrics"),p(),f(108," you get a list of potential risk hotspots."),v(109,"br"),f(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),p(),h(111,"ul")(112,"li")(113,"a",21),f(114,"Cyclomatic complexity"),p(),f(115,"\xa0"),h(116,"a",21),v(117,"i",5),p()(),h(118,"li")(119,"a",22),f(120,"NPath complexity"),p(),f(121,"\xa0"),h(122,"a",22),v(123,"i",5),p()(),h(124,"li")(125,"a",23),f(126,"Crap score"),p(),f(127,"\xa0"),h(128,"a",23),v(129,"i",5),p()()(),v(130,"img",24),p()),2&n&&(_(25),w("routerLink",K(2,a1)),_(63),w("routerLink",K(3,a1)))},dependencies:[pn]}),t})();const Ft={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.25"},$V=function(){return["/usage"]};let GV=(()=>{var e;class t{constructor(){this.versions=Ft}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[Mt],decls:72,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Get started"),p(),h(3,"h2"),f(4,"General"),p(),h(5,"p"),f(6,"In general you need a tool that instruments your test code and collects coverage information."),v(7,"br"),f(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),v(9,"br"),h(10,"em"),f(11,"ReportGenerator"),p(),f(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),f(14,"Use the online "),h(15,"a",2),f(16,"configuration tool"),p(),f(17," to get started quickly."),p(),h(18,"h2",3),f(19,".NET"),p(),h(20,"p"),f(21,"For .NET you can use "),h(22,"a",4),f(23,"coverlet"),p(),f(24," or "),h(25,"a",5),f(26,"altcover"),p(),f(27," for instrumenting your test code."),p(),h(28,"p"),f(29,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(30,"p")(31,"strong"),f(32,"Add dependencies to your "),h(33,"code"),f(34,"*.csproj"),p(),f(35," file:"),p()(),h(36,"pre",6),f(37),p(),h(38,"p")(39,"strong"),f(40,"Execute tests and create coverage report"),p()(),h(41,"pre",6),f(42),p(),h(43,"h2",7),f(44,"Java"),p(),h(45,"p"),f(46,"For Java you can use "),h(47,"a",8),f(48,"JaCoCo"),p(),f(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"),f(52,"Add dependencies to your "),h(53,"code"),f(54,"pom.xml"),p(),f(55," file:"),p()(),h(56,"pre",6),f(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"),f(60,"Execute tests and create coverage report"),p()(),h(61,"pre",6),f(62),p(),h(63,"h2",9),f(64,"NodeJS"),p(),h(65,"p"),f(66,"For NodeJS you can use "),h(67,"a",10),f(68,"Istanbul"),p(),f(69," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(70,"pre",6),f(71),p()()),2&n&&(_(15),w("routerLink",K(5,$V)),_(22),An('\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'),_(5),An('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',o.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),_(20),An("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",o.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),_(9),An("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",o.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[pn]}),t})(),l1=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[Mt],decls:30,vars:0,consts:[[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"container"],[1,"text-center"],[1,"row","mt-5"],[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"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"]],template:function(n,o){1&n&&(h(0,"section",0)(1,"div",1)(2,"h2",2),f(3,"Trusted by"),p(),h(4,"div",3)(5,"div",4),v(6,"i",5)(7,"br"),h(8,"a",6),f(9,".NET Runtime"),p()(),h(10,"div",4),v(11,"i",7)(12,"br"),h(13,"a",8),f(14,"Google Cloud"),p()(),h(15,"div",4),v(16,"i",9)(17,"br"),h(18,"a",10),f(19,"AWS Encryption SDK"),p()(),h(20,"div",11),v(21,"i",12)(22,"br"),h(23,"a",13),f(24,"Many more"),p()()(),h(25,"div",3)(26,"div",4)(27,"a",14),v(28,"i",15),f(29," Over 50 million downloads on Nuget"),p()()()()())},encapsulation:2}),t})();const zV=function(){return["/pro"]},qV=function(){return["/usage"]},WV=function(){return["/getstarted"]},ZV=function(){return["/features"]};let YV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-home"]],standalone:!0,features:[Mt],decls:114,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],[3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],[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","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(n,o){1&n&&(h(0,"section",0)(1,"div",1)(2,"div",2),v(3,"img",3),p(),h(4,"div",4)(5,"h1"),f(6,"ReportGenerator"),p(),h(7,"h2",5),f(8,"Powerful code coverage visualization"),p(),h(9,"div",6),f(10,"\xa0"),p(),h(11,"div",7)(12,"p")(13,"i"),f(14,"ReportGenerator"),p(),f(15," converts "),h(16,"span",8),f(17,"coverage reports"),p(),f(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),h(19,"span",8),f(20,"human readable reports in various formats"),p(),f(21,"."),p(),h(22,"p"),f(23,"The reports show the "),h(24,"span",8),f(25,"coverage quotas"),p(),f(26," and also visualize which lines of your source code have been covered."),p(),h(27,"p")(28,"a",9),v(29,"i",10),f(30," Browse example report"),p()()()()(),h(31,"div",11)(32,"div",12)(33,"div",13),v(34,"i",14),p(),h(35,"span",15),f(36,"Open source"),p(),h(37,"p",16)(38,"i"),f(39,"ReportGenerator"),p(),f(40," is open source under the permissive Apache License."),p(),h(41,"p"),f(42,"It's free to use."),v(43,"br"),f(44,"The "),h(45,"a",17),f(46,"PRO"),p(),f(47," version offers additional features."),p()(),h(48,"div",18)(49,"div",13),v(50,"i",19),p(),h(51,"span",15),f(52,"Easy to use"),p(),h(53,"p",16)(54,"i"),f(55,"ReportGenerator"),p(),f(56," is a command line tool which only requires a "),h(57,"a",17),f(58,"few parameters"),p(),f(59,"."),p(),h(60,"p"),f(61,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(62,"div",18)(63,"div",13),v(64,"i",20),p(),h(65,"span",15),f(66,"Integration"),p(),h(67,"p",16)(68,"i"),f(69,"ReportGenerator"),p(),f(70," works on Windows, Linux and macOS."),p(),h(71,"p"),f(72,"Support for "),h(73,"a",21),f(74,"GitHub actions"),p(),f(75," and "),h(76,"a",22),f(77,"Azure DevOps"),p(),f(78," is available."),p()()(),h(79,"div",11)(80,"div",23)(81,"a",24),v(82,"i",25),f(83," Learn how to use"),p(),h(84,"a",26),v(85,"i",27),f(86," GitHub"),p()()()(),v(87,"app-testimonials"),h(88,"section",28)(89,"div",0)(90,"h2"),f(91,"Screenshots"),p(),h(92,"p"),f(93,"The screenshots show two snippets of the generated reports."),p(),h(94,"p"),f(95," Have a look the "),h(96,"a",17),f(97,"features page"),p(),f(98," to explore the elements in a coverage report or "),h(99,"a",29),f(100,"browse the example report"),p(),f(101,". "),v(102,"br"),f(103," You can also download "),h(104,"a",30),f(105,"sample reports"),p(),f(106," of all supported output formats."),p(),h(107,"div",1)(108,"div",31)(109,"a",32),v(110,"img",33),p()(),h(111,"div",34)(112,"a",35),v(113,"img",36),p()()()()()),2&n&&(_(45),w("routerLink",K(4,zV)),_(12),w("routerLink",K(5,qV)),_(24),w("routerLink",K(6,WV)),_(15),w("routerLink",K(7,ZV)))},dependencies:[pn,l1],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]}),t})(),QV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-not-found"]],standalone:!0,features:[Mt],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(n,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Not found"),p(),v(3,"i",2),f(4," The requested page does not exist.\n"),p())}}),t})();class c1{constructor(){this.error=null,this.licenses=[]}}class XV{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let u1=(()=>{var e;class t{initCodeFlow(){const i=`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: "+i),location.href=i}validateStateAndExtractCode(){let n=location.href;const o=n.indexOf("?");o>-1&&(n=n.substring(o+1));const i=this.parseQueryString(n);return i.state&&i.code&&this.validateNonce(i.state)?i.code:null}createAndSaveNonce(){const n=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",n),n}validateNonce(n){let o;return typeof window.localStorage<"u"&&(o=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),o&&0!==o.length?o===n||(console.error("Validating nonce failed. Values do not match.",o,n),!1):(console.error("Validating nonce failed. No saved nonce available.",o,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let o=45,i="";const s=typeof self>"u"?null:self.crypto||self.msCrypto;if(s){let l=new Uint8Array(o);s.getRandomValues(l),l.map||(l.map=Array.prototype.map);const c=[];for(var a=0;a0&&(u=decodeURIComponent(l),d=decodeURIComponent(c),"/"===u.substring(0,1)&&(u=u.substring(1)),o[u]=d);return o}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),d1=(()=>{var e;class t{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${ve_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${ve_apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${ve_apiBaseUrl}reportgenerator/paddlelicense`,n)}}return(e=t).\u0275fac=function(n){return new(n||e)(F(Ah))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),t})(),JV=(()=>{var e;class t{constructor(){this.isActive=!1,this.isActive=new Date-1)}}function T3(e,t){if(1&e&&(h(0,"div")(1,"label",110),f(2,"Thank you! Please save your license key persistently:"),p(),O(3,S3,6,3,"div",111),p()),2&e){const r=k(3);_(3),w("ngForOf",r.paddleLicense.licenses)}}function A3(e,t){if(1&e&&(h(0,"div",109),O(1,E3,8,3,"div",34),O(2,T3,4,1,"div",34),p()),2&e){const r=k(2);_(1),w("ngIf",r.paddleLicense.error),_(1),w("ngIf",!r.paddleLicense.error)}}function x3(e,t){if(1&e&&(h(0,"div",2),O(1,w3,6,0,"ng-container",34),O(2,A3,3,2,"div",107),p()),2&e){const r=k();_(1),w("ngIf",r.paddleLicenseRequested&&!r.paddleLicense),_(1),w("ngIf",r.paddleLicense)}}function R3(e,t){1&e&&(h(0,"p")(1,"i"),f(2,"ReportGenerator"),p(),f(3," subscription based licences are provided with a 30 day money back guarantee."),p())}const Go=function(){return["/features"]};let N3=(()=>{var e;class t{get lifetimeLicense(){return this._lifetimeLicense}set lifetimeLicense(n){this._lifetimeLicense=n,this.lifetimeLicenseChangeTracked||(this.lifetimeLicenseChangeTracked=!0,this.trackingService.track("Licensetype changed"))}constructor(n,o,i){this.oauthService=n,this.licenseService=o,this.trackingService=i,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.paddleIndividualLifetimeLicensePrice="US$79",this.paddleTeamLifetimeLicensePrice="US$249",this.paddleEnterpriseLifetimeLicensePrice="US$449",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.trialDisabled=!1,this.requestTrialData={name:"",email:""},this.paddleLicenseRequested=!1,this.paddleLicense=null,this.copiedPaddledLicenses=[],this.self=this,this.lifetimeLicenseChangeTracked=!1,this._lifetimeLicense=!1,window.paddleCheckoutComplete=s=>{this.paddleCheckoutComplete(s)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,s=>{this.paddleIndividualLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(762580,s=>{this.paddleTeamLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(762581,s=>{this.paddleEnterpriseLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(833943,s=>{this.paddleIndividualLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(833944,s=>{this.paddleTeamLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(833945,s=>{this.paddleEnterpriseLifetimeLicensePrice=s.price.gross})}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:o=>{console.log("Received license response"),this.license=o,this.scrollToGithub()},error:o=>{console.error(o),this.license=new XV,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available"),location.href.indexOf("?source=trial")>-1&&this.trackingService.track("Trial2Pro"),this.requestTrialModal=new window.bootstrap.Modal("#requestTrialModal");try{this.trialDisabled=null!==window.localStorage.getItem("trialRequested")}catch{}}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(n){try{navigator.clipboard.writeText(n),this.copiedPaddledLicenses.push(n)}catch(o){console.error("Failed to copy paddle license",o)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}requestTrial(){this.requestTrialModal.show(),this.trackingService.track("Trial-Started")}completeTrial(){console.log("Trial completed"),this.requestTrialModal.hide(),this.paddleLicenseRequested=!0,this.licenseService.getTrialLicense(this.requestTrialData).subscribe({next:n=>{console.log("Received trial license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.localStorage.setItem("trialRequested","true"),this.trialDisabled=!0}catch{}this.trackingService.track("Trial-Completed")},error:n=>{console.error(n),this.paddleLicense=new c1,this.paddleLicense.error="Unable to generate trial license."},complete:()=>{console.info("complete"),this.requestTrialData={name:"",email:""}}})}openPaddleCheckout(n){"enterprise"===n?window.Paddle.Checkout.open({product:this.lifetimeLicense?833945:762581,successCallback:"paddleCheckoutComplete"}):"team"===n?window.Paddle.Checkout.open({product:this.lifetimeLicense?833944:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:this.lifetimeLicense?833943:762579,successCallback:"paddleCheckoutComplete"}),this.trackingService.track("Paddle-Started",{props:{product:n,lifetimeLicense:this.lifetimeLicense}})}paddleCheckoutComplete(n){console.log("Checkout completed",n),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(n).subscribe({next:o=>{console.log("Received paddle license response"),this.paddleLicense=o,this.scrollToPaddle(),this.trackingService.track("Paddle-Completed",{props:{product:n.product.name,lifetimeLicense:this.lifetimeLicense}})},error:o=>{console.error(o),this.paddleLicense=new c1,this.paddleLicense.error="Unable to generate Paddle license."},complete:()=>console.info("complete")})}}return(e=t).\u0275fac=function(n){return new(n||e)(I(u1),I(d1),I(JV))},e.\u0275cmp=vt({type:e,selectors:[["app-pro-component"]],standalone:!0,features:[Mt],decls:229,vars:25,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"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[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",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",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-md-6 pb-3 d-none d-lg-block","style","position: relative;",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","paddle",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"text-center","mb-3"],["class","togglecontainer",4,"ngIf"],["class","row",4,"ngIf"],[1,"mt-5"],[4,"ngIf"],[1,"container-fluid","mt-4","pt-5","pb-5","bg-light"],[1,"container","text-center"],[1,"row","mt-5",2,"max-width","550px","margin","auto"],["href","https://twitter.com/fredyfx/status/1642807795828543488","target","_blank"],["loading","lazy","src","resources/twitter_light.webp","alt","Testimonial",1,"img-fluid"],["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"],["id","headingThree",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseThree","aria-expanded","false","aria-controls","collapseThree",1,"accordion-button","collapsed"],["id","collapseThree","aria-labelledby","headingThree","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["tabindex","-1","id","requestTrialModal",1,"modal"],[1,"modal-dialog"],[1,"modal-content"],["method","post",3,"ngSubmit"],["trialForm","ngForm"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],[1,"form-floating","mb-3"],["type","text","id","name","name","name","required","","maxlength","150",1,"form-control",3,"ngModel","ngModelChange"],["for","floatingInput"],[1,"required"],["type","email","id","email","name","email","required","","email","","maxlength","150",1,"form-control",3,"ngModel","ngModelChange"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-secondary"],["type","submit",1,"btn","btn-primary",3,"disabled"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"col-md-6","pb-3","d-none","d-lg-block",2,"position","relative"],[1,"fa-solid","fa-heart","githubheartlarge"],["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,"togglecontainer"],[1,"option",3,"ngClass","click"],[1,"fa-solid","fa-rotate-right"],[1,"fa-solid","fa-infinity"],[1,"col-xs-12","col-md-6","col-lg-3","mt-0","pb-3","text-center","paddle-container"],[1,"paddle","trial"],["src","resources/trial.svg","alt","Trial",1,"img-fluid"],[1,"mt-3"],[1,"fa-solid","fa-magnifying-glass"],[1,"fa-solid","fa-calendar-days"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-md-0","pb-3","text-center","paddle-container"],[1,"paddle"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"fa-solid","fa-user"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/team.svg","alt","Team",1,"img-fluid"],[1,"fa-solid","fa-users"],[1,"col-xs-6","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],[1,"fa-solid","fa-industry"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button",1,"btn","btn-primary",3,"click"],[1,"fa-solid","fa-cart-shopping"],["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"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-2"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control"]],template:function(n,o){if(1&n&&(h(0,"div",0)(1,"h1",1),f(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),v(8,"th",5),h(9,"th",6),f(10,"Free"),p(),h(11,"th",6)(12,"span",7),f(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),f(17,"Metrics "),h(18,"a",9),v(19,"i",10),p()(),h(20,"td",11),v(21,"i",12),p(),h(22,"td",11),v(23,"i",12),p()(),h(24,"tr")(25,"th",8),f(26,"Risk Hotspots "),h(27,"a",13),v(28,"i",10),p()(),h(29,"td",11),v(30,"i",12),p(),h(31,"td",11),v(32,"i",12),p()(),h(33,"tr")(34,"th",8),f(35,"Line coverage "),h(36,"a",14),v(37,"i",10),p()(),h(38,"td",11),v(39,"i",12),p(),h(40,"td",11),v(41,"i",12),p()(),h(42,"tr")(43,"th",8),f(44,"Branch coverage "),h(45,"a",14),v(46,"i",10),p()(),h(47,"td",11),v(48,"i",12),p(),h(49,"td",11),v(50,"i",12),p()(),h(51,"tr")(52,"th",8),f(53,"Method coverage "),h(54,"a",14),v(55,"i",10),p()(),v(56,"td",11),h(57,"td",11),v(58,"i",15),p()(),h(59,"tr")(60,"th",8),f(61,"Metrics on summary page "),h(62,"a",9),v(63,"i",10),p()(),v(64,"td",11),h(65,"td",11),v(66,"i",15),p()(),h(67,"tr")(68,"th",8)(69,"i"),f(70,"OpenCover"),p(),f(71," output format"),p(),v(72,"td",11),h(73,"td",11),v(74,"i",15),p()()()()(),h(75,"div",16)(76,"p")(77,"i"),f(78,"ReportGenerator"),p(),f(79," is Open Source and free to use."),v(80,"br"),f(81," Some of the advanced features require a PRO license. "),p(),h(82,"p"),f(83," You can either become a "),h(84,"a",17),R("click",function(){return o.scrollToGithub()}),f(85,"GitHub sponsor"),p(),f(86," or you can "),h(87,"a",17),R("click",function(){return o.scrollToPaddle()}),f(88,"buy a license"),p(),f(89,"."),v(90,"br"),f(91," A "),h(92,"a",17),R("click",function(){return o.scrollToPaddle()}),f(93,"free trial version"),p(),f(94," is available too. "),p(),h(95,"p"),f(96," Get "),h(97,"a",18),f(98,"in touch"),p(),f(99," if you have any issues and we will figure it out. "),p()()()(),h(100,"section",19)(101,"div",0)(102,"h2",1),f(103,"Get your license as a GitHub sponsor"),p(),h(104,"div",2)(105,"div",20)(106,"p"),f(107,"You can obtain your license in two easy steps (no sign up required):"),p(),h(108,"span",21),f(109,"1."),p(),h(110,"a",22),v(111,"i",23),f(112," Become a GitHub sponsor"),p(),v(113,"br"),h(114,"span",21),f(115,"2."),p(),h(116,"button",24),R("click",function(){return o.requestLicense()}),v(117,"i",25),f(118," Get license"),p(),O(119,KV,3,0,"div",26),p(),O(120,e3,2,0,"div",27),O(121,s3,4,3,"div",28),p()()(),h(122,"section",29)(123,"div",0)(124,"h2",1),f(125,"Buy a license"),p(),h(126,"div",30),O(127,a3,7,6,"span",31),p(),O(128,b3,61,17,"div",32),O(129,x3,3,2,"div",32),h(130,"div",33),O(131,R3,4,0,"p",34),h(132,"p"),f(133,"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()()()(),v(134,"app-testimonials"),h(135,"section",35)(136,"div",36)(137,"h3"),f(138,"Customers"),p(),h(139,"div",37)(140,"a",38),v(141,"img",39),p()()()(),h(142,"section",40)(143,"h2",1),f(144,"Frequently Asked Questions"),p(),h(145,"div",41)(146,"div",42)(147,"h2",43)(148,"button",44),f(149," How do I use/activate my license? "),p()(),h(150,"div",45)(151,"div",46),f(152," Your license key is passed to "),h(153,"i"),f(154,"ReportGenerator"),p(),f(155," via a command line parameter: "),h(156,"i"),f(157,"-license:YOUR_KEY"),p()()()(),h(158,"div",42)(159,"h2",47)(160,"button",48),f(161," Are there limitations on number of users? "),p()(),h(162,"div",49)(163,"div",46)(164,"b"),f(165,"GitHub sponsors"),p(),v(166,"br"),h(167,"p"),f(168,"There's no enforced limit. Please pick a sponsor level that fits your company size and budget."),p(),h(169,"b"),f(170,"Bought license"),p(),v(171,"br"),h(172,"p"),f(173,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(174,"i"),f(175,"ReportGenerator"),p(),f(176,"."),p()()()(),h(177,"div",42)(178,"h2",50)(179,"button",51),f(180," Will my license expire? "),p()(),h(181,"div",52)(182,"div",46)(183,"b"),f(184,"GitHub sponsors"),p(),v(185,"br"),h(186,"p"),f(187,"Your license will not expire."),p(),h(188,"b"),f(189,"Bought license"),p(),v(190,"br"),h(191,"p")(192,"b"),f(193,"Annual subscription"),p(),f(194,": Your license may get revoked for new releases of "),h(195,"i"),f(196,"ReportGenerator"),p(),f(197,", if you cancel your subscription."),v(198,"br"),h(199,"b"),f(200,"Lifetime licenses"),p(),f(201,": Lifetime licenses will not expire. "),p()()()()()(),h(202,"div",53)(203,"div",54)(204,"div",55)(205,"form",56,57),R("ngSubmit",function(){return o.completeTrial()}),h(207,"div",58)(208,"h5",59),f(209,"Free Trial"),p(),v(210,"button",60),p(),h(211,"div",61)(212,"div",62)(213,"input",63),R("ngModelChange",function(s){return o.requestTrialData.name=s}),p(),h(214,"label",64),f(215,"Name "),h(216,"span",65),f(217,"*"),p()()(),h(218,"div",62)(219,"input",66),R("ngModelChange",function(s){return o.requestTrialData.email=s}),p(),h(220,"label",64),f(221,"Email address "),h(222,"span",65),f(223,"*"),p()()()(),h(224,"div",67)(225,"button",68),f(226,"Close"),p(),h(227,"button",69),f(228,"Get trial license"),p()()()()()()),2&n){const i=md(206);_(18),w("routerLink",K(18,Go)),_(9),w("routerLink",K(19,Go)),_(9),w("routerLink",K(20,Go)),_(9),w("routerLink",K(21,Go)),_(9),w("routerLink",K(22,Go)),_(8),w("routerLink",K(23,Go)),_(35),w("routerLink",K(24,Rh)),_(19),w("disabled",o.licenseRequested),_(3),w("ngIf",o.licenseRequested&&!o.license),_(1),w("ngIf",!o.license),_(1),w("ngIf",o.license),_(6),w("ngIf",!o.paddleLicenseRequested),_(1),w("ngIf",!o.paddleLicenseRequested),_(1),w("ngIf",o.paddleLicenseRequested),_(2),w("ngIf",!o.lifetimeLicense),_(82),w("ngModel",o.requestTrialData.name),_(6),w("ngModel",o.requestTrialData.email),_(8),w("disabled",!i.valid)}},dependencies:[pn,Df,gl,pl,Jl,Yl,Lo,jl,Hl,Uo,Eh,Xl,gs,Ho,l1],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.paddle-container[_ngcontent-%COMP%]{padding:10px}.paddle[_ngcontent-%COMP%]{border:1px solid #8c8888;border-radius:20px;padding:20px;background-color:#d8e8f0}.trial[_ngcontent-%COMP%]{background-color:#b2cad7}.githubheartlarge[_ngcontent-%COMP%]{position:absolute;top:-120px;left:40%;font-size:20rem;color:#ffd2ed}.togglecontainer[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;border-radius:20px;white-space:nowrap}.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{background-color:#fff;padding:8px 15px;border-radius:20px;cursor:pointer;display:inline-block}.togglecontainer[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{color:#fff;background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}@media only screen and (max-width: 400px){.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa-solid[_ngcontent-%COMP%]{display:none}}"]}),t})();class rc{constructor(t,r,n,o,i,s){this.name=t,this.url=r,this.runtimes=n,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,r){if(""===(r=r.trim()))return"";const n=r.indexOf(" ")>-1?'"':"";return`\r\n${n}-${t}:${r}${n}`}formatArguments(t,r){return this.formatArgument(t,r.filter(n=>null!=n&&0!==n.length&&0!==n.trim().length).join(";"))}}class P3 extends rc{formatExecutable(t){let r=`- task: ${t.tool}@${Ft.majorVersion}`;return r+="\r\n displayName: ReportGenerator",r+="\r\n inputs:",console.log("hello",r),r}formatArgument(t,r){if(""===(r=r.trim()))return"";const n=r.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${n}${r}${n}`}}class O3{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.types=["Html","Coverage tool","Json","Markdown","Xml","Text","Image"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",types:["Html"],description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",types:["Html"],description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",types:["Html"],description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"Html_BlueRed",types:["Html"],description:"Same as Html but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed/index.html"},{name:"HtmlSummary",types:["Html"],description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"Html_BlueRed_Summary",types:["Html"],description:"Same as HtmlSummary but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed_Summary/summary.html"},{name:"HtmlChart",types:["Html"],description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{name:"HtmlInline",types:["Html"],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,sampleReport:"resources/reports/HtmlInline/index.html"},{name:"HtmlInline_AzurePipelines",types:["Html"],description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{name:"HtmlInline_AzurePipelines_Light",types:["Html"],description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{name:"HtmlInline_AzurePipelines_Dark",types:["Html"],description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",types:["Html"],description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",types:["Coverage tool"],description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{name:"Cobertura",types:["Coverage tool"],description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"OpenCover",types:["Coverage tool"],description:"Creates a XML file in OpenCover format (PRO version only).",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/OpenCover/OpenCover.xml"},{name:"SonarQube",types:["Coverage tool"],description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",types:["Coverage tool"],description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",types:["Xml"],description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",types:["Xml"],description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",types:["Json"],description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"Latex",types:["Text"],description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",types:["Text"],description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",types:["Coverage tool"],description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",types:["Text"],description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",types:["Text"],description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",types:["Text"],description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownSummaryGithub",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"SvgChart",types:["Image"],description:"Creates a single SVG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/SvgChart/CoverageHistory.svg"},{name:"Badges",types:["Image"],description:"Creates SVG files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[1],this.selectedType=null,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,r){const n=t.executables.find(a=>a.runtime==r);let o=void 0!==n?t.formatExecutable(n):"";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),"Info"!==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}: ${n}${r}${n}`}}class Nh{constructor(t,r){this.tool=t,this.command=r}}function F3(e,t){if(1&e){const r=Ae();h(0,"div",35)(1,"label",36)(2,"input",37),R("ngModelChange",function(o){return ne(r),re(k().selectedEnvironment=o)})("ngModelChange",function(){return ne(r),re(k().selectedEnvironmentChanged())}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",38),f(7),p()()()}if(2&e){const r=t.$implicit,n=k();_(2),w("ngModel",n.selectedEnvironment)("value",r)("checked",n.selectedEnvironment.name===r.name),_(2),Ce(r.name),_(3),Ce(r.description)}}function L3(e,t){if(1&e){const r=Ae();h(0,"div",35)(1,"label",36)(2,"input",41),R("ngModelChange",function(o){return ne(r),re(k(3).selectedPackage=o)}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",38),f(7),p()()()}if(2&e){const r=k().$implicit,n=k(2);_(2),w("ngModel",n.selectedPackage)("value",r),_(2),Ce(r.name),_(3),Ce(r.description)}}function V3(e,t){if(1&e&&(ut(0),O(1,L3,8,4,"div",40),dt()),2&e){const r=t.$implicit,n=k(2);_(1),w("ngIf",r.runtimes.indexOf(n.selectedEnvironment.name)>-1)}}function j3(e,t){if(1&e&&(ut(0),h(1,"h4"),f(2,"NuGet Package"),p(),O(3,V3,2,1,"ng-container",39),dt()),2&e){const r=k();_(3),w("ngForOf",r.packages)}}function H3(e,t){if(1&e){const r=Ae();h(0,"span",45),R("click",function(){ne(r);const o=k().index;return re(k().configuration.removeReport(o))}),h(1,"a",46),v(2,"i",47),p()()}}const U3=function(e){return{"input-group":e}};function B3(e,t){if(1&e){const r=Ae();h(0,"div",38)(1,"div",42)(2,"input",43),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.reports[s]=o)}),p(),O(3,H3,3,0,"span",44),p()()}if(2&e){const r=t.index,n=k();_(1),w("ngClass",Vi(4,U3,r>0)),_(1),Tn("name","report_",r,""),w("ngModel",n.configuration.reports[r]),_(1),w("ngIf",r>0)}}const $3=function(e,t){return{"btn-outline-primary":e,"btn-primary":t}};function G3(e,t){if(1&e){const r=Ae();h(0,"button",48),R("click",function(){const i=ne(r).$implicit,s=k();return re(s.configuration.selectedType=s.configuration.selectedType===i?null:i)}),f(1),p()}if(2&e){const r=t.$implicit,n=k();w("ngClass",w_(2,$3,r!==n.configuration.selectedType,r===n.configuration.selectedType)),_(1),Ce(r)}}function z3(e,t){if(1&e){const r=Ae();h(0,"span",53),v(1,"i",54),f(2," Please specify a "),h(3,"a",9),R("click",function(){return ne(r),re(k(3).scrollToHistoryDir())}),f(4,"history directory"),p()()}}function q3(e,t){if(1&e&&(ut(0),v(1,"br",55),h(2,"a",29),f(3,"Sample report"),p(),f(4,"\xa0"),h(5,"a",29),v(6,"i",56),p(),dt()),2&e){const r=k(2).$implicit;_(2),w("href",r.sampleReport,to),_(3),w("href",r.sampleReport,to)}}function W3(e,t){if(1&e){const r=Ae();h(0,"div",50)(1,"label",36)(2,"input",51),R("change",function(){ne(r);const o=k().$implicit;return re(o.checked=!o.checked)}),p(),h(3,"b"),f(4),p(),O(5,z3,5,0,"span",52),v(6,"br"),h(7,"div",38),f(8),O(9,q3,7,2,"ng-container",5),p()()()}if(2&e){const r=k().$implicit,n=k();_(2),w("checked",r.checked),_(2),Ce(r.name),_(1),w("ngIf",r.checked&&r.requiresHistoryDir&&!n.configuration.historydir),_(3),An("",r.description," "),_(1),w("ngIf",r.sampleReport)}}function Z3(e,t){if(1&e&&(ut(0),O(1,W3,10,5,"div",49),dt()),2&e){const r=t.$implicit,n=k();_(1),w("ngIf",!n.configuration.selectedType||r.types.indexOf(n.configuration.selectedType)>-1)}}function Y3(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",58),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeSourceDirectory(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),Tn("name","sourcedir_",r,""),w("ngModel",n.configuration.sourcedirectories[r])}}function Q3(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",59),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.plugins[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removePlugin(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),Tn("name","plugin_",r,""),w("ngModel",n.configuration.plugins[r])}}function X3(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",60),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeAssemblyFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),Tn("name","assemblyfilter_",r,""),w("ngModel",n.configuration.assemblyfilters[r])}}function J3(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",61),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.classfilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeClassFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),Tn("name","classfilter_",r,""),w("ngModel",n.configuration.classfilters[r])}}function K3(e,t){if(1&e){const r=Ae();h(0,"div",8)(1,"div",57)(2,"input",62),R("ngModelChange",function(o){const s=ne(r).index;return re(k().configuration.filefilters[s]=o)}),p(),h(3,"span",45),R("click",function(){const i=ne(r).index;return re(k().configuration.removeFileFilter(i))}),h(4,"a",46),v(5,"i",47),p()()()()}if(2&e){const r=t.index,n=k();_(2),Tn("name","filefilter_",r,""),w("ngModel",n.configuration.filefilters[r])}}function ej(e,t){if(1&e&&(h(0,"option",63),f(1),p()),2&e){const r=t.$implicit;w("value",r),_(1),Ce(r)}}function tj(e,t){if(1&e&&(h(0,"div",64)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",32),f(5),p()()),2&e){const r=t.$implicit;_(2),Ce(r.tool),_(3),Ce(r.command)}}function nj(e,t){1&e&&(h(0,"span"),v(1,"i",65),f(2," Copy"),p())}function rj(e,t){1&e&&(h(0,"span"),v(1,"i",66),f(2," Copied"),p())}function oj(e,t){if(1&e&&(h(0,"div",64)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",32),f(5),p()()),2&e){const r=t.$implicit;_(2),Ce(r.tool),_(3),Ce(r.command)}}function ij(e,t){1&e&&(h(0,"span"),v(1,"i",65),f(2," Copy"),p())}function sj(e,t){1&e&&(h(0,"span"),v(1,"i",66),f(2," Copied"),p())}const aj=function(){return["/pro"]},lj=[{path:"",component:YV,pathMatch:"full",title:"Home",data:{canonical:"/"}},{path:"features",component:BV,title:"Features",data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:GV,title:"Get started",data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:(()=>{var e;class t{constructor(){this.versions=Ft,this.lastResult="",this.usageCopied=!1,this.configuration=new O3,this.environments=[new oc(".NET Core",".NET Core"),new oc(".NET Framework","The full .NET framework"),new oc("Azure DevOps",null),new oc("Github Action",null)],this.packages=[new rc("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 Nh("Package Manager",`Install-Package ReportGenerator -Version ${Ft.version}`),new Nh(".NET CLI",`dotnet add package ReportGenerator --version ${Ft.version}`)],[new ys(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Ft.version}\\tools\\net47\\ReportGenerator.exe`),new ys(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Ft.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new rc("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 Nh(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${Ft.version}\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${Ft.version}\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version ${Ft.version}`)],[new ys(".NET Core","reportgenerator")]),new P3("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new ys("Azure DevOps","reportgenerator")]),new k3("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new ys("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,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=vt({type:e,selectors:[["app-usage-component"]],standalone:!0,features:[Mt],decls:219,vars:41,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"],[1,"me-2"],["type","button","class","btn btn-sm me-1 mb-1",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir"],["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,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[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","button",1,"btn","btn-sm","me-1","mb-1",3,"ngClass","click"],["class","form-check mt-1",4,"ngIf"],[1,"form-check","mt-1"],["type","checkbox","name","reporttype",1,"form-check-input",3,"checked","change"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[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,o){1&n&&(h(0,"div",0)(1,"h1",1),f(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),f(7,"Environment"),p(),O(8,F3,8,5,"div",4),v(9,"hr"),O(10,j3,4,1,"ng-container",5),v(11,"hr"),h(12,"h3"),f(13,"Reports"),p(),h(14,"div",6),f(15,"Path to the coverage report(s) that should be parsed."),v(16,"br"),f(17,"Globbing is supported."),p(),O(18,B3,4,6,"div",7),h(19,"div",8)(20,"a",9),R("click",function(){return o.configuration.addReport()}),v(21,"i",10),f(22," Add report"),p()(),v(23,"br"),h(24,"h3"),f(25,"Target directory"),p(),h(26,"div",6),f(27,"The directory where the generated report(s) should be saved."),p(),h(28,"div",8)(29,"input",11),R("ngModelChange",function(s){return o.configuration.targetdir=s}),p()(),v(30,"br"),h(31,"h3"),f(32,"Report types"),p(),h(33,"div",6),f(34,"Download "),h(35,"a",12),f(36,"sample reports"),p()(),h(37,"span",13),f(38,"Filter:"),p(),O(39,G3,2,5,"button",14),v(40,"br"),O(41,Z3,2,1,"ng-container",15),h(42,"h3"),f(43,"Source directories"),p(),h(44,"div",6),f(45,"Optional directories which contain the corresponding source code."),v(46,"br"),f(47,"The source directories are used if coverage report contains classes without path information."),p(),O(48,Y3,6,2,"div",16),h(49,"div",8)(50,"a",9),R("click",function(){return o.configuration.addSourceDirectory()}),v(51,"i",10),f(52," Add source directory"),p()(),v(53,"br"),h(54,"h3",17),f(55,"History directory"),p(),h(56,"div",6),f(57,"Optional directory for storing "),h(58,"b"),f(59,"persistent"),p(),f(60," coverage information. Choose a directory which does not get deleted between builds."),v(61,"br"),f(62,"Required to show the history chart in the HTML reports."),p(),h(63,"div",8)(64,"input",18),R("ngModelChange",function(s){return o.configuration.historydir=s}),p()(),v(65,"br"),h(66,"h3"),f(67,"Plugins"),p(),h(68,"div",6),f(69,"Optional plugin files for "),h(70,"a",19),f(71,"custom reports"),p(),f(72," or "),h(73,"a",20),f(74,"custom history storage"),p(),f(75,"."),p(),O(76,Q3,6,2,"div",16),h(77,"div",8)(78,"a",9),R("click",function(){return o.configuration.addPlugin()}),v(79,"i",10),f(80," Add plugin"),p()(),v(81,"br"),h(82,"h3"),f(83,"Assembly filters"),p(),h(84,"div",6),f(85,"Optional list of "),h(86,"b"),f(87,"assemblies"),p(),f(88," that should be included or excluded in the report. "),v(89,"br"),f(90,"Exclusion filters take precedence over inclusion filters. "),v(91,"br"),f(92,"Wildcards are allowed."),v(93,"br"),h(94,"p"),f(95,"Examples:"),v(96,"br"),h(97,"code"),f(98,"+Included"),p(),v(99,"br"),h(100,"code"),f(101,"-Excluded"),p()()(),O(102,X3,6,2,"div",16),h(103,"div",8)(104,"a",9),R("click",function(){return o.configuration.addAssemblyFilter()}),v(105,"i",10),f(106," Add assembly filter"),p()(),v(107,"br"),h(108,"h3"),f(109,"Class filters"),p(),h(110,"div",6),f(111,"Optional list of "),h(112,"b"),f(113,"classes"),p(),f(114," that should be included or excluded in the report. "),v(115,"br"),f(116,"Exclusion filters take precedence over inclusion filters. "),v(117,"br"),f(118,"Wildcards are allowed."),v(119,"br"),h(120,"p"),f(121,"Examples:"),v(122,"br"),h(123,"code"),f(124,"+Included"),p(),v(125,"br"),h(126,"code"),f(127,"-Excluded"),p()()(),O(128,J3,6,2,"div",16),h(129,"div",8)(130,"a",9),R("click",function(){return o.configuration.addClassFilter()}),v(131,"i",10),f(132," Add class filter"),p()(),v(133,"br"),h(134,"h3"),f(135,"File filters"),p(),h(136,"div",6),f(137,"Optional list of "),h(138,"b"),f(139,"files"),p(),f(140," that should be included or excluded in the report. "),v(141,"br"),f(142,"Exclusion filters take precedence over inclusion filters. "),v(143,"br"),f(144,"Wildcards are allowed."),v(145,"br"),h(146,"p"),f(147,"Examples:"),v(148,"br"),h(149,"code"),f(150,"+Included"),p(),v(151,"br"),h(152,"code"),f(153,"-Excluded"),p()()(),O(154,K3,6,2,"div",16),h(155,"div",8)(156,"a",9),R("click",function(){return o.configuration.addFileFilter()}),v(157,"i",10),f(158," Add file filter"),p()(),v(159,"br"),h(160,"h3"),f(161,"Verbosity"),p(),h(162,"div",6),f(163,"The verbosity level of the log messages."),p(),h(164,"div",8)(165,"select",21),R("ngModelChange",function(s){return o.configuration.selectedverbosity=s}),O(166,ej,2,2,"option",22),p()(),v(167,"br"),h(168,"h3"),f(169,"Title"),p(),h(170,"div",6),f(171,"Optional title."),p(),h(172,"div",8)(173,"input",23),R("ngModelChange",function(s){return o.configuration.title=s}),p()(),v(174,"br"),h(175,"h3"),f(176,"Tag"),p(),h(177,"div",6),f(178,"Optional tag or build version."),p(),h(179,"div",8)(180,"input",24),R("ngModelChange",function(s){return o.configuration.tag=s}),p()(),v(181,"br"),h(182,"h3"),f(183,"License"),p(),h(184,"div",6),f(185,"Optional license. Get your license here: "),h(186,"a",25),f(187,"https://reportgenerator.io/pro"),p()(),h(188,"div",8)(189,"textarea",26),R("ngModelChange",function(s){return o.configuration.license=s}),p()()()(),h(190,"div",27)(191,"div",28)(192,"h3"),f(193,"Instructions"),p(),f(194," Install "),h(195,"a",29),f(196),p(),O(197,tj,6,2,"div",30),h(198,"h4",31),f(199,"Usage"),p(),h(200,"pre",32),f(201),p(),h(202,"button",33),R("click",function(){return o.copy()}),O(203,nj,3,0,"span",5),O(204,rj,3,0,"span",5),p()(),h(205,"div",34)(206,"h3"),f(207,"Instructions"),p(),f(208," Install "),h(209,"a",29),f(210),p(),O(211,oj,6,2,"div",30),h(212,"h4",31),f(213,"Usage"),p(),h(214,"pre",32),f(215),p(),h(216,"button",33),R("click",function(){return o.copy()}),O(217,ij,3,0,"span",5),O(218,sj,3,0,"span",5),p()()()()()),2&n&&(_(8),w("ngForOf",o.environments),_(2),w("ngIf",o.severalPackagesAvailable()),_(8),w("ngForOf",o.configuration.reports)("ngForTrackBy",o.trackByIndex),_(11),w("ngModel",o.configuration.targetdir),_(10),w("ngForOf",o.configuration.types)("ngForTrackBy",o.trackByIndex),_(2),w("ngForOf",o.configuration.reporttypes)("ngForTrackBy",o.trackByIndex),_(7),w("ngForOf",o.configuration.sourcedirectories)("ngForTrackBy",o.trackByIndex),_(16),w("ngModel",o.configuration.historydir)("required",o.configuration.historyDirRequired()),_(12),w("ngForOf",o.configuration.plugins)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.assemblyfilters)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.classfilters)("ngForTrackBy",o.trackByIndex),_(26),w("ngForOf",o.configuration.filefilters)("ngForTrackBy",o.trackByIndex),_(11),w("ngModel",o.configuration.selectedverbosity),_(1),w("ngForOf",o.configuration.verbosities)("ngForTrackBy",o.trackByIndex),_(7),w("ngModel",o.configuration.title),_(7),w("ngModel",o.configuration.tag),_(6),w("routerLink",K(40,aj)),_(3),w("ngModel",o.configuration.license),_(6),w("href",o.selectedPackage.url,to),_(1),Ce(o.selectedPackage.name),_(1),w("ngForOf",o.selectedPackage.installOptions),_(4),Ce(o.getUsage()),_(2),w("ngIf",!o.usageCopied),_(1),w("ngIf",o.usageCopied),_(5),w("href",o.selectedPackage.url,to),_(1),Ce(o.selectedPackage.name),_(1),w("ngForOf",o.selectedPackage.installOptions),_(4),Ce(o.getUsage()),_(2),w("ngIf",!o.usageCopied),_(1),w("ngIf",o.usageCopied))},dependencies:[Jl,Yl,kw,Lw,Lo,Ql,_h,jl,Hl,Uo,Mh,gs,Ho,Df,gl,pl,pn],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]}),t})(),title:"Usage",data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:N3,title:"PRO",data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:UV,title:"Contact",data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:QV,title:"404 - Not found"},{path:"**",redirectTo:"/404"}];(function Pk(e,t){return SN({rootComponent:e,...RD(t)})})(pL,{providers:[_m(jk,(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Cn({type:e}),e.\u0275inj=Kt({imports:[jb.forRoot(lj,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),jb]}),t})(),Jl),u1,d1,s1,function xV(...e){const t=[Ah,t1,Kw,{provide:Kl,useExisting:Kw},{provide:ec,useExisting:t1},{provide:vs,useValue:AV,multi:!0},{provide:xh,useValue:!0},{provide:o1,useClass:TV}];for(const r of e)t.push(...r.\u0275providers);return Tu(t)}(function RV(){return function Tr(e,t){return{\u0275kind:e,\u0275providers:t}}(nr.LegacyInterceptors,[{provide:i1,useFactory:CV},{provide:vs,useExisting:i1,multi:!0}])}())]}).catch(e=>console.error(e))}},ue=>{ue(ue.s=603)}]); \ No newline at end of file diff --git a/docs/pro.html b/docs/pro.html index 3a3dd946..09b68adf 100644 --- a/docs/pro.html +++ b/docs/pro.html @@ -26,5 +26,5 @@ window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } } - + \ No newline at end of file diff --git a/docs/resources/SampleReports.zip b/docs/resources/SampleReports.zip index 7d8182e8..6dc6f8bf 100644 Binary files a/docs/resources/SampleReports.zip and b/docs/resources/SampleReports.zip differ diff --git a/docs/resources/reports/Badges/badge_branchcoverage.svg b/docs/resources/reports/Badges/badge_branchcoverage.svg index eaca144c..94e04d3b 100644 --- a/docs/resources/reports/Badges/badge_branchcoverage.svg +++ b/docs/resources/reports/Badges/badge_branchcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.1.25.0 + Generated by: ReportGenerator 5.1.26.0 diff --git a/docs/resources/reports/Badges/badge_combined.svg b/docs/resources/reports/Badges/badge_combined.svg index cdd16d41..682cde14 100644 --- a/docs/resources/reports/Badges/badge_combined.svg +++ b/docs/resources/reports/Badges/badge_combined.svg @@ -94,15 +94,15 @@ - Generated by: ReportGenerator 5.1.25.0 + Generated by: ReportGenerator 5.1.26.0 Coverage Coverage - 66.4%66.4% + 69.4%69.4% 50%50% - 58.3%58.3% + 66.6%66.6% diff --git a/docs/resources/reports/Badges/badge_linecoverage.svg b/docs/resources/reports/Badges/badge_linecoverage.svg index 5338ceec..18bf586a 100644 --- a/docs/resources/reports/Badges/badge_linecoverage.svg +++ b/docs/resources/reports/Badges/badge_linecoverage.svg @@ -94,13 +94,13 @@ - Generated by: ReportGenerator 5.1.25.0 + Generated by: ReportGenerator 5.1.26.0 Coverage Coverage - 66.4%66.4% + 69.4%69.4% diff --git a/docs/resources/reports/Badges/badge_methodcoverage.svg b/docs/resources/reports/Badges/badge_methodcoverage.svg index 96a2fd0e..ffcd52a2 100644 --- a/docs/resources/reports/Badges/badge_methodcoverage.svg +++ b/docs/resources/reports/Badges/badge_methodcoverage.svg @@ -94,7 +94,7 @@ - Generated by: ReportGenerator 5.1.25.0 + Generated by: ReportGenerator 5.1.26.0 @@ -102,7 +102,7 @@ Coverage - 58.3%58.3% + 66.6%66.6% diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_blue.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_blue.svg index d85bffd1..67dee145 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_blue.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_blue.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_brightgreen.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_brightgreen.svg index 095be8d9..f644fafa 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_brightgreen.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_brightgreen.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_green.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_green.svg index 2a38bcfb..abebce5d 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_green.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_green.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_lightgrey.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_lightgrey.svg index c7d67a2d..0b9851ed 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_lightgrey.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_lightgrey.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_orange.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_orange.svg index 6f316bff..30dc1e77 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_orange.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_orange.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_red.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_red.svg index 28fc79cd..f09b3fa6 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_red.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_red.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellow.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellow.svg index 3fef2f8c..0cef9cbb 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellow.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellow.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellowgreen.svg b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellowgreen.svg index 743ac22a..3229df6d 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellowgreen.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_linecoverage_yellowgreen.svg @@ -1 +1 @@ - coveragecoverage66%66% \ No newline at end of file + coveragecoverage69%69% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_blue.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_blue.svg index e08b6a7f..d85bffd1 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_blue.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_blue.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_brightgreen.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_brightgreen.svg index 4d52d96e..095be8d9 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_brightgreen.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_brightgreen.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_green.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_green.svg index f25876b5..2a38bcfb 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_green.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_green.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_lightgrey.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_lightgrey.svg index 44d2fd06..c7d67a2d 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_lightgrey.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_lightgrey.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_orange.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_orange.svg index b6811cfd..6f316bff 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_orange.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_orange.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_red.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_red.svg index e568cfe5..28fc79cd 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_red.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_red.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellow.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellow.svg index ee7bb898..3fef2f8c 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellow.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellow.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellowgreen.svg b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellowgreen.svg index 6894be2f..743ac22a 100644 --- a/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellowgreen.svg +++ b/docs/resources/reports/Badges/badge_shieldsio_methodcoverage_yellowgreen.svg @@ -1 +1 @@ - coveragecoverage58%58% \ No newline at end of file + coveragecoverage66%66% \ No newline at end of file diff --git a/docs/resources/reports/Clover/Clover.xml b/docs/resources/reports/Clover/Clover.xml index e6e52b1e..c70afe87 100644 --- a/docs/resources/reports/Clover/Clover.xml +++ b/docs/resources/reports/Clover/Clover.xml @@ -1,9 +1,9 @@ - - - + + + - + @@ -38,69 +38,13 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -110,10 +54,45 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -161,7 +140,7 @@ - + \ No newline at end of file diff --git a/docs/resources/reports/Cobertura/Cobertura.xml b/docs/resources/reports/Cobertura/Cobertura.xml index d90876e6..521b523e 100644 --- a/docs/resources/reports/Cobertura/Cobertura.xml +++ b/docs/resources/reports/Cobertura/Cobertura.xml @@ -1,9 +1,9 @@ - + - + @@ -85,178 +85,136 @@ - + - + - - - - - - - - - - - - - - - + + + - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + + + + + + + + + + + + + - + - - - + + + + + + + - + - - - - + + + + + - + - - - + + + - + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - diff --git a/docs/resources/reports/CsvSummary/Summary.csv b/docs/resources/reports/CsvSummary/Summary.csv index 583210d2..af0ec846 100644 --- a/docs/resources/reports/CsvSummary/Summary.csv +++ b/docs/resources/reports/CsvSummary/Summary.csv @@ -1,18 +1,18 @@ Summary -Generated on:;03.10.2023 - 20:43:27 +Generated on:;05.10.2023 - 22:36:23 Parser:;OpenCover Assemblies:;1 Classes:;4 Files:;5 -Line coverage:;66.4% -Covered lines:;83 -Uncovered lines:;42 -Coverable lines:;125 -Total lines:;260 +Line coverage:;69.4% +Covered lines:;75 +Uncovered lines:;33 +Coverable lines:;108 +Total lines:;273 -Sample;66.4% +Sample;69.4% Sample.PartialClass;54.5% -Sample.TestClass;57.1% -Test.Program;79.5% +Test.Program;100.0% +Test.TestClass;72.7% Test.TestClass2;63.1% diff --git a/docs/resources/reports/Html/Sample_PartialClass.html b/docs/resources/reports/Html/Sample_PartialClass.html index f0282a81..06839d31 100644 --- a/docs/resources/reports/Html/Sample_PartialClass.html +++ b/docs/resources/reports/Html/Sample_PartialClass.html @@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -271,7 +271,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/Sample_Program.html b/docs/resources/reports/Html/Sample_Program.html index e4c0ef19..c83606fb 100644 --- a/docs/resources/reports/Html/Sample_Program.html +++ b/docs/resources/reports/Html/Sample_Program.html @@ -36,28 +36,28 @@

< Summary

Line coverage
-
79%
+
100%
- + - + - + - + - +
Covered lines:3515
Uncovered lines:90
Coverable lines:4415
Total lines:8475
Line coverage:79.5%100%
@@ -88,20 +88,20 @@

< Summary

Method coverage
-
66%
+
100%
- + - + - +
Covered methods:43
Total methods:63
Method coverage:66.6%100%
@@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -191,9 +191,6 @@

Metrics

- - - @@ -209,97 +206,85 @@

C:\temp\Program.cs

- - - - - - - - - - + + + + + + + + + + - - + + - - - + + + - - + + - + - - + + - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + +
MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Main(...)100%11088%
CSharp_ExecuteTest1()0%2100%
CSharp_ExecuteTest2()0%2100%
CallAsyncMethod()100%330100%
.ctor(...)100%110100%
SendAsync(...)100%110100%
 1using System.Net.Http;
 2using System.Threading;
 3using System.Threading.Tasks;
 4using Microsoft.VisualStudio.TestTools.UnitTesting;
 5
 6namespace Test
 7{
 8    [TestClass]
 9    public class Program
 10    {
 11        static void Main(string[] args)
 112        {
 113            new TestClass().SampleFunction();
 4
 5namespace Test
 6{
 7    public class Program
 8    {
 9        public static void Main(string[] args)
 10        {
 11            new TestClass().SampleFunction();
 12            new TestClass().ParentMethod();
 13            new TestClass().MethodWithLambda();
 14
 115            new TestClass2("Test").ExecutedMethod();
 116            new TestClass2("Test").SampleFunction("Munich");
 15            new TestClass2("Test").ExecutedMethod();
 16            new TestClass2("Test").SampleFunction("Munich");
 17
 118            new PartialClass().ExecutedMethod_1();
 119            new PartialClass().ExecutedMethod_2();
 120            new PartialClass().SomeProperty = -10;
 18            new PartialClass().ExecutedMethod_1();
 19            new PartialClass().ExecutedMethod_2();
 20            new PartialClass().SomeProperty = -10;
 21
 122            new PartialClassWithAutoProperties().Property1 = "Test";
 123            new PartialClassWithAutoProperties().Property2 = "Test";
 222            new PartialClassWithAutoProperties().Property1 = "Test";
 23            new PartialClassWithAutoProperties().Property2 = "Test";
 24
 125            new SomeClass().Property1 = "Test";
 25            new SomeClass().Property1 = "Test";
 26
 127            new ClassWithExcludes().IncludedMethod();
 128            new ClassWithExcludes().ExcludedMethod();
 27            new ClassWithExcludes().IncludedMethod();
 28            new ClassWithExcludes().ExcludedMethod();
 29
 130            new GenericClass<SomeModel, IState>().Process(null);
 131            new GenericClass<SomeModel, IState>().PostProcess(null);
 30            new GenericClass<SomeModel, IState>().Process(null);
 31            new GenericClass<SomeModel, IState>().PostProcess(null);
 32
 133            new CodeContract_Target().Calculate(-1);
 33            new CodeContract_Target().Calculate(-1);
 34
 135            new AbstractClass_SampleImpl1();
 136            new AbstractClass_SampleImpl2();
 35            new AbstractClass_SampleImpl1();
 36            new AbstractClass_SampleImpl2();
 37
 138            CallAsyncMethod();
 38            CallAsyncMethod();
 39
 40            try
 141            {
 142                new CodeContract_Target().Calculate(0);
 143            }
 044            catch (System.ArgumentException)
 045            {
 046            }
 147        }
 48
 49        [TestMethod]
 50        public void CSharp_ExecuteTest1()
 051        {
 052            Main(null);
 053        }
 54
 55        [TestMethod]
 56        public void CSharp_ExecuteTest2()
 057        {
 058            Main(null);
 059        }
 60
 61        private static async void CallAsyncMethod()
 162        {
 163            var expected = new HttpResponseMessage();
 164            var handler = new AsyncClass() { InnerHandler = new EchoHandler(expected) };
 165            var invoker = new HttpMessageInvoker(handler, false);
 166            var actual = await invoker.SendAsync(new HttpRequestMessage(), new CancellationToken());
 167        }
 41            {
 42                new CodeContract_Target().Calculate(0);
 43            }
 44            catch (System.ArgumentException)
 45            {
 46            }
 47
 48            new GenericAsyncClass<object>().MyAsyncMethod().Wait();
 49            new ClassWithLocalFunctions<object>.MyNestedClass<object>().MyAsyncMethod<object>(null).GetAwaiter().GetResu
 250        }
 51
 52        private static async void CallAsyncMethod()
 53        {
 54            var expected = new HttpResponseMessage();
 55            var handler = new AsyncClass() { InnerHandler = new EchoHandler(expected) };
 56            var invoker = new HttpMessageInvoker(handler, false);
 57            var actual = await invoker.SendAsync(new HttpRequestMessage(), new CancellationToken());
 58        }
 59
 60        private class EchoHandler : DelegatingHandler
 61        {
 162            private HttpResponseMessage _response;
 163
 164            public EchoHandler(HttpResponseMessage response)
 165            {
 166                this._response = response;
 167            }
 68
 69        private class EchoHandler : DelegatingHandler
 70        {
 71            private HttpResponseMessage _response;
 72
 173            public EchoHandler(HttpResponseMessage response)
 174            {
 175                this._response = response;
 176            }
 77
 78            protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancell
 179            {
 180                return Task.FromResult(this._response);
 181            }
 82        }
 83    }
 84}
 69            protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancell
 70            {
 71                return Task.FromResult(this._response);
 72            }
 173        }
 174    }
 175}
-
+

Methods/Properties

-Main(System.String[])
-CSharp_ExecuteTest1()
-CSharp_ExecuteTest2()
CallAsyncMethod()
.ctor(System.Net.Http.HttpResponseMessage)
SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
diff --git a/docs/resources/reports/Html/Sample_TestClass.html b/docs/resources/reports/Html/Sample_TestClass.html index 6ce73238..b6448712 100644 --- a/docs/resources/reports/Html/Sample_TestClass.html +++ b/docs/resources/reports/Html/Sample_TestClass.html @@ -5,7 +5,7 @@ -Sample.TestClass - Coverage Report +Test.TestClass - Coverage Report

< Summary

@@ -17,7 +17,7 @@

< Summary

- + @@ -36,12 +36,12 @@

< Summary

Line coverage
-
57%
+
72%
Class:Sample.TestClassTest.TestClass
Assembly:
- + @@ -49,15 +49,15 @@

< Summary

- + - + - +
Covered lines:1224
Uncovered lines:
Coverable lines:2133
Total lines:3860
Line coverage:57.1%72.7%
@@ -71,15 +71,15 @@

< Summary

- + - + - +
Covered branches:12
Total branches:24
Branch coverage:50%50%
@@ -88,20 +88,20 @@

< Summary

Method coverage
-
50%
+
80%
- + - + - +
Covered methods:14
Total methods:25
Method coverage:50%80%
@@ -109,7 +109,7 @@

< Summary

Coverage history

-
+

Metrics

- + - - + + + + +
MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
SampleFunction()66.67%3.143275%
SampleFunction()0%2100%
SampleFunction()50%4480%
ParentMethod()100%11100%
NestedLocalFunction(System.String)100%11100%
MethodWithLambda()100%11100%
SampleFunction()100%110%
@@ -206,52 +209,77 @@

C:\temp\TestClass.cs

#LineLine coverage  1using System;23namespace Test4{5    class TestClass6    {7        public void SampleFunction() - 18        { - 19            string test = string.Format( - 110                "{0} {1}", - 111                 "Hello", - 112                 "World");13 - 114            Console.WriteLine(test); - 115            int i = 10;16 - 117            if (i > 0 || i > 1) - 118            { - 119                Console.WriteLine(i + " is greater that 0"); - 120            }21            else - 022            { - 023                Console.WriteLine(i + " is not greater that 0"); - 024            } - 125        }2627        public class NestedClass28        {29            public void SampleFunction() - 030            { - 031                Console.WriteLine( - 032                    "{0} {1}", - 033                     "Hello", - 034                     "World"); - 035            }36        }37    }38}2using System.Linq;34namespace Test5{6    class TestClass7    {8        public void SampleFunction() + 29        { + 210            string test = string.Format( + 211                "{0} {1}", + 212                 "Hello", + 213                 "World");14 + 215            Console.WriteLine(test); + 216            int i = 10;17 + 218            if (i > 0 || i > 1) + 219            { + 220                Console.WriteLine(i + " is greater that 0"); + 221            }22            else + 023            { + 024                Console.WriteLine(i + " is not greater that 0"); + 025            } + 226        }2728        public void ParentMethod() + 229        { + 230            string resultFromLocalFunction = NestedLocalFunction("Hello");31 + 232            Console.WriteLine(resultFromLocalFunction);3334            string NestedLocalFunction(string input) + 235            { + 236                return input + " world"; + 237            } + 238        }3940        public void MethodWithLambda() + 241        { + 842            var chars = "abc".Where(c => c == 'a').ToArray();43 + 844            var lambda = (char c) => c == 'a';45 + 246            var chars2 = "abc".Where(lambda).ToArray(); + 247        }4849        public class NestedClass50        {51            public void SampleFunction() + 052            { + 053                Console.WriteLine( + 054                    "{0} {1}", + 055                     "Hello", + 056                     "World"); + 057            }58        }59    }60}
-
+

Metrics

@@ -297,7 +297,7 @@

C:\temp\TestClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/Html/index.html b/docs/resources/reports/Html/index.html index 29717566..1d131178 100644 --- a/docs/resources/reports/Html/index.html +++ b/docs/resources/reports/Html/index.html @@ -38,28 +38,28 @@

Summary
Line coverage
@@ -90,12 +90,12 @@

Summary
Method coverage
-
58%
+
66%
- + @@ -103,7 +103,7 @@

Summary58.3% +

Covered methods:1416
Total methods:66.6%
@@ -111,7 +111,7 @@

Summary +

Risk Hotspots

@@ -220,16 +220,16 @@

Coverage

Line coverageBranch coverageMethod coverage NameCoveredUncoveredCoverableTotalPercentageCoveredTotalPercentageCoveredTotalPercentage -Sample834212526066.4%
  
3650%
  
142458.3%
  
+Sample753310827369.4%
  
4850%
  
162466.6%
  
Sample.PartialClass1210225354.5%
  
1250%
  
3650%
  
-Sample.TestClass129213857.1%
  
1250%
  
1250%
  
-Test.Program359448479.5%
  
00
 
4666.6%
  
+Test.Program1501575100%
 
00
 
33100%
 
+Test.TestClass249336072.7%
  
2450%
  
4580%
  
Test.TestClass22414388563.1%
  
1250%
  
61060%
  
-

+
@@ -1092,10 +1092,10 @@ { "name": "Sample", "classes": [ - { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "03.10.2023 - 20:43:11", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, - { "name": "Sample.TestClass", "rp": "", "cl": 12, "ucl": 9, "cal": 21, "tl": 38, "cb": 1, "tb": 2, "cm": 1, "tm": 2, "lch": [38,38,42.8,42.8,47.6,47.6,57.1], "bch": [50,60,60,65,65,50,50], "mch": [50,50,50,50,50,50,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "03.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 12, "tb": 20, "bcq": 60, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 12, "tb": 20, "bcq": 60, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "05.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "06.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "07.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "08.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "09.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "03.10.2023 - 20:43:11", "cl": 12, "ucl": 9, "cal": 21, "tl": 38, "lcq": 57.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }], "metrics": { "cc": 3, "npth": 2, "seq": 0, "bcov": 0, "crp": 3.14 } }, - { "name": "Test.Program", "rp": "", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "cb": 0, "tb": 0, "cm": 4, "tm": 6, "lch": [79.5], "bch": [], "mch": [66.6], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.10.2023 - 20:43:11", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }], "metrics": { "cc": 3, "npth": 0, "seq": 0, "bcov": 0, "crp": 3 } }, - { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "03.10.2023 - 20:43:11", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, + { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "05.10.2023 - 22:36:09", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, + { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 75, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.10.2023 - 22:36:09", "cl": 15, "ucl": 0, "cal": 15, "tl": 75, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, + { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 60, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "05.10.2023 - 22:36:09", "cl": 24, "ucl": 9, "cal": 33, "tl": 60, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, + { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "05.10.2023 - 22:36:09", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, ]}, ]; @@ -1159,5 +1159,5 @@ (()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(332)},332:()=>{!function(t){const n=t.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,T){n&&n.measure&&n.measure(M,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class M{static assertZonePatched(){if(t.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=M.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,A),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(A,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(A,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===A||e.state===E){e._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CM.hasTask(e,r),onScheduleTask:(M,T,e,r)=>M.scheduleTask(e,r),onInvokeTask:(M,T,e,r,k,C)=>M.invokeTask(e,r,k,C),onCancelTask:(M,T,e,r)=>M.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,M)}else t[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),t.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Me(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=j("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=ie(t,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ct]&&v.removeAttribute(n),L}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),L="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return e.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[L];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const M=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(M),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(M);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new e((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=ke+i,a=ke+o;te[t]={},te[t][ae]=c,te[t][ce]=a}function dt(t,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",L="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const L=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,L),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],L))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],L))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(p,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,L)}),a=le(t,i,v=>function(p,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(t,L)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function mt(t,n){n.patchEventPrototype(t,n)})(t,i),function pt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const L=p.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(L,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=321)}]); -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{538:()=>{function _e(e){return"function"==typeof e}function ti(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 ni=ti(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 Gr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Tt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(_e(r))try{r()}catch(i){t=i instanceof ni?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{cd(i)}catch(s){t=t??[],s instanceof ni?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ni(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cd(t);else{if(t instanceof Tt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&Gr(n,t)}remove(t){const{_teardowns:n}=this;n&&Gr(n,t),t instanceof Tt&&t._removeParent(this)}}Tt.EMPTY=(()=>{const e=new Tt;return e.closed=!0,e})();const ad=Tt.EMPTY;function ld(e){return e instanceof Tt||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function cd(e){_e(e)?e():e.unsubscribe()}const Tn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ri={setTimeout(...e){const{delegate:t}=ri;return(t?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=ri;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ud(e){ri.setTimeout(()=>{const{onUnhandledError:t}=Tn;if(!t)throw e;t(e)})}function oi(){}const Xy=fa("C",void 0,void 0);function fa(e,t,n){return{kind:e,value:t,error:n}}let Nn=null;function ii(e){if(Tn.useDeprecatedSynchronousErrorHandling){const t=!Nn;if(t&&(Nn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Nn;if(Nn=null,n)throw r}}else e()}class ha extends Tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ld(t)&&t.add(this)):this.destination=rC}static create(t,n,r){return new pa(t,n,r)}next(t){this.isStopped?ma(function tC(e){return fa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ma(function eC(e){return fa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ma(Xy,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()}}}class pa extends ha{constructor(t,n,r){let o;if(super(),_e(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&Tn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=o?.bind(i),n=n?.bind(i),r=r?.bind(i)}this.destination={next:o?ga(o):oi,error:ga(n??dd),complete:r?ga(r):oi}}}function ga(e,t){return(...n)=>{try{e(...n)}catch(r){Tn.useDeprecatedSynchronousErrorHandling?function nC(e){Tn.useDeprecatedSynchronousErrorHandling&&Nn&&(Nn.errorThrown=!0,Nn.error=e)}(r):ud(r)}}}function dd(e){throw e}function ma(e,t){const{onStoppedNotification:n}=Tn;n&&ri.setTimeout(()=>n(e,t))}const rC={closed:!0,next:oi,error:dd,complete:oi},_a="function"==typeof Symbol&&Symbol.observable||"@@observable";function va(e){return e}let je=(()=>{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 iC(e){return e&&e instanceof ha||function oC(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(e)&&ld(e)}(n)?n:new pa(n,r,o);return ii(()=>{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=hd(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[_a](){return this}pipe(...n){return function fd(e){return 0===e.length?va:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=hd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function hd(e){var t;return null!==(t=e??Tn.Promise)&&void 0!==t?t:Promise}const sC=ti(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let si=(()=>{class e extends je{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new pd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new sC}next(n){ii(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){ii(()=>{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(){ii(()=>{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=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?ad:(i.push(n),new Tt(()=>Gr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new je;return n.source=this,n}}return e.create=(t,n)=>new pd(t,n),e})();class pd extends si{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:ad}}class aC extends si{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)}}function cn(e){return t=>{if(function lC(e){return _e(e?.lift)}(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")}}class zt extends ha{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function ya(e,t){return cn((n,r)=>{let o=0;n.subscribe(new zt(r,i=>{r.next(e.call(t,i,o++))}))})}function xn(e){return this instanceof xn?(this.v=e,this):new xn(e)}function fC(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 _d(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(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const vd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function yd(e){return _e(e?.then)}function Cd(e){return _e(e[_a])}function Dd(e){return Symbol.asyncIterator&&_e(e?.[Symbol.asyncIterator])}function wd(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 bd=function pC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ed(e){return _e(e?.[bd])}function Id(e){return function dC(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(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof xn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield xn(n.read());if(o)return yield xn(void 0);yield yield xn(r)}}finally{n.releaseLock()}})}function Md(e){return _e(e?.getReader)}function un(e){if(e instanceof je)return e;if(null!=e){if(Cd(e))return function gC(e){return new je(t=>{const n=e[_a]();if(_e(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vd(e))return function mC(e){return new je(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ud)})}(e);if(Dd(e))return Sd(e);if(Ed(e))return function vC(e){return new je(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Md(e))return function yC(e){return Sd(Id(e))}(e)}throw wd(e)}function Sd(e){return new je(t=>{(function CC(e,t){var n,r,o,i;return function cC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=fC(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 dn(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 Ad(e,t,n=1/0){return _e(t)?Ad((r,o)=>ya((i,s)=>t(r,i,o,s))(un(e(r,o))),n):("number"==typeof t&&(n=t),cn((r,o)=>function DC(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},p=w=>c{i&&t.next(w),c++;let I=!1;un(n(w,u++)).subscribe(new zt(t,A=>{o?.(A),i?p(A):t.next(A)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cm(A)):m(A)}h()}catch(A){t.error(A)}}))};return e.subscribe(new zt(t,p,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}const Da=new je(e=>e.complete());function wa(e){return e[e.length-1]}function Td(e){return function EC(e){return e&&_e(e.schedule)}(wa(e))?e.pop():void 0}function Nd(e,t=0){return cn((n,r)=>{n.subscribe(new zt(r,o=>dn(r,e,()=>r.next(o),t),()=>dn(r,e,()=>r.complete(),t),o=>dn(r,e,()=>r.error(o),t)))})}function xd(e,t=0){return cn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Od(e,t){if(!e)throw new Error("Iterable cannot be null");return new je(n=>{dn(n,t,()=>{const r=e[Symbol.asyncIterator]();dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ai(e,t){return t?function OC(e,t){if(null!=e){if(Cd(e))return function SC(e,t){return un(e).pipe(xd(t),Nd(t))}(e,t);if(vd(e))return function TC(e,t){return new je(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(yd(e))return function AC(e,t){return un(e).pipe(xd(t),Nd(t))}(e,t);if(Dd(e))return Od(e,t);if(Ed(e))return function NC(e,t){return new je(n=>{let r;return dn(n,t,()=>{r=e[bd](),dn(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)}),()=>_e(r?.return)&&r.return()})}(e,t);if(Md(e))return function xC(e,t){return Od(Id(e),t)}(e,t)}throw wd(e)}(e,t):un(e)}function RC(...e){const t=Td(e),n=function MC(e,t){return"number"==typeof wa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?un(r[0]):function wC(e=1/0){return Ad(va,e)}(n)(ai(r,t)):Da}function Rd(e={}){const{connector:t=(()=>new si),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=null},p=()=>{h(),s=l=null,u=d=!1},m=()=>{const w=s;p(),w?.unsubscribe()};return cn((w,I)=>{c++,!d&&!u&&h();const A=l=l??t();I.add(()=>{c--,0===c&&!d&&!u&&(a=ba(m,o))}),A.subscribe(I),s||(s=new pa({next:D=>A.next(D),error:D=>{d=!0,h(),a=ba(p,n,D),A.error(D)},complete:()=>{u=!0,h(),a=ba(p,r),A.complete()}}),ai(w).subscribe(s))})(i)}}function ba(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function PC(e){return e<=0?()=>Da:cn((t,n)=>{let r=0;t.subscribe(new zt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function VC(e,t){return e===t}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function li(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).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 Ea(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const HC=ie({__forward_ref__:ie});function de(e){return e.__forward_ref__=de,e.toString=function(){return Se(this())},e}function V(e){return Ia(e)?e():e}function Ia(e){return"function"==typeof e&&e.hasOwnProperty(HC)&&e.__forward_ref__===de}function Ma(e){return e&&!!e.\u0275providers}const Fd="https://g.co/ng/security#xss";class S extends Error{constructor(t,n){super(function ci(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function H(e){return"string"==typeof e?e:null==e?"":String(e)}function Sa(e,t){throw new S(-201,!1)}function ft(e,t){null==e&&function P(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ui(e){return Pd(e,fi)||Pd(e,kd)}function Pd(e,t){return e.hasOwnProperty(t)?e[t]:null}function di(e){return e&&(e.hasOwnProperty(Aa)||e.hasOwnProperty(qC))?e[Aa]:null}const fi=ie({\u0275prov:ie}),Aa=ie({\u0275inj:ie}),kd=ie({ngInjectableDef:ie}),qC=ie({ngInjectorDef:ie});var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let Ta;function Ye(e){const t=Ta;return Ta=e,t}function Vd(e,t,n){const r=ui(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&K.Optional?null:void 0!==t?t:void Sa(Se(e))}const le=globalThis,qr={},Fa="__NG_DI_FLAG__",hi="ngTempTokenPath",QC=/\n/gm,Bd="__source";let Yn;function fn(e){const t=Yn;return Yn=e,t}function JC(e,t=K.Default){if(void 0===Yn)throw new S(-203,!1);return null===Yn?Vd(e,void 0,t):Yn.get(e,t&K.Optional?null:void 0,t)}function J(e,t=K.Default){return(function Ld(){return Ta}()||JC)(V(e),t)}function ce(e,t=K.Default){return J(e,pi(t))}function pi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pa(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==zd(p,c,0)||2&r&&c!==h){if(yt(r))return!1;s=!0}}}}else{if(!s&&!yt(r)&&!yt(l))return!1;if(s&&yt(l))continue;s=!1,r=l|1&r}}return yt(r)||s}function yt(e){return 0==(1&e)}function iD(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&&!yt(s)&&(t+=Kd(i,o),o=""),r=s,i=i||!yt(r);n++}return""!==o&&(t+=Kd(i,o)),t}function Zt(e){return qt(()=>{const t=Xd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};ef(n);const r=e.dependencies;return n.directiveDefs=_i(r,!1),n.pipeDefs=_i(r,!0),n.id=function vD(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function pD(e){return X(e)||Re(e)}function gD(e){return null!==e}function hn(e){return qt(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jd(e,t){if(null==e)return Nt;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}function j(e){return qt(()=>{const t=Xd(e);return ef(t),t})}function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[mi]||null}function Re(e){return e[ka]||null}function $e(e){return e[La]||null}function Xd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jd(e.inputs,t),outputs:Jd(e.outputs)}}function ef(e){e.features?.forEach(t=>t(e))}function _i(e,t){if(!e)return null;const n=t?$e:pD;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(gD)}const De=0,T=1,$=2,ge=3,Ct=4,Kr=5,ke=6,Kn=7,we=8,pn=9,Jn=10,B=11,Jr=12,tf=13,Xn=14,be=15,Xr=16,er=17,xt=18,eo=19,nf=20,gn=21,Qt=22,vi=23,yi=24,W=25,Ha=1,rf=2,Ot=7,tr=9,Fe=11;function Je(e){return Array.isArray(e)&&"object"==typeof e[Ha]}function Xe(e){return Array.isArray(e)&&!0===e[Ha]}function Ba(e){return 0!=(4&e.flags)}function Rn(e){return e.componentOffset>-1}function Di(e){return 1==(1&e.flags)}function Dt(e){return!!e.template}function ja(e){return 0!=(512&e[$])}function Fn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}let ED=le.WeakRef??class bD{constructor(t){this.ref=t}deref(){return this.ref}},MD=0,Rt=null,wi=!1;function xe(e){const t=Rt;return Rt=e,t}class cf{constructor(){this.id=MD++,this.ref=function ID(e){return new ED(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=wi;wi=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{wi=t}}producerAccessed(){if(wi)throw new Error("");if(null===Rt)return;let t=Rt.producers.get(this.id);void 0===t?(t={consumerNode:Rt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Rt.trackingVersion},Rt.producers.set(this.id,t),this.consumers.set(Rt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Rt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Rt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let uf=null;const ff=()=>{};class ND extends cf{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=ff,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=xe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ff,this.watch(this.registerOnCleanup)}finally{xe(t)}}cleanup(){this.cleanupFn()}}class xD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Yt(){return hf}function hf(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),OD}function OD(){const e=gf(this),t=e?.current;if(t){const n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function RD(e,t,n,r){const o=this.declaredInputs[n],i=gf(e)||function FD(e,t){return e[pf]=t}(e,{previous:Nt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new xD(l&&l.currentValue,t,a===Nt),e[r]=t}Yt.ngInherit=!0;const pf="__ngSimpleChanges__";function gf(e){return e[pf]||null}const Ft=function(e,t,n){};function fe(e){for(;Array.isArray(e);)e=e[De];return e}function Ii(e,t){return fe(t[e])}function et(e,t){return fe(t[e.index])}function vf(e,t){return e.data[t]}function at(e,t){const n=t[e];return Je(n)?n:n[De]}function mn(e,t){return null==t?null:e[t]}function yf(e){e[er]=0}function jD(e){1024&e[$]||(e[$]|=1024,Df(e,1))}function Cf(e){1024&e[$]&&(e[$]&=-1025,Df(e,-1))}function Df(e,t){let n=e[ge];if(null===n)return;n[Kr]+=t;let r=n;for(n=n[ge];null!==n&&(1===t&&1===r[Kr]||-1===t&&0===r[Kr]);)n[Kr]+=t,r=n,n=n[ge]}const k={lFrame:Of(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ef(){return k.bindingsEnabled}function E(){return k.lFrame.lView}function ee(){return k.lFrame.tView}function G(e){return k.lFrame.contextLView=e,e[we]}function q(e){return k.lFrame.contextLView=null,e}function Pe(){let e=If();for(;null!==e&&64===e.type;)e=e.parent;return e}function If(){return k.lFrame.currentTNode}function Pt(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function Wa(){return k.lFrame.isParent}function Za(){k.lFrame.isParent=!1}function Ue(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function or(){return k.lFrame.bindingIndex++}function Jt(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function XD(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qa(t)}function Qa(e){k.lFrame.currentDirectiveIndex=e}function Ka(e){k.lFrame.currentQueryIndex=e}function tw(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Nf(e,t,n){if(n&K.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&K.Host||(o=tw(i),null===o||(i=i[Xn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=xf();return r.currentTNode=t,r.lView=e,!0}function Ja(e){const t=xf(),n=e[T];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xf(){const e=k.lFrame,t=null===e?null:e.child;return null===t?Of(e):t}function Of(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 Rf(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ff=Rf;function Xa(){const e=Rf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ze(){return k.lFrame.selectedIndex}function Pn(e){k.lFrame.selectedIndex=e}function ve(){const e=k.lFrame;return vf(e.tView,e.selectedIndex)}let Lf=!0;function Mi(){return Lf}function _n(e){Lf=e}function Si(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[er]+=65536),(a>13>16&&(3&e[$])===t&&(e[$]+=8192,Hf(a,i)):Hf(a,i)}const ir=-1;class ro{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function nl(e){return e!==ir}function oo(e){return 32767&e}function io(e,t){let n=function fw(e){return e>>16}(e),r=t;for(;n>0;)r=r[Xn],n--;return r}let rl=!0;function Ni(e){const t=rl;return rl=e,t}const Bf=255,jf=5;let hw=0;const kt={};function xi(e,t){const n=$f(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ol(r.data,e),ol(t,null),ol(r.blueprint,null));const o=Oi(e,t),i=e.injectorIndex;if(nl(o)){const s=oo(o),a=io(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function ol(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $f(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Oi(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=Qf(o),null===r)return ir;if(n++,o=o[Xn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ir}function il(e,t,n){!function pw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zr)&&(r=n[Zr]),null==r&&(r=n[Zr]=hw++);const o=r&Bf;t.data[e+(o>>jf)]|=1<=0?t&Bf:yw:t}(n);if("function"==typeof i){if(!Nf(t,e,r))return r&K.Host?Uf(o,0,r):zf(t,n,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;Sa()}finally{Ff()}}else if("number"==typeof i){let s=null,a=$f(e,t),l=ir,c=r&K.Host?t[be][ke]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?Oi(e,t):t[a+8],l!==ir&&Zf(r,!1)?(s=t[T],a=oo(l),t=io(l,t)):a=-1);-1!==a;){const u=t[T];if(Wf(i,a,u.data)){const d=mw(a,t,n,s,r,c);if(d!==kt)return d}l=t[a+8],l!==ir&&Zf(r,t[T].data[a+8]===c)&&Wf(i,a,t)?(s=u,a=oo(l),t=io(l,t)):a=-1}}return o}function mw(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],u=function Ri(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&m.type===n)return p}if(o){const p=s[l];if(p&&Dt(p)&&p.type===n)return l}return null}(a,s,n,null==r?Rn(a)&&rl:r!=s&&0!=(3&a.type),o&K.Host&&i===a);return null!==u?kn(t,s,u,a):kt}function kn(e,t,n,r){let o=e[n];const i=t.data;if(function cw(e){return e instanceof ro}(o)){const s=o;s.resolving&&function BC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():H(e)}(i[n]));const a=Ni(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ye(s.injectImpl):null;Nf(e,r,K.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function aw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=hf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Ye(c),Ni(a),s.resolving=!1,Ff()}}return o}function Wf(e,t,n){return!!(n[t+(e>>jf)]&1<{const t=e.prototype.constructor,n=t[Wt]||sl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||sl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function sl(e){return Ia(e)?()=>{const t=sl(V(e));return t&&t()}:Fn(e)}function Qf(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}const ar="__parameters__";function cr(e,t,n){return qt(()=>{const r=function ll(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,c,u){const d=l.hasOwnProperty(ar)?l[ar]:Object.defineProperty(l,ar,{value:[]})[ar];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function dr(e,t){e.forEach(n=>Array.isArray(n)?dr(n,t):t(n))}function Kf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Fi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lt(e,t,n){let r=fr(e,t);return r>=0?e[1|r]=n:(r=~r,function Sw(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 cl(e,t){const n=fr(e,t);if(n>=0)return e[1|n]}function fr(e,t){return function Jf(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<|^->||--!>|)/,Yw="\u200b$1\u200b";const ml=new Map;let Kw=0;const vl="__ngContext__";function Ve(e,t){Je(t)?(e[vl]=t[eo],function Xw(e){ml.set(e[eo],e)}(t)):e[vl]=t}let yl;function Cl(e,t){return yl(e,t)}function fo(e){const t=e[ge];return Xe(t)?t[ge]:t}function vh(e){return Ch(e[Jr])}function yh(e){return Ch(e[Ct])}function Ch(e){for(;null!==e&&!Xe(e);)e=e[Ct];return e}function gr(e,t,n,r,o){if(null!=r){let i,s=!1;Xe(r)?i=r:Je(r)&&(s=!0,r=r[De]);const a=fe(r);0===e&&null!==n?null==o?Eh(t,n,a):Ln(t,n,a,o||null,!0):1===e&&null!==n?Ln(t,n,a,o||null,!0):2===e?function Wi(e,t,n){const r=Gi(e,t);r&&function vb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Db(e,t,n,r,o){const i=n[Ot];i!==fe(n)&&gr(t,e,r,i,o);for(let a=Fe;at.replace(Qw,Yw))}(t))}function Ui(e,t,n){return e.createElement(t,n)}function wh(e,t){const n=e[tr],r=n.indexOf(t);Cf(t),n.splice(r,1)}function zi(e,t){if(e.length<=Fe)return;const n=Fe+t,r=e[n];if(r){const o=r[Xr];null!==o&&o!==e&&wh(o,r),t>0&&(e[n-1][Ct]=r[Ct]);const i=Fi(e,Fe+t);!function ub(e,t){po(e,t,t[B],2,null,null),t[De]=null,t[ke]=null}(r[T],r);const s=i[xt];null!==s&&s.detachView(i[T]),r[ge]=null,r[Ct]=null,r[$]&=-129}return r}function wl(e,t){if(!(256&t[$])){const n=t[B];t[vi]?.destroy(),t[yi]?.destroy(),n.destroyNode&&po(e,t,n,3,null,null),function hb(e){let t=e[Jr];if(!t)return bl(e[T],e);for(;t;){let n=null;if(Je(t))n=t[Jr];else{const r=t[Fe];r&&(n=r)}if(!n){for(;t&&!t[Ct]&&t!==e;)Je(t)&&bl(t[T],t),t=t[ge];null===t&&(t=e),Je(t)&&bl(t[T],t),n=t&&t[Ct]}t=n}}(t)}}function bl(e,t){if(!(256&t[$])){t[$]&=-129,t[$]|=256,function _b(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Kn]=null);const o=t[gn];if(null!==o){t[gn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===vt.None||i===vt.Emulated)return null}return et(r,n)}}(e,t.parent,n)}function Ln(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Eh(e,t,n){e.appendChild(t,n)}function Ih(e,t,n,r,o){null!==r?Ln(e,t,n,r,o):Eh(e,t,n)}function Gi(e,t){return e.parentNode(t)}let Il,Tl,Ah=function Sh(e,t,n){return 40&e.type?et(e,n):null};function qi(e,t,n,r){const o=El(e,r,t),i=t[B],a=function Mh(e,t,n){return Ah(e,t,n)}(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{n.push(s)};return dr(t,s=>{const a=s;Ji(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Yh(o,i),n}function Yh(e,t){for(let n=0;n{t(i,r)})}}function Ji(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=di(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=di(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 c of l)Ji(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{dr(i.imports,u=>{Ji(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Yh(c,t)}if(!a){const c=Fn(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Wh,useValue:o,multi:!0},o),t({provide:Ki,useValue:()=>J(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;kl(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function kl(e,t){for(let n of e)Ma(n)&&(n=n.\u0275providers),Array.isArray(n)?kl(n,t):t(n)}const Jb=ie({provide:String,useValue:ie});function Ll(e){return null!==e&&"object"==typeof e&&Jb in e}function Vn(e){return"function"==typeof e}const Vl=new R("Set Injector scope."),Xi={},eE={};let Hl;function es(){return void 0===Hl&&(Hl=new Pl),Hl}class en{}class ts extends en{get destroyed(){return this._destroyed}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,jl(t,s=>this.processProvider(s)),this.records.set(qh,yr(void 0,this)),o.has("environment")&&this.records.set(en,yr(void 0,this));const i=this.records.get(Vl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wh.multi,te,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=fn(this),r=Ye(void 0);try{return t()}finally{fn(n),Ye(r)}}get(t,n=qr,r=K.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ud))return t[Ud](this);r=pi(r);const i=fn(this),s=Ye(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function iE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&ui(t);l=c&&this.injectableDefInScope(c)?yr(Bl(t),Xi):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&K.Self?es():this.parent).get(t,n=r&K.Optional&&n===qr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[hi]=a[hi]||[]).unshift(Se(t)),i)throw a;return function eD(e,t,n,r){const o=e[hi];throw t[Bd]&&o.unshift(t[Bd]),e.message=function tD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(t);if(Array.isArray(t))o=t.map(Se).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):Se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(QC,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),fn(i)}}resolveInjectorInitializers(){const t=fn(this),n=Ye(void 0);try{const o=this.get(Ki.multi,te,K.Self);for(const i of o)i()}finally{fn(t),Ye(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Vn(t=V(t))?t:V(t&&t.provide);const r=function nE(e){return Ll(e)?yr(void 0,e.useValue):yr(Xh(e),Xi)}(t);if(Vn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=yr(void 0,Xi,!0),o.factory=()=>Pa(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xi&&(n.value=eE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function oE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Bl(e){const t=ui(e),n=null!==t?t.factory:Fn(e);if(null!==n)return n;if(e instanceof R)throw new S(204,!1);if(e instanceof Function)return function tE(e){const t=e.length;if(t>0)throw function lo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function Xh(e,t,n){let r;if(Vn(e)){const o=V(e);return Fn(o)||Bl(o)}if(Ll(e))r=()=>V(e.useValue);else if(function Jh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Pa(e.deps||[]));else if(function Kh(e){return!(!e||!e.useExisting)}(e))r=()=>J(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function rE(e){return!!e.deps}(e))return Fn(o)||Bl(o);r=()=>new o(...Pa(e.deps))}return r}function yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jl(e,t){for(const n of e)Array.isArray(n)?jl(n,t):n&&Ma(n)?jl(n.\u0275providers,t):t(n)}const ns=new R("AppId",{providedIn:"root",factory:()=>sE}),sE="ng",ep=new R("Platform Initializer"),Cr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tp=new R("CSP nonce",{providedIn:"root",factory:()=>function _r(){if(void 0!==Tl)return Tl;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let rp=(e,t,n)=>null;function Zl(e,t,n=!1){return rp(e,t,n)}class mE{}class sp{}class vE{resolveComponentFactory(t){throw function _E(e){const t=Error(`No component factory found for ${Se(e)}.`);return t.ngComponent=e,t}(t)}}let ls=(()=>{class t{}return t.NULL=new vE,t})();function yE(){return wr(Pe(),E())}function wr(e,t){return new wt(et(e,t))}let wt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=yE,t})();class lp{}let Hn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function DE(){const e=E(),n=at(Pe().index,e);return(Je(n)?n:e)[B]}(),t})(),wE=(()=>{var e;class t{}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),t})();class cs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bE=new cs("16.2.0"),Kl={};function fp(e,t=null,n=null,r){const o=hp(e,t,n,r);return o.resolveInjectorInitializers(),o}function hp(e,t=null,n=null,r,o=new Set){const i=[n||te,Kb(e)];return r=r||("object"==typeof e?void 0:Se(e)),new ts(i,t||es(),r||null,o)}let bt=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return fp({name:""},o,r,"");{const i=r.name??"";return fp({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=qr,e.NULL=new Pl,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>J(qh)}),e.__NG_ELEMENT_ID__=-1,t})();function ec(e){return e.ownerDocument.defaultView}let tc=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new S(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const r of this.callbacks)r.invoke()}finally{this.runningCallbacks=!1;for(const r of this.deferredCallbacks)this.callbacks.add(r);this.deferredCallbacks.clear()}}register(r){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(r)}unregister(r){this.callbacks.delete(r),this.deferredCallbacks.delete(r)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function Do(e){for(;e;){e[$]|=64;const t=fo(e);if(ja(e)&&!t)return e;e=t}return null}function nc(e){return e.ngOriginalError}class Bn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&nc(t);for(;n&&nc(n);)n=nc(n);return n||null}}const vp=new R("",{providedIn:"root",factory:()=>!1});class wp extends cf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Do(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=xe(this);this.trackingVersion++;try{t(n,r)}finally{xe(o)}}destroy(){this.trackingVersion++}}let ds=null;function bp(){return ds??=new wp,ds}function Ep(e,t){return e[t]??bp()}function Ip(e,t){const n=bp();n.hasReadASignal&&(e[t]=ds,n.lView=e,ds=new wp)}const U={};function f(e){Mp(ee(),E(),ze()+e,!1)}function Mp(e,t,n,r){if(!r)if(3==(3&t[$])){const i=e.preOrderCheckHooks;null!==i&&Ai(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ti(t,i,0,n)}Pn(n)}function M(e,t=K.Default){const n=E();return null===n?J(e,t):Gf(Pe(),n,V(e),t)}function fs(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[De]=o,d[$]=140|r,(null!==c||e&&2048&e[$])&&(d[$]|=2048),yf(d),d[ge]=d[Xn]=e,d[we]=n,d[Jn]=s||e&&e[Jn],d[B]=a||e&&e[B],d[pn]=l||e&&e[pn]||null,d[ke]=i,d[eo]=function Jw(){return Kw++}(),d[Qt]=u,d[nf]=c,d[be]=2==t.type?e[be]:d,d}function Ir(e,t,n,r,o){let i=e.data[t];if(null===i)i=function rc(e,t,n,r,o){const i=If(),s=Wa(),l=e.data[t]=function qE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function rr(){return null!==k.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function JD(){return k.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function no(){const e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Pt(i,!0),i}function wo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iW&&Mp(e,t,W,!1),Ft(a?2:0,o),a)i.runInContext(n,r,o);else{const c=xe(null);try{n(r,o)}finally{xe(c)}}}finally{a&&null===t[vi]&&Ip(t,vi),Pn(s),Ft(a?3:1,o)}}function oc(e,t,n){if(Ba(t)){const r=xe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Np(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?xp(n,t,o,i):r.hasOwnProperty(o)&&xp(n,t,r[o],i)}return n}function xp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ct(e,t,n,r,o,i,s,a){const l=et(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(fc(e,n,u,r,o),Rn(t)&&function QE(e,t){const n=at(t,e);16&n[$]||(n[$]|=64)}(n,t.index)):3&t.type&&(r=function ZE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function lc(e,t,n,r){if(Ef()){const o=null===r?null:{"":-1},i=function t0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,wo(e,n,o.hostVars,U),o)}function Lt(e,t,n,r,o,i){const s=et(e,t);!function uc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[B],s,i,e.value,n,r,o)}function l0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,a=new ND(r,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function ps(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Up(e,1);const o=e[T].components;null!==o&&Gp(e,o,1)}}function Gp(e,t,n){for(let r=0;r-1&&(zi(t,r),Fi(n,r))}this._attachedToViewContainer=!1}wl(this._lView[T],this._lView)}onDestroy(t){!function wf(e,t){if(256==(256&e[$]))throw new S(911,!1);null===e[gn]&&(e[gn]=[]),e[gn].push(t)}(this._lView,t)}markForCheck(){Do(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){this._lView[$]|=128}detectChanges(){gs(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fb(e,t){po(e,t,t[B],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class _0 extends Eo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;gs(t[T],t,t[we],!1)}checkNoChanges(){}get context(){return null}}class qp extends ls{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=X(t);return new Io(n,this.ngModule)}}function Wp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class y0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=pi(r);const o=this.injector.get(t,Kl,r);return o!==Kl||n===Kl?o:this.parentInjector.get(t,n,r)}}class Io extends sp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Wp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Wp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function dD(e){return e.map(uD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof en?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new y0(t,i):t,a=s.get(lp,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(wE,null),effectManager:s.get(jp,null),afterRenderEventManager:s.get(tc,null)},h=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=r?function jE(e,t,n,r){const i=r.get(vp,!1)||n===vt.ShadowDom,s=e.selectRootElement(t,i);return function $E(e){Tp(e)}(s),s}(h,r,this.componentDef.encapsulation,s):Ui(h,p,function v0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),A=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==m&&(D=Zl(m,s,!0));const O=ac(0,null,null,1,0,null,null,null,null,null,null),L=fs(null,O,null,A,null,null,d,h,s,null,D);let Y,ot;Ja(L);try{const ln=this.componentDef;let zr,sd=null;ln.findHostDirectiveDefs?(zr=[],sd=new Map,ln.findHostDirectiveDefs(ln,zr,sd),zr.push(ln)):zr=[ln];const YF=function D0(e,t){const n=e[T],r=W;return e[r]=t,Ir(n,r,2,"#host",null)}(L,m),KF=function w0(e,t,n,r,o,i,s){const a=o[T];!function b0(e,t,n,r){for(const o of e)t.mergedAttrs=Qr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ps(t,t.mergedAttrs,!0),null!==n&&Fh(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Zl(t,o[pn]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=fs(o,Ap(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&cc(a,e,r.length-1),hs(o,d),o[e.index]=d}(YF,m,ln,zr,L,d,h);ot=vf(O,W),m&&function I0(e,t,n,r){if(r)Va(e,n,["ng-version",bE.full]);else{const{attrs:o,classes:i}=function fD(e){const t=[],n=[];let r=1,o=2;for(;r0&&Rh(e,n,i.join(" "))}}(h,ln,m,r),void 0!==n&&function M0(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Qr(o.hostAttrs,n=Qr(n,o.hostAttrs))}}(r)}function ms(e){return e===Nt?{}:e===te?[]:e}function T0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function N0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function x0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function _s(e){return!!pc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e,t,n){return e[t]=n}function He(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function jn(e,t,n,r){const o=He(e,t,n);return He(e,t+1,r)||o}function Et(e,t,n,r){const o=E();return He(o,or(),t)&&(ee(),Lt(ve(),o,e,t,n,r)),Et}function Sr(e,t,n,r){return He(e,or(),n)?t+H(n)+r:U}function C(e,t,n,r,o,i,s,a){const l=E(),c=ee(),u=e+W,d=c.firstCreatePass?function rI(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Ir(t,e,4,s||null,mn(c,a));lc(t,n,u,mn(c,l)),Si(t,u);const d=u.tView=ac(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Pt(d,!1);const h=ug(c,l,d,e);Mi()&&qi(c,l,h,d),Ve(h,l),hs(l,l[u]=Pp(h,l,h,d)),Di(d)&&ic(c,l,d),null!=s&&sc(l,d,a)}let ug=function dg(e,t,n,r){return _n(!0),t[B].createComment("")};function g(e,t,n){const r=E();return He(r,or(),t)&&ct(ee(),ve(),r,e,t,r[B],n,!1),g}function Cc(e,t,n,r,o){const s=o?"class":"style";fc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=E(),i=ee(),s=W+e,a=o[B],l=i.firstCreatePass?function lI(e,t,n,r,o,i){const s=t.consts,l=Ir(t,e,2,r,mn(s,o));return lc(t,n,l,mn(s,i)),null!==l.attrs&&ps(l,l.attrs,!1),null!==l.mergedAttrs&&ps(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=fg(i,o,l,a,t,e);o[s]=c;const u=Di(l);return Pt(l,!0),Fh(a,c,l),32!=(32&l.flags)&&Mi()&&qi(i,o,c,l),0===function UD(){return k.lFrame.elementDepthCount}()&&Ve(c,o),function zD(){k.lFrame.elementDepthCount++}(),u&&(ic(i,o,l),oc(i,l,o)),null!==r&&sc(o,l),y}function v(){let e=Pe();Wa()?Za():(e=e.parent,Pt(e,!1));const t=e;(function qD(e){return k.skipHydrationRootTNode===e})(t)&&function YD(){k.skipHydrationRootTNode=null}(),function GD(){k.lFrame.elementDepthCount--}();const n=ee();return n.firstCreatePass&&(Si(n,e),Ba(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function uw(e){return 0!=(8&e.flags)}(t)&&Cc(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function dw(e){return 0!=(16&e.flags)}(t)&&Cc(n,t,E(),t.stylesWithoutHost,!1),v}function N(e,t,n,r){return y(e,t,n,r),v(),N}let fg=(e,t,n,r,o,i)=>(_n(!0),Ui(r,o,function kf(){return k.lFrame.currentNamespace}()));function Z(e,t,n){const r=E(),o=ee(),i=e+W,s=o.firstCreatePass?function dI(e,t,n,r,o){const i=t.consts,s=mn(i,r),a=Ir(t,e,8,"ng-container",s);return null!==s&&ps(a,s,!0),lc(t,n,a,mn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Pt(s,!0);const a=pg(o,r,s,e);return r[i]=a,Mi()&&qi(o,r,a,s),Ve(a,r),Di(s)&&(ic(o,r,s),oc(o,s,r)),null!=n&&sc(r,s),Z}function Q(){let e=Pe();const t=ee();return Wa()?Za():(e=e.parent,Pt(e,!1)),t.firstCreatePass&&(Si(t,e),Ba(e)&&t.queries.elementEnd(e)),Q}let pg=(e,t,n,r)=>(_n(!0),Dl(t[B],""));function ye(){return E()}function ws(e){return!!e&&"function"==typeof e.then}function gg(e){return!!e&&"function"==typeof e.subscribe}function F(e,t,n,r){const o=E(),i=ee(),s=Pe();return function _g(e,t,n,r,o,i,s){const a=Di(r),c=e.firstCreatePass&&function Vp(e){return e.cleanup||(e.cleanup=[])}(e),u=t[we],d=function Lp(e){return e[Kn]||(e[Kn]=[])}(t);let h=!0;if(3&r.type||s){const w=et(r,t),I=s?s(w):w,A=d.length,D=s?L=>s(fe(L[r.index])):r.index;let O=null;if(!s&&a&&(O=function pI(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!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=yg(r,t,u,i,!1);const L=n.listen(I,o,i);d.push(i,L),c&&c.push(o,D,A,A+1)}}else i=yg(r,t,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let I=0;I-1?at(e.index,t):t);let l=vg(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=vg(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function _(e=1){return function nw(e){return(k.lFrame.contextLView=function rw(e,t){for(;e>0;)t=t[Xn],e--;return t}(e,k.lFrame.contextLView))[we]}(e)}function Dn(e,t,n){return Dc(e,"",t,"",n),Dn}function Dc(e,t,n,r,o){const i=E(),s=Sr(i,t,n,r);return s!==U&&ct(ee(),ve(),i,e,s,i[B],o,!1),Dc}function bs(e,t){return e<<17|t<<2}function wn(e){return e>>17&32767}function wc(e){return 2|e}function $n(e){return(131068&e)>>2}function bc(e,t){return-131069&e|t<<2}function Ec(e){return 1|e}function Ag(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?wn(i):$n(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];bI(e[a],t)&&(l=!0,e[a+1]=r?Ec(u):wc(u)),a=r?wn(u):$n(u)}l&&(e[n+1]=r?wc(i):Ec(i))}function bI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fr(e,t)>=0}const Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tg(e){return e.substring(Te.key,Te.keyEnd)}function Ng(e,t){const n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=function SI(e,t,n){for(;t32;)t++;return t}(e,Te.key=t,n),Pr(e,t,n))}function Pr(e,t,n){for(;t=0;n=Ng(t,n))lt(e,Tg(t),!0)}function kg(e,t){return t>=e.expandoStartIndex}function Lg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[ze()],s=kg(e,n);jg(i,r)&&null===t&&!s&&(t=!1),t=function OI(e,t,n,r){const o=function Ya(e){const t=k.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=No(n=Ic(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Ic(o,e,t,n,r),null===i){let l=function RI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==$n(r))return e[wn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Ic(null,e,t,l[1],r),l=No(l,t.attrs,r),function FI(e,t,n,r){e[wn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function PI(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const h=wn(e[a+1]);e[r+1]=bs(h,a),0!==h&&(e[h+1]=bc(e[h+1],r)),e[a+1]=function yI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=bs(a,0),0!==a&&(e[a+1]=bc(e[a+1],r)),a=r;else e[r+1]=bs(l,0),0===a?a=r:e[l+1]=bc(e[l+1],r),l=r;c&&(e[r+1]=wc(e[r+1])),Ag(e,u,r,!0),Ag(e,u,r,!1),function wI(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&fr(i,t)>=0&&(n[r+1]=Ec(n[r+1]))}(t,u,e,r,i),s=bs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Ic(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],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===U&&(h=d?te:void 0);let p=d?cl(h,r):u===r?h:void 0;if(c&&!Is(p)&&(p=cl(l,r)),Is(p)&&(a=p,s))return a;const m=e[o+1];o=s?wn(m):$n(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=cl(l,r))}return a}function Is(e){return void 0!==e}function jg(e,t){return 0!=(e.flags&(t?8:16))}function b(e,t=""){const n=E(),r=ee(),o=e+W,i=r.firstCreatePass?Ir(r,o,1,t,null):r.data[o],s=$g(r,n,i,t,e);n[o]=s,Mi()&&qi(r,n,s,i),Pt(i,!1)}let $g=(e,t,n,r,o)=>(_n(!0),function $i(e,t){return e.createText(t)}(t[B],r));function x(e){return z("",e,""),x}function z(e,t,n){const r=E(),o=Sr(r,e,t,n);return o!==U&&function nn(e,t,n){const r=Ii(t,e);!function Dh(e,t,n){e.setValue(t,n)}(e[B],r,n)}(r,ze(),o),z}function jt(e,t,n){!function Mt(e,t,n,r){const o=ee(),i=Jt(2);o.firstUpdatePass&&Lg(o,null,i,r);const s=E();if(n!==U&&He(s,i,n)){const a=o.data[ze()];if(jg(a,r)&&!kg(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ea(l,n||"")),Cc(o,a,s,n,r)}else!function VI(e,t,n,r,o,i,s,a){o===U&&(o=te);let l=0,c=0,u=0>20;if(Vn(e)||!e.multi){const p=new ro(c,o,M),m=Nc(l,t,o?u:u+h,d);-1===m?(il(xi(a,s),i,l),Tc(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Nc(l,t,u+h,d),m=Nc(l,t,u,u+h),I=m>=0&&n[m];if(o&&!I||!o&&!(p>=0&&n[p])){il(xi(a,s),i,l);const A=function iM(e,t,n,r,o){const i=new ro(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,Pm(i,o,r&&!n),i}(o?oM:rM,n.length,o,r,c);!o&&I&&(n[m].providerFactory=A),Tc(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else Tc(i,e,p>-1?p:m,Pm(n[o?m:p],c,!o&&r));!o&&r&&I&&n[m].componentProviders++}}}function Tc(e,t,n,r){const o=Vn(t),i=function Xb(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Pm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Nc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function nM(e,t,n){const r=ee();if(r.firstCreatePass){const o=Dt(e);Ac(n,r.data,r.blueprint,o,!0),Ac(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class zn{}class sM{}class Oc extends zn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qp(this);const o=function st(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function tn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=hp(t,n,[{provide:zn,useValue:this},{provide:ls,useValue:this.componentFactoryResolver},...r],Se(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 Rc extends sM{constructor(t){super(),this.moduleType=t}create(t){return new Oc(this.moduleType,t,[])}}function Ns(e,t,n,r){return function Um(e,t,n,r,o,i){const s=t+n;return He(e,s,o)?Vt(e,s+1,i?r.call(i,o):r(o)):ko(e,s+1)}(E(),Ue(),e,t,n,r)}function Pc(e,t,n,r,o){return function zm(e,t,n,r,o,i,s){const a=t+n;return jn(e,a,o,i)?Vt(e,a+2,s?r.call(s,o,i):r(o,i)):ko(e,a+2)}(E(),Ue(),e,t,n,r,o)}function Oe(e,t,n,r,o,i){return Gm(E(),Ue(),e,t,n,r,o,i)}function ko(e,t){const n=e[t];return n===U?void 0:n}function Gm(e,t,n,r,o,i,s,a){const l=t+n;return function vs(e,t,n,r,o){const i=jn(e,t,n,r);return He(e,t+2,o)||i}(e,l,o,i,s)?Vt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):ko(e,l+3)}function Qm(e,t,n,r,o){const i=e+W,s=E(),a=function nr(e,t){return e[t]}(s,i);return function Lo(e,t){return e[T].data[t].pure}(s,i)?Gm(s,Ue(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function kc(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class OM extends si{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=kc(i),o&&(o=kc(o)),s&&(s=kc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Tt&&t.add(a),a}};function PM(e,t,n,r=!0){const o=t[T];if(function pb(e,t,n,r){const o=Fe+r,i=n.length;r>0&&(n[o-1][Ct]=t),r{class t{}return t.__NG_ELEMENT_ID__=VM,t})();const kM=rn,LM=class extends kM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function FM(e,t,n,r){const o=t.tView,a=fs(e,o,n,4096&e[$]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Xr]=e[t.index];const c=e[xt];return null!==c&&(a[xt]=c.createEmbeddedView(o)),hc(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Eo(o)}};function VM(){return function xs(e,t){return 4&e.type?new LM(t,e,wr(e,t)):null}(Pe(),E())}let $t=(()=>{class t{}return t.__NG_ELEMENT_ID__=zM,t})();function zM(){return function n_(e,t){let n;const r=t[e.index];return Xe(r)?n=r:(n=Pp(r,t,null,e),t[e.index]=n,hs(t,n)),r_(n,t,e,r),new e_(n,e,t)}(Pe(),E())}const GM=$t,e_=class extends GM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const t=Oi(this._hostTNode,this._hostLView);if(nl(t)){const n=io(t,this._hostLView),r=oo(t);return new Ge(n[T].data[r+8],n)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=t_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function ao(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const w=n||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}const l=s?t:new Io(X(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const I=(s?c:this.parentInjector).get(en,null);I&&(i=I)}X(l.componentType??{});const p=l.create(c,o,null,i);return this.insertImpl(p.hostView,a,false),p}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function BD(e){return Xe(e[ge])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[ge],u=new e_(c,c[ke],c[ge]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return PM(a,o,s,!r),t.attachToViewContainerRef(),Kf(Vc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=t_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=zi(this._lContainer,n);r&&(Fi(Vc(this._lContainer),n),wl(r[T],r))}detach(t){const n=this._adjustIndex(t,-1),r=zi(this._lContainer,n);return r&&null!=Fi(Vc(this._lContainer),n)?new Eo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function t_(e){return e[8]}function Vc(e){return e[8]||(e[8]=[])}let r_=function o_(e,t,n,r){if(e[Ot])return;let o;o=8&n.type?fe(r):function qM(e,t){const n=e[B],r=n.createComment(""),o=et(t,e);return Ln(n,Gi(n,o),r,function yb(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ot]=o};const MS=new R("Application Initializer");let Zc=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=ce(MS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(ws(s))r.push(s);else if(gg(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const on=new R("LocaleId",{providedIn:"root",factory:()=>ce(on,K.Optional|K.SkipSelf)||function AS(){return typeof $localize<"u"&&$localize.locale||Lr}()});let xS=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new aC(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function N_(...e){}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function JS(){const e="function"==typeof le.requestAnimationFrame;let t=le[e?"requestAnimationFrame":"setTimeout"],n=le[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function tA(e){const t=()=>{!function eA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(le,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jc(e),e.isCheckStableRunning=!0,Kc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return x_(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),O_(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return x_(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),O_(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Jc(e),Kc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(Ne.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,XS,N_,N_);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 XS={};function Kc(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 Jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function x_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function O_(e){e._nesting--,Kc(e)}class nA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}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 R_=new R("",{providedIn:"root",factory:F_});function F_(){const e=ce(Ne);let t=!0;return RC(new je(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new je(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Rd()))}const P_=new R(""),Ps=new R("");let tu,Xc=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,tu||(function rA(e){tu=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ne),J(eu),J(Ps))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),eu=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return tu?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),bn=null;const k_=new R("AllowMultipleToken"),nu=new R("PlatformDestroyListeners"),L_=new R("appBootstrapListener");function B_(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=ru();if(!s||s.injector.get(k_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function sA(e){if(bn&&!bn.get(k_,!1))throw new S(400,!1);(function V_(){!function AD(e){uf=e}(()=>{throw new S(600,!1)})})(),bn=e;const t=e.get($_);(function H_(e){e.get(ep,null)?.forEach(n=>n())})(e)}(function j_(e=[],t){return bt.create({name:t,providers:[{provide:Vl,useValue:"platform"},{provide:nu,useValue:new Set([()=>bn=null])},...e]})}(a,r))}return function lA(e){const t=ru();if(!t)throw new S(401,!1);return t}()}}function ru(){return bn?.get($_)??null}let $_=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function cA(e="zone.js",t){return"noop"===e?new nA:"zone.js"===e?new Ne(t):e}(o?.ngZone,function U_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function lM(e,t,n){return new Oc(e,t,n)}(r.moduleType,this.injector,function Z_(e){return[{provide:Ne,useFactory:e},{provide:Ki,multi:!0,useFactory:()=>{const t=ce(dA,{optional:!0});return()=>t.initialize()}},{provide:W_,useFactory:uA},{provide:R_,useFactory:F_}]}(()=>i)),a=s.injector.get(Bn,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{ks(this._modules,s),l.unsubscribe()})}),function z_(e,t,n){try{const r=n();return ws(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=s.injector.get(Zc);return l.runInitializers(),l.donePromise.then(()=>(function dm(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(um=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(on,Lr)||Lr),this._moduleDoBootstrap(s),s))})})}bootstrapModule(r,o=[]){const i=G_({},o);return function oA(e,t,n){const r=new Rc(n);return Promise.resolve(r)}(0,0,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){const o=r.injector.get(Bo);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new S(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(nu,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(J(bt))},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function G_(e,t){return Array.isArray(t)?t.reduce(G_,e):{...e,...t}}let Bo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ce(W_),this.zoneIsStable=ce(R_),this.componentTypes=[],this.components=[],this.isStable=ce(xS).hasPendingTasks.pipe(function kC(e,t){return cn((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(new zt(r,l=>{o?.unsubscribe();let c=0;const u=i++;un(e(l,u)).subscribe(o=new zt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>r?function FC(...e){return ai(e,Td(e))}(!1):this.zoneIsStable),function LC(e,t=va){return e=e??VC,cn((n,r)=>{let o,i=!0;n.subscribe(new zt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Rd()),this._injector=ce(en)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof sp;if(!this._injector.get(Zc).done)throw!i&&function Yr(e){const t=X(e)||Re(e)||$e(e);return null!==t&&t.standalone}(r),new S(405,!1);let a;a=i?r:this._injector.get(ls).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const l=function iA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(zn),u=a.create(bt.NULL,[],o||a.selector,l),d=u.location.nativeElement,h=u.injector.get(P_,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ks(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;ks(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(L_,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ks(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ks(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const W_=new R("",{providedIn:"root",factory:()=>ce(Bn).handleError.bind(void 0)});function uA(){const e=ce(Ne),t=ce(Bn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let dA=(()=>{var e;class t{constructor(){this.zone=ce(Ne),this.applicationRef=ce(Bo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let Y_=(()=>{class t{}return t.__NG_ELEMENT_ID__=hA,t})();function hA(e){return function pA(e,t,n){if(Rn(e)&&!n){const r=at(e.index,t);return new Eo(r,r)}return 47&e.type?new Eo(t[be],t):null}(Pe(),E(),16==(16&e))}class X_{constructor(){}supports(t){return _s(t)}create(t){return new CA(t)}}const yA=(e,t)=>t;class CA{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||yA}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 DA(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 ev),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 ev),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 DA{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 wA{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 ev{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new wA,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 tv(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 EA(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 EA{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 rv(){return new Hs([new X_])}let Hs=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||rv()),deps:[[t,new fl,new dl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:rv}),t})();function ov(){return new jo([new nv])}let jo=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ov()),deps:[[t,new fl,new dl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:ov}),t})();const SA=B_(null,"core",[]);let AA=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Bo))},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();let uu=null;function $o(){return uu}class jA{}const qn=new R("DocumentToken"),Cu=/\s+/,Cv=[];let Go=(()=>{var e;class t{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Cv,this.stateMap=new Map}set klass(r){this.initialClasses=null!=r?r.trim().split(Cu):Cv}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(Cu):r}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const o of r)this._updateState(o,!0);else if(null!=r)for(const o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){const i=this.stateMap.get(r);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){(r=r.trim()).length>0&&r.split(Cu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hs),M(jo),M(wt),M(Hn))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class TT{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 jr=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new TT(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),wv(l,i)}});for(let i=0,s=o.length;i{wv(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(rn),M(Hs))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function wv(e,t){e.context.$implicit=t.item}let Wn=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new NT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){bv("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){bv("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(rn))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class NT{constructor(){this.$implicit=null,this.ngIf=null}}function bv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(t)}'.`)}let Mv=(()=>{var e;class t{transform(r,o,i){if(null==r)return null;if(!this.supports(r))throw function At(e,t){return new S(2100,!1)}();return r.slice(o,i)}supports(r){return"string"==typeof r||Array.isArray(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Ke({name:"slice",type:e,pure:!1,standalone:!0}),t})(),tN=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();function Av(e){return"server"===e}class TN extends jA{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Su extends TN{static makeCurrent(){!function BA(e){uu||(uu=e)}(new Su)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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 NN(){return Wo=Wo||document.querySelector("base"),Wo?Wo.getAttribute("href"):null}();return null==n?null:function xN(e){Xs=Xs||document.createElement("a"),Xs.setAttribute("href",e);const t=Xs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function ST(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}(document.cookie,t)}}let Xs,Wo=null,RN=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Au=new R("EventManagerPlugins");let Rv=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Au),J(Ne))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Fv{constructor(t){this._doc=t}}const Tu="ng-app-id";let Pv=(()=>{var e;class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Av(s),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${Tu}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){const i=this.styleRef;if(i.has(r)){const s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Tu),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Tu,this.appId),a}}addStyleToHost(r,o){const i=this.getStyleElement(r,o);r.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn),J(ns),J(tp,8),J(Cr))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Nu={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/"},xu=/%COMP%/g,LN=new R("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Lv(e,t){return t.map(n=>n.replace(xu,e))}let Vv=(()=>{var e;class t{constructor(r,o,i,s,a,l,c,u=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Av(l),this.defaultRenderer=new Ou(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===vt.ShadowDom&&(o={...o,encapsulation:vt.Emulated});const i=this.getOrCreateRenderer(r,o);return i instanceof Bv?i.applyToHost(r):i instanceof Ru&&i.applyStyles(),i}getOrCreateRenderer(r,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case vt.Emulated:s=new Bv(c,u,o,this.appId,d,a,l,h);break;case vt.ShadowDom:return new jN(c,u,r,o,a,l,this.nonce,h);default:s=new Ru(c,u,o,d,a,l,h)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Rv),J(Pv),J(ns),J(LN),J(qn),J(Cr),J(Ne),J(tp))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Ou{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Nu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Hv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Hv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new S(-5104,!1);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=Nu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Nu[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&(vn.DashCase|vn.Important)?t.style.setProperty(n,r,o&vn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&vn.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){if("string"==typeof t&&!(t=$o().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Hv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class jN extends Ou{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Lv(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ru extends Ou{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?Lv(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Bv extends Ru{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function VN(e){return"_ngcontent-%COMP%".replace(xu,e)}(c),this.hostAttr=function HN(e){return"_nghost-%COMP%".replace(xu,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let $N=(()=>{var e;class t extends Fv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const jv=["alt","control","meta","shift"],UN={"\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"},zN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let GN=(()=>{var e;class t extends Fv{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$o().onAndCancel(r,s.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),jv.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=UN[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),jv.forEach(a=>{a!==i&&(0,zN[a])(r)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const QN=B_(SA,"browser",[{provide:Cr,useValue:"browser"},{provide:ep,useValue:function qN(){Su.makeCurrent()},multi:!0},{provide:qn,useFactory:function ZN(){return function Sb(e){Tl=e}(document),document},deps:[]}]),YN=new R(""),zv=[{provide:Ps,useClass:class ON{addToWindow(t){le.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},le.getAllAngularTestabilities=()=>t.getAllTestabilities(),le.getAllAngularRootElements=()=>t.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const o=le.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?$o().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:P_,useClass:Xc,deps:[Ne,eu,Ps]},{provide:Xc,useClass:Xc,deps:[Ne,eu,Ps]}],Gv=[{provide:Vl,useValue:"root"},{provide:Bn,useFactory:function WN(){return new Bn},deps:[]},{provide:Au,useClass:$N,multi:!0,deps:[qn,Ne,Cr]},{provide:Au,useClass:GN,multi:!0,deps:[qn]},Vv,Pv,Rv,{provide:lp,useExisting:Vv},{provide:class sN{},useClass:RN,deps:[]},[]];let KN=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:ns,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(J(YN,12))},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({providers:[...Gv,...zv],imports:[tN,AA]}),t})();typeof window<"u"&&window;const{isArray:ox}=Array,{getPrototypeOf:ix,prototype:sx,keys:ax}=Object;const{isArray:ux}=Array;function hx(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function px(...e){const t=function IC(e){return _e(wa(e))?e.pop():void 0}(e),{args:n,keys:r}=function lx(e){if(1===e.length){const t=e[0];if(ox(t))return{args:t,keys:null};if(function cx(e){return e&&"object"==typeof e&&ix(e)===sx}(t)){const n=ax(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new je(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?hx(r,a):a),i.complete())}))}});return t?o.pipe(function fx(e){return ya(t=>function dx(e,t){return ux(t)?e(...t):e(t)}(e,t))}(t)):o}let Qv=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hn),M(wt))},e.\u0275dir=j({type:e}),t})(),Zn=(()=>{var e;class t extends Qv{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,features:[ae]}),t})();const Ut=new R("NgValueAccessor"),gx={provide:Ut,useExisting:de(()=>Pu),multi:!0};let Pu=(()=>{var e;class t extends Zn{writeValue(r){this.setProperty("checked",r)}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[me([gx]),ae]}),t})();const mx={provide:Ut,useExisting:de(()=>Zo),multi:!0},vx=new R("CompositionEventMode");let Zo=(()=>{var e;class t extends Qv{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function _x(){const e=$o()?$o().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hn),M(wt),M(vx,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&F("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([mx]),ae]}),t})();const Be=new R("NgValidators"),Mn=new R("NgAsyncValidators");function iy(e){return null!=e}function sy(e){return ws(e)?ai(e):e}function ay(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function ly(e,t){return t.map(n=>n(e))}function cy(e){return e.map(t=>function Cx(e){return!e.validate}(t)?t:n=>t.validate(n))}function ku(e){return null!=e?function uy(e){if(!e)return null;const t=e.filter(iy);return 0==t.length?null:function(n){return ay(ly(n,t))}}(cy(e)):null}function Lu(e){return null!=e?function dy(e){if(!e)return null;const t=e.filter(iy);return 0==t.length?null:function(n){return px(ly(n,t).map(sy)).pipe(ya(ay))}}(cy(e)):null}function fy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Vu(e){return e?Array.isArray(e)?e:[e]:[]}function ta(e,t){return Array.isArray(e)?e.includes(t):e===t}function gy(e,t){const n=Vu(t);return Vu(e).forEach(o=>{ta(n,o)||n.push(o)}),n}function my(e,t){return Vu(t).filter(n=>!ta(e,n))}class _y{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=ku(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Lu(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=void 0){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 Qe extends _y{get formDirective(){return null}get path(){return null}}class Sn extends _y{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vy{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 na=(()=>{var e;class t extends vy{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Sn,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Es("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ae]}),t})();const Qo="VALID",oa="INVALID",$r="PENDING",Yo="DISABLED";function ia(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class wy{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Qo}get invalid(){return this.status===oa}get pending(){return this.status==$r}get disabled(){return this.status===Yo}get enabled(){return this.status!==Yo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(gy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(gy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(my(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(my(t,this._rawAsyncValidators))}hasValidator(t){return ta(this._rawValidators,t)}hasAsyncValidator(t){return ta(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=$r,!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=Yo,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=Qo,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===Qo||this.status===$r)&&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()?Yo:Qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=$r,this._hasOwnPendingAsyncValidator=!0;const n=sy(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 Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Yo:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($r)?$r:this._anyControlsHaveStatus(oa)?oa:Qo}_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){ia(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Ix(e){return Array.isArray(e)?ku(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Mx(e){return Array.isArray(e)?Lu(e):e||null}(this._rawAsyncValidators)}}const Ur=new R("CallSetDisabledState",{providedIn:"root",factory:()=>sa}),sa="always";function Ko(e,t,n=sa){(function zu(e,t){const n=function hy(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(fy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function py(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(fy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ca(t._rawValidators,o),ca(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function Tx(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&by(e,t)})}(e,t),function xx(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 Nx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&by(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function Ax(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ca(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function by(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function My(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sy(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ay=class extends wy{constructor(t=null,n,r){super(function ju(e){return(ia(e)?e.validators:e)||null}(n),function $u(e,t){return(ia(t)?t.asyncValidators:e)||null}(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}),ia(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Sy(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){My(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){My(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){Sy(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}},Hx={provide:Sn,useExisting:de(()=>Xo)},xy=(()=>Promise.resolve())();let Xo=(()=>{var e;class t extends Sn{constructor(r,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Ay,this._registered=!1,this.name="",this.update=new Ee,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function Wu(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Zo?n=i:function Fx(e){return Object.getPrototypeOf(e.constructor)===Zn}(i)?r=i:o=i}),o||r||n||null}(0,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),function qu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,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(r){this.viewModel=r,this.update.emit(r)}_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(){Ko(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(r){xy.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const o=r.isDisabled.currentValue,i=0!==o&&function cu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(o);xy.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function aa(e,t){return[...t.path,e]}(r,this._parent):[r]}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Qe,9),M(Be,10),M(Mn,10),M(Ut,10),M(Y_,8),M(Ur,8))},e.\u0275dir=j({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:[me([Hx]),ae,Yt]}),t})(),Ry=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();const zx={provide:Ut,useExisting:de(()=>Qu),multi:!0};let Qu=(()=>{var e;class t extends Zn{writeValue(r){this.setProperty("value",parseFloat(r))}registerOnChange(r){this.onChange=o=>{r(""==o?null:parseFloat(o))}}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[me([zx]),ae]}),t})();const Yx={provide:Ut,useExisting:de(()=>ei),multi:!0};function Hy(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ei=(()=>{var e;class t extends Zn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;const i=Hy(this._getOptionId(r),r);this.setProperty("value",i)}registerOnChange(r){this.onChange=o=>{this.value=this._getOptionValue(o),r(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(r){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),r))return o;return null}_getOptionValue(r){const o=function Kx(e){return e.split(":")[0]}(r);return this._optionMap.has(o)?this._optionMap.get(o):r}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([Yx]),ae]}),t})(),Xu=(()=>{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(r){null!=this._select&&(this._select._optionMap.set(this.id,r),this._setElementValue(Hy(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._setElementValue(r),this._select&&this._select.writeValue(this._select.value)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(wt),M(Hn),M(ei,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Jx={provide:Ut,useExisting:de(()=>ed),multi:!0};function By(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ed=(()=>{var e;class t extends Zn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){let o;if(this.value=r,Array.isArray(r)){const i=r.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(r){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(r){null!=this._select&&(this._value=r,this._setElementValue(By(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._select?(this._value=r,this._setElementValue(By(this.id,r)),this._select.writeValue(this._select.value)):this._setElementValue(r)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}_setSelected(r){this._renderer.setProperty(this._element.nativeElement,"selected",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(wt),M(Hn),M(ed,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),lO=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({imports:[Ry]}),t})(),uO=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:Ur,useValue:r.callSetDisabledState??sa}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({imports:[lO]}),t})();class Yy{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class dO{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class fO{constructor(t){this.et="",this.et=t.et,this.cl=t.cl,this.ucl=t.ucl,this.cal=t.cal,this.tl=t.tl,this.lcq=t.lcq,this.cb=t.cb,this.tb=t.tb,this.bcq=t.bcq,this.cm=t.cm,this.tm=t.tm,this.mcq=t.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class _t{static roundNumber(t){return Math.floor(t*Math.pow(10,_t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,_t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(t,n,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new fO(r))}),this.metrics=t.metrics}get coverage(){return 0===this.coverableLines?NaN:_t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(t,n){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===n||null===this.currentHistoricCoverage)return!0;if("allChanges"===n){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let n=0;n-1&&null===n}visible(t,n){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let r=0;r{var e;class t{get nativeWindow(){return function hO(){return window}()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),pO=(()=>{var e;class t{constructor(){this.translations={}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),v()),2&r&&(f(1),Dn("title",o.translations.methodCoverageProVersion))},encapsulation:2}),t})();function gO(e,t){if(1&e){const n=ye();y(0,"div",3)(1,"label")(2,"input",4),F("ngModelChange",function(o){return G(n),q(_().showBranchCoverage=o)})("change",function(){G(n);const o=_();return q(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),v(),b(3),v()()}if(2&e){const n=_();f(2),g("ngModel",n.showBranchCoverage),f(1),z(" ",n.translations.branchCoverage,"")}}function mO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_().translations)}function _O(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_(2).translations)}function vO(e,t){1&e&&(y(0,"a",13),N(1,"i",14),v()),2&e&&g("href",_().$implicit.explanationUrl,Cn)}function yO(e,t){if(1&e){const n=ye();y(0,"div",3)(1,"label")(2,"input",11),F("change",function(){const i=G(n).$implicit;return q(_(2).toggleMetric(i))}),v(),b(3),v(),b(4,"\xa0"),C(5,vO,2,1,"a",12),v()}if(2&e){const n=t.$implicit,r=_(2);f(2),g("checked",r.isMetricSelected(n))("disabled",!r.methodCoverageAvailable),f(1),z(" ",n.name,""),f(2),g("ngIf",n.explanationUrl)}}function CO(e,t){if(1&e&&(Z(0),N(1,"br")(2,"br"),y(3,"b"),b(4),v(),C(5,_O,1,1,"pro-button",7),C(6,yO,6,4,"div",10),Q()),2&e){const n=_();f(4),x(n.translations.metrics),f(1),g("ngIf",!n.methodCoverageAvailable),f(1),g("ngForOf",n.metrics)}}let DO=(()=>{var e;class t{constructor(){this.visible=!1,this.visibleChange=new Ee,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ee,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ee,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ee,this.visibleMetrics=[],this.visibleMetricsChange=new Ee}isMetricSelected(r){return void 0!==this.visibleMetrics.find(o=>o.name===r.name)}toggleMetric(r){let o=this.visibleMetrics.find(i=>i.name===r.name);o?this.visibleMetrics.splice(this.visibleMetrics.indexOf(o),1):this.visibleMetrics.push(r),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(r){r.stopPropagation()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),F("click",function(){return o.close()}),y(1,"div",1),F("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),F("click",function(){return o.close()}),b(3,"X"),v(),y(4,"b"),b(5),v(),y(6,"div",3)(7,"label")(8,"input",4),F("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),v(),b(9),v()(),C(10,gO,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),F("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),v(),b(14),v(),C(15,mO,1,1,"pro-button",7),v(),C(16,CO,7,3,"ng-container",8),v()()),2&r&&(f(5),x(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(1),z(" ",o.translations.coverage,""),f(1),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(1),z(" ",o.translations.methodCoverage,""),f(1),g("ngIf",!o.methodCoverageAvailable),f(1),g("ngIf",o.metrics.length>0))},dependencies:[jr,Wn,Pu,na,Xo,pO],encapsulation:2}),t})();function wO(e,t){1&e&&N(0,"td",3)}function bO(e,t){1&e&&N(0,"td"),2&e&&jt("green ",_().greenClass,"")}function EO(e,t){1&e&&N(0,"td"),2&e&&jt("red ",_().redClass,"")}let Jy=(()=>{var e;class t{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(r){this._percentage=r,this.grayVisible=isNaN(r),this.greenVisible=!isNaN(r)&&Math.round(r)>0,this.redVisible=!isNaN(r)&&100-Math.round(r)>0,this.greenClass="covered"+Math.round(r),this.redClass="covered"+(100-Math.round(r))}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),C(1,wO,1,0,"td",1),C(2,bO,1,3,"td",2),C(3,EO,1,3,"td",2),v()),2&r&&(f(1),g("ngIf",o.grayVisible),f(1),g("ngIf",o.greenVisible),f(1),g("ngIf",o.redVisible))},dependencies:[Wn],encapsulation:2,changeDetection:0}),t})();const IO=["codeelement-row",""];function MO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredLines)}}function SO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.uncoveredLines)}}function AO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coverableLines)}}function TO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalLines)}}function NO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.coverageRatioText),f(1),x(n.element.coveragePercentage)}}function xO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.coverage)}}function OO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredBranches)}}function RO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalBranches)}}function FO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.branchCoverageRatioText),f(1),x(n.element.branchCoveragePercentage)}}function PO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.branchCoverage)}}function kO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredMethods)}}function LO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalMethods)}}function VO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.methodCoverageRatioText),f(1),x(n.element.methodCoveragePercentage)}}function HO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.methodCoverage)}}function BO(e,t){1&e&&N(0,"th",5)}const jO=function(e,t){return{"icon-plus":e,"icon-minus":t}};let $O=(()=>{var e;class t{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:IO,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),F("click",function(s){return o.element.toggleCollapse(s)}),N(2,"i",1),b(3),v()(),C(4,MO,2,1,"th",2),C(5,SO,2,1,"th",2),C(6,AO,2,1,"th",2),C(7,TO,2,1,"th",2),C(8,NO,2,2,"th",3),C(9,xO,2,1,"th",2),C(10,OO,2,1,"th",2),C(11,RO,2,1,"th",2),C(12,FO,2,2,"th",3),C(13,PO,2,1,"th",2),C(14,kO,2,1,"th",2),C(15,LO,2,1,"th",2),C(16,VO,2,2,"th",3),C(17,HO,2,1,"th",2),C(18,BO,1,0,"th",4)),2&r&&(f(2),g("ngClass",Pc(17,jO,o.element.collapsed,!o.element.collapsed)),f(1),z(" ",o.element.name,""),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngForOf",o.visibleMetrics))},dependencies:[Go,jr,Wn,Jy],encapsulation:2,changeDetection:0}),t})();const UO=["coverage-history-chart",""];let zO=(()=>{var e;class t{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(r){if(this._historicCoverages=r,r.length>1){let o="";for(let i=0;i1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function uR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.coverage)}}function dR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),f(1),z(" ",n.clazz.coveredBranches," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cb," ")}}function fR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredBranches," ")}}function hR(e,t){if(1&e&&(y(0,"td",6),C(1,dR,5,6,"ng-container",1),C(2,fR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function pR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalBranches),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tb)}}function gR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalBranches," ")}}function mR(e,t){if(1&e&&(y(0,"td",6),C(1,pR,5,3,"ng-container",1),C(2,gR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function _R(e,t){if(1&e&&N(0,"div",14),2&e){const n=_(2);Dn("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Ns(3,id,null!==n.clazz.currentHistoricCoverage))}}function vR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),f(1),z(" ",n.clazz.branchCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.bcq,"%")}}function yR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.branchCoveragePercentage," ")}}function CR(e,t){if(1&e&&(y(0,"td",9),C(1,_R,1,5,"div",13),C(2,vR,5,6,"ng-container",1),C(3,yR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.branchCoverageRatioText),f(1),g("ngIf",n.clazz.branchCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function DR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.branchCoverage)}}function wR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),f(1),z(" ",n.clazz.coveredMethods," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cm," ")}}function bR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredMethods," ")}}function ER(e,t){if(1&e&&(y(0,"td",6),C(1,wR,5,6,"ng-container",1),C(2,bR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function IR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalMethods),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tm)}}function MR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalMethods," ")}}function SR(e,t){if(1&e&&(y(0,"td",6),C(1,IR,5,3,"ng-container",1),C(2,MR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function AR(e,t){if(1&e&&N(0,"div",16),2&e){const n=_(2);Dn("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Ns(3,id,null!==n.clazz.currentHistoricCoverage))}}function TR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),f(1),z(" ",n.clazz.methodCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.mcq,"%")}}function NR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.methodCoveragePercentage," ")}}function xR(e,t){if(1&e&&(y(0,"td",9),C(1,AR,1,5,"div",15),C(2,TR,5,6,"ng-container",1),C(3,NR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.methodCoverageRatioText),f(1),g("ngIf",n.clazz.methodCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function OR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.methodCoverage)}}function RR(e,t){if(1&e&&(y(0,"td",6),b(1),v()),2&e){const n=t.$implicit,r=_();f(1),x(r.clazz.metrics[n.abbreviation])}}let FR=(()=>{var e;class t{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(r,o){return r>o?"lightgreen":r0),f(2),z(" ",n.translations.grouping," "),f(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),f(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),f(5),x(n.metrics.length>0?n.translations.selectCoverageTypesAndMetrics:n.translations.selectCoverageTypes),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(5),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(4),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.settings.visibleMetrics.length>0),f(4),g("ngClass",Oe(47,dt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),f(1),x(n.translations.name),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(2),g("ngForOf",n.codeElements)}}let RF=(()=>{var e;class t{constructor(r){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new dO,this.window=r.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,_t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let r=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),r=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let i=0,s=this.window.assemblies;for(let a=0;a-1&&(this.queryString=window.location.href.substring(o)),this.updateCoverageInfo(),r&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let r=new Yy;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateCoverageInfo(){let r=(new Date).getTime(),o=this.window.assemblies,i=[],s=0;if(0===this.settings.grouping)for(let c=0;c{for(let i=0;i{for(let s=0;sr&&(i[s].collapsed=this.settings.collapseStates[r]),r++,o(i[s].subElements)};o(this.codeElements)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(od))},e.\u0275cmp=Zt({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&F("beforeunload",function(){return o.onBeforeUnload()},0,ec)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&C(0,OF,73,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Go,jr,Wn,Xu,td,Zo,Qu,ei,na,Xo,DO,$O,FR],encapsulation:2}),t})();class FF{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function PF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=t.$implicit;g("value",n),f(1),x(n)}}function kF(e,t){if(1&e&&(y(0,"span"),b(1),v()),2&e){const n=_(2);f(1),x(n.translations.top)}}function LF(e,t){1&e&&(y(0,"option",22),b(1,"20"),v())}function VF(e,t){1&e&&(y(0,"option",23),b(1,"50"),v())}function HF(e,t){1&e&&(y(0,"option",24),b(1,"100"),v())}function BF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=_(3);g("value",n.totalNumberOfRiskHotspots),f(1),x(n.translations.all)}}function jF(e,t){if(1&e){const n=ye();y(0,"select",16),F("ngModelChange",function(o){return G(n),q(_(2).settings.numberOfRiskHotspots=o)}),y(1,"option",17),b(2,"10"),v(),C(3,LF,2,0,"option",18),C(4,VF,2,0,"option",19),C(5,HF,2,0,"option",20),C(6,BF,2,2,"option",21),v()}if(2&e){const n=_(2);g("ngModel",n.settings.numberOfRiskHotspots),f(3),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>20),f(1),g("ngIf",n.totalNumberOfRiskHotspots>50),f(1),g("ngIf",n.totalNumberOfRiskHotspots>100)}}function $F(e,t){1&e&&N(0,"col",25)}const da=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function UF(e,t){if(1&e){const n=ye();y(0,"th")(1,"a",12),F("click",function(o){const s=G(n).index;return q(_(2).updateSorting(""+s,o))}),N(2,"i",13),b(3),v(),y(4,"a",26),N(5,"i",27),v()()}if(2&e){const n=t.$implicit,r=t.index,o=_(2);f(2),g("ngClass",Oe(3,da,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(1),x(n.name),f(1),Dn("href",n.explanationUrl,Cn)}}const zF=function(e,t){return{lightred:e,lightgreen:t}};function GF(e,t){if(1&e&&(y(0,"td",31),b(1),v()),2&e){const n=t.$implicit;g("ngClass",Pc(2,zF,n.exceeded,!n.exceeded)),f(1),x(n.value)}}function qF(e,t){if(1&e&&(y(0,"tr")(1,"td"),b(2),v(),y(3,"td")(4,"a",28),b(5),v()(),y(6,"td",29)(7,"a",28),b(8),v()(),C(9,GF,2,5,"td",30),v()),2&e){const n=t.$implicit,r=_(2);f(2),x(n.assembly),f(2),g("href",n.reportPath+r.queryString,Cn),f(1),x(n.class),f(1),g("title",n.methodName),f(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,Cn),f(1),z(" ",n.methodShortName," "),f(1),g("ngForOf",n.metrics)}}function WF(e,t){if(1&e){const n=ye();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),F("ngModelChange",function(o){return G(n),q(_().settings.assembly=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),y(4,"option",3),b(5),v(),C(6,PF,2,2,"option",4),v()(),y(7,"div",5),C(8,kF,2,1,"span",0),C(9,jF,7,5,"select",6),v(),N(10,"div",5),y(11,"div",7)(12,"span"),b(13),v(),y(14,"input",8),F("ngModelChange",function(o){return G(n),q(_().settings.filter=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),v()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),N(18,"col")(19,"col")(20,"col"),C(21,$F,1,0,"col",11),v(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),F("click",function(o){return G(n),q(_().updateSorting("assembly",o))}),N(26,"i",13),b(27),v()(),y(28,"th")(29,"a",12),F("click",function(o){return G(n),q(_().updateSorting("class",o))}),N(30,"i",13),b(31),v()(),y(32,"th")(33,"a",12),F("click",function(o){return G(n),q(_().updateSorting("method",o))}),N(34,"i",13),b(35),v()(),C(36,UF,6,7,"th",14),v()(),y(37,"tbody"),C(38,qF,10,7,"tr",14),function Zm(e,t){const n=ee();let r;const o=e+W;n.firstCreatePass?(r=function SM(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Fn(r.type)),a=Ye(M);try{const l=Ni(!1),c=i();return Ni(l),function sI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),o,c),c}finally{Ye(a)}}(39,"slice"),v()()()()}if(2&e){const n=_();f(3),g("ngModel",n.settings.assembly),f(2),x(n.translations.assembly),f(1),g("ngForOf",n.assemblies),f(2),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>10),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(7),g("ngForOf",n.riskHotspotMetrics),f(5),g("ngClass",Oe(20,da,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),f(1),x(n.translations.assembly),f(3),g("ngClass",Oe(24,da,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),f(1),x(n.translations.class),f(3),g("ngClass",Oe(28,da,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),f(1),x(n.translations.method),f(1),g("ngForOf",n.riskHotspotMetrics),f(2),g("ngForOf",Qm(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}let ZF=(()=>{var e;class t{constructor(r){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new FF,this.window=r.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const r=window.location.href.indexOf("?");r>-1&&(this.queryString=window.location.href.substring(r)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let r=new Yy;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateRiskHotpots(){const r=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=r.length,0===this.assemblies.length){let a=[];for(let l=0;l0)},dependencies:[Go,jr,Wn,Xu,td,Zo,ei,na,Xo,Mv],encapsulation:2}),t})(),QF=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e,bootstrap:[ZF,RF]}),e.\u0275inj=Gt({providers:[od],imports:[KN,uO]}),t})();QN().bootstrapModule(QF).catch(e=>console.error(e))}},_e=>{_e(_e.s=538)}]); /* ]]> */ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{538:()=>{function _e(e){return"function"==typeof e}function si(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 ai=si(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 Zr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Nt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(_e(r))try{r()}catch(i){t=i instanceof ai?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{pd(i)}catch(s){t=t??[],s instanceof ai?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ai(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pd(t);else{if(t instanceof Nt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&Zr(n,t)}remove(t){const{_teardowns:n}=this;n&&Zr(n,t),t instanceof Nt&&t._removeParent(this)}}Nt.EMPTY=(()=>{const e=new Nt;return e.closed=!0,e})();const fd=Nt.EMPTY;function hd(e){return e instanceof Nt||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function pd(e){_e(e)?e():e.unsubscribe()}const xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},li={setTimeout(...e){const{delegate:t}=li;return(t?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=li;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gd(e){li.setTimeout(()=>{const{onUnhandledError:t}=xn;if(!t)throw e;t(e)})}function ci(){}const pC=pa("C",void 0,void 0);function pa(e,t,n){return{kind:e,value:t,error:n}}let On=null;function ui(e){if(xn.useDeprecatedSynchronousErrorHandling){const t=!On;if(t&&(On={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=On;if(On=null,n)throw r}}else e()}class ga extends Nt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hd(t)&&t.add(this)):this.destination=vC}static create(t,n,r){return new ma(t,n,r)}next(t){this.isStopped?va(function mC(e){return pa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?va(function gC(e){return pa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?va(pC,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()}}}class ma extends ga{constructor(t,n,r){let o;if(super(),_e(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&xn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=o?.bind(i),n=n?.bind(i),r=r?.bind(i)}this.destination={next:o?_a(o):ci,error:_a(n??md),complete:r?_a(r):ci}}}function _a(e,t){return(...n)=>{try{e(...n)}catch(r){xn.useDeprecatedSynchronousErrorHandling?function _C(e){xn.useDeprecatedSynchronousErrorHandling&&On&&(On.errorThrown=!0,On.error=e)}(r):gd(r)}}}function md(e){throw e}function va(e,t){const{onStoppedNotification:n}=xn;n&&li.setTimeout(()=>n(e,t))}const vC={closed:!0,next:ci,error:md,complete:ci},ya="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ca(e){return e}let je=(()=>{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 CC(e){return e&&e instanceof ga||function yC(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(e)&&hd(e)}(n)?n:new ma(n,r,o);return ui(()=>{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=vd(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ya](){return this}pipe(...n){return function _d(e){return 0===e.length?Ca:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=vd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vd(e){var t;return null!==(t=e??xn.Promise)&&void 0!==t?t:Promise}const DC=si(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let di=(()=>{class e extends je{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new yd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new DC}next(n){ui(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){ui(()=>{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(){ui(()=>{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=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?fd:(i.push(n),new Nt(()=>Zr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new je;return n.source=this,n}}return e.create=(t,n)=>new yd(t,n),e})();class yd extends di{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:fd}}function un(e){return t=>{if(function wC(e){return _e(e?.lift)}(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")}}class zt extends ga{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function Da(e,t){return un((n,r)=>{let o=0;n.subscribe(new zt(r,i=>{r.next(e.call(t,i,o++))}))})}function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function MC(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 wd(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(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const bd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ed(e){return _e(e?.then)}function Id(e){return _e(e[ya])}function Md(e){return Symbol.asyncIterator&&_e(e?.[Symbol.asyncIterator])}function Sd(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 Ad=function AC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Td(e){return _e(e?.[Ad])}function Nd(e){return function IC(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(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Rn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Rn(n.read());if(o)return yield Rn(void 0);yield yield Rn(r)}}finally{n.releaseLock()}})}function xd(e){return _e(e?.getReader)}function dn(e){if(e instanceof je)return e;if(null!=e){if(Id(e))return function TC(e){return new je(t=>{const n=e[ya]();if(_e(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(bd(e))return function NC(e){return new je(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gd)})}(e);if(Md(e))return Od(e);if(Td(e))return function OC(e){return new je(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(xd(e))return function RC(e){return Od(Nd(e))}(e)}throw Sd(e)}function Od(e){return new je(t=>{(function FC(e,t){var n,r,o,i;return function bC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=MC(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 fn(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 Rd(e,t,n=1/0){return _e(t)?Rd((r,o)=>Da((i,s)=>t(r,i,o,s))(dn(e(r,o))),n):("number"==typeof t&&(n=t),un((r,o)=>function PC(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},p=w=>c{i&&t.next(w),c++;let I=!1;dn(n(w,u++)).subscribe(new zt(t,A=>{o?.(A),i?p(A):t.next(A)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cm(A)):m(A)}h()}catch(A){t.error(A)}}))};return e.subscribe(new zt(t,p,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}const ba=new je(e=>e.complete());function Ea(e){return e[e.length-1]}function Fd(e){return function VC(e){return e&&_e(e.schedule)}(Ea(e))?e.pop():void 0}function Pd(e,t=0){return un((n,r)=>{n.subscribe(new zt(r,o=>fn(r,e,()=>r.next(o),t),()=>fn(r,e,()=>r.complete(),t),o=>fn(r,e,()=>r.error(o),t)))})}function kd(e,t=0){return un((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new je(n=>{fn(n,t,()=>{const r=e[Symbol.asyncIterator]();fn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function fi(e,t){return t?function qC(e,t){if(null!=e){if(Id(e))return function jC(e,t){return dn(e).pipe(kd(t),Pd(t))}(e,t);if(bd(e))return function UC(e,t){return new je(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Ed(e))return function $C(e,t){return dn(e).pipe(kd(t),Pd(t))}(e,t);if(Md(e))return Ld(e,t);if(Td(e))return function zC(e,t){return new je(n=>{let r;return fn(n,t,()=>{r=e[Ad](),fn(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)}),()=>_e(r?.return)&&r.return()})}(e,t);if(xd(e))return function GC(e,t){return Ld(Nd(e),t)}(e,t)}throw Sd(e)}(e,t):dn(e)}function WC(...e){const t=Fd(e),n=function BC(e,t){return"number"==typeof Ea(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?dn(r[0]):function kC(e=1/0){return Rd(Ca,e)}(n)(fi(r,t)):ba}class ZC extends di{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)}}function Vd(e={}){const{connector:t=(()=>new di),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=null},p=()=>{h(),s=l=null,u=d=!1},m=()=>{const w=s;p(),w?.unsubscribe()};return un((w,I)=>{c++,!d&&!u&&h();const A=l=l??t();I.add(()=>{c--,0===c&&!d&&!u&&(a=Ia(m,o))}),A.subscribe(I),s||(s=new ma({next:D=>A.next(D),error:D=>{d=!0,h(),a=Ia(p,n,D),A.error(D)},complete:()=>{u=!0,h(),a=Ia(p,r),A.complete()}}),fi(w).subscribe(s))})(i)}}function Ia(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function YC(e){return e<=0?()=>ba:un((t,n)=>{let r=0;t.subscribe(new zt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function XC(e,t){return e===t}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function hi(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ae).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 Ma(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const eD=ie({__forward_ref__:ie});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Ae(this())},e}function V(e){return Sa(e)?e():e}function Sa(e){return"function"==typeof e&&e.hasOwnProperty(eD)&&e.__forward_ref__===ue}function Aa(e){return e&&!!e.\u0275providers}const Hd="https://g.co/ng/security#xss";class S extends Error{constructor(t,n){super(function pi(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function H(e){return"string"==typeof e?e:null==e?"":String(e)}function Ta(e,t){throw new S(-201,!1)}function ft(e,t){null==e&&function P(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function gi(e){return Bd(e,_i)||Bd(e,jd)}function Bd(e,t){return e.hasOwnProperty(t)?e[t]:null}function mi(e){return e&&(e.hasOwnProperty(Na)||e.hasOwnProperty(aD))?e[Na]:null}const _i=ie({\u0275prov:ie}),Na=ie({\u0275inj:ie}),jd=ie({ngInjectableDef:ie}),aD=ie({ngInjectorDef:ie});var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let xa;function Ke(e){const t=xa;return xa=e,t}function Ud(e,t,n){const r=gi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&K.Optional?null:void 0!==t?t:void Ta(Ae(e))}const de=globalThis,Qr={},ka="__NG_DI_FLAG__",vi="ngTempTokenPath",uD=/\n/gm,Gd="__source";let Kn;function hn(e){const t=Kn;return Kn=e,t}function hD(e,t=K.Default){if(void 0===Kn)throw new S(-203,!1);return null===Kn?Ud(e,void 0,t):Kn.get(e,t&K.Optional?null:void 0,t)}function J(e,t=K.Default){return(function $d(){return xa}()||hD)(V(e),t)}function le(e,t=K.Default){return J(e,yi(t))}function yi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function La(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==Qd(p,c,0)||2&r&&c!==h){if(Ct(r))return!1;s=!0}}}}else{if(!s&&!Ct(r)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,r=l|1&r}}return Ct(r)||s}function Ct(e){return 0==(1&e)}function CD(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&&!Ct(s)&&(t+=nf(i,o),o=""),r=s,i=i||!Ct(r);n++}return""!==o&&(t+=nf(i,o)),t}function Zt(e){return qt(()=>{const t=of(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ci.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};sf(n);const r=e.dependencies;return n.directiveDefs=wi(r,!1),n.pipeDefs=wi(r,!0),n.id=function RD(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function TD(e){return X(e)||Oe(e)}function ND(e){return null!==e}function pn(e){return qt(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rf(e,t){if(null==e)return xt;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}function j(e){return qt(()=>{const t=of(e);return sf(t),t})}function Je(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[Di]||null}function Oe(e){return e[Va]||null}function $e(e){return e[Ha]||null}function of(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||xt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rf(e.inputs,t),outputs:rf(e.outputs)}}function sf(e){e.features?.forEach(t=>t(e))}function wi(e,t){if(!e)return null;const n=t?$e:TD;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ND)}const ye=0,T=1,U=2,ge=3,Dt=4,eo=5,ke=6,Jn=7,be=8,gn=9,Xn=10,B=11,to=12,af=13,er=14,Ee=15,no=16,tr=17,Ot=18,ro=19,lf=20,mn=21,Qt=22,oo=23,io=24,W=25,ja=1,cf=2,Rt=7,nr=9,Re=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[ja]}function Ue(e){return Array.isArray(e)&&!0===e[ja]}function $a(e){return 0!=(4&e.flags)}function Pn(e){return e.componentOffset>-1}function Ei(e){return 1==(1&e.flags)}function wt(e){return!!e.template}function Ua(e){return 0!=(512&e[U])}function kn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}let Fe=null,Ii=!1;function ht(e){const t=Fe;return Fe=e,t}const ff={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function pf(e){if(!ao(e)||e.dirty){if(!e.producerMustRecompute(e)&&!_f(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function mf(e){e.dirty=!0,function gf(e){if(void 0===e.liveConsumerNode)return;const t=Ii;Ii=!0;try{for(const n of e.liveConsumerNode)n.dirty||mf(n)}finally{Ii=t}}(e),e.consumerMarkedDirty?.(e)}function Ga(e){return e&&(e.nextProducerIndex=0),ht(e)}function qa(e,t){if(ht(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ao(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _f(e){rr(e);for(let t=0;t0}function rr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Df=null;const If=()=>{},qD=(()=>({...ff,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:If}))();class WD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Yt(){return Mf}function Mf(e){return e.type.prototype.ngOnChanges&&(e.setInput=QD),ZD}function ZD(){const e=Af(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function QD(e,t,n,r){const o=this.declaredInputs[n],i=Af(e)||function YD(e,t){return e[Sf]=t}(e,{previous:xt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new WD(l&&l.currentValue,t,a===xt),e[r]=t}Yt.ngInherit=!0;const Sf="__ngSimpleChanges__";function Af(e){return e[Sf]||null}const Ft=function(e,t,n){};function fe(e){for(;Array.isArray(e);)e=e[ye];return e}function Si(e,t){return fe(t[e])}function et(e,t){return fe(t[e.index])}function xf(e,t){return e.data[t]}function at(e,t){const n=t[e];return Xe(n)?n:n[ye]}function vn(e,t){return null==t?null:e[t]}function Of(e){e[tr]=0}function nw(e){1024&e[U]||(e[U]|=1024,Ff(e,1))}function Rf(e){1024&e[U]&&(e[U]&=-1025,Ff(e,-1))}function Ff(e,t){let n=e[ge];if(null===n)return;n[eo]+=t;let r=n;for(n=n[ge];null!==n&&(1===t&&1===r[eo]||-1===t&&0===r[eo]);)n[eo]+=t,r=n,n=n[ge]}const k={lFrame:Gf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Lf(){return k.bindingsEnabled}function E(){return k.lFrame.lView}function ee(){return k.lFrame.tView}function G(e){return k.lFrame.contextLView=e,e[be]}function q(e){return k.lFrame.contextLView=null,e}function Pe(){let e=Vf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vf(){return k.lFrame.currentTNode}function Pt(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function Ka(){return k.lFrame.isParent}function Ja(){k.lFrame.isParent=!1}function ze(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sr(){return k.lFrame.bindingIndex++}function Jt(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pw(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xa(t)}function Xa(e){k.lFrame.currentDirectiveIndex=e}function tl(e){k.lFrame.currentQueryIndex=e}function mw(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Uf(e,t,n){if(n&K.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&K.Host||(o=mw(i),null===o||(i=i[er],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=zf();return r.currentTNode=t,r.lView=e,!0}function nl(e){const t=zf(),n=e[T];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zf(){const e=k.lFrame,t=null===e?null:e.child;return null===t?Gf(e):t}function Gf(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 qf(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wf=qf;function rl(){const e=qf();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 Ge(){return k.lFrame.selectedIndex}function Ln(e){k.lFrame.selectedIndex=e}function ve(){const e=k.lFrame;return xf(e.tView,e.selectedIndex)}let Yf=!0;function Ai(){return Yf}function yn(e){Yf=e}function Ti(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[tr]+=65536),(a>13>16&&(3&e[U])===t&&(e[U]+=8192,Jf(a,i)):Jf(a,i)}const ar=-1;class co{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function sl(e){return e!==ar}function uo(e){return 32767&e}function fo(e,t){let n=function Sw(e){return e>>16}(e),r=t;for(;n>0;)r=r[er],n--;return r}let al=!0;function Oi(e){const t=al;return al=e,t}const Xf=255,eh=5;let Aw=0;const kt={};function Ri(e,t){const n=th(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ll(r.data,e),ll(t,null),ll(r.blueprint,null));const o=Fi(e,t),i=e.injectorIndex;if(sl(o)){const s=uo(o),a=fo(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function ll(e,t){e.push(0,0,0,0,0,0,0,0,t)}function th(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fi(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=lh(o),null===r)return ar;if(n++,o=o[er],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ar}function cl(e,t,n){!function Tw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kr)&&(r=n[Kr]),null==r&&(r=n[Kr]=Aw++);const o=r&Xf;t.data[e+(o>>eh)]|=1<=0?t&Xf:Fw:t}(n);if("function"==typeof i){if(!Uf(t,e,r))return r&K.Host?nh(o,0,r):rh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;Ta()}finally{Wf()}}else if("number"==typeof i){let s=null,a=th(e,t),l=ar,c=r&K.Host?t[Ee][ke]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?Fi(e,t):t[a+8],l!==ar&&ah(r,!1)?(s=t[T],a=uo(l),t=fo(l,t)):a=-1);-1!==a;){const u=t[T];if(sh(i,a,u.data)){const d=xw(a,t,n,s,r,c);if(d!==kt)return d}l=t[a+8],l!==ar&&ah(r,t[T].data[a+8]===c)&&sh(i,a,t)?(s=u,a=uo(l),t=fo(l,t)):a=-1}}return o}function xw(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],u=function Pi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&m.type===n)return p}if(o){const p=s[l];if(p&&wt(p)&&p.type===n)return l}return null}(a,s,n,null==r?Pn(a)&&al:r!=s&&0!=(3&a.type),o&K.Host&&i===a);return null!==u?Vn(t,s,u,a):kt}function Vn(e,t,n,r){let o=e[n];const i=t.data;if(function Ew(e){return e instanceof co}(o)){const s=o;s.resolving&&function tD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():H(e)}(i[n]));const a=Oi(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ke(s.injectImpl):null;Uf(e,r,K.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ww(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Mf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Ke(c),Oi(a),s.resolving=!1,Wf()}}return o}function sh(e,t,n){return!!(n[t+(e>>eh)]&1<{const t=e.prototype.constructor,n=t[Wt]||ul(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||ul(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ul(e){return Sa(e)?()=>{const t=ul(V(e));return t&&t()}:kn(e)}function lh(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}const cr="__parameters__";function dr(e,t,n){return qt(()=>{const r=function fl(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,c,u){const d=l.hasOwnProperty(cr)?l[cr]:Object.defineProperty(l,cr,{value:[]})[cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function hr(e,t){e.forEach(n=>Array.isArray(n)?hr(n,t):t(n))}function uh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ki(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lt(e,t,n){let r=pr(e,t);return r>=0?e[1|r]=n:(r=~r,function $w(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 hl(e,t){const n=pr(e,t);if(n>=0)return e[1|n]}function pr(e,t){return function dh(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<|^->||--!>|)/g,db="\u200b$1\u200b";const Cl=new Map;let fb=0;const wl="__ngContext__";function Ve(e,t){Xe(t)?(e[wl]=t[ro],function pb(e){Cl.set(e[ro],e)}(t)):e[wl]=t}let bl;function El(e,t){return bl(e,t)}function vo(e){const t=e[ge];return Ue(t)?t[ge]:t}function xh(e){return Rh(e[to])}function Oh(e){return Rh(e[Dt])}function Rh(e){for(;null!==e&&!Ue(e);)e=e[Dt];return e}function _r(e,t,n,r,o){if(null!=r){let i,s=!1;Ue(r)?i=r:Xe(r)&&(s=!0,r=r[ye]);const a=fe(r);0===e&&null!==n?null==o?Lh(t,n,a):Hn(t,n,a,o||null,!0):1===e&&null!==n?Hn(t,n,a,o||null,!0):2===e?function Qi(e,t,n){const r=Wi(e,t);r&&function Rb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function kb(e,t,n,r,o){const i=n[Rt];i!==fe(n)&&_r(t,e,r,i,o);for(let a=Re;at.replace(ub,db))}(t))}function Gi(e,t,n){return e.createElement(t,n)}function Ph(e,t){const n=e[nr],r=n.indexOf(t);Rf(t),n.splice(r,1)}function qi(e,t){if(e.length<=Re)return;const n=Re+t,r=e[n];if(r){const o=r[no];null!==o&&o!==e&&Ph(o,r),t>0&&(e[n-1][Dt]=r[Dt]);const i=ki(e,Re+t);!function Ib(e,t){Co(e,t,t[B],2,null,null),t[ye]=null,t[ke]=null}(r[T],r);const s=i[Ot];null!==s&&s.detachView(i[T]),r[ge]=null,r[Dt]=null,r[U]&=-129}return r}function Ml(e,t){if(!(256&t[U])){const n=t[B];t[oo]&&vf(t[oo]),t[io]&&vf(t[io]),n.destroyNode&&Co(e,t,n,3,null,null),function Ab(e){let t=e[to];if(!t)return Sl(e[T],e);for(;t;){let n=null;if(Xe(t))n=t[to];else{const r=t[Re];r&&(n=r)}if(!n){for(;t&&!t[Dt]&&t!==e;)Xe(t)&&Sl(t[T],t),t=t[ge];null===t&&(t=e),Xe(t)&&Sl(t[T],t),n=t&&t[Dt]}t=n}}(t)}}function Sl(e,t){if(!(256&t[U])){t[U]&=-129,t[U]|=256,function Ob(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Jn]=null);const o=t[mn];if(null!==o){t[mn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===yt.None||i===yt.Emulated)return null}return et(r,n)}}(e,t.parent,n)}function Hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Lh(e,t,n){e.appendChild(t,n)}function Vh(e,t,n,r,o){null!==r?Hn(e,t,n,r,o):Lh(e,t,n)}function Wi(e,t){return e.parentNode(t)}let Tl,Rl,jh=function Bh(e,t,n){return 40&e.type?et(e,n):null};function Zi(e,t,n,r){const o=Al(e,r,t),i=t[B],a=function Hh(e,t,n){return jh(e,t,n)}(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{n.push(s)};return hr(t,s=>{const a=s;es(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&cp(o,i),n}function cp(e,t){for(let n=0;n{t(i,r)})}}function es(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=mi(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=mi(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 c of l)es(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{hr(i.imports,u=>{es(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&cp(c,t)}if(!a){const c=kn(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:sp,useValue:o,multi:!0},o),t({provide:Xi,useValue:()=>J(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Bl(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Bl(e,t){for(let n of e)Aa(n)&&(n=n.\u0275providers),Array.isArray(n)?Bl(n,t):t(n)}const hE=ie({provide:String,useValue:ie});function jl(e){return null!==e&&"object"==typeof e&&hE in e}function Bn(e){return"function"==typeof e}const $l=new R("Set Injector scope."),ts={},gE={};let Ul;function ns(){return void 0===Ul&&(Ul=new Hl),Ul}class en{}class rs extends en{get destroyed(){return this._destroyed}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,Gl(t,s=>this.processProvider(s)),this.records.set(ip,Dr(void 0,this)),o.has("environment")&&this.records.set(en,Dr(void 0,this));const i=this.records.get($l);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sp.multi,te,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=hn(this),r=Ke(void 0);try{return t()}finally{hn(n),Ke(r)}}get(t,n=Qr,r=K.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Zd))return t[Zd](this);r=yi(r);const i=hn(this),s=Ke(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function CE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&gi(t);l=c&&this.injectableDefInScope(c)?Dr(zl(t),ts):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&K.Self?ns():this.parent).get(t,n=r&K.Optional&&n===Qr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[vi]=a[vi]||[]).unshift(Ae(t)),i)throw a;return function gD(e,t,n,r){const o=e[vi];throw t[Gd]&&o.unshift(t[Gd]),e.message=function mD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ae(t);if(Array.isArray(t))o=t.map(Ae).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):Ae(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(uD,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[vi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ke(s),hn(i)}}resolveInjectorInitializers(){const t=hn(this),n=Ke(void 0);try{const o=this.get(Xi.multi,te,K.Self);for(const i of o)i()}finally{hn(t),Ke(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Bn(t=V(t))?t:V(t&&t.provide);const r=function _E(e){return jl(e)?Dr(void 0,e.useValue):Dr(fp(e),ts)}(t);if(Bn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Dr(void 0,ts,!0),o.factory=()=>La(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ts&&(n.value=gE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function zl(e){const t=gi(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof R)throw new S(204,!1);if(e instanceof Function)return function mE(e){const t=e.length;if(t>0)throw function go(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function fp(e,t,n){let r;if(Bn(e)){const o=V(e);return kn(o)||zl(o)}if(jl(e))r=()=>V(e.useValue);else if(function dp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...La(e.deps||[]));else if(function up(e){return!(!e||!e.useExisting)}(e))r=()=>J(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function vE(e){return!!e.deps}(e))return kn(o)||zl(o);r=()=>new o(...La(e.deps))}return r}function Dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gl(e,t){for(const n of e)Array.isArray(n)?Gl(n,t):n&&Aa(n)?Gl(n.\u0275providers,t):t(n)}const os=new R("AppId",{providedIn:"root",factory:()=>DE}),DE="ng",hp=new R("Platform Initializer"),wr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pp=new R("CSP nonce",{providedIn:"root",factory:()=>function yr(){if(void 0!==Rl)return Rl;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let gp=(e,t,n)=>null;function Xl(e,t,n=!1){return gp(e,t,n)}class xE{}class vp{}class RE{resolveComponentFactory(t){throw function OE(e){const t=Error(`No component factory found for ${Ae(e)}.`);return t.ngComponent=e,t}(t)}}let us=(()=>{class t{}return t.NULL=new RE,t})();function FE(){return Ir(Pe(),E())}function Ir(e,t){return new bt(et(e,t))}let bt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=FE,t})();class Cp{}let jn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function kE(){const e=E(),n=at(Pe().index,e);return(Xe(n)?n:e)[B]}(),t})(),LE=(()=>{var e;class t{}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),t})();class ds{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const VE=new ds("16.2.8"),nc={};function Ep(e,t=null,n=null,r){const o=Ip(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ip(e,t=null,n=null,r,o=new Set){const i=[n||te,fE(e)];return r=r||("object"==typeof e?void 0:Ae(e)),new rs(i,t||ns(),r||null,o)}let Et=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Ep({name:""},o,r,"");{const i=r.name??"";return Ep({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Qr,e.NULL=new Hl,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>J(ip)}),e.__NG_ELEMENT_ID__=-1,t})();function oc(e){return e.ngOriginalError}class tn{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&&oc(t);for(;n&&oc(n);)n=oc(n);return n||null}}function sc(e){return t=>{setTimeout(e,void 0,t)}}const Ie=class GE extends di{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=sc(i),o&&(o=sc(o)),s&&(s=sc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Nt&&t.add(a),a}};function Sp(...e){}class Ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function qE(){const e="function"==typeof de.requestAnimationFrame;let t=de[e?"requestAnimationFrame":"setTimeout"],n=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function QE(e){const t=()=>{!function ZE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,lc(e),e.isCheckStableRunning=!0,ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),lc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function KE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Ap(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Tp(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Ap(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Tp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,lc(e),ac(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(!Ce.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(Ce.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,WE,Sp,Sp);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 WE={};function ac(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 lc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ap(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tp(e){e._nesting--,ac(e)}class YE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}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 Np=new R("",{providedIn:"root",factory:xp});function xp(){const e=le(Ce);let t=!0;return WC(new je(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new je(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Vd()))}function cc(e){return e.ownerDocument.defaultView}let uc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function Mo(e){for(;e;){e[U]|=64;const t=vo(e);if(Ua(e)&&!t)return e;e=t}return null}const kp=new R("",{providedIn:"root",factory:()=>!1});let hs=null;function Bp(e,t){return e[t]??Up()}function jp(e,t){const n=Up();n.producerNode?.length&&(e[t]=hs,n.lView=e,hs=$p())}const sI={...ff,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Mo(e.lView)},lView:null};function $p(){return Object.create(sI)}function Up(){return hs??=$p(),hs}const $={};function f(e){zp(ee(),E(),Ge()+e,!1)}function zp(e,t,n,r){if(!r)if(3==(3&t[U])){const i=e.preOrderCheckHooks;null!==i&&Ni(t,i,n)}else{const i=e.preOrderHooks;null!==i&&xi(t,i,0,n)}Ln(n)}function M(e,t=K.Default){const n=E();return null===n?J(e,t):oh(Pe(),n,V(e),t)}function ps(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[ye]=o,d[U]=140|r,(null!==c||e&&2048&e[U])&&(d[U]|=2048),Of(d),d[ge]=d[er]=e,d[be]=n,d[Xn]=s||e&&e[Xn],d[B]=a||e&&e[B],d[gn]=l||e&&e[gn]||null,d[ke]=i,d[ro]=function hb(){return fb++}(),d[Qt]=u,d[lf]=c,d[Ee]=2==t.type?e[Ee]:d,d}function Ar(e,t,n,r,o){let i=e.data[t];if(null===i)i=function dc(e,t,n,r,o){const i=Vf(),s=Ka(),l=e.data[t]=function gI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function ir(){return null!==k.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function hw(){return k.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function lo(){const e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Pt(i,!0),i}function So(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iW&&zp(e,t,W,!1),Ft(a?2:0,o);const c=a?i:null,u=Ga(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{qa(c,u)}}finally{a&&null===t[oo]&&jp(t,oo),Ln(s),Ft(a?3:1,o)}}function fc(e,t,n){if($a(t)){const r=ht(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Zp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Qp(n,t,o,i):r.hasOwnProperty(o)&&Qp(n,t,r[o],i)}return n}function Qp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ct(e,t,n,r,o,i,s,a){const l=et(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Cc(e,n,u,r,o),Pn(t)&&function vI(e,t){const n=at(t,e);16&n[U]||(n[U]|=64)}(n,t.index)):3&t.type&&(r=function _I(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function mc(e,t,n,r){if(Lf()){const o=null===r?null:{"":-1},i=function EI(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,So(e,n,o.hostVars,$),o)}function Lt(e,t,n,r,o,i){const s=et(e,t);!function vc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[B],s,i,e.value,n,r,o)}function NI(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function GD(e,t,n){const r=Object.create(qD);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>mf(r),run:()=>{if(r.dirty=!1,r.hasRun&&!_f(r))return;r.hasRun=!0;const s=Ga(r);try{r.cleanupFn(),r.cleanupFn=If,r.fn(o)}finally{qa(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(r,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function ms(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){lg(e,1);const o=n.components;null!==o&&ug(e,o,1)}}function ug(e,t,n){for(let r=0;r-1&&(qi(t,r),ki(n,r))}this._attachedToViewContainer=!1}Ml(this._lView[T],this._lView)}onDestroy(t){!function Pf(e,t){if(256==(256&e[U]))throw new S(911,!1);null===e[mn]&&(e[mn]=[]),e[mn].push(t)}(this._lView,t)}markForCheck(){Mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){this._lView[U]|=128}detectChanges(){_s(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Sb(e,t){Co(e,t,t[B],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class HI extends To{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_s(t[T],t,t[be],!1)}checkNoChanges(){}get context(){return null}}class dg extends us{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=X(t);return new No(n,this.ngModule)}}function fg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class jI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yi(r);const o=this.injector.get(t,nc,r);return o!==nc||n===nc?o:this.parentInjector.get(t,n,r)}}class No extends vp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=fg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return fg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function MD(e){return e.map(ID).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof en?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new jI(t,i):t,a=s.get(Cp,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(LE,null),effectManager:s.get(ig,null),afterRenderEventManager:s.get(uc,null)},h=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=r?function uI(e,t,n,r){const i=r.get(kp,!1)||n===yt.ShadowDom,s=e.selectRootElement(t,i);return function dI(e){Wp(e)}(s),s}(h,r,this.componentDef.encapsulation,s):Gi(h,p,function BI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),A=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==m&&(D=Xl(m,s,!0));const O=gc(0,null,null,1,0,null,null,null,null,null,null),L=ps(null,O,null,A,null,null,d,h,s,null,D);let Y,ot;nl(L);try{const cn=this.componentDef;let Wr,dd=null;cn.findHostDirectiveDefs?(Wr=[],dd=new Map,cn.findHostDirectiveDefs(cn,Wr,dd),Wr.push(cn)):Wr=[cn];const hP=function UI(e,t){const n=e[T],r=W;return e[r]=t,Ar(n,r,2,"#host",null)}(L,m),pP=function zI(e,t,n,r,o,i,s){const a=o[T];!function GI(e,t,n,r){for(const o of e)t.mergedAttrs=Jr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ms(t,t.mergedAttrs,!0),null!==n&&Wh(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Xl(t,o[gn]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=ps(o,qp(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&_c(a,e,r.length-1),gs(o,d),o[e.index]=d}(hP,m,cn,Wr,L,d,h);ot=xf(O,W),m&&function WI(e,t,n,r){if(r)Ba(e,n,["ng-version",VE.full]);else{const{attrs:o,classes:i}=function SD(e){const t=[],n=[];let r=1,o=2;for(;r0&&qh(e,n,i.join(" "))}}(h,cn,m,r),void 0!==n&&function ZI(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Jr(o.hostAttrs,n=Jr(n,o.hostAttrs))}}(r)}function vs(e){return e===xt?{}:e===te?[]:e}function KI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function JI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function XI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function ys(e){return!!wc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e,t,n){return e[t]=n}function He(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function $n(e,t,n,r){const o=He(e,t,n);return He(e,t+1,r)||o}function It(e,t,n,r){const o=E();return He(o,sr(),t)&&(ee(),Lt(ve(),o,e,t,n,r)),It}function Nr(e,t,n,r){return He(e,sr(),n)?t+H(n)+r:$}function C(e,t,n,r,o,i,s,a){const l=E(),c=ee(),u=e+W,d=c.firstCreatePass?function M0(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Ar(t,e,4,s||null,vn(c,a));mc(t,n,u,vn(c,l)),Ti(t,u);const d=u.tView=gc(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Pt(d,!1);const h=Tg(c,l,d,e);Ai()&&Zi(c,l,h,d),Ve(h,l),gs(l,l[u]=Xp(h,l,h,d)),Ei(d)&&hc(c,l,d),null!=s&&pc(l,d,a)}let Tg=function Ng(e,t,n,r){return yn(!0),t[B].createComment("")};function g(e,t,n){const r=E();return He(r,sr(),t)&&ct(ee(),ve(),r,e,t,r[B],n,!1),g}function Ac(e,t,n,r,o){const s=o?"class":"style";Cc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=E(),i=ee(),s=W+e,a=o[B],l=i.firstCreatePass?function x0(e,t,n,r,o,i){const s=t.consts,l=Ar(t,e,2,r,vn(s,o));return mc(t,n,l,vn(s,i)),null!==l.attrs&&ms(l,l.attrs,!1),null!==l.mergedAttrs&&ms(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=xg(i,o,l,a,t,e);o[s]=c;const u=Ei(l);return Pt(l,!0),Wh(a,c,l),32!=(32&l.flags)&&Ai()&&Zi(i,o,c,l),0===function ow(){return k.lFrame.elementDepthCount}()&&Ve(c,o),function iw(){k.lFrame.elementDepthCount++}(),u&&(hc(i,o,l),fc(i,l,o)),null!==r&&pc(o,l),y}function v(){let e=Pe();Ka()?Ja():(e=e.parent,Pt(e,!1));const t=e;(function aw(e){return k.skipHydrationRootTNode===e})(t)&&function dw(){k.skipHydrationRootTNode=null}(),function sw(){k.lFrame.elementDepthCount--}();const n=ee();return n.firstCreatePass&&(Ti(n,e),$a(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Iw(e){return 0!=(8&e.flags)}(t)&&Ac(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Mw(e){return 0!=(16&e.flags)}(t)&&Ac(n,t,E(),t.stylesWithoutHost,!1),v}function N(e,t,n,r){return y(e,t,n,r),v(),N}let xg=(e,t,n,r,o,i)=>(yn(!0),Gi(r,o,function Qf(){return k.lFrame.currentNamespace}()));function Z(e,t,n){const r=E(),o=ee(),i=e+W,s=o.firstCreatePass?function F0(e,t,n,r,o){const i=t.consts,s=vn(i,r),a=Ar(t,e,8,"ng-container",s);return null!==s&&ms(a,s,!0),mc(t,n,a,vn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Pt(s,!0);const a=Rg(o,r,s,e);return r[i]=a,Ai()&&Zi(o,r,a,s),Ve(a,r),Ei(s)&&(hc(o,r,s),fc(o,s,r)),null!=n&&pc(r,s),Z}function Q(){let e=Pe();const t=ee();return Ka()?Ja():(e=e.parent,Pt(e,!1)),t.firstCreatePass&&(Ti(t,e),$a(e)&&t.queries.elementEnd(e)),Q}let Rg=(e,t,n,r)=>(yn(!0),Il(t[B],""));function De(){return E()}function Es(e){return!!e&&"function"==typeof e.then}function Fg(e){return!!e&&"function"==typeof e.subscribe}function F(e,t,n,r){const o=E(),i=ee(),s=Pe();return function kg(e,t,n,r,o,i,s){const a=Ei(r),c=e.firstCreatePass&&function ng(e){return e.cleanup||(e.cleanup=[])}(e),u=t[be],d=function tg(e){return e[Jn]||(e[Jn]=[])}(t);let h=!0;if(3&r.type||s){const w=et(r,t),I=s?s(w):w,A=d.length,D=s?L=>s(fe(L[r.index])):r.index;let O=null;if(!s&&a&&(O=function L0(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!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=Vg(r,t,u,i,!1);const L=n.listen(I,o,i);d.push(i,L),c&&c.push(o,D,A,A+1)}}else i=Vg(r,t,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let I=0;I-1?at(e.index,t):t);let l=Lg(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Lg(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function _(e=1){return function _w(e){return(k.lFrame.contextLView=function vw(e,t){for(;e>0;)t=t[er],e--;return t}(e,k.lFrame.contextLView))[be]}(e)}function bn(e,t,n){return Tc(e,"",t,"",n),bn}function Tc(e,t,n,r,o){const i=E(),s=Nr(i,t,n,r);return s!==$&&ct(ee(),ve(),i,e,s,i[B],o,!1),Tc}function Is(e,t){return e<<17|t<<2}function En(e){return e>>17&32767}function Nc(e){return 2|e}function Un(e){return(131068&e)>>2}function xc(e,t){return-131069&e|t<<2}function Oc(e){return 1|e}function Wg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?En(i):Un(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];q0(e[a],t)&&(l=!0,e[a+1]=r?Oc(u):Nc(u)),a=r?En(u):Un(u)}l&&(e[n+1]=r?Nc(i):Oc(i))}function q0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&pr(e,t)>=0}const Ne={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zg(e){return e.substring(Ne.key,Ne.keyEnd)}function Qg(e,t){const n=Ne.textEnd;return n===t?-1:(t=Ne.keyEnd=function Y0(e,t,n){for(;t32;)t++;return t}(e,Ne.key=t,n),Vr(e,t,n))}function Vr(e,t,n){for(;t=0;n=Qg(t,n))lt(e,Zg(t),!0)}function tm(e,t){return t>=e.expandoStartIndex}function nm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ge()],s=tm(e,n);sm(i,r)&&null===t&&!s&&(t=!1),t=function t1(e,t,n,r){const o=function el(e){const t=k.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=Po(n=Rc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Rc(o,e,t,n,r),null===i){let l=function n1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Un(r))return e[En(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Rc(null,e,t,l[1],r),l=Po(l,t.attrs,r),function r1(e,t,n,r){e[En(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function o1(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const h=En(e[a+1]);e[r+1]=Is(h,a),0!==h&&(e[h+1]=xc(e[h+1],r)),e[a+1]=function $0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Is(a,0),0!==a&&(e[a+1]=xc(e[a+1],r)),a=r;else e[r+1]=Is(l,0),0===a?a=r:e[l+1]=xc(e[l+1],r),l=r;c&&(e[r+1]=Nc(e[r+1])),Wg(e,u,r,!0),Wg(e,u,r,!1),function G0(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&pr(i,t)>=0&&(n[r+1]=Oc(n[r+1]))}(t,u,e,r,i),s=Is(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Rc(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],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===$&&(h=d?te:void 0);let p=d?hl(h,r):u===r?h:void 0;if(c&&!Ss(p)&&(p=hl(l,r)),Ss(p)&&(a=p,s))return a;const m=e[o+1];o=s?En(m):Un(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=hl(l,r))}return a}function Ss(e){return void 0!==e}function sm(e,t){return 0!=(e.flags&(t?8:16))}function b(e,t=""){const n=E(),r=ee(),o=e+W,i=r.firstCreatePass?Ar(r,o,1,t,null):r.data[o],s=am(r,n,i,t,e);n[o]=s,Ai()&&Zi(r,n,s,i),Pt(i,!1)}let am=(e,t,n,r,o)=>(yn(!0),function zi(e,t){return e.createText(t)}(t[B],r));function x(e){return z("",e,""),x}function z(e,t,n){const r=E(),o=Nr(r,e,t,n);return o!==$&&function rn(e,t,n){const r=Si(t,e);!function Fh(e,t,n){e.setValue(t,n)}(e[B],r,n)}(r,Ge(),o),z}function jt(e,t,n){!function St(e,t,n,r){const o=ee(),i=Jt(2);o.firstUpdatePass&&nm(o,null,i,r);const s=E();if(n!==$&&He(s,i,n)){const a=o.data[Ge()];if(sm(a,r)&&!tm(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ma(l,n||"")),Ac(o,a,s,n,r)}else!function a1(e,t,n,r,o,i,s,a){o===$&&(o=te);let l=0,c=0,u=0>20;if(Bn(e)||!e.multi){const p=new co(c,o,M),m=Vc(l,t,o?u:u+h,d);-1===m?(cl(Ri(a,s),i,l),Lc(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Vc(l,t,u+h,d),m=Vc(l,t,u,u+h),I=m>=0&&n[m];if(o&&!I||!o&&!(p>=0&&n[p])){cl(Ri(a,s),i,l);const A=function AM(e,t,n,r,o){const i=new co(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,e_(i,o,r&&!n),i}(o?SM:MM,n.length,o,r,c);!o&&I&&(n[m].providerFactory=A),Lc(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else Lc(i,e,p>-1?p:m,e_(n[o?m:p],c,!o&&r));!o&&r&&I&&n[m].componentProviders++}}}function Lc(e,t,n,r){const o=Bn(t),i=function pE(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function e_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function IM(e,t,n){const r=ee();if(r.firstCreatePass){const o=wt(e);kc(n,r.data,r.blueprint,o,!0),kc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Gn{}class TM{}class Bc extends Gn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dg(this);const o=function st(e,t){const n=e[Wd]||null;if(!n&&!0===t)throw new Error(`Type ${Ae(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function nn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Ip(t,n,[{provide:Gn,useValue:this},{provide:us,useValue:this.componentFactoryResolver},...r],Ae(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 jc extends TM{constructor(t){super(),this.moduleType=t}create(t){return new Bc(this.moduleType,t,[])}}function Os(e,t,n,r){return function l_(e,t,n,r,o,i){const s=t+n;return He(e,s,o)?Vt(e,s+1,i?r.call(i,o):r(o)):jo(e,s+1)}(E(),ze(),e,t,n,r)}function Uc(e,t,n,r,o){return function c_(e,t,n,r,o,i,s){const a=t+n;return $n(e,a,o,i)?Vt(e,a+2,s?r.call(s,o,i):r(o,i)):jo(e,a+2)}(E(),ze(),e,t,n,r,o)}function xe(e,t,n,r,o,i){return u_(E(),ze(),e,t,n,r,o,i)}function jo(e,t){const n=e[t];return n===$?void 0:n}function u_(e,t,n,r,o,i,s,a){const l=t+n;return function Cs(e,t,n,r,o){const i=$n(e,t,n,r);return He(e,t+2,o)||i}(e,l,o,i,s)?Vt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):jo(e,l+3)}function p_(e,t,n,r,o){const i=e+W,s=E(),a=function or(e,t){return e[t]}(s,i);return function $o(e,t){return e[T].data[t].pure}(s,i)?u_(s,ze(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function rS(e,t,n,r=!0){const o=t[T];if(function Tb(e,t,n,r){const o=Re+r,i=n.length;r>0&&(n[o-1][Dt]=t),r{class t{}return t.__NG_ELEMENT_ID__=sS,t})();const oS=on,iS=class extends oS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function nS(e,t,n,r){const o=t.tView,a=ps(e,o,n,4096&e[U]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[no]=e[t.index];const c=e[Ot];return null!==c&&(a[Ot]=c.createEmbeddedView(o)),Dc(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new To(o)}};function sS(){return function Rs(e,t){return 4&e.type?new iS(t,e,Ir(e,t)):null}(Pe(),E())}let $t=(()=>{class t{}return t.__NG_ELEMENT_ID__=fS,t})();function fS(){return function D_(e,t){let n;const r=t[e.index];return Ue(r)?n=r:(n=Xp(r,t,null,e),t[e.index]=n,gs(t,n)),w_(n,t,e,r),new y_(n,e,t)}(Pe(),E())}const hS=$t,y_=class extends hS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new qe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fi(this._hostTNode,this._hostLView);if(sl(t)){const n=fo(t,this._hostLView),r=uo(t);return new qe(n[T].data[r+8],n)}return new qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=C_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Re}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function po(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const w=n||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}const l=s?t:new No(X(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const I=(s?c:this.parentInjector).get(en,null);I&&(i=I)}X(l.componentType??{});const p=l.create(c,o,null,i);return this.insertImpl(p.hostView,a,false),p}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function tw(e){return Ue(e[ge])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[ge],u=new y_(c,c[ke],c[ge]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return rS(a,o,s,!r),t.attachToViewContainerRef(),uh(Gc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=C_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=qi(this._lContainer,n);r&&(ki(Gc(this._lContainer),n),Ml(r[T],r))}detach(t){const n=this._adjustIndex(t,-1),r=qi(this._lContainer,n);return r&&null!=ki(Gc(this._lContainer),n)?new To(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function C_(e){return e[8]}function Gc(e){return e[8]||(e[8]=[])}let w_=function b_(e,t,n,r){if(e[Rt])return;let o;o=8&n.type?fe(r):function pS(e,t){const n=e[B],r=n.createComment(""),o=et(t,e);return Hn(n,Wi(n,o),r,function Fb(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Rt]=o};const ZS=new R("Application Initializer");let tu=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=le(ZS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(Es(s))r.push(s);else if(Fg(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const sn=new R("LocaleId",{providedIn:"root",factory:()=>le(sn,K.Optional|K.SkipSelf)||function YS(){return typeof $localize<"u"&&$localize.locale||Br}()});let XS=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ZC(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Q_=new R(""),Ls=new R("");let su,ou=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,su||(function CA(e){su=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ce),J(iu),J(Ls))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),iu=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return su?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),In=null;const Y_=new R("AllowMultipleToken"),au=new R("PlatformDestroyListeners"),K_=new R("appBootstrapListener");function ev(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=lu();if(!s||s.injector.get(Y_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function bA(e){if(In&&!In.get(Y_,!1))throw new S(400,!1);(function J_(){!function BD(e){Df=e}(()=>{throw new S(600,!1)})})(),In=e;const t=e.get(nv);(function X_(e){e.get(hp,null)?.forEach(n=>n())})(e)}(function tv(e=[],t){return Et.create({name:t,providers:[{provide:$l,useValue:"platform"},{provide:au,useValue:new Set([()=>In=null])},...e]})}(a,r))}return function IA(e){const t=lu();if(!t)throw new S(401,!1);return t}()}}function lu(){return In?.get(nv)??null}let nv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function MA(e="zone.js",t){return"noop"===e?new YE:"zone.js"===e?new Ce(t):e}(o?.ngZone,function rv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function xM(e,t,n){return new Bc(e,t,n)}(r.moduleType,this.injector,function lv(e){return[{provide:Ce,useFactory:e},{provide:Xi,multi:!0,useFactory:()=>{const t=le(AA,{optional:!0});return()=>t.initialize()}},{provide:av,useFactory:SA},{provide:Np,useFactory:xp}]}(()=>i)),a=s.injector.get(tn,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Vs(this._modules,s),l.unsubscribe()})}),function ov(e,t,n){try{const r=n();return Es(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=s.injector.get(tu);return l.runInitializers(),l.donePromise.then(()=>(function Nm(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(Tm=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(sn,Br)||Br),this._moduleDoBootstrap(s),s))})})}bootstrapModule(r,o=[]){const i=iv({},o);return function DA(e,t,n){const r=new jc(n);return Promise.resolve(r)}(0,0,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){const o=r.injector.get(Go);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new S(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(au,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Et))},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function iv(e,t){return Array.isArray(t)?t.reduce(iv,e):{...e,...t}}let Go=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=le(av),this.zoneIsStable=le(Np),this.componentTypes=[],this.components=[],this.isStable=le(XS).hasPendingTasks.pipe(function KC(e,t){return un((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(new zt(r,l=>{o?.unsubscribe();let c=0;const u=i++;dn(e(l,u)).subscribe(o=new zt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>r?function QC(...e){return fi(e,Fd(e))}(!1):this.zoneIsStable),function JC(e,t=Ca){return e=e??XC,un((n,r)=>{let o,i=!0;n.subscribe(new zt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Vd()),this._injector=le(en)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof vp;if(!this._injector.get(tu).done)throw!i&&function Xr(e){const t=X(e)||Oe(e)||$e(e);return null!==t&&t.standalone}(r),new S(405,!1);let a;a=i?r:this._injector.get(us).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const l=function wA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Gn),u=a.create(Et.NULL,[],o||a.selector,l),d=u.location.nativeElement,h=u.injector.get(Q_,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Vs(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;Vs(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(K_,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Vs(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Vs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const av=new R("",{providedIn:"root",factory:()=>le(tn).handleError.bind(void 0)});function SA(){const e=le(Ce),t=le(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let AA=(()=>{var e;class t{constructor(){this.zone=le(Ce),this.applicationRef=le(Go)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let uv=(()=>{class t{}return t.__NG_ELEMENT_ID__=NA,t})();function NA(e){return function xA(e,t,n){if(Pn(e)&&!n){const r=at(e.index,t);return new To(r,r)}return 47&e.type?new To(t[Ee],t):null}(Pe(),E(),16==(16&e))}class hv{constructor(){}supports(t){return ys(t)}create(t){return new LA(t)}}const kA=(e,t)=>t;class LA{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||kA}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 VA(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 pv),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 pv),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 VA{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 HA{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 pv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HA,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 gv(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 jA(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 jA{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 _v(){return new js([new hv])}let js=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_v()),deps:[[t,new ml,new gl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:_v}),t})();function vv(){return new qo([new mv])}let qo=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||vv()),deps:[[t,new ml,new gl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:vv}),t})();const zA=ev(null,"core",[]);let GA=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Go))},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();let gu=null;function Wo(){return gu}class oT{}const Wn=new R("DocumentToken"),Iu=/\s+/,Pv=[];let Yo=(()=>{var e;class t{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Pv,this.stateMap=new Map}set klass(r){this.initialClasses=null!=r?r.trim().split(Iu):Pv}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(Iu):r}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const o of r)this._updateState(o,!0);else if(null!=r)for(const o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){const i=this.stateMap.get(r);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){(r=r.trim()).length>0&&r.split(Iu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(r){return new(r||e)(M(js),M(qo),M(bt),M(jn))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class qT{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 zr=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new qT(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),Lv(l,i)}});for(let i=0,s=o.length;i{Lv(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(on),M(js))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function Lv(e,t){e.context.$implicit=t.item}let Zn=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new WT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Vv("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Vv("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(on))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class WT{constructor(){this.$implicit=null,this.ngIf=null}}function Vv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ae(t)}'.`)}let jv=(()=>{var e;class t{transform(r,o,i){if(null==r)return null;if(!this.supports(r))throw function Tt(e,t){return new S(2100,!1)}();return r.slice(o,i)}supports(r){return"string"==typeof r||Array.isArray(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Je({name:"slice",type:e,pure:!1,standalone:!0}),t})(),vN=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();function Uv(e){return"server"===e}class qN extends oT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ou extends qN{static makeCurrent(){!function rT(e){gu||(gu=e)}(new Ou)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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 WN(){return Jo=Jo||document.querySelector("base"),Jo?Jo.getAttribute("href"):null}();return null==n?null:function ZN(e){ta=ta||document.createElement("a"),ta.setAttribute("href",e);const t=ta.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function zT(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}(document.cookie,t)}}let ta,Jo=null,YN=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Ru=new R("EventManagerPlugins");let Zv=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ru),J(Ce))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Qv{constructor(t){this._doc=t}}const Fu="ng-app-id";let Yv=(()=>{var e;class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Uv(s),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${Fu}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){const i=this.styleRef;if(i.has(r)){const s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Fu),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fu,this.appId),a}}addStyleToHost(r,o){const i=this.getStyleElement(r,o);r.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn),J(os),J(pp,8),J(wr))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Pu={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/"},ku=/%COMP%/g,ex=new R("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Jv(e,t){return t.map(n=>n.replace(ku,e))}let Xv=(()=>{var e;class t{constructor(r,o,i,s,a,l,c,u=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Uv(l),this.defaultRenderer=new Lu(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===yt.ShadowDom&&(o={...o,encapsulation:yt.Emulated});const i=this.getOrCreateRenderer(r,o);return i instanceof ty?i.applyToHost(r):i instanceof Vu&&i.applyStyles(),i}getOrCreateRenderer(r,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case yt.Emulated:s=new ty(c,u,o,this.appId,d,a,l,h);break;case yt.ShadowDom:return new ox(c,u,r,o,a,l,this.nonce,h);default:s=new Vu(c,u,o,d,a,l,h)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Zv),J(Yv),J(os),J(ex),J(Wn),J(wr),J(Ce),J(pp))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Lu{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Pu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ey(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ey(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new S(-5104,!1);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=Pu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Pu[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&(Cn.DashCase|Cn.Important)?t.style.setProperty(n,r,o&Cn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Cn.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){if("string"==typeof t&&!(t=Wo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function ey(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ox extends Lu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Jv(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Vu extends Lu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?Jv(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ty extends Vu{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function tx(e){return"_ngcontent-%COMP%".replace(ku,e)}(c),this.hostAttr=function nx(e){return"_nghost-%COMP%".replace(ku,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let ix=(()=>{var e;class t extends Qv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const ny=["alt","control","meta","shift"],sx={"\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"},ax={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lx=(()=>{var e;class t extends Qv{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wo().onAndCancel(r,s.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),ny.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=sx[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),ny.forEach(a=>{a!==i&&(0,ax[a])(r)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const fx=ev(zA,"browser",[{provide:wr,useValue:"browser"},{provide:hp,useValue:function cx(){Ou.makeCurrent()},multi:!0},{provide:Wn,useFactory:function dx(){return function $b(e){Rl=e}(document),document},deps:[]}]),hx=new R(""),iy=[{provide:Ls,useClass:class QN{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Wo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Q_,useClass:ou,deps:[Ce,iu,Ls]},{provide:ou,useClass:ou,deps:[Ce,iu,Ls]}],sy=[{provide:$l,useValue:"root"},{provide:tn,useFactory:function ux(){return new tn},deps:[]},{provide:Ru,useClass:ix,multi:!0,deps:[Wn,Ce,wr]},{provide:Ru,useClass:lx,multi:!0,deps:[Wn]},Xv,Yv,Zv,{provide:Cp,useExisting:Xv},{provide:class bN{},useClass:YN,deps:[]},[]];let px=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:os,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(J(hx,12))},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({providers:[...sy,...iy],imports:[vN,GA]}),t})();typeof window<"u"&&window;const{isArray:Dx}=Array,{getPrototypeOf:wx,prototype:bx,keys:Ex}=Object;const{isArray:Sx}=Array;function Nx(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function xx(...e){const t=function HC(e){return _e(Ea(e))?e.pop():void 0}(e),{args:n,keys:r}=function Ix(e){if(1===e.length){const t=e[0];if(Dx(t))return{args:t,keys:null};if(function Mx(e){return e&&"object"==typeof e&&wx(e)===bx}(t)){const n=Ex(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new je(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?Nx(r,a):a),i.complete())}))}});return t?o.pipe(function Tx(e){return Da(t=>function Ax(e,t){return Sx(t)?e(...t):e(t)}(e,t))}(t)):o}let uy=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(jn),M(bt))},e.\u0275dir=j({type:e}),t})(),Qn=(()=>{var e;class t extends uy{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,features:[ae]}),t})();const Ut=new R("NgValueAccessor"),Ox={provide:Ut,useExisting:ue(()=>Bu),multi:!0};let Bu=(()=>{var e;class t extends Qn{writeValue(r){this.setProperty("checked",r)}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[me([Ox]),ae]}),t})();const Rx={provide:Ut,useExisting:ue(()=>Xo),multi:!0},Px=new R("CompositionEventMode");let Xo=(()=>{var e;class t extends uy{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Fx(){const e=Wo()?Wo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(jn),M(bt),M(Px,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&F("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([Rx]),ae]}),t})();const Be=new R("NgValidators"),An=new R("NgAsyncValidators");function Cy(e){return null!=e}function Dy(e){return Es(e)?fi(e):e}function wy(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function by(e,t){return t.map(n=>n(e))}function Ey(e){return e.map(t=>function Lx(e){return!e.validate}(t)?t:n=>t.validate(n))}function ju(e){return null!=e?function Iy(e){if(!e)return null;const t=e.filter(Cy);return 0==t.length?null:function(n){return wy(by(n,t))}}(Ey(e)):null}function $u(e){return null!=e?function My(e){if(!e)return null;const t=e.filter(Cy);return 0==t.length?null:function(n){return xx(by(n,t).map(Dy)).pipe(Da(wy))}}(Ey(e)):null}function Sy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Uu(e){return e?Array.isArray(e)?e:[e]:[]}function ra(e,t){return Array.isArray(e)?e.includes(t):e===t}function Ny(e,t){const n=Uu(t);return Uu(e).forEach(o=>{ra(n,o)||n.push(o)}),n}function xy(e,t){return Uu(t).filter(n=>!ra(e,n))}class Oy{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=ju(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=$u(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=void 0){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 Ye extends Oy{get formDirective(){return null}get path(){return null}}class Tn extends Oy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ry{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 oa=(()=>{var e;class t extends Ry{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Tn,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ms("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ae]}),t})();const ei="VALID",sa="INVALID",Gr="PENDING",ti="DISABLED";function aa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Ly{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ei}get invalid(){return this.status===sa}get pending(){return this.status==Gr}get disabled(){return this.status===ti}get enabled(){return this.status!==ti}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ny(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ny(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(xy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(xy(t,this._rawAsyncValidators))}hasValidator(t){return ra(this._rawValidators,t)}hasAsyncValidator(t){return ra(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=Gr,!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=ti,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=ei,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===ei||this.status===Gr)&&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()?ti:ei}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gr,this._hasOwnPendingAsyncValidator=!0;const n=Dy(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 Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?ti:this.errors?sa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gr)?Gr:this._anyControlsHaveStatus(sa)?sa:ei}_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){aa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function $x(e){return Array.isArray(e)?ju(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Ux(e){return Array.isArray(e)?$u(e):e||null}(this._rawAsyncValidators)}}const qr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>la}),la="always";function ni(e,t,n=la){(function Qu(e,t){const n=function Ay(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Sy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Ty(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Sy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();da(t._rawValidators,o),da(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function qx(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Vy(e,t)})}(e,t),function Zx(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 Wx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Vy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function Gx(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function da(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Vy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function jy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $y(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Uy=class extends Ly{constructor(t=null,n,r){super(function qu(e){return(aa(e)?e.validators:e)||null}(n),function Wu(e,t){return(aa(t)?t.asyncValidators:e)||null}(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}),aa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=$y(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){jy(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){jy(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){$y(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}},nO={provide:Tn,useExisting:ue(()=>oi)},qy=(()=>Promise.resolve())();let oi=(()=>{var e;class t extends Tn{constructor(r,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Uy,this._registered=!1,this.name="",this.update=new Ie,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function Ju(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Xo?n=i:function Kx(e){return Object.getPrototypeOf(e.constructor)===Qn}(i)?r=i:o=i}),o||r||n||null}(0,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),function Ku(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,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(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ni(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(r){qy.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const o=r.isDisabled.currentValue,i=0!==o&&function pu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(o);qy.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function ca(e,t){return[...t.path,e]}(r,this._parent):[r]}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Ye,9),M(Be,10),M(An,10),M(Ut,10),M(uv,8),M(qr,8))},e.\u0275dir=j({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:[me([nO]),ae,Yt]}),t})(),Zy=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();const aO={provide:Ut,useExisting:ue(()=>ed),multi:!0};let ed=(()=>{var e;class t extends Qn{writeValue(r){this.setProperty("value",parseFloat(r))}registerOnChange(r){this.onChange=o=>{r(""==o?null:parseFloat(o))}}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[me([aO]),ae]}),t})();const hO={provide:Ut,useExisting:ue(()=>ii),multi:!0};function eC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ii=(()=>{var e;class t extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;const i=eC(this._getOptionId(r),r);this.setProperty("value",i)}registerOnChange(r){this.onChange=o=>{this.value=this._getOptionValue(o),r(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(r){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),r))return o;return null}_getOptionValue(r){const o=function pO(e){return e.split(":")[0]}(r);return this._optionMap.has(o)?this._optionMap.get(o):r}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([hO]),ae]}),t})(),od=(()=>{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(r){null!=this._select&&(this._select._optionMap.set(this.id,r),this._setElementValue(eC(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._setElementValue(r),this._select&&this._select.writeValue(this._select.value)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(bt),M(jn),M(ii,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const gO={provide:Ut,useExisting:ue(()=>id),multi:!0};function tC(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let id=(()=>{var e;class t extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){let o;if(this.value=r,Array.isArray(r)){const i=r.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(r){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(r){null!=this._select&&(this._value=r,this._setElementValue(tC(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._select?(this._value=r,this._setElementValue(tC(this.id,r)),this._select.writeValue(this._select.value)):this._setElementValue(r)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}_setSelected(r){this._renderer.setProperty(this._element.nativeElement,"selected",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(bt),M(jn),M(id,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),IO=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({imports:[Zy]}),t})(),SO=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:qr,useValue:r.callSetDisabledState??la}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({imports:[IO]}),t})();class dC{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class AO{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class TO{constructor(t){this.et="",this.et=t.et,this.cl=t.cl,this.ucl=t.ucl,this.cal=t.cal,this.tl=t.tl,this.lcq=t.lcq,this.cb=t.cb,this.tb=t.tb,this.bcq=t.bcq,this.cm=t.cm,this.tm=t.tm,this.mcq=t.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class vt{static roundNumber(t){return Math.floor(t*Math.pow(10,vt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,vt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(t,n,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new TO(r))}),this.metrics=t.metrics}get coverage(){return 0===this.coverableLines?NaN:vt.roundNumber(100*this.coveredLines/this.coverableLines)}visible(t,n){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===n||null===this.currentHistoricCoverage)return!0;if("allChanges"===n){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let n=0;n-1&&null===n}visible(t,n){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let r=0;r{var e;class t{get nativeWindow(){return function NO(){return window}()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),xO=(()=>{var e;class t{constructor(){this.translations={}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),v()),2&r&&(f(1),bn("title",o.translations.methodCoverageProVersion))},encapsulation:2}),t})();function OO(e,t){if(1&e){const n=De();y(0,"div",3)(1,"label")(2,"input",4),F("ngModelChange",function(o){return G(n),q(_().showBranchCoverage=o)})("change",function(){G(n);const o=_();return q(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),v(),b(3),v()()}if(2&e){const n=_();f(2),g("ngModel",n.showBranchCoverage),f(1),z(" ",n.translations.branchCoverage,"")}}function RO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_().translations)}function FO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_(2).translations)}function PO(e,t){1&e&&(y(0,"a",13),N(1,"i",14),v()),2&e&&g("href",_().$implicit.explanationUrl,wn)}function kO(e,t){if(1&e){const n=De();y(0,"div",3)(1,"label")(2,"input",11),F("change",function(){const i=G(n).$implicit;return q(_(2).toggleMetric(i))}),v(),b(3),v(),b(4,"\xa0"),C(5,PO,2,1,"a",12),v()}if(2&e){const n=t.$implicit,r=_(2);f(2),g("checked",r.isMetricSelected(n))("disabled",!r.methodCoverageAvailable),f(1),z(" ",n.name,""),f(2),g("ngIf",n.explanationUrl)}}function LO(e,t){if(1&e&&(Z(0),N(1,"br")(2,"br"),y(3,"b"),b(4),v(),C(5,FO,1,1,"pro-button",7),C(6,kO,6,4,"div",10),Q()),2&e){const n=_();f(4),x(n.translations.metrics),f(1),g("ngIf",!n.methodCoverageAvailable),f(1),g("ngForOf",n.metrics)}}let VO=(()=>{var e;class t{constructor(){this.visible=!1,this.visibleChange=new Ie,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ie,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ie,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ie,this.visibleMetrics=[],this.visibleMetricsChange=new Ie}isMetricSelected(r){return void 0!==this.visibleMetrics.find(o=>o.name===r.name)}toggleMetric(r){let o=this.visibleMetrics.find(i=>i.name===r.name);o?this.visibleMetrics.splice(this.visibleMetrics.indexOf(o),1):this.visibleMetrics.push(r),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(r){r.stopPropagation()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),F("click",function(){return o.close()}),y(1,"div",1),F("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),F("click",function(){return o.close()}),b(3,"X"),v(),y(4,"b"),b(5),v(),y(6,"div",3)(7,"label")(8,"input",4),F("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),v(),b(9),v()(),C(10,OO,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),F("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),v(),b(14),v(),C(15,RO,1,1,"pro-button",7),v(),C(16,LO,7,3,"ng-container",8),v()()),2&r&&(f(5),x(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(1),z(" ",o.translations.coverage,""),f(1),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(1),z(" ",o.translations.methodCoverage,""),f(1),g("ngIf",!o.methodCoverageAvailable),f(1),g("ngIf",o.metrics.length>0))},dependencies:[zr,Zn,Bu,oa,oi,xO],encapsulation:2}),t})();function HO(e,t){1&e&&N(0,"td",3)}function BO(e,t){1&e&&N(0,"td"),2&e&&jt("green ",_().greenClass,"")}function jO(e,t){1&e&&N(0,"td"),2&e&&jt("red ",_().redClass,"")}let hC=(()=>{var e;class t{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(r){this._percentage=r,this.grayVisible=isNaN(r),this.greenVisible=!isNaN(r)&&Math.round(r)>0,this.redVisible=!isNaN(r)&&100-Math.round(r)>0,this.greenClass="covered"+Math.round(r),this.redClass="covered"+(100-Math.round(r))}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),C(1,HO,1,0,"td",1),C(2,BO,1,3,"td",2),C(3,jO,1,3,"td",2),v()),2&r&&(f(1),g("ngIf",o.grayVisible),f(1),g("ngIf",o.greenVisible),f(1),g("ngIf",o.redVisible))},dependencies:[Zn],encapsulation:2,changeDetection:0}),t})();const $O=["codeelement-row",""];function UO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredLines)}}function zO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.uncoveredLines)}}function GO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coverableLines)}}function qO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalLines)}}function WO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.coverageRatioText),f(1),x(n.element.coveragePercentage)}}function ZO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.coverage)}}function QO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredBranches)}}function YO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalBranches)}}function KO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.branchCoverageRatioText),f(1),x(n.element.branchCoveragePercentage)}}function JO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.branchCoverage)}}function XO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredMethods)}}function eR(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalMethods)}}function tR(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.methodCoverageRatioText),f(1),x(n.element.methodCoveragePercentage)}}function nR(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.methodCoverage)}}function rR(e,t){1&e&&N(0,"th",5)}const oR=function(e,t){return{"icon-plus":e,"icon-minus":t}};let iR=(()=>{var e;class t{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:$O,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),F("click",function(s){return o.element.toggleCollapse(s)}),N(2,"i",1),b(3),v()(),C(4,UO,2,1,"th",2),C(5,zO,2,1,"th",2),C(6,GO,2,1,"th",2),C(7,qO,2,1,"th",2),C(8,WO,2,2,"th",3),C(9,ZO,2,1,"th",2),C(10,QO,2,1,"th",2),C(11,YO,2,1,"th",2),C(12,KO,2,2,"th",3),C(13,JO,2,1,"th",2),C(14,XO,2,1,"th",2),C(15,eR,2,1,"th",2),C(16,tR,2,2,"th",3),C(17,nR,2,1,"th",2),C(18,rR,1,0,"th",4)),2&r&&(f(2),g("ngClass",Uc(17,oR,o.element.collapsed,!o.element.collapsed)),f(1),z(" ",o.element.name,""),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngForOf",o.visibleMetrics))},dependencies:[Yo,zr,Zn,hC],encapsulation:2,changeDetection:0}),t})();const sR=["coverage-history-chart",""];let aR=(()=>{var e;class t{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(r){if(this._historicCoverages=r,r.length>1){let o="";for(let i=0;i1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function SR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.coverage)}}function AR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),f(1),z(" ",n.clazz.coveredBranches," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cb," ")}}function TR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredBranches," ")}}function NR(e,t){if(1&e&&(y(0,"td",6),C(1,AR,5,6,"ng-container",1),C(2,TR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function xR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalBranches),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tb)}}function OR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalBranches," ")}}function RR(e,t){if(1&e&&(y(0,"td",6),C(1,xR,5,3,"ng-container",1),C(2,OR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function FR(e,t){if(1&e&&N(0,"div",14),2&e){const n=_(2);bn("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Os(3,ud,null!==n.clazz.currentHistoricCoverage))}}function PR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),f(1),z(" ",n.clazz.branchCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.bcq,"%")}}function kR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.branchCoveragePercentage," ")}}function LR(e,t){if(1&e&&(y(0,"td",9),C(1,FR,1,5,"div",13),C(2,PR,5,6,"ng-container",1),C(3,kR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.branchCoverageRatioText),f(1),g("ngIf",n.clazz.branchCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function VR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.branchCoverage)}}function HR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),f(1),z(" ",n.clazz.coveredMethods," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cm," ")}}function BR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredMethods," ")}}function jR(e,t){if(1&e&&(y(0,"td",6),C(1,HR,5,6,"ng-container",1),C(2,BR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function $R(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalMethods),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tm)}}function UR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalMethods," ")}}function zR(e,t){if(1&e&&(y(0,"td",6),C(1,$R,5,3,"ng-container",1),C(2,UR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function GR(e,t){if(1&e&&N(0,"div",16),2&e){const n=_(2);bn("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Os(3,ud,null!==n.clazz.currentHistoricCoverage))}}function qR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),f(1),z(" ",n.clazz.methodCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.mcq,"%")}}function WR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.methodCoveragePercentage," ")}}function ZR(e,t){if(1&e&&(y(0,"td",9),C(1,GR,1,5,"div",15),C(2,qR,5,6,"ng-container",1),C(3,WR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.methodCoverageRatioText),f(1),g("ngIf",n.clazz.methodCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function QR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.methodCoverage)}}function YR(e,t){if(1&e&&(y(0,"td",6),b(1),v()),2&e){const n=t.$implicit,r=_();f(1),x(r.clazz.metrics[n.abbreviation])}}let KR=(()=>{var e;class t{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(r,o){return r>o?"lightgreen":r0),f(2),z(" ",n.translations.grouping," "),f(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),f(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),f(5),x(n.metrics.length>0?n.translations.selectCoverageTypesAndMetrics:n.translations.selectCoverageTypes),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(5),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(4),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.settings.visibleMetrics.length>0),f(4),g("ngClass",xe(47,dt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),f(1),x(n.translations.name),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(2),g("ngForOf",n.codeElements)}}let YF=(()=>{var e;class t{constructor(r){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new AO,this.window=r.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,vt.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let r=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),r=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let i=0,s=this.window.assemblies;for(let a=0;a-1&&(this.queryString=window.location.href.substring(o)),this.updateCoverageInfo(),r&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let r=new dC;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateCoverageInfo(){let r=(new Date).getTime(),o=this.window.assemblies,i=[],s=0;if(0===this.settings.grouping)for(let c=0;c{for(let i=0;i{for(let s=0;sr&&(i[s].collapsed=this.settings.collapseStates[r]),r++,o(i[s].subElements)};o(this.codeElements)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(cd))},e.\u0275cmp=Zt({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&F("beforeunload",function(){return o.onBeforeUnload()},0,cc)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&C(0,QF,73,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Yo,zr,Zn,od,sd,Xo,ed,ii,oa,oi,VO,iR,KR],encapsulation:2}),t})();class KF{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function JF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=t.$implicit;g("value",n),f(1),x(n)}}function XF(e,t){if(1&e&&(y(0,"span"),b(1),v()),2&e){const n=_(2);f(1),x(n.translations.top)}}function eP(e,t){1&e&&(y(0,"option",22),b(1,"20"),v())}function tP(e,t){1&e&&(y(0,"option",23),b(1,"50"),v())}function nP(e,t){1&e&&(y(0,"option",24),b(1,"100"),v())}function rP(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=_(3);g("value",n.totalNumberOfRiskHotspots),f(1),x(n.translations.all)}}function oP(e,t){if(1&e){const n=De();y(0,"select",16),F("ngModelChange",function(o){return G(n),q(_(2).settings.numberOfRiskHotspots=o)}),y(1,"option",17),b(2,"10"),v(),C(3,eP,2,0,"option",18),C(4,tP,2,0,"option",19),C(5,nP,2,0,"option",20),C(6,rP,2,2,"option",21),v()}if(2&e){const n=_(2);g("ngModel",n.settings.numberOfRiskHotspots),f(3),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>20),f(1),g("ngIf",n.totalNumberOfRiskHotspots>50),f(1),g("ngIf",n.totalNumberOfRiskHotspots>100)}}function iP(e,t){1&e&&N(0,"col",25)}const ha=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function sP(e,t){if(1&e){const n=De();y(0,"th")(1,"a",12),F("click",function(o){const s=G(n).index;return q(_(2).updateSorting(""+s,o))}),N(2,"i",13),b(3),v(),y(4,"a",26),N(5,"i",27),v()()}if(2&e){const n=t.$implicit,r=t.index,o=_(2);f(2),g("ngClass",xe(3,ha,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(1),x(n.name),f(1),bn("href",n.explanationUrl,wn)}}const aP=function(e,t){return{lightred:e,lightgreen:t}};function lP(e,t){if(1&e&&(y(0,"td",31),b(1),v()),2&e){const n=t.$implicit;g("ngClass",Uc(2,aP,n.exceeded,!n.exceeded)),f(1),x(n.value)}}function cP(e,t){if(1&e&&(y(0,"tr")(1,"td"),b(2),v(),y(3,"td")(4,"a",28),b(5),v()(),y(6,"td",29)(7,"a",28),b(8),v()(),C(9,lP,2,5,"td",30),v()),2&e){const n=t.$implicit,r=_(2);f(2),x(n.assembly),f(2),g("href",n.reportPath+r.queryString,wn),f(1),x(n.class),f(1),g("title",n.methodName),f(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,wn),f(1),z(" ",n.methodShortName," "),f(1),g("ngForOf",n.metrics)}}function uP(e,t){if(1&e){const n=De();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),F("ngModelChange",function(o){return G(n),q(_().settings.assembly=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),y(4,"option",3),b(5),v(),C(6,JF,2,2,"option",4),v()(),y(7,"div",5),C(8,XF,2,1,"span",0),C(9,oP,7,5,"select",6),v(),N(10,"div",5),y(11,"div",7)(12,"span"),b(13),v(),y(14,"input",8),F("ngModelChange",function(o){return G(n),q(_().settings.filter=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),v()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),N(18,"col")(19,"col")(20,"col"),C(21,iP,1,0,"col",11),v(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),F("click",function(o){return G(n),q(_().updateSorting("assembly",o))}),N(26,"i",13),b(27),v()(),y(28,"th")(29,"a",12),F("click",function(o){return G(n),q(_().updateSorting("class",o))}),N(30,"i",13),b(31),v()(),y(32,"th")(33,"a",12),F("click",function(o){return G(n),q(_().updateSorting("method",o))}),N(34,"i",13),b(35),v()(),C(36,sP,6,7,"th",14),v()(),y(37,"tbody"),C(38,cP,10,7,"tr",14),function h_(e,t){const n=ee();let r;const o=e+W;n.firstCreatePass?(r=function YM(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kn(r.type)),a=Ke(M);try{const l=Oi(!1),c=i();return Oi(l),function T0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),o,c),c}finally{Ke(a)}}(39,"slice"),v()()()()}if(2&e){const n=_();f(3),g("ngModel",n.settings.assembly),f(2),x(n.translations.assembly),f(1),g("ngForOf",n.assemblies),f(2),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>10),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(7),g("ngForOf",n.riskHotspotMetrics),f(5),g("ngClass",xe(20,ha,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),f(1),x(n.translations.assembly),f(3),g("ngClass",xe(24,ha,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),f(1),x(n.translations.class),f(3),g("ngClass",xe(28,ha,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),f(1),x(n.translations.method),f(1),g("ngForOf",n.riskHotspotMetrics),f(2),g("ngForOf",p_(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}let dP=(()=>{var e;class t{constructor(r){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new KF,this.window=r.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const r=window.location.href.indexOf("?");r>-1&&(this.queryString=window.location.href.substring(r)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let r=new dC;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateRiskHotpots(){const r=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=r.length,0===this.assemblies.length){let a=[];for(let l=0;l0)},dependencies:[Yo,zr,Zn,od,sd,Xo,ii,oa,oi,jv],encapsulation:2}),t})(),fP=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e,bootstrap:[dP,YF]}),e.\u0275inj=Gt({providers:[cd],imports:[px,SO]}),t})();fx().bootstrapModule(fP).catch(e=>console.error(e))}},_e=>{_e(_e.s=538)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlChart/CoverageHistory.html b/docs/resources/reports/HtmlChart/CoverageHistory.html index 8b12a45b..2410b022 100644 --- a/docs/resources/reports/HtmlChart/CoverageHistory.html +++ b/docs/resources/reports/HtmlChart/CoverageHistory.html @@ -788,7 +788,7 @@ .ct-double-octave:after,.ct-golden-section:after,.ct-major-eleventh:after,.ct-major-second:after,.ct-major-seventh:after,.ct-major-sixth:after,.ct-major-tenth:after,.ct-major-third:after,.ct-major-twelfth:after,.ct-minor-second:after,.ct-minor-seventh:after,.ct-minor-sixth:after,.ct-minor-third:after,.ct-octave:after,.ct-perfect-fifth:after,.ct-perfect-fourth:after,.ct-square:after{content:"";clear:both}.ct-label{fill:rgba(0,0,0,.4);color:rgba(0,0,0,.4);font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-webkit-justify-content:flex-end;-ms-flex-pack:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-start;-webkit-justify-content:flex-start;-ms-flex-pack:flex-start;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#f05b4f}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#f05b4f}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{display:table}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{display:table}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{display:table}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{display:table}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{display:table}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{display:table}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{display:table}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{display:table}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{display:table}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{display:table}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{display:table}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{display:table}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{display:table}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{display:table}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{display:table}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{display:table}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{display:table}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}
-
+
@@ -1092,10 +1092,10 @@ { "name": "Sample", "classes": [ - { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "03.10.2023 - 20:43:11", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, - { "name": "Sample.TestClass", "rp": "", "cl": 12, "ucl": 9, "cal": 21, "tl": 38, "cb": 1, "tb": 2, "cm": 1, "tm": 2, "lch": [38,38,42.8,42.8,47.6,47.6,57.1], "bch": [50,60,60,65,65,50,50], "mch": [50,50,50,50,50,50,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "03.02.2022 - 20:50:35", "cl": 8, "ucl": 13, "cal": 21, "tl": 38, "lcq": 38, "cb": 12, "tb": 20, "bcq": 60, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 12, "tb": 20, "bcq": 60, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "05.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "06.02.2022 - 20:50:35", "cl": 9, "ucl": 12, "cal": 21, "tl": 38, "lcq": 42.8, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "07.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "08.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 13, "tb": 20, "bcq": 65, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "09.02.2022 - 20:50:35", "cl": 10, "ucl": 11, "cal": 21, "tl": 38, "lcq": 47.6, "cb": 10, "tb": 20, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }, { "et": "03.10.2023 - 20:43:11", "cl": 12, "ucl": 9, "cal": 21, "tl": 38, "lcq": 57.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 1, "tm": 2, "mcq": 50 }], "metrics": { "cc": 3, "npth": 2, "seq": 0, "bcov": 0, "crp": 3.14 } }, - { "name": "Test.Program", "rp": "", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "cb": 0, "tb": 0, "cm": 4, "tm": 6, "lch": [79.5], "bch": [], "mch": [66.6], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.10.2023 - 20:43:11", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }], "metrics": { "cc": 3, "npth": 0, "seq": 0, "bcov": 0, "crp": 3 } }, - { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "03.10.2023 - 20:43:11", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, + { "name": "Sample.PartialClass", "rp": "", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "cb": 1, "tb": 2, "cm": 3, "tm": 6, "lch": [40.9,54.5,59,59,45.4,50,50,59,54.5], "bch": [50,40,40,45,45,45,45,45,50], "mch": [50,33.3,50,66.6,66.6,66.6,83.3,83.3,50], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 9, "ucl": 13, "cal": 22, "tl": 53, "lcq": 40.9, "cb": 10, "tb": 20, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "02.02.2022 - 20:50:35", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 8, "tb": 20, "bcq": 40, "cm": 2, "tm": 6, "mcq": 33.3 }, { "et": "03.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 8, "tb": 20, "bcq": 40, "cm": 3, "tm": 6, "mcq": 50 }, { "et": "04.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 10, "ucl": 12, "cal": 22, "tl": 53, "lcq": 45.4, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 11, "ucl": 11, "cal": 22, "tl": 53, "lcq": 50, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "08.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "09.02.2022 - 20:50:35", "cl": 13, "ucl": 9, "cal": 22, "tl": 53, "lcq": 59, "cb": 9, "tb": 20, "bcq": 45, "cm": 5, "tm": 6, "mcq": 83.3 }, { "et": "05.10.2023 - 22:36:09", "cl": 12, "ucl": 10, "cal": 22, "tl": 53, "lcq": 54.5, "cb": 1, "tb": 2, "bcq": 50, "cm": 3, "tm": 6, "mcq": 50 }], "metrics": { "cc": 1, "npth": 0, "seq": 0, "bcov": 0, "crp": 2 } }, + { "name": "Test.Program", "rp": "", "cl": 15, "ucl": 0, "cal": 15, "tl": 75, "cb": 0, "tb": 0, "cm": 3, "tm": 3, "lch": [79.5,100], "bch": [], "mch": [66.6,100], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "02.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "03.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "04.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "06.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "07.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "08.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "09.02.2022 - 20:50:35", "cl": 35, "ucl": 9, "cal": 44, "tl": 84, "lcq": 79.5, "cb": 0, "tb": 0, "bcq": 0, "cm": 4, "tm": 6, "mcq": 66.6 }, { "et": "05.10.2023 - 22:36:09", "cl": 15, "ucl": 0, "cal": 15, "tl": 75, "lcq": 100, "cb": 0, "tb": 0, "bcq": 0, "cm": 3, "tm": 3, "mcq": 100 }], "metrics": { "cc": 3, "npth": 0, "seq": 100, "bcov": 100, "crp": 3 } }, + { "name": "Test.TestClass", "rp": "", "cl": 24, "ucl": 9, "cal": 33, "tl": 60, "cb": 2, "tb": 4, "cm": 4, "tm": 5, "lch": [72.7], "bch": [50], "mch": [80], "hc": [{ "et": "05.10.2023 - 22:36:09", "cl": 24, "ucl": 9, "cal": 33, "tl": 60, "lcq": 72.7, "cb": 2, "tb": 4, "bcq": 50, "cm": 4, "tm": 5, "mcq": 80 }], "metrics": { "cc": 4, "npth": 4, "seq": 0, "bcov": 50 } }, + { "name": "Test.TestClass2", "rp": "", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "cb": 1, "tb": 2, "cm": 6, "tm": 10, "lch": [39.4,39.4,42.1,44.7,39.4,63.1], "bch": [50,40,40,40,40,50], "mch": [60,40,40,60,60,60], "hc": [{ "et": "01.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 10, "tb": 20, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "02.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "03.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "04.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "05.02.2022 - 20:50:35", "cl": 16, "ucl": 22, "cal": 38, "tl": 85, "lcq": 42.1, "cb": 8, "tb": 20, "bcq": 40, "cm": 4, "tm": 10, "mcq": 40 }, { "et": "06.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "07.02.2022 - 20:50:35", "cl": 17, "ucl": 21, "cal": 38, "tl": 85, "lcq": 44.7, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "08.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "09.02.2022 - 20:50:35", "cl": 15, "ucl": 23, "cal": 38, "tl": 85, "lcq": 39.4, "cb": 8, "tb": 20, "bcq": 40, "cm": 6, "tm": 10, "mcq": 60 }, { "et": "05.10.2023 - 22:36:09", "cl": 24, "ucl": 14, "cal": 38, "tl": 85, "lcq": 63.1, "cb": 1, "tb": 2, "bcq": 50, "cm": 6, "tm": 10, "mcq": 60 }], "metrics": { "cc": 5, "npth": 2, "seq": 0, "bcov": 0, "crp": 5 } }, ]}, ]; @@ -1159,5 +1159,5 @@ (()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s{de(332)},332:()=>{!function(t){const n=t.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,T){n&&n.measure&&n.measure(M,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class M{static assertZonePatched(){if(t.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=M.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,A),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(A,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(A,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===A||e.state===E){e._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CM.hasTask(e,r),onScheduleTask:(M,T,e,r)=>M.scheduleTask(e,r),onInvokeTask:(M,T,e,r,k,C)=>M.invokeTask(e,r,k,C),onCancelTask:(M,T,e,r)=>M.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,M)}else t[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),t.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Me(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=j("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=ie(t,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ct]&&v.removeAttribute(n),L}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),L="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return e.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[L];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const M=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(M),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(M);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new e((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=ke+i,a=ke+o;te[t]={},te[t][ae]=c,te[t][ce]=a}function dt(t,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",L="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const L=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,L),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],L))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],L))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(p,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,L)}),a=le(t,i,v=>function(p,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(t,L)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function mt(t,n){n.patchEventPrototype(t,n)})(t,i),function pt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const L=p.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(L,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=321)}]); -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{538:()=>{function _e(e){return"function"==typeof e}function ti(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 ni=ti(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 Gr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Tt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(_e(r))try{r()}catch(i){t=i instanceof ni?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{cd(i)}catch(s){t=t??[],s instanceof ni?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ni(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cd(t);else{if(t instanceof Tt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&Gr(n,t)}remove(t){const{_teardowns:n}=this;n&&Gr(n,t),t instanceof Tt&&t._removeParent(this)}}Tt.EMPTY=(()=>{const e=new Tt;return e.closed=!0,e})();const ad=Tt.EMPTY;function ld(e){return e instanceof Tt||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function cd(e){_e(e)?e():e.unsubscribe()}const Tn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ri={setTimeout(...e){const{delegate:t}=ri;return(t?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=ri;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ud(e){ri.setTimeout(()=>{const{onUnhandledError:t}=Tn;if(!t)throw e;t(e)})}function oi(){}const Xy=fa("C",void 0,void 0);function fa(e,t,n){return{kind:e,value:t,error:n}}let Nn=null;function ii(e){if(Tn.useDeprecatedSynchronousErrorHandling){const t=!Nn;if(t&&(Nn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Nn;if(Nn=null,n)throw r}}else e()}class ha extends Tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ld(t)&&t.add(this)):this.destination=rC}static create(t,n,r){return new pa(t,n,r)}next(t){this.isStopped?ma(function tC(e){return fa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ma(function eC(e){return fa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ma(Xy,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()}}}class pa extends ha{constructor(t,n,r){let o;if(super(),_e(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&Tn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=o?.bind(i),n=n?.bind(i),r=r?.bind(i)}this.destination={next:o?ga(o):oi,error:ga(n??dd),complete:r?ga(r):oi}}}function ga(e,t){return(...n)=>{try{e(...n)}catch(r){Tn.useDeprecatedSynchronousErrorHandling?function nC(e){Tn.useDeprecatedSynchronousErrorHandling&&Nn&&(Nn.errorThrown=!0,Nn.error=e)}(r):ud(r)}}}function dd(e){throw e}function ma(e,t){const{onStoppedNotification:n}=Tn;n&&ri.setTimeout(()=>n(e,t))}const rC={closed:!0,next:oi,error:dd,complete:oi},_a="function"==typeof Symbol&&Symbol.observable||"@@observable";function va(e){return e}let je=(()=>{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 iC(e){return e&&e instanceof ha||function oC(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(e)&&ld(e)}(n)?n:new pa(n,r,o);return ii(()=>{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=hd(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[_a](){return this}pipe(...n){return function fd(e){return 0===e.length?va:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=hd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function hd(e){var t;return null!==(t=e??Tn.Promise)&&void 0!==t?t:Promise}const sC=ti(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let si=(()=>{class e extends je{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new pd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new sC}next(n){ii(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){ii(()=>{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(){ii(()=>{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=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?ad:(i.push(n),new Tt(()=>Gr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new je;return n.source=this,n}}return e.create=(t,n)=>new pd(t,n),e})();class pd extends si{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:ad}}class aC extends si{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)}}function cn(e){return t=>{if(function lC(e){return _e(e?.lift)}(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")}}class zt extends ha{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function ya(e,t){return cn((n,r)=>{let o=0;n.subscribe(new zt(r,i=>{r.next(e.call(t,i,o++))}))})}function xn(e){return this instanceof xn?(this.v=e,this):new xn(e)}function fC(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 _d(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(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const vd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function yd(e){return _e(e?.then)}function Cd(e){return _e(e[_a])}function Dd(e){return Symbol.asyncIterator&&_e(e?.[Symbol.asyncIterator])}function wd(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 bd=function pC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ed(e){return _e(e?.[bd])}function Id(e){return function dC(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(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof xn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield xn(n.read());if(o)return yield xn(void 0);yield yield xn(r)}}finally{n.releaseLock()}})}function Md(e){return _e(e?.getReader)}function un(e){if(e instanceof je)return e;if(null!=e){if(Cd(e))return function gC(e){return new je(t=>{const n=e[_a]();if(_e(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vd(e))return function mC(e){return new je(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ud)})}(e);if(Dd(e))return Sd(e);if(Ed(e))return function vC(e){return new je(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Md(e))return function yC(e){return Sd(Id(e))}(e)}throw wd(e)}function Sd(e){return new je(t=>{(function CC(e,t){var n,r,o,i;return function cC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=fC(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 dn(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 Ad(e,t,n=1/0){return _e(t)?Ad((r,o)=>ya((i,s)=>t(r,i,o,s))(un(e(r,o))),n):("number"==typeof t&&(n=t),cn((r,o)=>function DC(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},p=w=>c{i&&t.next(w),c++;let I=!1;un(n(w,u++)).subscribe(new zt(t,A=>{o?.(A),i?p(A):t.next(A)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cm(A)):m(A)}h()}catch(A){t.error(A)}}))};return e.subscribe(new zt(t,p,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}const Da=new je(e=>e.complete());function wa(e){return e[e.length-1]}function Td(e){return function EC(e){return e&&_e(e.schedule)}(wa(e))?e.pop():void 0}function Nd(e,t=0){return cn((n,r)=>{n.subscribe(new zt(r,o=>dn(r,e,()=>r.next(o),t),()=>dn(r,e,()=>r.complete(),t),o=>dn(r,e,()=>r.error(o),t)))})}function xd(e,t=0){return cn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Od(e,t){if(!e)throw new Error("Iterable cannot be null");return new je(n=>{dn(n,t,()=>{const r=e[Symbol.asyncIterator]();dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ai(e,t){return t?function OC(e,t){if(null!=e){if(Cd(e))return function SC(e,t){return un(e).pipe(xd(t),Nd(t))}(e,t);if(vd(e))return function TC(e,t){return new je(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(yd(e))return function AC(e,t){return un(e).pipe(xd(t),Nd(t))}(e,t);if(Dd(e))return Od(e,t);if(Ed(e))return function NC(e,t){return new je(n=>{let r;return dn(n,t,()=>{r=e[bd](),dn(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)}),()=>_e(r?.return)&&r.return()})}(e,t);if(Md(e))return function xC(e,t){return Od(Id(e),t)}(e,t)}throw wd(e)}(e,t):un(e)}function RC(...e){const t=Td(e),n=function MC(e,t){return"number"==typeof wa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?un(r[0]):function wC(e=1/0){return Ad(va,e)}(n)(ai(r,t)):Da}function Rd(e={}){const{connector:t=(()=>new si),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=null},p=()=>{h(),s=l=null,u=d=!1},m=()=>{const w=s;p(),w?.unsubscribe()};return cn((w,I)=>{c++,!d&&!u&&h();const A=l=l??t();I.add(()=>{c--,0===c&&!d&&!u&&(a=ba(m,o))}),A.subscribe(I),s||(s=new pa({next:D=>A.next(D),error:D=>{d=!0,h(),a=ba(p,n,D),A.error(D)},complete:()=>{u=!0,h(),a=ba(p,r),A.complete()}}),ai(w).subscribe(s))})(i)}}function ba(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function PC(e){return e<=0?()=>Da:cn((t,n)=>{let r=0;t.subscribe(new zt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function VC(e,t){return e===t}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function li(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).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 Ea(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const HC=ie({__forward_ref__:ie});function de(e){return e.__forward_ref__=de,e.toString=function(){return Se(this())},e}function V(e){return Ia(e)?e():e}function Ia(e){return"function"==typeof e&&e.hasOwnProperty(HC)&&e.__forward_ref__===de}function Ma(e){return e&&!!e.\u0275providers}const Fd="https://g.co/ng/security#xss";class S extends Error{constructor(t,n){super(function ci(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function H(e){return"string"==typeof e?e:null==e?"":String(e)}function Sa(e,t){throw new S(-201,!1)}function ft(e,t){null==e&&function P(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ui(e){return Pd(e,fi)||Pd(e,kd)}function Pd(e,t){return e.hasOwnProperty(t)?e[t]:null}function di(e){return e&&(e.hasOwnProperty(Aa)||e.hasOwnProperty(qC))?e[Aa]:null}const fi=ie({\u0275prov:ie}),Aa=ie({\u0275inj:ie}),kd=ie({ngInjectableDef:ie}),qC=ie({ngInjectorDef:ie});var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let Ta;function Ye(e){const t=Ta;return Ta=e,t}function Vd(e,t,n){const r=ui(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&K.Optional?null:void 0!==t?t:void Sa(Se(e))}const le=globalThis,qr={},Fa="__NG_DI_FLAG__",hi="ngTempTokenPath",QC=/\n/gm,Bd="__source";let Yn;function fn(e){const t=Yn;return Yn=e,t}function JC(e,t=K.Default){if(void 0===Yn)throw new S(-203,!1);return null===Yn?Vd(e,void 0,t):Yn.get(e,t&K.Optional?null:void 0,t)}function J(e,t=K.Default){return(function Ld(){return Ta}()||JC)(V(e),t)}function ce(e,t=K.Default){return J(e,pi(t))}function pi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pa(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==zd(p,c,0)||2&r&&c!==h){if(yt(r))return!1;s=!0}}}}else{if(!s&&!yt(r)&&!yt(l))return!1;if(s&&yt(l))continue;s=!1,r=l|1&r}}return yt(r)||s}function yt(e){return 0==(1&e)}function iD(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&&!yt(s)&&(t+=Kd(i,o),o=""),r=s,i=i||!yt(r);n++}return""!==o&&(t+=Kd(i,o)),t}function Zt(e){return qt(()=>{const t=Xd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};ef(n);const r=e.dependencies;return n.directiveDefs=_i(r,!1),n.pipeDefs=_i(r,!0),n.id=function vD(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function pD(e){return X(e)||Re(e)}function gD(e){return null!==e}function hn(e){return qt(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jd(e,t){if(null==e)return Nt;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}function j(e){return qt(()=>{const t=Xd(e);return ef(t),t})}function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[mi]||null}function Re(e){return e[ka]||null}function $e(e){return e[La]||null}function Xd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jd(e.inputs,t),outputs:Jd(e.outputs)}}function ef(e){e.features?.forEach(t=>t(e))}function _i(e,t){if(!e)return null;const n=t?$e:pD;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(gD)}const De=0,T=1,$=2,ge=3,Ct=4,Kr=5,ke=6,Kn=7,we=8,pn=9,Jn=10,B=11,Jr=12,tf=13,Xn=14,be=15,Xr=16,er=17,xt=18,eo=19,nf=20,gn=21,Qt=22,vi=23,yi=24,W=25,Ha=1,rf=2,Ot=7,tr=9,Fe=11;function Je(e){return Array.isArray(e)&&"object"==typeof e[Ha]}function Xe(e){return Array.isArray(e)&&!0===e[Ha]}function Ba(e){return 0!=(4&e.flags)}function Rn(e){return e.componentOffset>-1}function Di(e){return 1==(1&e.flags)}function Dt(e){return!!e.template}function ja(e){return 0!=(512&e[$])}function Fn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}let ED=le.WeakRef??class bD{constructor(t){this.ref=t}deref(){return this.ref}},MD=0,Rt=null,wi=!1;function xe(e){const t=Rt;return Rt=e,t}class cf{constructor(){this.id=MD++,this.ref=function ID(e){return new ED(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=wi;wi=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{wi=t}}producerAccessed(){if(wi)throw new Error("");if(null===Rt)return;let t=Rt.producers.get(this.id);void 0===t?(t={consumerNode:Rt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Rt.trackingVersion},Rt.producers.set(this.id,t),this.consumers.set(Rt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Rt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Rt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let uf=null;const ff=()=>{};class ND extends cf{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=ff,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=xe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ff,this.watch(this.registerOnCleanup)}finally{xe(t)}}cleanup(){this.cleanupFn()}}class xD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Yt(){return hf}function hf(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),OD}function OD(){const e=gf(this),t=e?.current;if(t){const n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function RD(e,t,n,r){const o=this.declaredInputs[n],i=gf(e)||function FD(e,t){return e[pf]=t}(e,{previous:Nt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new xD(l&&l.currentValue,t,a===Nt),e[r]=t}Yt.ngInherit=!0;const pf="__ngSimpleChanges__";function gf(e){return e[pf]||null}const Ft=function(e,t,n){};function fe(e){for(;Array.isArray(e);)e=e[De];return e}function Ii(e,t){return fe(t[e])}function et(e,t){return fe(t[e.index])}function vf(e,t){return e.data[t]}function at(e,t){const n=t[e];return Je(n)?n:n[De]}function mn(e,t){return null==t?null:e[t]}function yf(e){e[er]=0}function jD(e){1024&e[$]||(e[$]|=1024,Df(e,1))}function Cf(e){1024&e[$]&&(e[$]&=-1025,Df(e,-1))}function Df(e,t){let n=e[ge];if(null===n)return;n[Kr]+=t;let r=n;for(n=n[ge];null!==n&&(1===t&&1===r[Kr]||-1===t&&0===r[Kr]);)n[Kr]+=t,r=n,n=n[ge]}const k={lFrame:Of(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ef(){return k.bindingsEnabled}function E(){return k.lFrame.lView}function ee(){return k.lFrame.tView}function G(e){return k.lFrame.contextLView=e,e[we]}function q(e){return k.lFrame.contextLView=null,e}function Pe(){let e=If();for(;null!==e&&64===e.type;)e=e.parent;return e}function If(){return k.lFrame.currentTNode}function Pt(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function Wa(){return k.lFrame.isParent}function Za(){k.lFrame.isParent=!1}function Ue(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function or(){return k.lFrame.bindingIndex++}function Jt(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function XD(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qa(t)}function Qa(e){k.lFrame.currentDirectiveIndex=e}function Ka(e){k.lFrame.currentQueryIndex=e}function tw(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Nf(e,t,n){if(n&K.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&K.Host||(o=tw(i),null===o||(i=i[Xn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=xf();return r.currentTNode=t,r.lView=e,!0}function Ja(e){const t=xf(),n=e[T];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xf(){const e=k.lFrame,t=null===e?null:e.child;return null===t?Of(e):t}function Of(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 Rf(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ff=Rf;function Xa(){const e=Rf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ze(){return k.lFrame.selectedIndex}function Pn(e){k.lFrame.selectedIndex=e}function ve(){const e=k.lFrame;return vf(e.tView,e.selectedIndex)}let Lf=!0;function Mi(){return Lf}function _n(e){Lf=e}function Si(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[er]+=65536),(a>13>16&&(3&e[$])===t&&(e[$]+=8192,Hf(a,i)):Hf(a,i)}const ir=-1;class ro{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function nl(e){return e!==ir}function oo(e){return 32767&e}function io(e,t){let n=function fw(e){return e>>16}(e),r=t;for(;n>0;)r=r[Xn],n--;return r}let rl=!0;function Ni(e){const t=rl;return rl=e,t}const Bf=255,jf=5;let hw=0;const kt={};function xi(e,t){const n=$f(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ol(r.data,e),ol(t,null),ol(r.blueprint,null));const o=Oi(e,t),i=e.injectorIndex;if(nl(o)){const s=oo(o),a=io(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function ol(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $f(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Oi(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=Qf(o),null===r)return ir;if(n++,o=o[Xn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ir}function il(e,t,n){!function pw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zr)&&(r=n[Zr]),null==r&&(r=n[Zr]=hw++);const o=r&Bf;t.data[e+(o>>jf)]|=1<=0?t&Bf:yw:t}(n);if("function"==typeof i){if(!Nf(t,e,r))return r&K.Host?Uf(o,0,r):zf(t,n,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;Sa()}finally{Ff()}}else if("number"==typeof i){let s=null,a=$f(e,t),l=ir,c=r&K.Host?t[be][ke]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?Oi(e,t):t[a+8],l!==ir&&Zf(r,!1)?(s=t[T],a=oo(l),t=io(l,t)):a=-1);-1!==a;){const u=t[T];if(Wf(i,a,u.data)){const d=mw(a,t,n,s,r,c);if(d!==kt)return d}l=t[a+8],l!==ir&&Zf(r,t[T].data[a+8]===c)&&Wf(i,a,t)?(s=u,a=oo(l),t=io(l,t)):a=-1}}return o}function mw(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],u=function Ri(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&m.type===n)return p}if(o){const p=s[l];if(p&&Dt(p)&&p.type===n)return l}return null}(a,s,n,null==r?Rn(a)&&rl:r!=s&&0!=(3&a.type),o&K.Host&&i===a);return null!==u?kn(t,s,u,a):kt}function kn(e,t,n,r){let o=e[n];const i=t.data;if(function cw(e){return e instanceof ro}(o)){const s=o;s.resolving&&function BC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():H(e)}(i[n]));const a=Ni(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ye(s.injectImpl):null;Nf(e,r,K.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function aw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=hf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Ye(c),Ni(a),s.resolving=!1,Ff()}}return o}function Wf(e,t,n){return!!(n[t+(e>>jf)]&1<{const t=e.prototype.constructor,n=t[Wt]||sl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||sl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function sl(e){return Ia(e)?()=>{const t=sl(V(e));return t&&t()}:Fn(e)}function Qf(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}const ar="__parameters__";function cr(e,t,n){return qt(()=>{const r=function ll(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,c,u){const d=l.hasOwnProperty(ar)?l[ar]:Object.defineProperty(l,ar,{value:[]})[ar];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function dr(e,t){e.forEach(n=>Array.isArray(n)?dr(n,t):t(n))}function Kf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Fi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lt(e,t,n){let r=fr(e,t);return r>=0?e[1|r]=n:(r=~r,function Sw(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 cl(e,t){const n=fr(e,t);if(n>=0)return e[1|n]}function fr(e,t){return function Jf(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<|^->||--!>|)/,Yw="\u200b$1\u200b";const ml=new Map;let Kw=0;const vl="__ngContext__";function Ve(e,t){Je(t)?(e[vl]=t[eo],function Xw(e){ml.set(e[eo],e)}(t)):e[vl]=t}let yl;function Cl(e,t){return yl(e,t)}function fo(e){const t=e[ge];return Xe(t)?t[ge]:t}function vh(e){return Ch(e[Jr])}function yh(e){return Ch(e[Ct])}function Ch(e){for(;null!==e&&!Xe(e);)e=e[Ct];return e}function gr(e,t,n,r,o){if(null!=r){let i,s=!1;Xe(r)?i=r:Je(r)&&(s=!0,r=r[De]);const a=fe(r);0===e&&null!==n?null==o?Eh(t,n,a):Ln(t,n,a,o||null,!0):1===e&&null!==n?Ln(t,n,a,o||null,!0):2===e?function Wi(e,t,n){const r=Gi(e,t);r&&function vb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Db(e,t,n,r,o){const i=n[Ot];i!==fe(n)&&gr(t,e,r,i,o);for(let a=Fe;at.replace(Qw,Yw))}(t))}function Ui(e,t,n){return e.createElement(t,n)}function wh(e,t){const n=e[tr],r=n.indexOf(t);Cf(t),n.splice(r,1)}function zi(e,t){if(e.length<=Fe)return;const n=Fe+t,r=e[n];if(r){const o=r[Xr];null!==o&&o!==e&&wh(o,r),t>0&&(e[n-1][Ct]=r[Ct]);const i=Fi(e,Fe+t);!function ub(e,t){po(e,t,t[B],2,null,null),t[De]=null,t[ke]=null}(r[T],r);const s=i[xt];null!==s&&s.detachView(i[T]),r[ge]=null,r[Ct]=null,r[$]&=-129}return r}function wl(e,t){if(!(256&t[$])){const n=t[B];t[vi]?.destroy(),t[yi]?.destroy(),n.destroyNode&&po(e,t,n,3,null,null),function hb(e){let t=e[Jr];if(!t)return bl(e[T],e);for(;t;){let n=null;if(Je(t))n=t[Jr];else{const r=t[Fe];r&&(n=r)}if(!n){for(;t&&!t[Ct]&&t!==e;)Je(t)&&bl(t[T],t),t=t[ge];null===t&&(t=e),Je(t)&&bl(t[T],t),n=t&&t[Ct]}t=n}}(t)}}function bl(e,t){if(!(256&t[$])){t[$]&=-129,t[$]|=256,function _b(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Kn]=null);const o=t[gn];if(null!==o){t[gn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===vt.None||i===vt.Emulated)return null}return et(r,n)}}(e,t.parent,n)}function Ln(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Eh(e,t,n){e.appendChild(t,n)}function Ih(e,t,n,r,o){null!==r?Ln(e,t,n,r,o):Eh(e,t,n)}function Gi(e,t){return e.parentNode(t)}let Il,Tl,Ah=function Sh(e,t,n){return 40&e.type?et(e,n):null};function qi(e,t,n,r){const o=El(e,r,t),i=t[B],a=function Mh(e,t,n){return Ah(e,t,n)}(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{n.push(s)};return dr(t,s=>{const a=s;Ji(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Yh(o,i),n}function Yh(e,t){for(let n=0;n{t(i,r)})}}function Ji(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=di(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=di(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 c of l)Ji(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{dr(i.imports,u=>{Ji(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Yh(c,t)}if(!a){const c=Fn(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Wh,useValue:o,multi:!0},o),t({provide:Ki,useValue:()=>J(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;kl(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function kl(e,t){for(let n of e)Ma(n)&&(n=n.\u0275providers),Array.isArray(n)?kl(n,t):t(n)}const Jb=ie({provide:String,useValue:ie});function Ll(e){return null!==e&&"object"==typeof e&&Jb in e}function Vn(e){return"function"==typeof e}const Vl=new R("Set Injector scope."),Xi={},eE={};let Hl;function es(){return void 0===Hl&&(Hl=new Pl),Hl}class en{}class ts extends en{get destroyed(){return this._destroyed}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,jl(t,s=>this.processProvider(s)),this.records.set(qh,yr(void 0,this)),o.has("environment")&&this.records.set(en,yr(void 0,this));const i=this.records.get(Vl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wh.multi,te,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=fn(this),r=Ye(void 0);try{return t()}finally{fn(n),Ye(r)}}get(t,n=qr,r=K.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ud))return t[Ud](this);r=pi(r);const i=fn(this),s=Ye(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function iE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&ui(t);l=c&&this.injectableDefInScope(c)?yr(Bl(t),Xi):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&K.Self?es():this.parent).get(t,n=r&K.Optional&&n===qr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[hi]=a[hi]||[]).unshift(Se(t)),i)throw a;return function eD(e,t,n,r){const o=e[hi];throw t[Bd]&&o.unshift(t[Bd]),e.message=function tD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(t);if(Array.isArray(t))o=t.map(Se).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):Se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(QC,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),fn(i)}}resolveInjectorInitializers(){const t=fn(this),n=Ye(void 0);try{const o=this.get(Ki.multi,te,K.Self);for(const i of o)i()}finally{fn(t),Ye(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Vn(t=V(t))?t:V(t&&t.provide);const r=function nE(e){return Ll(e)?yr(void 0,e.useValue):yr(Xh(e),Xi)}(t);if(Vn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=yr(void 0,Xi,!0),o.factory=()=>Pa(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xi&&(n.value=eE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function oE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Bl(e){const t=ui(e),n=null!==t?t.factory:Fn(e);if(null!==n)return n;if(e instanceof R)throw new S(204,!1);if(e instanceof Function)return function tE(e){const t=e.length;if(t>0)throw function lo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function Xh(e,t,n){let r;if(Vn(e)){const o=V(e);return Fn(o)||Bl(o)}if(Ll(e))r=()=>V(e.useValue);else if(function Jh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Pa(e.deps||[]));else if(function Kh(e){return!(!e||!e.useExisting)}(e))r=()=>J(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function rE(e){return!!e.deps}(e))return Fn(o)||Bl(o);r=()=>new o(...Pa(e.deps))}return r}function yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jl(e,t){for(const n of e)Array.isArray(n)?jl(n,t):n&&Ma(n)?jl(n.\u0275providers,t):t(n)}const ns=new R("AppId",{providedIn:"root",factory:()=>sE}),sE="ng",ep=new R("Platform Initializer"),Cr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tp=new R("CSP nonce",{providedIn:"root",factory:()=>function _r(){if(void 0!==Tl)return Tl;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let rp=(e,t,n)=>null;function Zl(e,t,n=!1){return rp(e,t,n)}class mE{}class sp{}class vE{resolveComponentFactory(t){throw function _E(e){const t=Error(`No component factory found for ${Se(e)}.`);return t.ngComponent=e,t}(t)}}let ls=(()=>{class t{}return t.NULL=new vE,t})();function yE(){return wr(Pe(),E())}function wr(e,t){return new wt(et(e,t))}let wt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=yE,t})();class lp{}let Hn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function DE(){const e=E(),n=at(Pe().index,e);return(Je(n)?n:e)[B]}(),t})(),wE=(()=>{var e;class t{}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),t})();class cs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bE=new cs("16.2.0"),Kl={};function fp(e,t=null,n=null,r){const o=hp(e,t,n,r);return o.resolveInjectorInitializers(),o}function hp(e,t=null,n=null,r,o=new Set){const i=[n||te,Kb(e)];return r=r||("object"==typeof e?void 0:Se(e)),new ts(i,t||es(),r||null,o)}let bt=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return fp({name:""},o,r,"");{const i=r.name??"";return fp({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=qr,e.NULL=new Pl,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>J(qh)}),e.__NG_ELEMENT_ID__=-1,t})();function ec(e){return e.ownerDocument.defaultView}let tc=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new S(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const r of this.callbacks)r.invoke()}finally{this.runningCallbacks=!1;for(const r of this.deferredCallbacks)this.callbacks.add(r);this.deferredCallbacks.clear()}}register(r){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(r)}unregister(r){this.callbacks.delete(r),this.deferredCallbacks.delete(r)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function Do(e){for(;e;){e[$]|=64;const t=fo(e);if(ja(e)&&!t)return e;e=t}return null}function nc(e){return e.ngOriginalError}class Bn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&nc(t);for(;n&&nc(n);)n=nc(n);return n||null}}const vp=new R("",{providedIn:"root",factory:()=>!1});class wp extends cf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Do(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=xe(this);this.trackingVersion++;try{t(n,r)}finally{xe(o)}}destroy(){this.trackingVersion++}}let ds=null;function bp(){return ds??=new wp,ds}function Ep(e,t){return e[t]??bp()}function Ip(e,t){const n=bp();n.hasReadASignal&&(e[t]=ds,n.lView=e,ds=new wp)}const U={};function f(e){Mp(ee(),E(),ze()+e,!1)}function Mp(e,t,n,r){if(!r)if(3==(3&t[$])){const i=e.preOrderCheckHooks;null!==i&&Ai(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ti(t,i,0,n)}Pn(n)}function M(e,t=K.Default){const n=E();return null===n?J(e,t):Gf(Pe(),n,V(e),t)}function fs(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[De]=o,d[$]=140|r,(null!==c||e&&2048&e[$])&&(d[$]|=2048),yf(d),d[ge]=d[Xn]=e,d[we]=n,d[Jn]=s||e&&e[Jn],d[B]=a||e&&e[B],d[pn]=l||e&&e[pn]||null,d[ke]=i,d[eo]=function Jw(){return Kw++}(),d[Qt]=u,d[nf]=c,d[be]=2==t.type?e[be]:d,d}function Ir(e,t,n,r,o){let i=e.data[t];if(null===i)i=function rc(e,t,n,r,o){const i=If(),s=Wa(),l=e.data[t]=function qE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function rr(){return null!==k.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function JD(){return k.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function no(){const e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Pt(i,!0),i}function wo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iW&&Mp(e,t,W,!1),Ft(a?2:0,o),a)i.runInContext(n,r,o);else{const c=xe(null);try{n(r,o)}finally{xe(c)}}}finally{a&&null===t[vi]&&Ip(t,vi),Pn(s),Ft(a?3:1,o)}}function oc(e,t,n){if(Ba(t)){const r=xe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Np(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?xp(n,t,o,i):r.hasOwnProperty(o)&&xp(n,t,r[o],i)}return n}function xp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ct(e,t,n,r,o,i,s,a){const l=et(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(fc(e,n,u,r,o),Rn(t)&&function QE(e,t){const n=at(t,e);16&n[$]||(n[$]|=64)}(n,t.index)):3&t.type&&(r=function ZE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function lc(e,t,n,r){if(Ef()){const o=null===r?null:{"":-1},i=function t0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,wo(e,n,o.hostVars,U),o)}function Lt(e,t,n,r,o,i){const s=et(e,t);!function uc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[B],s,i,e.value,n,r,o)}function l0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,a=new ND(r,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function ps(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Up(e,1);const o=e[T].components;null!==o&&Gp(e,o,1)}}function Gp(e,t,n){for(let r=0;r-1&&(zi(t,r),Fi(n,r))}this._attachedToViewContainer=!1}wl(this._lView[T],this._lView)}onDestroy(t){!function wf(e,t){if(256==(256&e[$]))throw new S(911,!1);null===e[gn]&&(e[gn]=[]),e[gn].push(t)}(this._lView,t)}markForCheck(){Do(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){this._lView[$]|=128}detectChanges(){gs(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fb(e,t){po(e,t,t[B],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class _0 extends Eo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;gs(t[T],t,t[we],!1)}checkNoChanges(){}get context(){return null}}class qp extends ls{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=X(t);return new Io(n,this.ngModule)}}function Wp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class y0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=pi(r);const o=this.injector.get(t,Kl,r);return o!==Kl||n===Kl?o:this.parentInjector.get(t,n,r)}}class Io extends sp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Wp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Wp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function dD(e){return e.map(uD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof en?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new y0(t,i):t,a=s.get(lp,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(wE,null),effectManager:s.get(jp,null),afterRenderEventManager:s.get(tc,null)},h=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=r?function jE(e,t,n,r){const i=r.get(vp,!1)||n===vt.ShadowDom,s=e.selectRootElement(t,i);return function $E(e){Tp(e)}(s),s}(h,r,this.componentDef.encapsulation,s):Ui(h,p,function v0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),A=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==m&&(D=Zl(m,s,!0));const O=ac(0,null,null,1,0,null,null,null,null,null,null),L=fs(null,O,null,A,null,null,d,h,s,null,D);let Y,ot;Ja(L);try{const ln=this.componentDef;let zr,sd=null;ln.findHostDirectiveDefs?(zr=[],sd=new Map,ln.findHostDirectiveDefs(ln,zr,sd),zr.push(ln)):zr=[ln];const YF=function D0(e,t){const n=e[T],r=W;return e[r]=t,Ir(n,r,2,"#host",null)}(L,m),KF=function w0(e,t,n,r,o,i,s){const a=o[T];!function b0(e,t,n,r){for(const o of e)t.mergedAttrs=Qr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ps(t,t.mergedAttrs,!0),null!==n&&Fh(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Zl(t,o[pn]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=fs(o,Ap(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&cc(a,e,r.length-1),hs(o,d),o[e.index]=d}(YF,m,ln,zr,L,d,h);ot=vf(O,W),m&&function I0(e,t,n,r){if(r)Va(e,n,["ng-version",bE.full]);else{const{attrs:o,classes:i}=function fD(e){const t=[],n=[];let r=1,o=2;for(;r0&&Rh(e,n,i.join(" "))}}(h,ln,m,r),void 0!==n&&function M0(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Qr(o.hostAttrs,n=Qr(n,o.hostAttrs))}}(r)}function ms(e){return e===Nt?{}:e===te?[]:e}function T0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function N0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function x0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function _s(e){return!!pc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e,t,n){return e[t]=n}function He(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function jn(e,t,n,r){const o=He(e,t,n);return He(e,t+1,r)||o}function Et(e,t,n,r){const o=E();return He(o,or(),t)&&(ee(),Lt(ve(),o,e,t,n,r)),Et}function Sr(e,t,n,r){return He(e,or(),n)?t+H(n)+r:U}function C(e,t,n,r,o,i,s,a){const l=E(),c=ee(),u=e+W,d=c.firstCreatePass?function rI(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Ir(t,e,4,s||null,mn(c,a));lc(t,n,u,mn(c,l)),Si(t,u);const d=u.tView=ac(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Pt(d,!1);const h=ug(c,l,d,e);Mi()&&qi(c,l,h,d),Ve(h,l),hs(l,l[u]=Pp(h,l,h,d)),Di(d)&&ic(c,l,d),null!=s&&sc(l,d,a)}let ug=function dg(e,t,n,r){return _n(!0),t[B].createComment("")};function g(e,t,n){const r=E();return He(r,or(),t)&&ct(ee(),ve(),r,e,t,r[B],n,!1),g}function Cc(e,t,n,r,o){const s=o?"class":"style";fc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=E(),i=ee(),s=W+e,a=o[B],l=i.firstCreatePass?function lI(e,t,n,r,o,i){const s=t.consts,l=Ir(t,e,2,r,mn(s,o));return lc(t,n,l,mn(s,i)),null!==l.attrs&&ps(l,l.attrs,!1),null!==l.mergedAttrs&&ps(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=fg(i,o,l,a,t,e);o[s]=c;const u=Di(l);return Pt(l,!0),Fh(a,c,l),32!=(32&l.flags)&&Mi()&&qi(i,o,c,l),0===function UD(){return k.lFrame.elementDepthCount}()&&Ve(c,o),function zD(){k.lFrame.elementDepthCount++}(),u&&(ic(i,o,l),oc(i,l,o)),null!==r&&sc(o,l),y}function v(){let e=Pe();Wa()?Za():(e=e.parent,Pt(e,!1));const t=e;(function qD(e){return k.skipHydrationRootTNode===e})(t)&&function YD(){k.skipHydrationRootTNode=null}(),function GD(){k.lFrame.elementDepthCount--}();const n=ee();return n.firstCreatePass&&(Si(n,e),Ba(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function uw(e){return 0!=(8&e.flags)}(t)&&Cc(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function dw(e){return 0!=(16&e.flags)}(t)&&Cc(n,t,E(),t.stylesWithoutHost,!1),v}function N(e,t,n,r){return y(e,t,n,r),v(),N}let fg=(e,t,n,r,o,i)=>(_n(!0),Ui(r,o,function kf(){return k.lFrame.currentNamespace}()));function Z(e,t,n){const r=E(),o=ee(),i=e+W,s=o.firstCreatePass?function dI(e,t,n,r,o){const i=t.consts,s=mn(i,r),a=Ir(t,e,8,"ng-container",s);return null!==s&&ps(a,s,!0),lc(t,n,a,mn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Pt(s,!0);const a=pg(o,r,s,e);return r[i]=a,Mi()&&qi(o,r,a,s),Ve(a,r),Di(s)&&(ic(o,r,s),oc(o,s,r)),null!=n&&sc(r,s),Z}function Q(){let e=Pe();const t=ee();return Wa()?Za():(e=e.parent,Pt(e,!1)),t.firstCreatePass&&(Si(t,e),Ba(e)&&t.queries.elementEnd(e)),Q}let pg=(e,t,n,r)=>(_n(!0),Dl(t[B],""));function ye(){return E()}function ws(e){return!!e&&"function"==typeof e.then}function gg(e){return!!e&&"function"==typeof e.subscribe}function F(e,t,n,r){const o=E(),i=ee(),s=Pe();return function _g(e,t,n,r,o,i,s){const a=Di(r),c=e.firstCreatePass&&function Vp(e){return e.cleanup||(e.cleanup=[])}(e),u=t[we],d=function Lp(e){return e[Kn]||(e[Kn]=[])}(t);let h=!0;if(3&r.type||s){const w=et(r,t),I=s?s(w):w,A=d.length,D=s?L=>s(fe(L[r.index])):r.index;let O=null;if(!s&&a&&(O=function pI(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!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=yg(r,t,u,i,!1);const L=n.listen(I,o,i);d.push(i,L),c&&c.push(o,D,A,A+1)}}else i=yg(r,t,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let I=0;I-1?at(e.index,t):t);let l=vg(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=vg(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function _(e=1){return function nw(e){return(k.lFrame.contextLView=function rw(e,t){for(;e>0;)t=t[Xn],e--;return t}(e,k.lFrame.contextLView))[we]}(e)}function Dn(e,t,n){return Dc(e,"",t,"",n),Dn}function Dc(e,t,n,r,o){const i=E(),s=Sr(i,t,n,r);return s!==U&&ct(ee(),ve(),i,e,s,i[B],o,!1),Dc}function bs(e,t){return e<<17|t<<2}function wn(e){return e>>17&32767}function wc(e){return 2|e}function $n(e){return(131068&e)>>2}function bc(e,t){return-131069&e|t<<2}function Ec(e){return 1|e}function Ag(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?wn(i):$n(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];bI(e[a],t)&&(l=!0,e[a+1]=r?Ec(u):wc(u)),a=r?wn(u):$n(u)}l&&(e[n+1]=r?wc(i):Ec(i))}function bI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fr(e,t)>=0}const Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tg(e){return e.substring(Te.key,Te.keyEnd)}function Ng(e,t){const n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=function SI(e,t,n){for(;t32;)t++;return t}(e,Te.key=t,n),Pr(e,t,n))}function Pr(e,t,n){for(;t=0;n=Ng(t,n))lt(e,Tg(t),!0)}function kg(e,t){return t>=e.expandoStartIndex}function Lg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[ze()],s=kg(e,n);jg(i,r)&&null===t&&!s&&(t=!1),t=function OI(e,t,n,r){const o=function Ya(e){const t=k.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=No(n=Ic(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Ic(o,e,t,n,r),null===i){let l=function RI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==$n(r))return e[wn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Ic(null,e,t,l[1],r),l=No(l,t.attrs,r),function FI(e,t,n,r){e[wn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function PI(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const h=wn(e[a+1]);e[r+1]=bs(h,a),0!==h&&(e[h+1]=bc(e[h+1],r)),e[a+1]=function yI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=bs(a,0),0!==a&&(e[a+1]=bc(e[a+1],r)),a=r;else e[r+1]=bs(l,0),0===a?a=r:e[l+1]=bc(e[l+1],r),l=r;c&&(e[r+1]=wc(e[r+1])),Ag(e,u,r,!0),Ag(e,u,r,!1),function wI(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&fr(i,t)>=0&&(n[r+1]=Ec(n[r+1]))}(t,u,e,r,i),s=bs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Ic(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],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===U&&(h=d?te:void 0);let p=d?cl(h,r):u===r?h:void 0;if(c&&!Is(p)&&(p=cl(l,r)),Is(p)&&(a=p,s))return a;const m=e[o+1];o=s?wn(m):$n(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=cl(l,r))}return a}function Is(e){return void 0!==e}function jg(e,t){return 0!=(e.flags&(t?8:16))}function b(e,t=""){const n=E(),r=ee(),o=e+W,i=r.firstCreatePass?Ir(r,o,1,t,null):r.data[o],s=$g(r,n,i,t,e);n[o]=s,Mi()&&qi(r,n,s,i),Pt(i,!1)}let $g=(e,t,n,r,o)=>(_n(!0),function $i(e,t){return e.createText(t)}(t[B],r));function x(e){return z("",e,""),x}function z(e,t,n){const r=E(),o=Sr(r,e,t,n);return o!==U&&function nn(e,t,n){const r=Ii(t,e);!function Dh(e,t,n){e.setValue(t,n)}(e[B],r,n)}(r,ze(),o),z}function jt(e,t,n){!function Mt(e,t,n,r){const o=ee(),i=Jt(2);o.firstUpdatePass&&Lg(o,null,i,r);const s=E();if(n!==U&&He(s,i,n)){const a=o.data[ze()];if(jg(a,r)&&!kg(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ea(l,n||"")),Cc(o,a,s,n,r)}else!function VI(e,t,n,r,o,i,s,a){o===U&&(o=te);let l=0,c=0,u=0>20;if(Vn(e)||!e.multi){const p=new ro(c,o,M),m=Nc(l,t,o?u:u+h,d);-1===m?(il(xi(a,s),i,l),Tc(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Nc(l,t,u+h,d),m=Nc(l,t,u,u+h),I=m>=0&&n[m];if(o&&!I||!o&&!(p>=0&&n[p])){il(xi(a,s),i,l);const A=function iM(e,t,n,r,o){const i=new ro(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,Pm(i,o,r&&!n),i}(o?oM:rM,n.length,o,r,c);!o&&I&&(n[m].providerFactory=A),Tc(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else Tc(i,e,p>-1?p:m,Pm(n[o?m:p],c,!o&&r));!o&&r&&I&&n[m].componentProviders++}}}function Tc(e,t,n,r){const o=Vn(t),i=function Xb(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Pm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Nc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function nM(e,t,n){const r=ee();if(r.firstCreatePass){const o=Dt(e);Ac(n,r.data,r.blueprint,o,!0),Ac(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class zn{}class sM{}class Oc extends zn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qp(this);const o=function st(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function tn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=hp(t,n,[{provide:zn,useValue:this},{provide:ls,useValue:this.componentFactoryResolver},...r],Se(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 Rc extends sM{constructor(t){super(),this.moduleType=t}create(t){return new Oc(this.moduleType,t,[])}}function Ns(e,t,n,r){return function Um(e,t,n,r,o,i){const s=t+n;return He(e,s,o)?Vt(e,s+1,i?r.call(i,o):r(o)):ko(e,s+1)}(E(),Ue(),e,t,n,r)}function Pc(e,t,n,r,o){return function zm(e,t,n,r,o,i,s){const a=t+n;return jn(e,a,o,i)?Vt(e,a+2,s?r.call(s,o,i):r(o,i)):ko(e,a+2)}(E(),Ue(),e,t,n,r,o)}function Oe(e,t,n,r,o,i){return Gm(E(),Ue(),e,t,n,r,o,i)}function ko(e,t){const n=e[t];return n===U?void 0:n}function Gm(e,t,n,r,o,i,s,a){const l=t+n;return function vs(e,t,n,r,o){const i=jn(e,t,n,r);return He(e,t+2,o)||i}(e,l,o,i,s)?Vt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):ko(e,l+3)}function Qm(e,t,n,r,o){const i=e+W,s=E(),a=function nr(e,t){return e[t]}(s,i);return function Lo(e,t){return e[T].data[t].pure}(s,i)?Gm(s,Ue(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function kc(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class OM extends si{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=kc(i),o&&(o=kc(o)),s&&(s=kc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Tt&&t.add(a),a}};function PM(e,t,n,r=!0){const o=t[T];if(function pb(e,t,n,r){const o=Fe+r,i=n.length;r>0&&(n[o-1][Ct]=t),r{class t{}return t.__NG_ELEMENT_ID__=VM,t})();const kM=rn,LM=class extends kM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function FM(e,t,n,r){const o=t.tView,a=fs(e,o,n,4096&e[$]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Xr]=e[t.index];const c=e[xt];return null!==c&&(a[xt]=c.createEmbeddedView(o)),hc(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Eo(o)}};function VM(){return function xs(e,t){return 4&e.type?new LM(t,e,wr(e,t)):null}(Pe(),E())}let $t=(()=>{class t{}return t.__NG_ELEMENT_ID__=zM,t})();function zM(){return function n_(e,t){let n;const r=t[e.index];return Xe(r)?n=r:(n=Pp(r,t,null,e),t[e.index]=n,hs(t,n)),r_(n,t,e,r),new e_(n,e,t)}(Pe(),E())}const GM=$t,e_=class extends GM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const t=Oi(this._hostTNode,this._hostLView);if(nl(t)){const n=io(t,this._hostLView),r=oo(t);return new Ge(n[T].data[r+8],n)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=t_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function ao(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const w=n||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}const l=s?t:new Io(X(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const I=(s?c:this.parentInjector).get(en,null);I&&(i=I)}X(l.componentType??{});const p=l.create(c,o,null,i);return this.insertImpl(p.hostView,a,false),p}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function BD(e){return Xe(e[ge])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[ge],u=new e_(c,c[ke],c[ge]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return PM(a,o,s,!r),t.attachToViewContainerRef(),Kf(Vc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=t_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=zi(this._lContainer,n);r&&(Fi(Vc(this._lContainer),n),wl(r[T],r))}detach(t){const n=this._adjustIndex(t,-1),r=zi(this._lContainer,n);return r&&null!=Fi(Vc(this._lContainer),n)?new Eo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function t_(e){return e[8]}function Vc(e){return e[8]||(e[8]=[])}let r_=function o_(e,t,n,r){if(e[Ot])return;let o;o=8&n.type?fe(r):function qM(e,t){const n=e[B],r=n.createComment(""),o=et(t,e);return Ln(n,Gi(n,o),r,function yb(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ot]=o};const MS=new R("Application Initializer");let Zc=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=ce(MS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(ws(s))r.push(s);else if(gg(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const on=new R("LocaleId",{providedIn:"root",factory:()=>ce(on,K.Optional|K.SkipSelf)||function AS(){return typeof $localize<"u"&&$localize.locale||Lr}()});let xS=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new aC(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function N_(...e){}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function JS(){const e="function"==typeof le.requestAnimationFrame;let t=le[e?"requestAnimationFrame":"setTimeout"],n=le[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function tA(e){const t=()=>{!function eA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(le,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jc(e),e.isCheckStableRunning=!0,Kc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return x_(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),O_(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return x_(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),O_(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Jc(e),Kc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(Ne.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,XS,N_,N_);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 XS={};function Kc(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 Jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function x_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function O_(e){e._nesting--,Kc(e)}class nA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}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 R_=new R("",{providedIn:"root",factory:F_});function F_(){const e=ce(Ne);let t=!0;return RC(new je(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new je(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Rd()))}const P_=new R(""),Ps=new R("");let tu,Xc=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,tu||(function rA(e){tu=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ne),J(eu),J(Ps))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),eu=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return tu?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),bn=null;const k_=new R("AllowMultipleToken"),nu=new R("PlatformDestroyListeners"),L_=new R("appBootstrapListener");function B_(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=ru();if(!s||s.injector.get(k_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function sA(e){if(bn&&!bn.get(k_,!1))throw new S(400,!1);(function V_(){!function AD(e){uf=e}(()=>{throw new S(600,!1)})})(),bn=e;const t=e.get($_);(function H_(e){e.get(ep,null)?.forEach(n=>n())})(e)}(function j_(e=[],t){return bt.create({name:t,providers:[{provide:Vl,useValue:"platform"},{provide:nu,useValue:new Set([()=>bn=null])},...e]})}(a,r))}return function lA(e){const t=ru();if(!t)throw new S(401,!1);return t}()}}function ru(){return bn?.get($_)??null}let $_=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function cA(e="zone.js",t){return"noop"===e?new nA:"zone.js"===e?new Ne(t):e}(o?.ngZone,function U_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function lM(e,t,n){return new Oc(e,t,n)}(r.moduleType,this.injector,function Z_(e){return[{provide:Ne,useFactory:e},{provide:Ki,multi:!0,useFactory:()=>{const t=ce(dA,{optional:!0});return()=>t.initialize()}},{provide:W_,useFactory:uA},{provide:R_,useFactory:F_}]}(()=>i)),a=s.injector.get(Bn,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{ks(this._modules,s),l.unsubscribe()})}),function z_(e,t,n){try{const r=n();return ws(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=s.injector.get(Zc);return l.runInitializers(),l.donePromise.then(()=>(function dm(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(um=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(on,Lr)||Lr),this._moduleDoBootstrap(s),s))})})}bootstrapModule(r,o=[]){const i=G_({},o);return function oA(e,t,n){const r=new Rc(n);return Promise.resolve(r)}(0,0,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){const o=r.injector.get(Bo);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new S(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(nu,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(J(bt))},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function G_(e,t){return Array.isArray(t)?t.reduce(G_,e):{...e,...t}}let Bo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ce(W_),this.zoneIsStable=ce(R_),this.componentTypes=[],this.components=[],this.isStable=ce(xS).hasPendingTasks.pipe(function kC(e,t){return cn((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(new zt(r,l=>{o?.unsubscribe();let c=0;const u=i++;un(e(l,u)).subscribe(o=new zt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>r?function FC(...e){return ai(e,Td(e))}(!1):this.zoneIsStable),function LC(e,t=va){return e=e??VC,cn((n,r)=>{let o,i=!0;n.subscribe(new zt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Rd()),this._injector=ce(en)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof sp;if(!this._injector.get(Zc).done)throw!i&&function Yr(e){const t=X(e)||Re(e)||$e(e);return null!==t&&t.standalone}(r),new S(405,!1);let a;a=i?r:this._injector.get(ls).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const l=function iA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(zn),u=a.create(bt.NULL,[],o||a.selector,l),d=u.location.nativeElement,h=u.injector.get(P_,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ks(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;ks(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(L_,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ks(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ks(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const W_=new R("",{providedIn:"root",factory:()=>ce(Bn).handleError.bind(void 0)});function uA(){const e=ce(Ne),t=ce(Bn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let dA=(()=>{var e;class t{constructor(){this.zone=ce(Ne),this.applicationRef=ce(Bo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let Y_=(()=>{class t{}return t.__NG_ELEMENT_ID__=hA,t})();function hA(e){return function pA(e,t,n){if(Rn(e)&&!n){const r=at(e.index,t);return new Eo(r,r)}return 47&e.type?new Eo(t[be],t):null}(Pe(),E(),16==(16&e))}class X_{constructor(){}supports(t){return _s(t)}create(t){return new CA(t)}}const yA=(e,t)=>t;class CA{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||yA}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 DA(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 ev),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 ev),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 DA{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 wA{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 ev{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new wA,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 tv(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 EA(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 EA{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 rv(){return new Hs([new X_])}let Hs=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||rv()),deps:[[t,new fl,new dl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:rv}),t})();function ov(){return new jo([new nv])}let jo=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ov()),deps:[[t,new fl,new dl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:ov}),t})();const SA=B_(null,"core",[]);let AA=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Bo))},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();let uu=null;function $o(){return uu}class jA{}const qn=new R("DocumentToken"),Cu=/\s+/,Cv=[];let Go=(()=>{var e;class t{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Cv,this.stateMap=new Map}set klass(r){this.initialClasses=null!=r?r.trim().split(Cu):Cv}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(Cu):r}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const o of r)this._updateState(o,!0);else if(null!=r)for(const o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){const i=this.stateMap.get(r);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){(r=r.trim()).length>0&&r.split(Cu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hs),M(jo),M(wt),M(Hn))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class TT{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 jr=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new TT(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),wv(l,i)}});for(let i=0,s=o.length;i{wv(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(rn),M(Hs))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function wv(e,t){e.context.$implicit=t.item}let Wn=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new NT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){bv("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){bv("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(rn))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class NT{constructor(){this.$implicit=null,this.ngIf=null}}function bv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(t)}'.`)}let Mv=(()=>{var e;class t{transform(r,o,i){if(null==r)return null;if(!this.supports(r))throw function At(e,t){return new S(2100,!1)}();return r.slice(o,i)}supports(r){return"string"==typeof r||Array.isArray(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Ke({name:"slice",type:e,pure:!1,standalone:!0}),t})(),tN=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();function Av(e){return"server"===e}class TN extends jA{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Su extends TN{static makeCurrent(){!function BA(e){uu||(uu=e)}(new Su)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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 NN(){return Wo=Wo||document.querySelector("base"),Wo?Wo.getAttribute("href"):null}();return null==n?null:function xN(e){Xs=Xs||document.createElement("a"),Xs.setAttribute("href",e);const t=Xs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function ST(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}(document.cookie,t)}}let Xs,Wo=null,RN=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Au=new R("EventManagerPlugins");let Rv=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Au),J(Ne))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Fv{constructor(t){this._doc=t}}const Tu="ng-app-id";let Pv=(()=>{var e;class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Av(s),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${Tu}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){const i=this.styleRef;if(i.has(r)){const s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Tu),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Tu,this.appId),a}}addStyleToHost(r,o){const i=this.getStyleElement(r,o);r.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn),J(ns),J(tp,8),J(Cr))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Nu={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/"},xu=/%COMP%/g,LN=new R("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Lv(e,t){return t.map(n=>n.replace(xu,e))}let Vv=(()=>{var e;class t{constructor(r,o,i,s,a,l,c,u=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Av(l),this.defaultRenderer=new Ou(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===vt.ShadowDom&&(o={...o,encapsulation:vt.Emulated});const i=this.getOrCreateRenderer(r,o);return i instanceof Bv?i.applyToHost(r):i instanceof Ru&&i.applyStyles(),i}getOrCreateRenderer(r,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case vt.Emulated:s=new Bv(c,u,o,this.appId,d,a,l,h);break;case vt.ShadowDom:return new jN(c,u,r,o,a,l,this.nonce,h);default:s=new Ru(c,u,o,d,a,l,h)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Rv),J(Pv),J(ns),J(LN),J(qn),J(Cr),J(Ne),J(tp))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Ou{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Nu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Hv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Hv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new S(-5104,!1);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=Nu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Nu[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&(vn.DashCase|vn.Important)?t.style.setProperty(n,r,o&vn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&vn.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){if("string"==typeof t&&!(t=$o().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Hv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class jN extends Ou{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Lv(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ru extends Ou{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?Lv(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Bv extends Ru{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function VN(e){return"_ngcontent-%COMP%".replace(xu,e)}(c),this.hostAttr=function HN(e){return"_nghost-%COMP%".replace(xu,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let $N=(()=>{var e;class t extends Fv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const jv=["alt","control","meta","shift"],UN={"\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"},zN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let GN=(()=>{var e;class t extends Fv{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$o().onAndCancel(r,s.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),jv.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=UN[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),jv.forEach(a=>{a!==i&&(0,zN[a])(r)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(J(qn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const QN=B_(SA,"browser",[{provide:Cr,useValue:"browser"},{provide:ep,useValue:function qN(){Su.makeCurrent()},multi:!0},{provide:qn,useFactory:function ZN(){return function Sb(e){Tl=e}(document),document},deps:[]}]),YN=new R(""),zv=[{provide:Ps,useClass:class ON{addToWindow(t){le.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},le.getAllAngularTestabilities=()=>t.getAllTestabilities(),le.getAllAngularRootElements=()=>t.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const o=le.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?$o().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:P_,useClass:Xc,deps:[Ne,eu,Ps]},{provide:Xc,useClass:Xc,deps:[Ne,eu,Ps]}],Gv=[{provide:Vl,useValue:"root"},{provide:Bn,useFactory:function WN(){return new Bn},deps:[]},{provide:Au,useClass:$N,multi:!0,deps:[qn,Ne,Cr]},{provide:Au,useClass:GN,multi:!0,deps:[qn]},Vv,Pv,Rv,{provide:lp,useExisting:Vv},{provide:class sN{},useClass:RN,deps:[]},[]];let KN=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:ns,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(J(YN,12))},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({providers:[...Gv,...zv],imports:[tN,AA]}),t})();typeof window<"u"&&window;const{isArray:ox}=Array,{getPrototypeOf:ix,prototype:sx,keys:ax}=Object;const{isArray:ux}=Array;function hx(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function px(...e){const t=function IC(e){return _e(wa(e))?e.pop():void 0}(e),{args:n,keys:r}=function lx(e){if(1===e.length){const t=e[0];if(ox(t))return{args:t,keys:null};if(function cx(e){return e&&"object"==typeof e&&ix(e)===sx}(t)){const n=ax(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new je(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?hx(r,a):a),i.complete())}))}});return t?o.pipe(function fx(e){return ya(t=>function dx(e,t){return ux(t)?e(...t):e(t)}(e,t))}(t)):o}let Qv=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hn),M(wt))},e.\u0275dir=j({type:e}),t})(),Zn=(()=>{var e;class t extends Qv{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,features:[ae]}),t})();const Ut=new R("NgValueAccessor"),gx={provide:Ut,useExisting:de(()=>Pu),multi:!0};let Pu=(()=>{var e;class t extends Zn{writeValue(r){this.setProperty("checked",r)}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[me([gx]),ae]}),t})();const mx={provide:Ut,useExisting:de(()=>Zo),multi:!0},vx=new R("CompositionEventMode");let Zo=(()=>{var e;class t extends Qv{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function _x(){const e=$o()?$o().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Hn),M(wt),M(vx,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&F("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([mx]),ae]}),t})();const Be=new R("NgValidators"),Mn=new R("NgAsyncValidators");function iy(e){return null!=e}function sy(e){return ws(e)?ai(e):e}function ay(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function ly(e,t){return t.map(n=>n(e))}function cy(e){return e.map(t=>function Cx(e){return!e.validate}(t)?t:n=>t.validate(n))}function ku(e){return null!=e?function uy(e){if(!e)return null;const t=e.filter(iy);return 0==t.length?null:function(n){return ay(ly(n,t))}}(cy(e)):null}function Lu(e){return null!=e?function dy(e){if(!e)return null;const t=e.filter(iy);return 0==t.length?null:function(n){return px(ly(n,t).map(sy)).pipe(ya(ay))}}(cy(e)):null}function fy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Vu(e){return e?Array.isArray(e)?e:[e]:[]}function ta(e,t){return Array.isArray(e)?e.includes(t):e===t}function gy(e,t){const n=Vu(t);return Vu(e).forEach(o=>{ta(n,o)||n.push(o)}),n}function my(e,t){return Vu(t).filter(n=>!ta(e,n))}class _y{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=ku(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Lu(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=void 0){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 Qe extends _y{get formDirective(){return null}get path(){return null}}class Sn extends _y{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vy{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 na=(()=>{var e;class t extends vy{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Sn,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Es("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ae]}),t})();const Qo="VALID",oa="INVALID",$r="PENDING",Yo="DISABLED";function ia(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class wy{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Qo}get invalid(){return this.status===oa}get pending(){return this.status==$r}get disabled(){return this.status===Yo}get enabled(){return this.status!==Yo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(gy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(gy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(my(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(my(t,this._rawAsyncValidators))}hasValidator(t){return ta(this._rawValidators,t)}hasAsyncValidator(t){return ta(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=$r,!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=Yo,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=Qo,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===Qo||this.status===$r)&&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()?Yo:Qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=$r,this._hasOwnPendingAsyncValidator=!0;const n=sy(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 Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Yo:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($r)?$r:this._anyControlsHaveStatus(oa)?oa:Qo}_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){ia(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Ix(e){return Array.isArray(e)?ku(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Mx(e){return Array.isArray(e)?Lu(e):e||null}(this._rawAsyncValidators)}}const Ur=new R("CallSetDisabledState",{providedIn:"root",factory:()=>sa}),sa="always";function Ko(e,t,n=sa){(function zu(e,t){const n=function hy(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(fy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function py(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(fy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ca(t._rawValidators,o),ca(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function Tx(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&by(e,t)})}(e,t),function xx(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 Nx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&by(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function Ax(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ca(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function by(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function My(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sy(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ay=class extends wy{constructor(t=null,n,r){super(function ju(e){return(ia(e)?e.validators:e)||null}(n),function $u(e,t){return(ia(t)?t.asyncValidators:e)||null}(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}),ia(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Sy(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){My(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){My(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){Sy(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}},Hx={provide:Sn,useExisting:de(()=>Xo)},xy=(()=>Promise.resolve())();let Xo=(()=>{var e;class t extends Sn{constructor(r,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Ay,this._registered=!1,this.name="",this.update=new Ee,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function Wu(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Zo?n=i:function Fx(e){return Object.getPrototypeOf(e.constructor)===Zn}(i)?r=i:o=i}),o||r||n||null}(0,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),function qu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,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(r){this.viewModel=r,this.update.emit(r)}_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(){Ko(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(r){xy.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const o=r.isDisabled.currentValue,i=0!==o&&function cu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(o);xy.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function aa(e,t){return[...t.path,e]}(r,this._parent):[r]}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Qe,9),M(Be,10),M(Mn,10),M(Ut,10),M(Y_,8),M(Ur,8))},e.\u0275dir=j({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:[me([Hx]),ae,Yt]}),t})(),Ry=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({}),t})();const zx={provide:Ut,useExisting:de(()=>Qu),multi:!0};let Qu=(()=>{var e;class t extends Zn{writeValue(r){this.setProperty("value",parseFloat(r))}registerOnChange(r){this.onChange=o=>{r(""==o?null:parseFloat(o))}}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[me([zx]),ae]}),t})();const Yx={provide:Ut,useExisting:de(()=>ei),multi:!0};function Hy(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ei=(()=>{var e;class t extends Zn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;const i=Hy(this._getOptionId(r),r);this.setProperty("value",i)}registerOnChange(r){this.onChange=o=>{this.value=this._getOptionValue(o),r(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(r){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),r))return o;return null}_getOptionValue(r){const o=function Kx(e){return e.split(":")[0]}(r);return this._optionMap.has(o)?this._optionMap.get(o):r}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([Yx]),ae]}),t})(),Xu=(()=>{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(r){null!=this._select&&(this._select._optionMap.set(this.id,r),this._setElementValue(Hy(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._setElementValue(r),this._select&&this._select.writeValue(this._select.value)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(wt),M(Hn),M(ei,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Jx={provide:Ut,useExisting:de(()=>ed),multi:!0};function By(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ed=(()=>{var e;class t extends Zn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){let o;if(this.value=r,Array.isArray(r)){const i=r.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(r){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(r){null!=this._select&&(this._value=r,this._setElementValue(By(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._select?(this._value=r,this._setElementValue(By(this.id,r)),this._select.writeValue(this._select.value)):this._setElementValue(r)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}_setSelected(r){this._renderer.setProperty(this._element.nativeElement,"selected",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(wt),M(Hn),M(ed,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),lO=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({imports:[Ry]}),t})(),uO=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:Ur,useValue:r.callSetDisabledState??sa}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e}),e.\u0275inj=Gt({imports:[lO]}),t})();class Yy{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class dO{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class fO{constructor(t){this.et="",this.et=t.et,this.cl=t.cl,this.ucl=t.ucl,this.cal=t.cal,this.tl=t.tl,this.lcq=t.lcq,this.cb=t.cb,this.tb=t.tb,this.bcq=t.bcq,this.cm=t.cm,this.tm=t.tm,this.mcq=t.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class _t{static roundNumber(t){return Math.floor(t*Math.pow(10,_t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,_t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(t,n,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new fO(r))}),this.metrics=t.metrics}get coverage(){return 0===this.coverableLines?NaN:_t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(t,n){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===n||null===this.currentHistoricCoverage)return!0;if("allChanges"===n){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let n=0;n-1&&null===n}visible(t,n){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let r=0;r{var e;class t{get nativeWindow(){return function hO(){return window}()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),pO=(()=>{var e;class t{constructor(){this.translations={}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),v()),2&r&&(f(1),Dn("title",o.translations.methodCoverageProVersion))},encapsulation:2}),t})();function gO(e,t){if(1&e){const n=ye();y(0,"div",3)(1,"label")(2,"input",4),F("ngModelChange",function(o){return G(n),q(_().showBranchCoverage=o)})("change",function(){G(n);const o=_();return q(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),v(),b(3),v()()}if(2&e){const n=_();f(2),g("ngModel",n.showBranchCoverage),f(1),z(" ",n.translations.branchCoverage,"")}}function mO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_().translations)}function _O(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_(2).translations)}function vO(e,t){1&e&&(y(0,"a",13),N(1,"i",14),v()),2&e&&g("href",_().$implicit.explanationUrl,Cn)}function yO(e,t){if(1&e){const n=ye();y(0,"div",3)(1,"label")(2,"input",11),F("change",function(){const i=G(n).$implicit;return q(_(2).toggleMetric(i))}),v(),b(3),v(),b(4,"\xa0"),C(5,vO,2,1,"a",12),v()}if(2&e){const n=t.$implicit,r=_(2);f(2),g("checked",r.isMetricSelected(n))("disabled",!r.methodCoverageAvailable),f(1),z(" ",n.name,""),f(2),g("ngIf",n.explanationUrl)}}function CO(e,t){if(1&e&&(Z(0),N(1,"br")(2,"br"),y(3,"b"),b(4),v(),C(5,_O,1,1,"pro-button",7),C(6,yO,6,4,"div",10),Q()),2&e){const n=_();f(4),x(n.translations.metrics),f(1),g("ngIf",!n.methodCoverageAvailable),f(1),g("ngForOf",n.metrics)}}let DO=(()=>{var e;class t{constructor(){this.visible=!1,this.visibleChange=new Ee,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ee,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ee,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ee,this.visibleMetrics=[],this.visibleMetricsChange=new Ee}isMetricSelected(r){return void 0!==this.visibleMetrics.find(o=>o.name===r.name)}toggleMetric(r){let o=this.visibleMetrics.find(i=>i.name===r.name);o?this.visibleMetrics.splice(this.visibleMetrics.indexOf(o),1):this.visibleMetrics.push(r),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(r){r.stopPropagation()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),F("click",function(){return o.close()}),y(1,"div",1),F("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),F("click",function(){return o.close()}),b(3,"X"),v(),y(4,"b"),b(5),v(),y(6,"div",3)(7,"label")(8,"input",4),F("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),v(),b(9),v()(),C(10,gO,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),F("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),v(),b(14),v(),C(15,mO,1,1,"pro-button",7),v(),C(16,CO,7,3,"ng-container",8),v()()),2&r&&(f(5),x(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(1),z(" ",o.translations.coverage,""),f(1),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(1),z(" ",o.translations.methodCoverage,""),f(1),g("ngIf",!o.methodCoverageAvailable),f(1),g("ngIf",o.metrics.length>0))},dependencies:[jr,Wn,Pu,na,Xo,pO],encapsulation:2}),t})();function wO(e,t){1&e&&N(0,"td",3)}function bO(e,t){1&e&&N(0,"td"),2&e&&jt("green ",_().greenClass,"")}function EO(e,t){1&e&&N(0,"td"),2&e&&jt("red ",_().redClass,"")}let Jy=(()=>{var e;class t{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(r){this._percentage=r,this.grayVisible=isNaN(r),this.greenVisible=!isNaN(r)&&Math.round(r)>0,this.redVisible=!isNaN(r)&&100-Math.round(r)>0,this.greenClass="covered"+Math.round(r),this.redClass="covered"+(100-Math.round(r))}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),C(1,wO,1,0,"td",1),C(2,bO,1,3,"td",2),C(3,EO,1,3,"td",2),v()),2&r&&(f(1),g("ngIf",o.grayVisible),f(1),g("ngIf",o.greenVisible),f(1),g("ngIf",o.redVisible))},dependencies:[Wn],encapsulation:2,changeDetection:0}),t})();const IO=["codeelement-row",""];function MO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredLines)}}function SO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.uncoveredLines)}}function AO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coverableLines)}}function TO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalLines)}}function NO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.coverageRatioText),f(1),x(n.element.coveragePercentage)}}function xO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.coverage)}}function OO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredBranches)}}function RO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalBranches)}}function FO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.branchCoverageRatioText),f(1),x(n.element.branchCoveragePercentage)}}function PO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.branchCoverage)}}function kO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredMethods)}}function LO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalMethods)}}function VO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.methodCoverageRatioText),f(1),x(n.element.methodCoveragePercentage)}}function HO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.methodCoverage)}}function BO(e,t){1&e&&N(0,"th",5)}const jO=function(e,t){return{"icon-plus":e,"icon-minus":t}};let $O=(()=>{var e;class t{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:IO,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),F("click",function(s){return o.element.toggleCollapse(s)}),N(2,"i",1),b(3),v()(),C(4,MO,2,1,"th",2),C(5,SO,2,1,"th",2),C(6,AO,2,1,"th",2),C(7,TO,2,1,"th",2),C(8,NO,2,2,"th",3),C(9,xO,2,1,"th",2),C(10,OO,2,1,"th",2),C(11,RO,2,1,"th",2),C(12,FO,2,2,"th",3),C(13,PO,2,1,"th",2),C(14,kO,2,1,"th",2),C(15,LO,2,1,"th",2),C(16,VO,2,2,"th",3),C(17,HO,2,1,"th",2),C(18,BO,1,0,"th",4)),2&r&&(f(2),g("ngClass",Pc(17,jO,o.element.collapsed,!o.element.collapsed)),f(1),z(" ",o.element.name,""),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngForOf",o.visibleMetrics))},dependencies:[Go,jr,Wn,Jy],encapsulation:2,changeDetection:0}),t})();const UO=["coverage-history-chart",""];let zO=(()=>{var e;class t{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(r){if(this._historicCoverages=r,r.length>1){let o="";for(let i=0;i1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function uR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.coverage)}}function dR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),f(1),z(" ",n.clazz.coveredBranches," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cb," ")}}function fR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredBranches," ")}}function hR(e,t){if(1&e&&(y(0,"td",6),C(1,dR,5,6,"ng-container",1),C(2,fR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function pR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalBranches),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tb)}}function gR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalBranches," ")}}function mR(e,t){if(1&e&&(y(0,"td",6),C(1,pR,5,3,"ng-container",1),C(2,gR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function _R(e,t){if(1&e&&N(0,"div",14),2&e){const n=_(2);Dn("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Ns(3,id,null!==n.clazz.currentHistoricCoverage))}}function vR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),f(1),z(" ",n.clazz.branchCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.bcq,"%")}}function yR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.branchCoveragePercentage," ")}}function CR(e,t){if(1&e&&(y(0,"td",9),C(1,_R,1,5,"div",13),C(2,vR,5,6,"ng-container",1),C(3,yR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.branchCoverageRatioText),f(1),g("ngIf",n.clazz.branchCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function DR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.branchCoverage)}}function wR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),f(1),z(" ",n.clazz.coveredMethods," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cm," ")}}function bR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredMethods," ")}}function ER(e,t){if(1&e&&(y(0,"td",6),C(1,wR,5,6,"ng-container",1),C(2,bR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function IR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalMethods),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tm)}}function MR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalMethods," ")}}function SR(e,t){if(1&e&&(y(0,"td",6),C(1,IR,5,3,"ng-container",1),C(2,MR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function AR(e,t){if(1&e&&N(0,"div",16),2&e){const n=_(2);Dn("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Ns(3,id,null!==n.clazz.currentHistoricCoverage))}}function TR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),f(1),z(" ",n.clazz.methodCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.mcq,"%")}}function NR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.methodCoveragePercentage," ")}}function xR(e,t){if(1&e&&(y(0,"td",9),C(1,AR,1,5,"div",15),C(2,TR,5,6,"ng-container",1),C(3,NR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.methodCoverageRatioText),f(1),g("ngIf",n.clazz.methodCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function OR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.methodCoverage)}}function RR(e,t){if(1&e&&(y(0,"td",6),b(1),v()),2&e){const n=t.$implicit,r=_();f(1),x(r.clazz.metrics[n.abbreviation])}}let FR=(()=>{var e;class t{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(r,o){return r>o?"lightgreen":r0),f(2),z(" ",n.translations.grouping," "),f(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),f(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),f(5),x(n.metrics.length>0?n.translations.selectCoverageTypesAndMetrics:n.translations.selectCoverageTypes),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(5),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(4),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.settings.visibleMetrics.length>0),f(4),g("ngClass",Oe(47,dt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),f(1),x(n.translations.name),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(2),g("ngForOf",n.codeElements)}}let RF=(()=>{var e;class t{constructor(r){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new dO,this.window=r.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,_t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let r=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),r=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let i=0,s=this.window.assemblies;for(let a=0;a-1&&(this.queryString=window.location.href.substring(o)),this.updateCoverageInfo(),r&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let r=new Yy;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateCoverageInfo(){let r=(new Date).getTime(),o=this.window.assemblies,i=[],s=0;if(0===this.settings.grouping)for(let c=0;c{for(let i=0;i{for(let s=0;sr&&(i[s].collapsed=this.settings.collapseStates[r]),r++,o(i[s].subElements)};o(this.codeElements)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(od))},e.\u0275cmp=Zt({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&F("beforeunload",function(){return o.onBeforeUnload()},0,ec)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&C(0,OF,73,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Go,jr,Wn,Xu,td,Zo,Qu,ei,na,Xo,DO,$O,FR],encapsulation:2}),t})();class FF{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function PF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=t.$implicit;g("value",n),f(1),x(n)}}function kF(e,t){if(1&e&&(y(0,"span"),b(1),v()),2&e){const n=_(2);f(1),x(n.translations.top)}}function LF(e,t){1&e&&(y(0,"option",22),b(1,"20"),v())}function VF(e,t){1&e&&(y(0,"option",23),b(1,"50"),v())}function HF(e,t){1&e&&(y(0,"option",24),b(1,"100"),v())}function BF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=_(3);g("value",n.totalNumberOfRiskHotspots),f(1),x(n.translations.all)}}function jF(e,t){if(1&e){const n=ye();y(0,"select",16),F("ngModelChange",function(o){return G(n),q(_(2).settings.numberOfRiskHotspots=o)}),y(1,"option",17),b(2,"10"),v(),C(3,LF,2,0,"option",18),C(4,VF,2,0,"option",19),C(5,HF,2,0,"option",20),C(6,BF,2,2,"option",21),v()}if(2&e){const n=_(2);g("ngModel",n.settings.numberOfRiskHotspots),f(3),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>20),f(1),g("ngIf",n.totalNumberOfRiskHotspots>50),f(1),g("ngIf",n.totalNumberOfRiskHotspots>100)}}function $F(e,t){1&e&&N(0,"col",25)}const da=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function UF(e,t){if(1&e){const n=ye();y(0,"th")(1,"a",12),F("click",function(o){const s=G(n).index;return q(_(2).updateSorting(""+s,o))}),N(2,"i",13),b(3),v(),y(4,"a",26),N(5,"i",27),v()()}if(2&e){const n=t.$implicit,r=t.index,o=_(2);f(2),g("ngClass",Oe(3,da,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(1),x(n.name),f(1),Dn("href",n.explanationUrl,Cn)}}const zF=function(e,t){return{lightred:e,lightgreen:t}};function GF(e,t){if(1&e&&(y(0,"td",31),b(1),v()),2&e){const n=t.$implicit;g("ngClass",Pc(2,zF,n.exceeded,!n.exceeded)),f(1),x(n.value)}}function qF(e,t){if(1&e&&(y(0,"tr")(1,"td"),b(2),v(),y(3,"td")(4,"a",28),b(5),v()(),y(6,"td",29)(7,"a",28),b(8),v()(),C(9,GF,2,5,"td",30),v()),2&e){const n=t.$implicit,r=_(2);f(2),x(n.assembly),f(2),g("href",n.reportPath+r.queryString,Cn),f(1),x(n.class),f(1),g("title",n.methodName),f(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,Cn),f(1),z(" ",n.methodShortName," "),f(1),g("ngForOf",n.metrics)}}function WF(e,t){if(1&e){const n=ye();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),F("ngModelChange",function(o){return G(n),q(_().settings.assembly=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),y(4,"option",3),b(5),v(),C(6,PF,2,2,"option",4),v()(),y(7,"div",5),C(8,kF,2,1,"span",0),C(9,jF,7,5,"select",6),v(),N(10,"div",5),y(11,"div",7)(12,"span"),b(13),v(),y(14,"input",8),F("ngModelChange",function(o){return G(n),q(_().settings.filter=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),v()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),N(18,"col")(19,"col")(20,"col"),C(21,$F,1,0,"col",11),v(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),F("click",function(o){return G(n),q(_().updateSorting("assembly",o))}),N(26,"i",13),b(27),v()(),y(28,"th")(29,"a",12),F("click",function(o){return G(n),q(_().updateSorting("class",o))}),N(30,"i",13),b(31),v()(),y(32,"th")(33,"a",12),F("click",function(o){return G(n),q(_().updateSorting("method",o))}),N(34,"i",13),b(35),v()(),C(36,UF,6,7,"th",14),v()(),y(37,"tbody"),C(38,qF,10,7,"tr",14),function Zm(e,t){const n=ee();let r;const o=e+W;n.firstCreatePass?(r=function SM(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Fn(r.type)),a=Ye(M);try{const l=Ni(!1),c=i();return Ni(l),function sI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),o,c),c}finally{Ye(a)}}(39,"slice"),v()()()()}if(2&e){const n=_();f(3),g("ngModel",n.settings.assembly),f(2),x(n.translations.assembly),f(1),g("ngForOf",n.assemblies),f(2),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>10),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(7),g("ngForOf",n.riskHotspotMetrics),f(5),g("ngClass",Oe(20,da,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),f(1),x(n.translations.assembly),f(3),g("ngClass",Oe(24,da,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),f(1),x(n.translations.class),f(3),g("ngClass",Oe(28,da,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),f(1),x(n.translations.method),f(1),g("ngForOf",n.riskHotspotMetrics),f(2),g("ngForOf",Qm(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}let ZF=(()=>{var e;class t{constructor(r){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new FF,this.window=r.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const r=window.location.href.indexOf("?");r>-1&&(this.queryString=window.location.href.substring(r)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let r=new Yy;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateRiskHotpots(){const r=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=r.length,0===this.assemblies.length){let a=[];for(let l=0;l0)},dependencies:[Go,jr,Wn,Xu,td,Zo,ei,na,Xo,Mv],encapsulation:2}),t})(),QF=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=hn({type:e,bootstrap:[ZF,RF]}),e.\u0275inj=Gt({providers:[od],imports:[KN,uO]}),t})();QN().bootstrapModule(QF).catch(e=>console.error(e))}},_e=>{_e(_e.s=538)}]); /* ]]> */ +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{538:()=>{function _e(e){return"function"==typeof e}function si(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 ai=si(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 Zr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Nt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(_e(r))try{r()}catch(i){t=i instanceof ai?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{pd(i)}catch(s){t=t??[],s instanceof ai?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ai(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pd(t);else{if(t instanceof Nt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&Zr(n,t)}remove(t){const{_teardowns:n}=this;n&&Zr(n,t),t instanceof Nt&&t._removeParent(this)}}Nt.EMPTY=(()=>{const e=new Nt;return e.closed=!0,e})();const fd=Nt.EMPTY;function hd(e){return e instanceof Nt||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function pd(e){_e(e)?e():e.unsubscribe()}const xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},li={setTimeout(...e){const{delegate:t}=li;return(t?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=li;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gd(e){li.setTimeout(()=>{const{onUnhandledError:t}=xn;if(!t)throw e;t(e)})}function ci(){}const pC=pa("C",void 0,void 0);function pa(e,t,n){return{kind:e,value:t,error:n}}let On=null;function ui(e){if(xn.useDeprecatedSynchronousErrorHandling){const t=!On;if(t&&(On={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=On;if(On=null,n)throw r}}else e()}class ga extends Nt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hd(t)&&t.add(this)):this.destination=vC}static create(t,n,r){return new ma(t,n,r)}next(t){this.isStopped?va(function mC(e){return pa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?va(function gC(e){return pa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?va(pC,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()}}}class ma extends ga{constructor(t,n,r){let o;if(super(),_e(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&xn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=o?.bind(i),n=n?.bind(i),r=r?.bind(i)}this.destination={next:o?_a(o):ci,error:_a(n??md),complete:r?_a(r):ci}}}function _a(e,t){return(...n)=>{try{e(...n)}catch(r){xn.useDeprecatedSynchronousErrorHandling?function _C(e){xn.useDeprecatedSynchronousErrorHandling&&On&&(On.errorThrown=!0,On.error=e)}(r):gd(r)}}}function md(e){throw e}function va(e,t){const{onStoppedNotification:n}=xn;n&&li.setTimeout(()=>n(e,t))}const vC={closed:!0,next:ci,error:md,complete:ci},ya="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ca(e){return e}let je=(()=>{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 CC(e){return e&&e instanceof ga||function yC(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(e)&&hd(e)}(n)?n:new ma(n,r,o);return ui(()=>{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=vd(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ya](){return this}pipe(...n){return function _d(e){return 0===e.length?Ca:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=vd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vd(e){var t;return null!==(t=e??xn.Promise)&&void 0!==t?t:Promise}const DC=si(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let di=(()=>{class e extends je{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new yd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new DC}next(n){ui(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){ui(()=>{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(){ui(()=>{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=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?fd:(i.push(n),new Nt(()=>Zr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new je;return n.source=this,n}}return e.create=(t,n)=>new yd(t,n),e})();class yd extends di{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:fd}}function un(e){return t=>{if(function wC(e){return _e(e?.lift)}(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")}}class zt extends ga{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function Da(e,t){return un((n,r)=>{let o=0;n.subscribe(new zt(r,i=>{r.next(e.call(t,i,o++))}))})}function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function MC(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 wd(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(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const bd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ed(e){return _e(e?.then)}function Id(e){return _e(e[ya])}function Md(e){return Symbol.asyncIterator&&_e(e?.[Symbol.asyncIterator])}function Sd(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 Ad=function AC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Td(e){return _e(e?.[Ad])}function Nd(e){return function IC(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(h){r[h]&&(o[h]=function(p){return new Promise(function(m,w){i.push([h,p,m,w])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Rn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Rn(n.read());if(o)return yield Rn(void 0);yield yield Rn(r)}}finally{n.releaseLock()}})}function xd(e){return _e(e?.getReader)}function dn(e){if(e instanceof je)return e;if(null!=e){if(Id(e))return function TC(e){return new je(t=>{const n=e[ya]();if(_e(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(bd(e))return function NC(e){return new je(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gd)})}(e);if(Md(e))return Od(e);if(Td(e))return function OC(e){return new je(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(xd(e))return function RC(e){return Od(Nd(e))}(e)}throw Sd(e)}function Od(e){return new je(t=>{(function FC(e,t){var n,r,o,i;return function bC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=MC(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 fn(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 Rd(e,t,n=1/0){return _e(t)?Rd((r,o)=>Da((i,s)=>t(r,i,o,s))(dn(e(r,o))),n):("number"==typeof t&&(n=t),un((r,o)=>function PC(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},p=w=>c{i&&t.next(w),c++;let I=!1;dn(n(w,u++)).subscribe(new zt(t,A=>{o?.(A),i?p(A):t.next(A)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cm(A)):m(A)}h()}catch(A){t.error(A)}}))};return e.subscribe(new zt(t,p,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}const ba=new je(e=>e.complete());function Ea(e){return e[e.length-1]}function Fd(e){return function VC(e){return e&&_e(e.schedule)}(Ea(e))?e.pop():void 0}function Pd(e,t=0){return un((n,r)=>{n.subscribe(new zt(r,o=>fn(r,e,()=>r.next(o),t),()=>fn(r,e,()=>r.complete(),t),o=>fn(r,e,()=>r.error(o),t)))})}function kd(e,t=0){return un((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new je(n=>{fn(n,t,()=>{const r=e[Symbol.asyncIterator]();fn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function fi(e,t){return t?function qC(e,t){if(null!=e){if(Id(e))return function jC(e,t){return dn(e).pipe(kd(t),Pd(t))}(e,t);if(bd(e))return function UC(e,t){return new je(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Ed(e))return function $C(e,t){return dn(e).pipe(kd(t),Pd(t))}(e,t);if(Md(e))return Ld(e,t);if(Td(e))return function zC(e,t){return new je(n=>{let r;return fn(n,t,()=>{r=e[Ad](),fn(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)}),()=>_e(r?.return)&&r.return()})}(e,t);if(xd(e))return function GC(e,t){return Ld(Nd(e),t)}(e,t)}throw Sd(e)}(e,t):dn(e)}function WC(...e){const t=Fd(e),n=function BC(e,t){return"number"==typeof Ea(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?dn(r[0]):function kC(e=1/0){return Rd(Ca,e)}(n)(fi(r,t)):ba}class ZC extends di{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)}}function Vd(e={}){const{connector:t=(()=>new di),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=null},p=()=>{h(),s=l=null,u=d=!1},m=()=>{const w=s;p(),w?.unsubscribe()};return un((w,I)=>{c++,!d&&!u&&h();const A=l=l??t();I.add(()=>{c--,0===c&&!d&&!u&&(a=Ia(m,o))}),A.subscribe(I),s||(s=new ma({next:D=>A.next(D),error:D=>{d=!0,h(),a=Ia(p,n,D),A.error(D)},complete:()=>{u=!0,h(),a=Ia(p,r),A.complete()}}),fi(w).subscribe(s))})(i)}}function Ia(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function YC(e){return e<=0?()=>ba:un((t,n)=>{let r=0;t.subscribe(new zt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function XC(e,t){return e===t}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function hi(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ae).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 Ma(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const eD=ie({__forward_ref__:ie});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Ae(this())},e}function V(e){return Sa(e)?e():e}function Sa(e){return"function"==typeof e&&e.hasOwnProperty(eD)&&e.__forward_ref__===ue}function Aa(e){return e&&!!e.\u0275providers}const Hd="https://g.co/ng/security#xss";class S extends Error{constructor(t,n){super(function pi(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function H(e){return"string"==typeof e?e:null==e?"":String(e)}function Ta(e,t){throw new S(-201,!1)}function ft(e,t){null==e&&function P(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function gi(e){return Bd(e,_i)||Bd(e,jd)}function Bd(e,t){return e.hasOwnProperty(t)?e[t]:null}function mi(e){return e&&(e.hasOwnProperty(Na)||e.hasOwnProperty(aD))?e[Na]:null}const _i=ie({\u0275prov:ie}),Na=ie({\u0275inj:ie}),jd=ie({ngInjectableDef:ie}),aD=ie({ngInjectorDef:ie});var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let xa;function Ke(e){const t=xa;return xa=e,t}function Ud(e,t,n){const r=gi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&K.Optional?null:void 0!==t?t:void Ta(Ae(e))}const de=globalThis,Qr={},ka="__NG_DI_FLAG__",vi="ngTempTokenPath",uD=/\n/gm,Gd="__source";let Kn;function hn(e){const t=Kn;return Kn=e,t}function hD(e,t=K.Default){if(void 0===Kn)throw new S(-203,!1);return null===Kn?Ud(e,void 0,t):Kn.get(e,t&K.Optional?null:void 0,t)}function J(e,t=K.Default){return(function $d(){return xa}()||hD)(V(e),t)}function le(e,t=K.Default){return J(e,yi(t))}function yi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function La(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==Qd(p,c,0)||2&r&&c!==h){if(Ct(r))return!1;s=!0}}}}else{if(!s&&!Ct(r)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,r=l|1&r}}return Ct(r)||s}function Ct(e){return 0==(1&e)}function CD(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&&!Ct(s)&&(t+=nf(i,o),o=""),r=s,i=i||!Ct(r);n++}return""!==o&&(t+=nf(i,o)),t}function Zt(e){return qt(()=>{const t=of(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ci.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};sf(n);const r=e.dependencies;return n.directiveDefs=wi(r,!1),n.pipeDefs=wi(r,!0),n.id=function RD(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function TD(e){return X(e)||Oe(e)}function ND(e){return null!==e}function pn(e){return qt(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rf(e,t){if(null==e)return xt;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}function j(e){return qt(()=>{const t=of(e);return sf(t),t})}function Je(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[Di]||null}function Oe(e){return e[Va]||null}function $e(e){return e[Ha]||null}function of(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||xt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rf(e.inputs,t),outputs:rf(e.outputs)}}function sf(e){e.features?.forEach(t=>t(e))}function wi(e,t){if(!e)return null;const n=t?$e:TD;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ND)}const ye=0,T=1,U=2,ge=3,Dt=4,eo=5,ke=6,Jn=7,be=8,gn=9,Xn=10,B=11,to=12,af=13,er=14,Ee=15,no=16,tr=17,Ot=18,ro=19,lf=20,mn=21,Qt=22,oo=23,io=24,W=25,ja=1,cf=2,Rt=7,nr=9,Re=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[ja]}function Ue(e){return Array.isArray(e)&&!0===e[ja]}function $a(e){return 0!=(4&e.flags)}function Pn(e){return e.componentOffset>-1}function Ei(e){return 1==(1&e.flags)}function wt(e){return!!e.template}function Ua(e){return 0!=(512&e[U])}function kn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}let Fe=null,Ii=!1;function ht(e){const t=Fe;return Fe=e,t}const ff={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function pf(e){if(!ao(e)||e.dirty){if(!e.producerMustRecompute(e)&&!_f(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function mf(e){e.dirty=!0,function gf(e){if(void 0===e.liveConsumerNode)return;const t=Ii;Ii=!0;try{for(const n of e.liveConsumerNode)n.dirty||mf(n)}finally{Ii=t}}(e),e.consumerMarkedDirty?.(e)}function Ga(e){return e&&(e.nextProducerIndex=0),ht(e)}function qa(e,t){if(ht(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ao(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _f(e){rr(e);for(let t=0;t0}function rr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Df=null;const If=()=>{},qD=(()=>({...ff,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:If}))();class WD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Yt(){return Mf}function Mf(e){return e.type.prototype.ngOnChanges&&(e.setInput=QD),ZD}function ZD(){const e=Af(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function QD(e,t,n,r){const o=this.declaredInputs[n],i=Af(e)||function YD(e,t){return e[Sf]=t}(e,{previous:xt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new WD(l&&l.currentValue,t,a===xt),e[r]=t}Yt.ngInherit=!0;const Sf="__ngSimpleChanges__";function Af(e){return e[Sf]||null}const Ft=function(e,t,n){};function fe(e){for(;Array.isArray(e);)e=e[ye];return e}function Si(e,t){return fe(t[e])}function et(e,t){return fe(t[e.index])}function xf(e,t){return e.data[t]}function at(e,t){const n=t[e];return Xe(n)?n:n[ye]}function vn(e,t){return null==t?null:e[t]}function Of(e){e[tr]=0}function nw(e){1024&e[U]||(e[U]|=1024,Ff(e,1))}function Rf(e){1024&e[U]&&(e[U]&=-1025,Ff(e,-1))}function Ff(e,t){let n=e[ge];if(null===n)return;n[eo]+=t;let r=n;for(n=n[ge];null!==n&&(1===t&&1===r[eo]||-1===t&&0===r[eo]);)n[eo]+=t,r=n,n=n[ge]}const k={lFrame:Gf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Lf(){return k.bindingsEnabled}function E(){return k.lFrame.lView}function ee(){return k.lFrame.tView}function G(e){return k.lFrame.contextLView=e,e[be]}function q(e){return k.lFrame.contextLView=null,e}function Pe(){let e=Vf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vf(){return k.lFrame.currentTNode}function Pt(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function Ka(){return k.lFrame.isParent}function Ja(){k.lFrame.isParent=!1}function ze(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sr(){return k.lFrame.bindingIndex++}function Jt(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pw(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xa(t)}function Xa(e){k.lFrame.currentDirectiveIndex=e}function tl(e){k.lFrame.currentQueryIndex=e}function mw(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Uf(e,t,n){if(n&K.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&K.Host||(o=mw(i),null===o||(i=i[er],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=zf();return r.currentTNode=t,r.lView=e,!0}function nl(e){const t=zf(),n=e[T];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zf(){const e=k.lFrame,t=null===e?null:e.child;return null===t?Gf(e):t}function Gf(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 qf(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wf=qf;function rl(){const e=qf();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 Ge(){return k.lFrame.selectedIndex}function Ln(e){k.lFrame.selectedIndex=e}function ve(){const e=k.lFrame;return xf(e.tView,e.selectedIndex)}let Yf=!0;function Ai(){return Yf}function yn(e){Yf=e}function Ti(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[tr]+=65536),(a>13>16&&(3&e[U])===t&&(e[U]+=8192,Jf(a,i)):Jf(a,i)}const ar=-1;class co{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function sl(e){return e!==ar}function uo(e){return 32767&e}function fo(e,t){let n=function Sw(e){return e>>16}(e),r=t;for(;n>0;)r=r[er],n--;return r}let al=!0;function Oi(e){const t=al;return al=e,t}const Xf=255,eh=5;let Aw=0;const kt={};function Ri(e,t){const n=th(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ll(r.data,e),ll(t,null),ll(r.blueprint,null));const o=Fi(e,t),i=e.injectorIndex;if(sl(o)){const s=uo(o),a=fo(o,t),l=a[T].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function ll(e,t){e.push(0,0,0,0,0,0,0,0,t)}function th(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fi(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=lh(o),null===r)return ar;if(n++,o=o[er],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ar}function cl(e,t,n){!function Tw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kr)&&(r=n[Kr]),null==r&&(r=n[Kr]=Aw++);const o=r&Xf;t.data[e+(o>>eh)]|=1<=0?t&Xf:Fw:t}(n);if("function"==typeof i){if(!Uf(t,e,r))return r&K.Host?nh(o,0,r):rh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;Ta()}finally{Wf()}}else if("number"==typeof i){let s=null,a=th(e,t),l=ar,c=r&K.Host?t[Ee][ke]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?Fi(e,t):t[a+8],l!==ar&&ah(r,!1)?(s=t[T],a=uo(l),t=fo(l,t)):a=-1);-1!==a;){const u=t[T];if(sh(i,a,u.data)){const d=xw(a,t,n,s,r,c);if(d!==kt)return d}l=t[a+8],l!==ar&&ah(r,t[T].data[a+8]===c)&&sh(i,a,t)?(s=u,a=uo(l),t=fo(l,t)):a=-1}}return o}function xw(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],u=function Pi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&m.type===n)return p}if(o){const p=s[l];if(p&&wt(p)&&p.type===n)return l}return null}(a,s,n,null==r?Pn(a)&&al:r!=s&&0!=(3&a.type),o&K.Host&&i===a);return null!==u?Vn(t,s,u,a):kt}function Vn(e,t,n,r){let o=e[n];const i=t.data;if(function Ew(e){return e instanceof co}(o)){const s=o;s.resolving&&function tD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():H(e)}(i[n]));const a=Oi(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ke(s.injectImpl):null;Uf(e,r,K.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ww(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Mf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Ke(c),Oi(a),s.resolving=!1,Wf()}}return o}function sh(e,t,n){return!!(n[t+(e>>eh)]&1<{const t=e.prototype.constructor,n=t[Wt]||ul(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||ul(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ul(e){return Sa(e)?()=>{const t=ul(V(e));return t&&t()}:kn(e)}function lh(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}const cr="__parameters__";function dr(e,t,n){return qt(()=>{const r=function fl(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,c,u){const d=l.hasOwnProperty(cr)?l[cr]:Object.defineProperty(l,cr,{value:[]})[cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function hr(e,t){e.forEach(n=>Array.isArray(n)?hr(n,t):t(n))}function uh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ki(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lt(e,t,n){let r=pr(e,t);return r>=0?e[1|r]=n:(r=~r,function $w(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 hl(e,t){const n=pr(e,t);if(n>=0)return e[1|n]}function pr(e,t){return function dh(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<|^->||--!>|)/g,db="\u200b$1\u200b";const Cl=new Map;let fb=0;const wl="__ngContext__";function Ve(e,t){Xe(t)?(e[wl]=t[ro],function pb(e){Cl.set(e[ro],e)}(t)):e[wl]=t}let bl;function El(e,t){return bl(e,t)}function vo(e){const t=e[ge];return Ue(t)?t[ge]:t}function xh(e){return Rh(e[to])}function Oh(e){return Rh(e[Dt])}function Rh(e){for(;null!==e&&!Ue(e);)e=e[Dt];return e}function _r(e,t,n,r,o){if(null!=r){let i,s=!1;Ue(r)?i=r:Xe(r)&&(s=!0,r=r[ye]);const a=fe(r);0===e&&null!==n?null==o?Lh(t,n,a):Hn(t,n,a,o||null,!0):1===e&&null!==n?Hn(t,n,a,o||null,!0):2===e?function Qi(e,t,n){const r=Wi(e,t);r&&function Rb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function kb(e,t,n,r,o){const i=n[Rt];i!==fe(n)&&_r(t,e,r,i,o);for(let a=Re;at.replace(ub,db))}(t))}function Gi(e,t,n){return e.createElement(t,n)}function Ph(e,t){const n=e[nr],r=n.indexOf(t);Rf(t),n.splice(r,1)}function qi(e,t){if(e.length<=Re)return;const n=Re+t,r=e[n];if(r){const o=r[no];null!==o&&o!==e&&Ph(o,r),t>0&&(e[n-1][Dt]=r[Dt]);const i=ki(e,Re+t);!function Ib(e,t){Co(e,t,t[B],2,null,null),t[ye]=null,t[ke]=null}(r[T],r);const s=i[Ot];null!==s&&s.detachView(i[T]),r[ge]=null,r[Dt]=null,r[U]&=-129}return r}function Ml(e,t){if(!(256&t[U])){const n=t[B];t[oo]&&vf(t[oo]),t[io]&&vf(t[io]),n.destroyNode&&Co(e,t,n,3,null,null),function Ab(e){let t=e[to];if(!t)return Sl(e[T],e);for(;t;){let n=null;if(Xe(t))n=t[to];else{const r=t[Re];r&&(n=r)}if(!n){for(;t&&!t[Dt]&&t!==e;)Xe(t)&&Sl(t[T],t),t=t[ge];null===t&&(t=e),Xe(t)&&Sl(t[T],t),n=t&&t[Dt]}t=n}}(t)}}function Sl(e,t){if(!(256&t[U])){t[U]&=-129,t[U]|=256,function Ob(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Jn]=null);const o=t[mn];if(null!==o){t[mn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===yt.None||i===yt.Emulated)return null}return et(r,n)}}(e,t.parent,n)}function Hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Lh(e,t,n){e.appendChild(t,n)}function Vh(e,t,n,r,o){null!==r?Hn(e,t,n,r,o):Lh(e,t,n)}function Wi(e,t){return e.parentNode(t)}let Tl,Rl,jh=function Bh(e,t,n){return 40&e.type?et(e,n):null};function Zi(e,t,n,r){const o=Al(e,r,t),i=t[B],a=function Hh(e,t,n){return jh(e,t,n)}(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l{n.push(s)};return hr(t,s=>{const a=s;es(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&cp(o,i),n}function cp(e,t){for(let n=0;n{t(i,r)})}}function es(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=mi(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=mi(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 c of l)es(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{hr(i.imports,u=>{es(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&cp(c,t)}if(!a){const c=kn(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:sp,useValue:o,multi:!0},o),t({provide:Xi,useValue:()=>J(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Bl(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Bl(e,t){for(let n of e)Aa(n)&&(n=n.\u0275providers),Array.isArray(n)?Bl(n,t):t(n)}const hE=ie({provide:String,useValue:ie});function jl(e){return null!==e&&"object"==typeof e&&hE in e}function Bn(e){return"function"==typeof e}const $l=new R("Set Injector scope."),ts={},gE={};let Ul;function ns(){return void 0===Ul&&(Ul=new Hl),Ul}class en{}class rs extends en{get destroyed(){return this._destroyed}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,Gl(t,s=>this.processProvider(s)),this.records.set(ip,Dr(void 0,this)),o.has("environment")&&this.records.set(en,Dr(void 0,this));const i=this.records.get($l);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sp.multi,te,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=hn(this),r=Ke(void 0);try{return t()}finally{hn(n),Ke(r)}}get(t,n=Qr,r=K.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Zd))return t[Zd](this);r=yi(r);const i=hn(this),s=Ke(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function CE(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&gi(t);l=c&&this.injectableDefInScope(c)?Dr(zl(t),ts):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&K.Self?ns():this.parent).get(t,n=r&K.Optional&&n===Qr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[vi]=a[vi]||[]).unshift(Ae(t)),i)throw a;return function gD(e,t,n,r){const o=e[vi];throw t[Gd]&&o.unshift(t[Gd]),e.message=function mD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ae(t);if(Array.isArray(t))o=t.map(Ae).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):Ae(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(uD,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[vi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ke(s),hn(i)}}resolveInjectorInitializers(){const t=hn(this),n=Ke(void 0);try{const o=this.get(Xi.multi,te,K.Self);for(const i of o)i()}finally{hn(t),Ke(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Bn(t=V(t))?t:V(t&&t.provide);const r=function _E(e){return jl(e)?Dr(void 0,e.useValue):Dr(fp(e),ts)}(t);if(Bn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Dr(void 0,ts,!0),o.factory=()=>La(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ts&&(n.value=gE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function zl(e){const t=gi(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof R)throw new S(204,!1);if(e instanceof Function)return function mE(e){const t=e.length;if(t>0)throw function go(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new S(204,!1)}function fp(e,t,n){let r;if(Bn(e)){const o=V(e);return kn(o)||zl(o)}if(jl(e))r=()=>V(e.useValue);else if(function dp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...La(e.deps||[]));else if(function up(e){return!(!e||!e.useExisting)}(e))r=()=>J(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function vE(e){return!!e.deps}(e))return kn(o)||zl(o);r=()=>new o(...La(e.deps))}return r}function Dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gl(e,t){for(const n of e)Array.isArray(n)?Gl(n,t):n&&Aa(n)?Gl(n.\u0275providers,t):t(n)}const os=new R("AppId",{providedIn:"root",factory:()=>DE}),DE="ng",hp=new R("Platform Initializer"),wr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pp=new R("CSP nonce",{providedIn:"root",factory:()=>function yr(){if(void 0!==Rl)return Rl;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let gp=(e,t,n)=>null;function Xl(e,t,n=!1){return gp(e,t,n)}class xE{}class vp{}class RE{resolveComponentFactory(t){throw function OE(e){const t=Error(`No component factory found for ${Ae(e)}.`);return t.ngComponent=e,t}(t)}}let us=(()=>{class t{}return t.NULL=new RE,t})();function FE(){return Ir(Pe(),E())}function Ir(e,t){return new bt(et(e,t))}let bt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=FE,t})();class Cp{}let jn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function kE(){const e=E(),n=at(Pe().index,e);return(Xe(n)?n:e)[B]}(),t})(),LE=(()=>{var e;class t{}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),t})();class ds{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const VE=new ds("16.2.8"),nc={};function Ep(e,t=null,n=null,r){const o=Ip(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ip(e,t=null,n=null,r,o=new Set){const i=[n||te,fE(e)];return r=r||("object"==typeof e?void 0:Ae(e)),new rs(i,t||ns(),r||null,o)}let Et=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Ep({name:""},o,r,"");{const i=r.name??"";return Ep({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Qr,e.NULL=new Hl,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>J(ip)}),e.__NG_ELEMENT_ID__=-1,t})();function oc(e){return e.ngOriginalError}class tn{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&&oc(t);for(;n&&oc(n);)n=oc(n);return n||null}}function sc(e){return t=>{setTimeout(e,void 0,t)}}const Ie=class GE extends di{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=sc(i),o&&(o=sc(o)),s&&(s=sc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Nt&&t.add(a),a}};function Sp(...e){}class Ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function qE(){const e="function"==typeof de.requestAnimationFrame;let t=de[e?"requestAnimationFrame":"setTimeout"],n=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function QE(e){const t=()=>{!function ZE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,lc(e),e.isCheckStableRunning=!0,ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),lc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function KE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Ap(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Tp(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Ap(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Tp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,lc(e),ac(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(!Ce.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(Ce.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,WE,Sp,Sp);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 WE={};function ac(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 lc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ap(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tp(e){e._nesting--,ac(e)}class YE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}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 Np=new R("",{providedIn:"root",factory:xp});function xp(){const e=le(Ce);let t=!0;return WC(new je(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new je(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Vd()))}function cc(e){return e.ownerDocument.defaultView}let uc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function Mo(e){for(;e;){e[U]|=64;const t=vo(e);if(Ua(e)&&!t)return e;e=t}return null}const kp=new R("",{providedIn:"root",factory:()=>!1});let hs=null;function Bp(e,t){return e[t]??Up()}function jp(e,t){const n=Up();n.producerNode?.length&&(e[t]=hs,n.lView=e,hs=$p())}const sI={...ff,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Mo(e.lView)},lView:null};function $p(){return Object.create(sI)}function Up(){return hs??=$p(),hs}const $={};function f(e){zp(ee(),E(),Ge()+e,!1)}function zp(e,t,n,r){if(!r)if(3==(3&t[U])){const i=e.preOrderCheckHooks;null!==i&&Ni(t,i,n)}else{const i=e.preOrderHooks;null!==i&&xi(t,i,0,n)}Ln(n)}function M(e,t=K.Default){const n=E();return null===n?J(e,t):oh(Pe(),n,V(e),t)}function ps(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[ye]=o,d[U]=140|r,(null!==c||e&&2048&e[U])&&(d[U]|=2048),Of(d),d[ge]=d[er]=e,d[be]=n,d[Xn]=s||e&&e[Xn],d[B]=a||e&&e[B],d[gn]=l||e&&e[gn]||null,d[ke]=i,d[ro]=function hb(){return fb++}(),d[Qt]=u,d[lf]=c,d[Ee]=2==t.type?e[Ee]:d,d}function Ar(e,t,n,r,o){let i=e.data[t];if(null===i)i=function dc(e,t,n,r,o){const i=Vf(),s=Ka(),l=e.data[t]=function gI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function ir(){return null!==k.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function hw(){return k.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function lo(){const e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Pt(i,!0),i}function So(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iW&&zp(e,t,W,!1),Ft(a?2:0,o);const c=a?i:null,u=Ga(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{qa(c,u)}}finally{a&&null===t[oo]&&jp(t,oo),Ln(s),Ft(a?3:1,o)}}function fc(e,t,n){if($a(t)){const r=ht(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Zp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Qp(n,t,o,i):r.hasOwnProperty(o)&&Qp(n,t,r[o],i)}return n}function Qp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ct(e,t,n,r,o,i,s,a){const l=et(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Cc(e,n,u,r,o),Pn(t)&&function vI(e,t){const n=at(t,e);16&n[U]||(n[U]|=64)}(n,t.index)):3&t.type&&(r=function _I(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function mc(e,t,n,r){if(Lf()){const o=null===r?null:{"":-1},i=function EI(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,So(e,n,o.hostVars,$),o)}function Lt(e,t,n,r,o,i){const s=et(e,t);!function vc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[B],s,i,e.value,n,r,o)}function NI(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function GD(e,t,n){const r=Object.create(qD);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>mf(r),run:()=>{if(r.dirty=!1,r.hasRun&&!_f(r))return;r.hasRun=!0;const s=Ga(r);try{r.cleanupFn(),r.cleanupFn=If,r.fn(o)}finally{qa(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(r,u=>{this.all.has(u)&&this.queue.set(u,s)},i);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:()=>new e}),t})();function ms(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){lg(e,1);const o=n.components;null!==o&&ug(e,o,1)}}function ug(e,t,n){for(let r=0;r-1&&(qi(t,r),ki(n,r))}this._attachedToViewContainer=!1}Ml(this._lView[T],this._lView)}onDestroy(t){!function Pf(e,t){if(256==(256&e[U]))throw new S(911,!1);null===e[mn]&&(e[mn]=[]),e[mn].push(t)}(this._lView,t)}markForCheck(){Mo(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){this._lView[U]|=128}detectChanges(){_s(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Sb(e,t){Co(e,t,t[B],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class HI extends To{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;_s(t[T],t,t[be],!1)}checkNoChanges(){}get context(){return null}}class dg extends us{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=X(t);return new No(n,this.ngModule)}}function fg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class jI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yi(r);const o=this.injector.get(t,nc,r);return o!==nc||n===nc?o:this.parentInjector.get(t,n,r)}}class No extends vp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=fg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return fg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function MD(e){return e.map(ID).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof en?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new jI(t,i):t,a=s.get(Cp,null);if(null===a)throw new S(407,!1);const d={rendererFactory:a,sanitizer:s.get(LE,null),effectManager:s.get(ig,null),afterRenderEventManager:s.get(uc,null)},h=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=r?function uI(e,t,n,r){const i=r.get(kp,!1)||n===yt.ShadowDom,s=e.selectRootElement(t,i);return function dI(e){Wp(e)}(s),s}(h,r,this.componentDef.encapsulation,s):Gi(h,p,function BI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),A=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==m&&(D=Xl(m,s,!0));const O=gc(0,null,null,1,0,null,null,null,null,null,null),L=ps(null,O,null,A,null,null,d,h,s,null,D);let Y,ot;nl(L);try{const cn=this.componentDef;let Wr,dd=null;cn.findHostDirectiveDefs?(Wr=[],dd=new Map,cn.findHostDirectiveDefs(cn,Wr,dd),Wr.push(cn)):Wr=[cn];const hP=function UI(e,t){const n=e[T],r=W;return e[r]=t,Ar(n,r,2,"#host",null)}(L,m),pP=function zI(e,t,n,r,o,i,s){const a=o[T];!function GI(e,t,n,r){for(const o of e)t.mergedAttrs=Jr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ms(t,t.mergedAttrs,!0),null!==n&&Wh(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Xl(t,o[gn]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=ps(o,qp(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&_c(a,e,r.length-1),gs(o,d),o[e.index]=d}(hP,m,cn,Wr,L,d,h);ot=xf(O,W),m&&function WI(e,t,n,r){if(r)Ba(e,n,["ng-version",VE.full]);else{const{attrs:o,classes:i}=function SD(e){const t=[],n=[];let r=1,o=2;for(;r0&&qh(e,n,i.join(" "))}}(h,cn,m,r),void 0!==n&&function ZI(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Jr(o.hostAttrs,n=Jr(n,o.hostAttrs))}}(r)}function vs(e){return e===xt?{}:e===te?[]:e}function KI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function JI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function XI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function ys(e){return!!wc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e,t,n){return e[t]=n}function He(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function $n(e,t,n,r){const o=He(e,t,n);return He(e,t+1,r)||o}function It(e,t,n,r){const o=E();return He(o,sr(),t)&&(ee(),Lt(ve(),o,e,t,n,r)),It}function Nr(e,t,n,r){return He(e,sr(),n)?t+H(n)+r:$}function C(e,t,n,r,o,i,s,a){const l=E(),c=ee(),u=e+W,d=c.firstCreatePass?function M0(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Ar(t,e,4,s||null,vn(c,a));mc(t,n,u,vn(c,l)),Ti(t,u);const d=u.tView=gc(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Pt(d,!1);const h=Tg(c,l,d,e);Ai()&&Zi(c,l,h,d),Ve(h,l),gs(l,l[u]=Xp(h,l,h,d)),Ei(d)&&hc(c,l,d),null!=s&&pc(l,d,a)}let Tg=function Ng(e,t,n,r){return yn(!0),t[B].createComment("")};function g(e,t,n){const r=E();return He(r,sr(),t)&&ct(ee(),ve(),r,e,t,r[B],n,!1),g}function Ac(e,t,n,r,o){const s=o?"class":"style";Cc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=E(),i=ee(),s=W+e,a=o[B],l=i.firstCreatePass?function x0(e,t,n,r,o,i){const s=t.consts,l=Ar(t,e,2,r,vn(s,o));return mc(t,n,l,vn(s,i)),null!==l.attrs&&ms(l,l.attrs,!1),null!==l.mergedAttrs&&ms(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=xg(i,o,l,a,t,e);o[s]=c;const u=Ei(l);return Pt(l,!0),Wh(a,c,l),32!=(32&l.flags)&&Ai()&&Zi(i,o,c,l),0===function ow(){return k.lFrame.elementDepthCount}()&&Ve(c,o),function iw(){k.lFrame.elementDepthCount++}(),u&&(hc(i,o,l),fc(i,l,o)),null!==r&&pc(o,l),y}function v(){let e=Pe();Ka()?Ja():(e=e.parent,Pt(e,!1));const t=e;(function aw(e){return k.skipHydrationRootTNode===e})(t)&&function dw(){k.skipHydrationRootTNode=null}(),function sw(){k.lFrame.elementDepthCount--}();const n=ee();return n.firstCreatePass&&(Ti(n,e),$a(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Iw(e){return 0!=(8&e.flags)}(t)&&Ac(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Mw(e){return 0!=(16&e.flags)}(t)&&Ac(n,t,E(),t.stylesWithoutHost,!1),v}function N(e,t,n,r){return y(e,t,n,r),v(),N}let xg=(e,t,n,r,o,i)=>(yn(!0),Gi(r,o,function Qf(){return k.lFrame.currentNamespace}()));function Z(e,t,n){const r=E(),o=ee(),i=e+W,s=o.firstCreatePass?function F0(e,t,n,r,o){const i=t.consts,s=vn(i,r),a=Ar(t,e,8,"ng-container",s);return null!==s&&ms(a,s,!0),mc(t,n,a,vn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Pt(s,!0);const a=Rg(o,r,s,e);return r[i]=a,Ai()&&Zi(o,r,a,s),Ve(a,r),Ei(s)&&(hc(o,r,s),fc(o,s,r)),null!=n&&pc(r,s),Z}function Q(){let e=Pe();const t=ee();return Ka()?Ja():(e=e.parent,Pt(e,!1)),t.firstCreatePass&&(Ti(t,e),$a(e)&&t.queries.elementEnd(e)),Q}let Rg=(e,t,n,r)=>(yn(!0),Il(t[B],""));function De(){return E()}function Es(e){return!!e&&"function"==typeof e.then}function Fg(e){return!!e&&"function"==typeof e.subscribe}function F(e,t,n,r){const o=E(),i=ee(),s=Pe();return function kg(e,t,n,r,o,i,s){const a=Ei(r),c=e.firstCreatePass&&function ng(e){return e.cleanup||(e.cleanup=[])}(e),u=t[be],d=function tg(e){return e[Jn]||(e[Jn]=[])}(t);let h=!0;if(3&r.type||s){const w=et(r,t),I=s?s(w):w,A=d.length,D=s?L=>s(fe(L[r.index])):r.index;let O=null;if(!s&&a&&(O=function L0(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!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=Vg(r,t,u,i,!1);const L=n.listen(I,o,i);d.push(i,L),c&&c.push(o,D,A,A+1)}}else i=Vg(r,t,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const w=m.length;if(w)for(let I=0;I-1?at(e.index,t):t);let l=Lg(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=Lg(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function _(e=1){return function _w(e){return(k.lFrame.contextLView=function vw(e,t){for(;e>0;)t=t[er],e--;return t}(e,k.lFrame.contextLView))[be]}(e)}function bn(e,t,n){return Tc(e,"",t,"",n),bn}function Tc(e,t,n,r,o){const i=E(),s=Nr(i,t,n,r);return s!==$&&ct(ee(),ve(),i,e,s,i[B],o,!1),Tc}function Is(e,t){return e<<17|t<<2}function En(e){return e>>17&32767}function Nc(e){return 2|e}function Un(e){return(131068&e)>>2}function xc(e,t){return-131069&e|t<<2}function Oc(e){return 1|e}function Wg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?En(i):Un(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];q0(e[a],t)&&(l=!0,e[a+1]=r?Oc(u):Nc(u)),a=r?En(u):Un(u)}l&&(e[n+1]=r?Nc(i):Oc(i))}function q0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&pr(e,t)>=0}const Ne={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zg(e){return e.substring(Ne.key,Ne.keyEnd)}function Qg(e,t){const n=Ne.textEnd;return n===t?-1:(t=Ne.keyEnd=function Y0(e,t,n){for(;t32;)t++;return t}(e,Ne.key=t,n),Vr(e,t,n))}function Vr(e,t,n){for(;t=0;n=Qg(t,n))lt(e,Zg(t),!0)}function tm(e,t){return t>=e.expandoStartIndex}function nm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ge()],s=tm(e,n);sm(i,r)&&null===t&&!s&&(t=!1),t=function t1(e,t,n,r){const o=function el(e){const t=k.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=Po(n=Rc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Rc(o,e,t,n,r),null===i){let l=function n1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Un(r))return e[En(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Rc(null,e,t,l[1],r),l=Po(l,t.attrs,r),function r1(e,t,n,r){e[En(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function o1(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const h=En(e[a+1]);e[r+1]=Is(h,a),0!==h&&(e[h+1]=xc(e[h+1],r)),e[a+1]=function $0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Is(a,0),0!==a&&(e[a+1]=xc(e[a+1],r)),a=r;else e[r+1]=Is(l,0),0===a?a=r:e[l+1]=xc(e[l+1],r),l=r;c&&(e[r+1]=Nc(e[r+1])),Wg(e,u,r,!0),Wg(e,u,r,!1),function G0(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&pr(i,t)>=0&&(n[r+1]=Oc(n[r+1]))}(t,u,e,r,i),s=Is(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Rc(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],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=n[o+1];h===$&&(h=d?te:void 0);let p=d?hl(h,r):u===r?h:void 0;if(c&&!Ss(p)&&(p=hl(l,r)),Ss(p)&&(a=p,s))return a;const m=e[o+1];o=s?En(m):Un(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=hl(l,r))}return a}function Ss(e){return void 0!==e}function sm(e,t){return 0!=(e.flags&(t?8:16))}function b(e,t=""){const n=E(),r=ee(),o=e+W,i=r.firstCreatePass?Ar(r,o,1,t,null):r.data[o],s=am(r,n,i,t,e);n[o]=s,Ai()&&Zi(r,n,s,i),Pt(i,!1)}let am=(e,t,n,r,o)=>(yn(!0),function zi(e,t){return e.createText(t)}(t[B],r));function x(e){return z("",e,""),x}function z(e,t,n){const r=E(),o=Nr(r,e,t,n);return o!==$&&function rn(e,t,n){const r=Si(t,e);!function Fh(e,t,n){e.setValue(t,n)}(e[B],r,n)}(r,Ge(),o),z}function jt(e,t,n){!function St(e,t,n,r){const o=ee(),i=Jt(2);o.firstUpdatePass&&nm(o,null,i,r);const s=E();if(n!==$&&He(s,i,n)){const a=o.data[Ge()];if(sm(a,r)&&!tm(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ma(l,n||"")),Ac(o,a,s,n,r)}else!function a1(e,t,n,r,o,i,s,a){o===$&&(o=te);let l=0,c=0,u=0>20;if(Bn(e)||!e.multi){const p=new co(c,o,M),m=Vc(l,t,o?u:u+h,d);-1===m?(cl(Ri(a,s),i,l),Lc(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Vc(l,t,u+h,d),m=Vc(l,t,u,u+h),I=m>=0&&n[m];if(o&&!I||!o&&!(p>=0&&n[p])){cl(Ri(a,s),i,l);const A=function AM(e,t,n,r,o){const i=new co(e,n,M);return i.multi=[],i.index=t,i.componentProviders=0,e_(i,o,r&&!n),i}(o?SM:MM,n.length,o,r,c);!o&&I&&(n[m].providerFactory=A),Lc(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else Lc(i,e,p>-1?p:m,e_(n[o?m:p],c,!o&&r));!o&&r&&I&&n[m].componentProviders++}}}function Lc(e,t,n,r){const o=Bn(t),i=function pE(e){return!!e.useClass}(t);if(o||i){const l=(i?V(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function e_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function IM(e,t,n){const r=ee();if(r.firstCreatePass){const o=wt(e);kc(n,r.data,r.blueprint,o,!0),kc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Gn{}class TM{}class Bc extends Gn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dg(this);const o=function st(e,t){const n=e[Wd]||null;if(!n&&!0===t)throw new Error(`Type ${Ae(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function nn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Ip(t,n,[{provide:Gn,useValue:this},{provide:us,useValue:this.componentFactoryResolver},...r],Ae(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 jc extends TM{constructor(t){super(),this.moduleType=t}create(t){return new Bc(this.moduleType,t,[])}}function Os(e,t,n,r){return function l_(e,t,n,r,o,i){const s=t+n;return He(e,s,o)?Vt(e,s+1,i?r.call(i,o):r(o)):jo(e,s+1)}(E(),ze(),e,t,n,r)}function Uc(e,t,n,r,o){return function c_(e,t,n,r,o,i,s){const a=t+n;return $n(e,a,o,i)?Vt(e,a+2,s?r.call(s,o,i):r(o,i)):jo(e,a+2)}(E(),ze(),e,t,n,r,o)}function xe(e,t,n,r,o,i){return u_(E(),ze(),e,t,n,r,o,i)}function jo(e,t){const n=e[t];return n===$?void 0:n}function u_(e,t,n,r,o,i,s,a){const l=t+n;return function Cs(e,t,n,r,o){const i=$n(e,t,n,r);return He(e,t+2,o)||i}(e,l,o,i,s)?Vt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):jo(e,l+3)}function p_(e,t,n,r,o){const i=e+W,s=E(),a=function or(e,t){return e[t]}(s,i);return function $o(e,t){return e[T].data[t].pure}(s,i)?u_(s,ze(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function rS(e,t,n,r=!0){const o=t[T];if(function Tb(e,t,n,r){const o=Re+r,i=n.length;r>0&&(n[o-1][Dt]=t),r{class t{}return t.__NG_ELEMENT_ID__=sS,t})();const oS=on,iS=class extends oS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function nS(e,t,n,r){const o=t.tView,a=ps(e,o,n,4096&e[U]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[no]=e[t.index];const c=e[Ot];return null!==c&&(a[Ot]=c.createEmbeddedView(o)),Dc(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new To(o)}};function sS(){return function Rs(e,t){return 4&e.type?new iS(t,e,Ir(e,t)):null}(Pe(),E())}let $t=(()=>{class t{}return t.__NG_ELEMENT_ID__=fS,t})();function fS(){return function D_(e,t){let n;const r=t[e.index];return Ue(r)?n=r:(n=Xp(r,t,null,e),t[e.index]=n,gs(t,n)),w_(n,t,e,r),new y_(n,e,t)}(Pe(),E())}const hS=$t,y_=class extends hS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new qe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fi(this._hostTNode,this._hostLView);if(sl(t)){const n=fo(t,this._hostLView),r=uo(t);return new qe(n[T].data[r+8],n)}return new qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=C_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Re}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function po(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const w=n||{};a=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}const l=s?t:new No(X(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const I=(s?c:this.parentInjector).get(en,null);I&&(i=I)}X(l.componentType??{});const p=l.create(c,o,null,i);return this.insertImpl(p.hostView,a,false),p}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function tw(e){return Ue(e[ge])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=o[ge],u=new y_(c,c[ke],c[ge]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return rS(a,o,s,!r),t.attachToViewContainerRef(),uh(Gc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=C_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=qi(this._lContainer,n);r&&(ki(Gc(this._lContainer),n),Ml(r[T],r))}detach(t){const n=this._adjustIndex(t,-1),r=qi(this._lContainer,n);return r&&null!=ki(Gc(this._lContainer),n)?new To(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function C_(e){return e[8]}function Gc(e){return e[8]||(e[8]=[])}let w_=function b_(e,t,n,r){if(e[Rt])return;let o;o=8&n.type?fe(r):function pS(e,t){const n=e[B],r=n.createComment(""),o=et(t,e);return Hn(n,Wi(n,o),r,function Fb(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Rt]=o};const ZS=new R("Application Initializer");let tu=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=le(ZS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(Es(s))r.push(s);else if(Fg(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const sn=new R("LocaleId",{providedIn:"root",factory:()=>le(sn,K.Optional|K.SkipSelf)||function YS(){return typeof $localize<"u"&&$localize.locale||Br}()});let XS=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ZC(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Q_=new R(""),Ls=new R("");let su,ou=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,su||(function CA(e){su=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ce),J(iu),J(Ls))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),iu=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return su?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),In=null;const Y_=new R("AllowMultipleToken"),au=new R("PlatformDestroyListeners"),K_=new R("appBootstrapListener");function ev(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=lu();if(!s||s.injector.get(Y_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function bA(e){if(In&&!In.get(Y_,!1))throw new S(400,!1);(function J_(){!function BD(e){Df=e}(()=>{throw new S(600,!1)})})(),In=e;const t=e.get(nv);(function X_(e){e.get(hp,null)?.forEach(n=>n())})(e)}(function tv(e=[],t){return Et.create({name:t,providers:[{provide:$l,useValue:"platform"},{provide:au,useValue:new Set([()=>In=null])},...e]})}(a,r))}return function IA(e){const t=lu();if(!t)throw new S(401,!1);return t}()}}function lu(){return In?.get(nv)??null}let nv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const i=function MA(e="zone.js",t){return"noop"===e?new YE:"zone.js"===e?new Ce(t):e}(o?.ngZone,function rv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function xM(e,t,n){return new Bc(e,t,n)}(r.moduleType,this.injector,function lv(e){return[{provide:Ce,useFactory:e},{provide:Xi,multi:!0,useFactory:()=>{const t=le(AA,{optional:!0});return()=>t.initialize()}},{provide:av,useFactory:SA},{provide:Np,useFactory:xp}]}(()=>i)),a=s.injector.get(tn,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Vs(this._modules,s),l.unsubscribe()})}),function ov(e,t,n){try{const r=n();return Es(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const l=s.injector.get(tu);return l.runInitializers(),l.donePromise.then(()=>(function Nm(e){ft(e,"Expected localeId to be defined"),"string"==typeof e&&(Tm=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(sn,Br)||Br),this._moduleDoBootstrap(s),s))})})}bootstrapModule(r,o=[]){const i=iv({},o);return function DA(e,t,n){const r=new jc(n);return Promise.resolve(r)}(0,0,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){const o=r.injector.get(Go);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new S(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(au,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Et))},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function iv(e,t){return Array.isArray(t)?t.reduce(iv,e):{...e,...t}}let Go=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=le(av),this.zoneIsStable=le(Np),this.componentTypes=[],this.components=[],this.isStable=le(XS).hasPendingTasks.pipe(function KC(e,t){return un((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(new zt(r,l=>{o?.unsubscribe();let c=0;const u=i++;dn(e(l,u)).subscribe(o=new zt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>r?function QC(...e){return fi(e,Fd(e))}(!1):this.zoneIsStable),function JC(e,t=Ca){return e=e??XC,un((n,r)=>{let o,i=!0;n.subscribe(new zt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Vd()),this._injector=le(en)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof vp;if(!this._injector.get(tu).done)throw!i&&function Xr(e){const t=X(e)||Oe(e)||$e(e);return null!==t&&t.standalone}(r),new S(405,!1);let a;a=i?r:this._injector.get(us).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const l=function wA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Gn),u=a.create(Et.NULL,[],o||a.selector,l),d=u.location.nativeElement,h=u.injector.get(Q_,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Vs(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;Vs(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(K_,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Vs(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Vs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const av=new R("",{providedIn:"root",factory:()=>le(tn).handleError.bind(void 0)});function SA(){const e=le(Ce),t=le(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let AA=(()=>{var e;class t{constructor(){this.zone=le(Ce),this.applicationRef=le(Go)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let uv=(()=>{class t{}return t.__NG_ELEMENT_ID__=NA,t})();function NA(e){return function xA(e,t,n){if(Pn(e)&&!n){const r=at(e.index,t);return new To(r,r)}return 47&e.type?new To(t[Ee],t):null}(Pe(),E(),16==(16&e))}class hv{constructor(){}supports(t){return ys(t)}create(t){return new LA(t)}}const kA=(e,t)=>t;class LA{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||kA}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 VA(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 pv),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 pv),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 VA{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 HA{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 pv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HA,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 gv(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 jA(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 jA{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 _v(){return new js([new hv])}let js=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_v()),deps:[[t,new ml,new gl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:_v}),t})();function vv(){return new qo([new mv])}let qo=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||vv()),deps:[[t,new ml,new gl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new S(901,!1)}}return(e=t).\u0275prov=se({token:e,providedIn:"root",factory:vv}),t})();const zA=ev(null,"core",[]);let GA=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Go))},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();let gu=null;function Wo(){return gu}class oT{}const Wn=new R("DocumentToken"),Iu=/\s+/,Pv=[];let Yo=(()=>{var e;class t{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Pv,this.stateMap=new Map}set klass(r){this.initialClasses=null!=r?r.trim().split(Iu):Pv}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(Iu):r}ngDoCheck(){for(const o of this.initialClasses)this._updateState(o,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const o of r)this._updateState(o,!0);else if(null!=r)for(const o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){const i=this.stateMap.get(r);void 0!==i?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){(r=r.trim()).length>0&&r.split(Iu).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return(e=t).\u0275fac=function(r){return new(r||e)(M(js),M(qo),M(bt),M(jn))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class qT{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 zr=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new qT(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),Lv(l,i)}});for(let i=0,s=o.length;i{Lv(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(on),M(js))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function Lv(e,t){e.context.$implicit=t.item}let Zn=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new WT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Vv("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Vv("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(M($t),M(on))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class WT{constructor(){this.$implicit=null,this.ngIf=null}}function Vv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ae(t)}'.`)}let jv=(()=>{var e;class t{transform(r,o,i){if(null==r)return null;if(!this.supports(r))throw function Tt(e,t){return new S(2100,!1)}();return r.slice(o,i)}supports(r){return"string"==typeof r||Array.isArray(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Je({name:"slice",type:e,pure:!1,standalone:!0}),t})(),vN=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();function Uv(e){return"server"===e}class qN extends oT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ou extends qN{static makeCurrent(){!function rT(e){gu||(gu=e)}(new Ou)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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 WN(){return Jo=Jo||document.querySelector("base"),Jo?Jo.getAttribute("href"):null}();return null==n?null:function ZN(e){ta=ta||document.createElement("a"),ta.setAttribute("href",e);const t=ta.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function zT(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}(document.cookie,t)}}let ta,Jo=null,YN=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Ru=new R("EventManagerPlugins");let Zv=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new S(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Ru),J(Ce))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Qv{constructor(t){this._doc=t}}const Fu="ng-app-id";let Yv=(()=>{var e;class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Uv(s),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${Fu}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){const i=this.styleRef;if(i.has(r)){const s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Fu),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fu,this.appId),a}}addStyleToHost(r,o){const i=this.getStyleElement(r,o);r.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn),J(os),J(pp,8),J(wr))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const Pu={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/"},ku=/%COMP%/g,ex=new R("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Jv(e,t){return t.map(n=>n.replace(ku,e))}let Xv=(()=>{var e;class t{constructor(r,o,i,s,a,l,c,u=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Uv(l),this.defaultRenderer=new Lu(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===yt.ShadowDom&&(o={...o,encapsulation:yt.Emulated});const i=this.getOrCreateRenderer(r,o);return i instanceof ty?i.applyToHost(r):i instanceof Vu&&i.applyStyles(),i}getOrCreateRenderer(r,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case yt.Emulated:s=new ty(c,u,o,this.appId,d,a,l,h);break;case yt.ShadowDom:return new ox(c,u,r,o,a,l,this.nonce,h);default:s=new Vu(c,u,o,d,a,l,h)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Zv),J(Yv),J(os),J(ex),J(Wn),J(wr),J(Ce),J(pp))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();class Lu{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Pu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ey(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ey(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new S(-5104,!1);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=Pu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Pu[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&(Cn.DashCase|Cn.Important)?t.style.setProperty(n,r,o&Cn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Cn.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){if("string"==typeof t&&!(t=Wo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function ey(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ox extends Lu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Jv(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Vu extends Lu{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?Jv(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ty extends Vu{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function tx(e){return"_ngcontent-%COMP%".replace(ku,e)}(c),this.hostAttr=function nx(e){return"_nghost-%COMP%".replace(ku,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let ix=(()=>{var e;class t extends Qv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const ny=["alt","control","meta","shift"],sx={"\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"},ax={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lx=(()=>{var e;class t extends Qv{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wo().onAndCancel(r,s.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),ny.forEach(u=>{const d=o.indexOf(u);d>-1&&(o.splice(d,1),a+=u+".")}),a+=s,0!=o.length||0===s.length)return null;const c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=sx[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),ny.forEach(a=>{a!==i&&(0,ax[a])(r)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(J(Wn))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})();const fx=ev(zA,"browser",[{provide:wr,useValue:"browser"},{provide:hp,useValue:function cx(){Ou.makeCurrent()},multi:!0},{provide:Wn,useFactory:function dx(){return function $b(e){Rl=e}(document),document},deps:[]}]),hx=new R(""),iy=[{provide:Ls,useClass:class QN{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Wo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Q_,useClass:ou,deps:[Ce,iu,Ls]},{provide:ou,useClass:ou,deps:[Ce,iu,Ls]}],sy=[{provide:$l,useValue:"root"},{provide:tn,useFactory:function ux(){return new tn},deps:[]},{provide:Ru,useClass:ix,multi:!0,deps:[Wn,Ce,wr]},{provide:Ru,useClass:lx,multi:!0,deps:[Wn]},Xv,Yv,Zv,{provide:Cp,useExisting:Xv},{provide:class bN{},useClass:YN,deps:[]},[]];let px=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:os,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(J(hx,12))},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({providers:[...sy,...iy],imports:[vN,GA]}),t})();typeof window<"u"&&window;const{isArray:Dx}=Array,{getPrototypeOf:wx,prototype:bx,keys:Ex}=Object;const{isArray:Sx}=Array;function Nx(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function xx(...e){const t=function HC(e){return _e(Ea(e))?e.pop():void 0}(e),{args:n,keys:r}=function Ix(e){if(1===e.length){const t=e[0];if(Dx(t))return{args:t,keys:null};if(function Mx(e){return e&&"object"==typeof e&&wx(e)===bx}(t)){const n=Ex(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new je(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?Nx(r,a):a),i.complete())}))}});return t?o.pipe(function Tx(e){return Da(t=>function Ax(e,t){return Sx(t)?e(...t):e(t)}(e,t))}(t)):o}let uy=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(jn),M(bt))},e.\u0275dir=j({type:e}),t})(),Qn=(()=>{var e;class t extends uy{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,features:[ae]}),t})();const Ut=new R("NgValueAccessor"),Ox={provide:Ut,useExisting:ue(()=>Bu),multi:!0};let Bu=(()=>{var e;class t extends Qn{writeValue(r){this.setProperty("checked",r)}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[me([Ox]),ae]}),t})();const Rx={provide:Ut,useExisting:ue(()=>Xo),multi:!0},Px=new R("CompositionEventMode");let Xo=(()=>{var e;class t extends uy{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Fx(){const e=Wo()?Wo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(jn),M(bt),M(Px,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&F("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([Rx]),ae]}),t})();const Be=new R("NgValidators"),An=new R("NgAsyncValidators");function Cy(e){return null!=e}function Dy(e){return Es(e)?fi(e):e}function wy(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function by(e,t){return t.map(n=>n(e))}function Ey(e){return e.map(t=>function Lx(e){return!e.validate}(t)?t:n=>t.validate(n))}function ju(e){return null!=e?function Iy(e){if(!e)return null;const t=e.filter(Cy);return 0==t.length?null:function(n){return wy(by(n,t))}}(Ey(e)):null}function $u(e){return null!=e?function My(e){if(!e)return null;const t=e.filter(Cy);return 0==t.length?null:function(n){return xx(by(n,t).map(Dy)).pipe(Da(wy))}}(Ey(e)):null}function Sy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Uu(e){return e?Array.isArray(e)?e:[e]:[]}function ra(e,t){return Array.isArray(e)?e.includes(t):e===t}function Ny(e,t){const n=Uu(t);return Uu(e).forEach(o=>{ra(n,o)||n.push(o)}),n}function xy(e,t){return Uu(t).filter(n=>!ra(e,n))}class Oy{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=ju(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=$u(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=void 0){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 Ye extends Oy{get formDirective(){return null}get path(){return null}}class Tn extends Oy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ry{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 oa=(()=>{var e;class t extends Ry{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Tn,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ms("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ae]}),t})();const ei="VALID",sa="INVALID",Gr="PENDING",ti="DISABLED";function aa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Ly{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ei}get invalid(){return this.status===sa}get pending(){return this.status==Gr}get disabled(){return this.status===ti}get enabled(){return this.status!==ti}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ny(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ny(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(xy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(xy(t,this._rawAsyncValidators))}hasValidator(t){return ra(this._rawValidators,t)}hasAsyncValidator(t){return ra(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=Gr,!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=ti,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=ei,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===ei||this.status===Gr)&&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()?ti:ei}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gr,this._hasOwnPendingAsyncValidator=!0;const n=Dy(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 Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?ti:this.errors?sa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gr)?Gr:this._anyControlsHaveStatus(sa)?sa:ei}_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){aa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function $x(e){return Array.isArray(e)?ju(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Ux(e){return Array.isArray(e)?$u(e):e||null}(this._rawAsyncValidators)}}const qr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>la}),la="always";function ni(e,t,n=la){(function Qu(e,t){const n=function Ay(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Sy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function Ty(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Sy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();da(t._rawValidators,o),da(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function qx(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Vy(e,t)})}(e,t),function Zx(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 Wx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Vy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function Gx(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function da(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Vy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function jy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $y(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Uy=class extends Ly{constructor(t=null,n,r){super(function qu(e){return(aa(e)?e.validators:e)||null}(n),function Wu(e,t){return(aa(t)?t.asyncValidators:e)||null}(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}),aa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=$y(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){jy(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){jy(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){$y(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}},nO={provide:Tn,useExisting:ue(()=>oi)},qy=(()=>Promise.resolve())();let oi=(()=>{var e;class t extends Tn{constructor(r,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Uy,this._registered=!1,this.name="",this.update=new Ie,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function Ju(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Xo?n=i:function Kx(e){return Object.getPrototypeOf(e.constructor)===Qn}(i)?r=i:o=i}),o||r||n||null}(0,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),function Ku(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,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(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ni(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(r){qy.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const o=r.isDisabled.currentValue,i=0!==o&&function pu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(o);qy.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function ca(e,t){return[...t.path,e]}(r,this._parent):[r]}}return(e=t).\u0275fac=function(r){return new(r||e)(M(Ye,9),M(Be,10),M(An,10),M(Ut,10),M(uv,8),M(qr,8))},e.\u0275dir=j({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:[me([nO]),ae,Yt]}),t})(),Zy=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({}),t})();const aO={provide:Ut,useExisting:ue(()=>ed),multi:!0};let ed=(()=>{var e;class t extends Qn{writeValue(r){this.setProperty("value",parseFloat(r))}registerOnChange(r){this.onChange=o=>{r(""==o?null:parseFloat(o))}}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[me([aO]),ae]}),t})();const hO={provide:Ut,useExisting:ue(()=>ii),multi:!0};function eC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ii=(()=>{var e;class t extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;const i=eC(this._getOptionId(r),r);this.setProperty("value",i)}registerOnChange(r){this.onChange=o=>{this.value=this._getOptionValue(o),r(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(r){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),r))return o;return null}_getOptionValue(r){const o=function pO(e){return e.split(":")[0]}(r);return this._optionMap.has(o)?this._optionMap.get(o):r}}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=Le(e)))(o||e)}}(),e.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&F("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([hO]),ae]}),t})(),od=(()=>{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(r){null!=this._select&&(this._select._optionMap.set(this.id,r),this._setElementValue(eC(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._setElementValue(r),this._select&&this._select.writeValue(this._select.value)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(bt),M(jn),M(ii,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const gO={provide:Ut,useExisting:ue(()=>id),multi:!0};function tC(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let id=(()=>{var e;class t extends Qn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){let o;if(this.value=r,Array.isArray(r)){const i=r.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(r){this.onChange=o=>{const i=[],s=o.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l{var e;class t{constructor(r,o,i){this._element=r,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(r){null!=this._select&&(this._value=r,this._setElementValue(tC(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._select?(this._value=r,this._setElementValue(tC(this.id,r)),this._select.writeValue(this._select.value)):this._setElementValue(r)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}_setSelected(r){this._renderer.setProperty(this._element.nativeElement,"selected",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(r){return new(r||e)(M(bt),M(jn),M(id,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),IO=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({imports:[Zy]}),t})(),SO=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:qr,useValue:r.callSetDisabledState??la}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e}),e.\u0275inj=Gt({imports:[IO]}),t})();class dC{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class AO{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class TO{constructor(t){this.et="",this.et=t.et,this.cl=t.cl,this.ucl=t.ucl,this.cal=t.cal,this.tl=t.tl,this.lcq=t.lcq,this.cb=t.cb,this.tb=t.tb,this.bcq=t.bcq,this.cm=t.cm,this.tm=t.tm,this.mcq=t.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class vt{static roundNumber(t){return Math.floor(t*Math.pow(10,vt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,vt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(t,n,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new TO(r))}),this.metrics=t.metrics}get coverage(){return 0===this.coverableLines?NaN:vt.roundNumber(100*this.coveredLines/this.coverableLines)}visible(t,n){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===n||null===this.currentHistoricCoverage)return!0;if("allChanges"===n){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let n=0;n-1&&null===n}visible(t,n){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let r=0;r{var e;class t{get nativeWindow(){return function NO(){return window}()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),t})(),xO=(()=>{var e;class t{constructor(){this.translations={}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),v()),2&r&&(f(1),bn("title",o.translations.methodCoverageProVersion))},encapsulation:2}),t})();function OO(e,t){if(1&e){const n=De();y(0,"div",3)(1,"label")(2,"input",4),F("ngModelChange",function(o){return G(n),q(_().showBranchCoverage=o)})("change",function(){G(n);const o=_();return q(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),v(),b(3),v()()}if(2&e){const n=_();f(2),g("ngModel",n.showBranchCoverage),f(1),z(" ",n.translations.branchCoverage,"")}}function RO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_().translations)}function FO(e,t){1&e&&N(0,"pro-button",9),2&e&&g("translations",_(2).translations)}function PO(e,t){1&e&&(y(0,"a",13),N(1,"i",14),v()),2&e&&g("href",_().$implicit.explanationUrl,wn)}function kO(e,t){if(1&e){const n=De();y(0,"div",3)(1,"label")(2,"input",11),F("change",function(){const i=G(n).$implicit;return q(_(2).toggleMetric(i))}),v(),b(3),v(),b(4,"\xa0"),C(5,PO,2,1,"a",12),v()}if(2&e){const n=t.$implicit,r=_(2);f(2),g("checked",r.isMetricSelected(n))("disabled",!r.methodCoverageAvailable),f(1),z(" ",n.name,""),f(2),g("ngIf",n.explanationUrl)}}function LO(e,t){if(1&e&&(Z(0),N(1,"br")(2,"br"),y(3,"b"),b(4),v(),C(5,FO,1,1,"pro-button",7),C(6,kO,6,4,"div",10),Q()),2&e){const n=_();f(4),x(n.translations.metrics),f(1),g("ngIf",!n.methodCoverageAvailable),f(1),g("ngForOf",n.metrics)}}let VO=(()=>{var e;class t{constructor(){this.visible=!1,this.visibleChange=new Ie,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ie,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ie,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ie,this.visibleMetrics=[],this.visibleMetricsChange=new Ie}isMetricSelected(r){return void 0!==this.visibleMetrics.find(o=>o.name===r.name)}toggleMetric(r){let o=this.visibleMetrics.find(i=>i.name===r.name);o?this.visibleMetrics.splice(this.visibleMetrics.indexOf(o),1):this.visibleMetrics.push(r),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(r){r.stopPropagation()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),F("click",function(){return o.close()}),y(1,"div",1),F("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),F("click",function(){return o.close()}),b(3,"X"),v(),y(4,"b"),b(5),v(),y(6,"div",3)(7,"label")(8,"input",4),F("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),v(),b(9),v()(),C(10,OO,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),F("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),v(),b(14),v(),C(15,RO,1,1,"pro-button",7),v(),C(16,LO,7,3,"ng-container",8),v()()),2&r&&(f(5),x(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(1),z(" ",o.translations.coverage,""),f(1),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(1),z(" ",o.translations.methodCoverage,""),f(1),g("ngIf",!o.methodCoverageAvailable),f(1),g("ngIf",o.metrics.length>0))},dependencies:[zr,Zn,Bu,oa,oi,xO],encapsulation:2}),t})();function HO(e,t){1&e&&N(0,"td",3)}function BO(e,t){1&e&&N(0,"td"),2&e&&jt("green ",_().greenClass,"")}function jO(e,t){1&e&&N(0,"td"),2&e&&jt("red ",_().redClass,"")}let hC=(()=>{var e;class t{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(r){this._percentage=r,this.grayVisible=isNaN(r),this.greenVisible=!isNaN(r)&&Math.round(r)>0,this.redVisible=!isNaN(r)&&100-Math.round(r)>0,this.greenClass="covered"+Math.round(r),this.redClass="covered"+(100-Math.round(r))}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),C(1,HO,1,0,"td",1),C(2,BO,1,3,"td",2),C(3,jO,1,3,"td",2),v()),2&r&&(f(1),g("ngIf",o.grayVisible),f(1),g("ngIf",o.greenVisible),f(1),g("ngIf",o.redVisible))},dependencies:[Zn],encapsulation:2,changeDetection:0}),t})();const $O=["codeelement-row",""];function UO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredLines)}}function zO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.uncoveredLines)}}function GO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coverableLines)}}function qO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalLines)}}function WO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.coverageRatioText),f(1),x(n.element.coveragePercentage)}}function ZO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.coverage)}}function QO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredBranches)}}function YO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalBranches)}}function KO(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.branchCoverageRatioText),f(1),x(n.element.branchCoveragePercentage)}}function JO(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.branchCoverage)}}function XO(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.coveredMethods)}}function eR(e,t){if(1&e&&(y(0,"th",5),b(1),v()),2&e){const n=_();f(1),x(n.element.totalMethods)}}function tR(e,t){if(1&e&&(y(0,"th",6),b(1),v()),2&e){const n=_();g("title",n.element.methodCoverageRatioText),f(1),x(n.element.methodCoveragePercentage)}}function nR(e,t){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),v()),2&e){const n=_();f(1),g("percentage",n.element.methodCoverage)}}function rR(e,t){1&e&&N(0,"th",5)}const oR=function(e,t){return{"icon-plus":e,"icon-minus":t}};let iR=(()=>{var e;class t{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:$O,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),F("click",function(s){return o.element.toggleCollapse(s)}),N(2,"i",1),b(3),v()(),C(4,UO,2,1,"th",2),C(5,zO,2,1,"th",2),C(6,GO,2,1,"th",2),C(7,qO,2,1,"th",2),C(8,WO,2,2,"th",3),C(9,ZO,2,1,"th",2),C(10,QO,2,1,"th",2),C(11,YO,2,1,"th",2),C(12,KO,2,2,"th",3),C(13,JO,2,1,"th",2),C(14,XO,2,1,"th",2),C(15,eR,2,1,"th",2),C(16,tR,2,2,"th",3),C(17,nR,2,1,"th",2),C(18,rR,1,0,"th",4)),2&r&&(f(2),g("ngClass",Uc(17,oR,o.element.collapsed,!o.element.collapsed)),f(1),z(" ",o.element.name,""),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngForOf",o.visibleMetrics))},dependencies:[Yo,zr,Zn,hC],encapsulation:2,changeDetection:0}),t})();const sR=["coverage-history-chart",""];let aR=(()=>{var e;class t{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(r){if(this._historicCoverages=r,r.length>1){let o="";for(let i=0;i1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function SR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.coverage)}}function AR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),f(1),z(" ",n.clazz.coveredBranches," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cb," ")}}function TR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredBranches," ")}}function NR(e,t){if(1&e&&(y(0,"td",6),C(1,AR,5,6,"ng-container",1),C(2,TR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function xR(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalBranches),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tb)}}function OR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalBranches," ")}}function RR(e,t){if(1&e&&(y(0,"td",6),C(1,xR,5,3,"ng-container",1),C(2,OR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function FR(e,t){if(1&e&&N(0,"div",14),2&e){const n=_(2);bn("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Os(3,ud,null!==n.clazz.currentHistoricCoverage))}}function PR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),f(1),z(" ",n.clazz.branchCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.bcq,"%")}}function kR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.branchCoveragePercentage," ")}}function LR(e,t){if(1&e&&(y(0,"td",9),C(1,FR,1,5,"div",13),C(2,PR,5,6,"ng-container",1),C(3,kR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.branchCoverageRatioText),f(1),g("ngIf",n.clazz.branchCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function VR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.branchCoverage)}}function HR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),f(1),z(" ",n.clazz.coveredMethods," "),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),z(" ",n.clazz.currentHistoricCoverage.cm," ")}}function BR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.coveredMethods," ")}}function jR(e,t){if(1&e&&(y(0,"td",6),C(1,HR,5,6,"ng-container",1),C(2,BR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function $R(e,t){if(1&e&&(Z(0),y(1,"div",8),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(2),x(n.clazz.totalMethods),f(1),g("title",n.clazz.currentHistoricCoverage.et),f(1),x(n.clazz.currentHistoricCoverage.tm)}}function UR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.totalMethods," ")}}function zR(e,t){if(1&e&&(y(0,"td",6),C(1,$R,5,3,"ng-container",1),C(2,UR,2,1,"ng-container",1),v()),2&e){const n=_();f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function GR(e,t){if(1&e&&N(0,"div",16),2&e){const n=_(2);bn("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Os(3,ud,null!==n.clazz.currentHistoricCoverage))}}function qR(e,t){if(1&e&&(Z(0),y(1,"div"),b(2),v(),y(3,"div",7),b(4),v(),Q()),2&e){const n=_(2);f(1),jt("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),f(1),z(" ",n.clazz.methodCoveragePercentage," "),f(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),f(1),z("",n.clazz.currentHistoricCoverage.mcq,"%")}}function WR(e,t){if(1&e&&(Z(0),b(1),Q()),2&e){const n=_(2);f(1),z(" ",n.clazz.methodCoveragePercentage," ")}}function ZR(e,t){if(1&e&&(y(0,"td",9),C(1,GR,1,5,"div",15),C(2,qR,5,6,"ng-container",1),C(3,WR,2,1,"ng-container",1),v()),2&e){const n=_();g("title",n.clazz.methodCoverageRatioText),f(1),g("ngIf",n.clazz.methodCoverageHistory.length>1),f(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),f(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function QR(e,t){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),v()),2&e){const n=_();f(1),g("percentage",n.clazz.methodCoverage)}}function YR(e,t){if(1&e&&(y(0,"td",6),b(1),v()),2&e){const n=t.$implicit,r=_();f(1),x(r.clazz.metrics[n.abbreviation])}}let KR=(()=>{var e;class t{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(r,o){return r>o?"lightgreen":r0),f(2),z(" ",n.translations.grouping," "),f(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),f(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),f(5),x(n.metrics.length>0?n.translations.selectCoverageTypesAndMetrics:n.translations.selectCoverageTypes),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(5),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(4),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.settings.visibleMetrics.length>0),f(4),g("ngClass",xe(47,dt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),f(1),x(n.translations.name),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.settings.showLineCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.branchCoverageAvailable&&n.settings.showBranchCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngIf",n.methodCoverageAvailable&&n.settings.showMethodCoverage),f(1),g("ngForOf",n.settings.visibleMetrics),f(2),g("ngForOf",n.codeElements)}}let YF=(()=>{var e;class t{constructor(r){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new AO,this.window=r.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,vt.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let r=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),r=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let i=0,s=this.window.assemblies;for(let a=0;a-1&&(this.queryString=window.location.href.substring(o)),this.updateCoverageInfo(),r&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let r=new dC;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateCoverageInfo(){let r=(new Date).getTime(),o=this.window.assemblies,i=[],s=0;if(0===this.settings.grouping)for(let c=0;c{for(let i=0;i{for(let s=0;sr&&(i[s].collapsed=this.settings.collapseStates[r]),r++,o(i[s].subElements)};o(this.codeElements)}}return(e=t).\u0275fac=function(r){return new(r||e)(M(cd))},e.\u0275cmp=Zt({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&F("beforeunload",function(){return o.onBeforeUnload()},0,cc)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&C(0,QF,73,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Yo,zr,Zn,od,sd,Xo,ed,ii,oa,oi,VO,iR,KR],encapsulation:2}),t})();class KF{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function JF(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=t.$implicit;g("value",n),f(1),x(n)}}function XF(e,t){if(1&e&&(y(0,"span"),b(1),v()),2&e){const n=_(2);f(1),x(n.translations.top)}}function eP(e,t){1&e&&(y(0,"option",22),b(1,"20"),v())}function tP(e,t){1&e&&(y(0,"option",23),b(1,"50"),v())}function nP(e,t){1&e&&(y(0,"option",24),b(1,"100"),v())}function rP(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=_(3);g("value",n.totalNumberOfRiskHotspots),f(1),x(n.translations.all)}}function oP(e,t){if(1&e){const n=De();y(0,"select",16),F("ngModelChange",function(o){return G(n),q(_(2).settings.numberOfRiskHotspots=o)}),y(1,"option",17),b(2,"10"),v(),C(3,eP,2,0,"option",18),C(4,tP,2,0,"option",19),C(5,nP,2,0,"option",20),C(6,rP,2,2,"option",21),v()}if(2&e){const n=_(2);g("ngModel",n.settings.numberOfRiskHotspots),f(3),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>20),f(1),g("ngIf",n.totalNumberOfRiskHotspots>50),f(1),g("ngIf",n.totalNumberOfRiskHotspots>100)}}function iP(e,t){1&e&&N(0,"col",25)}const ha=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function sP(e,t){if(1&e){const n=De();y(0,"th")(1,"a",12),F("click",function(o){const s=G(n).index;return q(_(2).updateSorting(""+s,o))}),N(2,"i",13),b(3),v(),y(4,"a",26),N(5,"i",27),v()()}if(2&e){const n=t.$implicit,r=t.index,o=_(2);f(2),g("ngClass",xe(3,ha,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(1),x(n.name),f(1),bn("href",n.explanationUrl,wn)}}const aP=function(e,t){return{lightred:e,lightgreen:t}};function lP(e,t){if(1&e&&(y(0,"td",31),b(1),v()),2&e){const n=t.$implicit;g("ngClass",Uc(2,aP,n.exceeded,!n.exceeded)),f(1),x(n.value)}}function cP(e,t){if(1&e&&(y(0,"tr")(1,"td"),b(2),v(),y(3,"td")(4,"a",28),b(5),v()(),y(6,"td",29)(7,"a",28),b(8),v()(),C(9,lP,2,5,"td",30),v()),2&e){const n=t.$implicit,r=_(2);f(2),x(n.assembly),f(2),g("href",n.reportPath+r.queryString,wn),f(1),x(n.class),f(1),g("title",n.methodName),f(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,wn),f(1),z(" ",n.methodShortName," "),f(1),g("ngForOf",n.metrics)}}function uP(e,t){if(1&e){const n=De();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),F("ngModelChange",function(o){return G(n),q(_().settings.assembly=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),y(4,"option",3),b(5),v(),C(6,JF,2,2,"option",4),v()(),y(7,"div",5),C(8,XF,2,1,"span",0),C(9,oP,7,5,"select",6),v(),N(10,"div",5),y(11,"div",7)(12,"span"),b(13),v(),y(14,"input",8),F("ngModelChange",function(o){return G(n),q(_().settings.filter=o)})("ngModelChange",function(){return G(n),q(_().updateRiskHotpots())}),v()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),N(18,"col")(19,"col")(20,"col"),C(21,iP,1,0,"col",11),v(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),F("click",function(o){return G(n),q(_().updateSorting("assembly",o))}),N(26,"i",13),b(27),v()(),y(28,"th")(29,"a",12),F("click",function(o){return G(n),q(_().updateSorting("class",o))}),N(30,"i",13),b(31),v()(),y(32,"th")(33,"a",12),F("click",function(o){return G(n),q(_().updateSorting("method",o))}),N(34,"i",13),b(35),v()(),C(36,sP,6,7,"th",14),v()(),y(37,"tbody"),C(38,cP,10,7,"tr",14),function h_(e,t){const n=ee();let r;const o=e+W;n.firstCreatePass?(r=function YM(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kn(r.type)),a=Ke(M);try{const l=Oi(!1),c=i();return Oi(l),function T0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),o,c),c}finally{Ke(a)}}(39,"slice"),v()()()()}if(2&e){const n=_();f(3),g("ngModel",n.settings.assembly),f(2),x(n.translations.assembly),f(1),g("ngForOf",n.assemblies),f(2),g("ngIf",n.totalNumberOfRiskHotspots>10),f(1),g("ngIf",n.totalNumberOfRiskHotspots>10),f(4),z("",n.translations.filter," "),f(1),g("ngModel",n.settings.filter),f(7),g("ngForOf",n.riskHotspotMetrics),f(5),g("ngClass",xe(20,ha,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),f(1),x(n.translations.assembly),f(3),g("ngClass",xe(24,ha,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),f(1),x(n.translations.class),f(3),g("ngClass",xe(28,ha,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),f(1),x(n.translations.method),f(1),g("ngForOf",n.riskHotspotMetrics),f(2),g("ngForOf",p_(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}let dP=(()=>{var e;class t{constructor(r){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new KF,this.window=r.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const r=window.location.href.indexOf("?");r>-1&&(this.queryString=window.location.href.substring(r)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let r=new dC;null!==window.history.state&&(r=JSON.parse(JSON.stringify(this.window.history.state))),r.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(r,"")}}updateRiskHotpots(){const r=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=r.length,0===this.assemblies.length){let a=[];for(let l=0;l0)},dependencies:[Yo,zr,Zn,od,sd,Xo,ii,oa,oi,jv],encapsulation:2}),t})(),fP=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=pn({type:e,bootstrap:[dP,YF]}),e.\u0275inj=Gt({providers:[cd],imports:[px,SO]}),t})();fx().bootstrapModule(fP).catch(e=>console.error(e))}},_e=>{_e(_e.s=538)}]); /* ]]> */ \ No newline at end of file diff --git a/docs/resources/reports/HtmlInline/Sample_PartialClass.html b/docs/resources/reports/HtmlInline/Sample_PartialClass.html index bfe1d328..1c99fcfc 100644 --- a/docs/resources/reports/HtmlInline/Sample_PartialClass.html +++ b/docs/resources/reports/HtmlInline/Sample_PartialClass.html @@ -889,7 +889,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -1051,7 +1051,7 @@

C:\temp\PartialClass2.cs

-
+

Methods/Properties

diff --git a/docs/resources/reports/HtmlInline/Sample_Program.html b/docs/resources/reports/HtmlInline/Sample_Program.html index c1ba3ffb..33b051e7 100644 --- a/docs/resources/reports/HtmlInline/Sample_Program.html +++ b/docs/resources/reports/HtmlInline/Sample_Program.html @@ -816,28 +816,28 @@

< Summary

Line coverage
-
79%
+
100%
- + - + - + - + - +
Covered lines:3515
Uncovered lines:90
Coverable lines:4415
Total lines:8475
Line coverage:79.5%100%
@@ -868,20 +868,20 @@

< Summary

Method coverage
-
66%
+
100%
- + - + - +
Covered methods:43
Total methods:63
Method coverage:66.6%100%
@@ -889,7 +889,7 @@

< Summary

Coverage history

-
+

Metrics

@@ -971,9 +971,6 @@

Metrics

- - - @@ -989,97 +986,85 @@

C:\temp\Program.cs

- - - - - - - - - - + + + + + + + + + + - - + + - - - + + + - - + + - + - - + + - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + +
MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Main(...)100%11088%
CSharp_ExecuteTest1()0%2100%
CSharp_ExecuteTest2()0%2100%
CallAsyncMethod()100%330100%
.ctor(...)100%110100%
SendAsync(...)100%110100%
 1using System.Net.Http;
 2using System.Threading;
 3using System.Threading.Tasks;
 4using Microsoft.VisualStudio.TestTools.UnitTesting;
 5
 6namespace Test
 7{
 8    [TestClass]
 9    public class Program
 10    {
 11        static void Main(string[] args)
 112        {
 113            new TestClass().SampleFunction();
 4
 5namespace Test
 6{
 7    public class Program
 8    {
 9        public static void Main(string[] args)
 10        {
 11            new TestClass().SampleFunction();
 12            new TestClass().ParentMethod();
 13            new TestClass().MethodWithLambda();
 14
 115            new TestClass2("Test").ExecutedMethod();
 116            new TestClass2("Test").SampleFunction("Munich");
 15            new TestClass2("Test").ExecutedMethod();
 16            new TestClass2("Test").SampleFunction("Munich");
 17
 118            new PartialClass().ExecutedMethod_1();
 119            new PartialClass().ExecutedMethod_2();
 120            new PartialClass().SomeProperty = -10;
 18            new PartialClass().ExecutedMethod_1();
 19            new PartialClass().ExecutedMethod_2();
 20            new PartialClass().SomeProperty = -10;
 21
 122            new PartialClassWithAutoProperties().Property1 = "Test";
 123            new PartialClassWithAutoProperties().Property2 = "Test";
 222            new PartialClassWithAutoProperties().Property1 = "Test";
 23            new PartialClassWithAutoProperties().Property2 = "Test";
 24
 125            new SomeClass().Property1 = "Test";
 25            new SomeClass().Property1 = "Test";
 26
 127            new ClassWithExcludes().IncludedMethod();
 128            new ClassWithExcludes().ExcludedMethod();
 27            new ClassWithExcludes().IncludedMethod();
 28            new ClassWithExcludes().ExcludedMethod();
 29
 130            new GenericClass<SomeModel, IState>().Process(null);
 131            new GenericClass<SomeModel, IState>().PostProcess(null);
 30            new GenericClass<SomeModel, IState>().Process(null);
 31            new GenericClass<SomeModel, IState>().PostProcess(null);
 32
 133            new CodeContract_Target().Calculate(-1);
 33            new CodeContract_Target().Calculate(-1);
 34
 135            new AbstractClass_SampleImpl1();
 136            new AbstractClass_SampleImpl2();
 35            new AbstractClass_SampleImpl1();
 36            new AbstractClass_SampleImpl2();
 37
 138            CallAsyncMethod();
 38            CallAsyncMethod();
 39
 40            try
 141            {
 142                new CodeContract_Target().Calculate(0);
 143            }
 044            catch (System.ArgumentException)
 045            {
 046            }
 147        }
 48
 49        [TestMethod]
 50        public void CSharp_ExecuteTest1()
 051        {
 052            Main(null);
 053        }
 54
 55        [TestMethod]
 56        public void CSharp_ExecuteTest2()
 057        {
 058            Main(null);
 059        }
 60
 61        private static async void CallAsyncMethod()
 162        {
 163            var expected = new HttpResponseMessage();
 164            var handler = new AsyncClass() { InnerHandler = new EchoHandler(expected) };
 165            var invoker = new HttpMessageInvoker(handler, false);
 166            var actual = await invoker.SendAsync(new HttpRequestMessage(), new CancellationToken());
 167        }
 41            {
 42                new CodeContract_Target().Calculate(0);
 43            }
 44            catch (System.ArgumentException)
 45            {
 46            }
 47
 48            new GenericAsyncClass<object>().MyAsyncMethod().Wait();
 49            new ClassWithLocalFunctions<object>.MyNestedClass<object>().MyAsyncMethod<object>(null).GetAwaiter().GetResu
 250        }
 51
 52        private static async void CallAsyncMethod()
 53        {
 54            var expected = new HttpResponseMessage();
 55            var handler = new AsyncClass() { InnerHandler = new EchoHandler(expected) };
 56            var invoker = new HttpMessageInvoker(handler, false);
 57            var actual = await invoker.SendAsync(new HttpRequestMessage(), new CancellationToken());
 58        }
 59
 60        private class EchoHandler : DelegatingHandler
 61        {
 162            private HttpResponseMessage _response;
 163
 164            public EchoHandler(HttpResponseMessage response)
 165            {
 166                this._response = response;
 167            }
 68
 69        private class EchoHandler : DelegatingHandler
 70        {
 71            private HttpResponseMessage _response;
 72
 173            public EchoHandler(HttpResponseMessage response)
 174            {
 175                this._response = response;
 176            }
 77
 78            protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancell
 179            {
 180                return Task.FromResult(this._response);
 181            }
 82        }
 83    }
 84}
 69            protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancell
 70            {
 71                return Task.FromResult(this._response);
 72            }
 173        }
 174    }
 175}
-
+

Methods/Properties

-Main(System.String[])
-CSharp_ExecuteTest1()
-CSharp_ExecuteTest2()
CallAsyncMethod()
.ctor(System.Net.Http.HttpResponseMessage)
SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
diff --git a/docs/resources/reports/HtmlInline/Sample_TestClass.html b/docs/resources/reports/HtmlInline/Sample_TestClass.html index d79f6703..ba758662 100644 --- a/docs/resources/reports/HtmlInline/Sample_TestClass.html +++ b/docs/resources/reports/HtmlInline/Sample_TestClass.html @@ -5,7 +5,7 @@ -Sample.TestClass - Coverage Report +Test.TestClass - Coverage Report