diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index d0b80ce..10c1925 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1,13 +1,20 @@ +@angular/common +MIT --------------------------------------------------------------------------------- -Package: @angular/core -License: "MIT" +@angular/core +MIT +@angular/forms +MIT --------------------------------------------------------------------------------- -Package: rxjs -License: "Apache-2.0" +@angular/platform-browser +MIT +@angular/router +MIT + +rxjs +Apache-2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -211,46 +218,9 @@ License: "Apache-2.0" limitations under the License. --------------------------------------------------------------------------------- -Package: tslib -License: "0BSD" - -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/common -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/platform-browser -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/router -License: "MIT" - - --------------------------------------------------------------------------------- -Package: @angular/forms -License: "MIT" - - --------------------------------------------------------------------------------- -Package: zone.js -License: "MIT" +zone.js +MIT The MIT License Copyright (c) 2010-2023 Google LLC. https://angular.io/license @@ -272,5 +242,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - --------------------------------------------------------------------------------- diff --git a/404.html b/404.html new file mode 100644 index 0000000..9f7f6c9 --- /dev/null +++ b/404.html @@ -0,0 +1,13 @@ + + + + + JsMonthlyCalculator + + + + + + + + diff --git a/browser/main-XIQ5ACL5.js b/browser/main-XIQ5ACL5.js deleted file mode 100644 index 5c4523b..0000000 --- a/browser/main-XIQ5ACL5.js +++ /dev/null @@ -1,44 +0,0 @@ -var Rh=Object.defineProperty,Fh=Object.defineProperties;var Ph=Object.getOwnPropertyDescriptors;var Tu=Object.getOwnPropertySymbols;var kh=Object.prototype.hasOwnProperty,Lh=Object.prototype.propertyIsEnumerable;var xu=(t,e,r)=>e in t?Rh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,g=(t,e)=>{for(var r in e||={})kh.call(e,r)&&xu(t,r,e[r]);if(Tu)for(var r of Tu(e))Lh.call(e,r)&&xu(t,r,e[r]);return t},k=(t,e)=>Fh(t,Ph(e));var Au=null;var vo=1;function ue(t){let e=Au;return Au=t,e}var Nu={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function Vh(t){if(!(Co(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===vo)){if(!t.producerMustRecompute(t)&&!yo(t)){t.dirty=!1,t.lastCleanEpoch=vo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=vo}}function Ou(t){return t&&(t.nextProducerIndex=0),ue(t)}function Ru(t,e){if(ue(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Co(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function yo(t){Ir(t);for(let e=0;e0}function Ir(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function jh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $h(){throw new Error}var Bh=$h;function Pu(t){Bh=t}function I(t){return typeof t=="function"}function Pt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var br=Pt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Mn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(I(n))try{n()}catch(o){e=o instanceof br?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{ku(o)}catch(s){e=e??[],s instanceof br?e=[...e,...s.errors]:e.push(s)}}if(e)throw new br(e)}}add(e){var r;if(e&&e!==this)if(this.closed)ku(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Mn(r,e)}remove(e){let{_finalizers:r}=this;r&&Mn(r,e),e instanceof t&&e._removeParent(this)}};z.EMPTY=(()=>{let t=new z;return t.closed=!0,t})();var wo=z.EMPTY;function Mr(t){return t instanceof z||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function ku(t){I(t)?t():t.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var kt={setTimeout(t,e,...r){let{delegate:n}=kt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=kt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function _r(t){kt.setTimeout(()=>{let{onUnhandledError:e}=De;if(e)e(t);else throw t})}function _n(){}var Lu=(()=>Eo("C",void 0,void 0))();function Vu(t){return Eo("E",void 0,t)}function ju(t){return Eo("N",t,void 0)}function Eo(t,e,r){return{kind:t,value:e,error:r}}var pt=null;function Lt(t){if(De.useDeprecatedSynchronousErrorHandling){let e=!pt;if(e&&(pt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=pt;if(pt=null,r)throw n}}else t()}function $u(t){De.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=t)}var gt=class extends z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Mr(e)&&e.add(this)):this.destination=Gh}static create(e,r,n){return new $e(e,r,n)}next(e){this.isStopped?bo(ju(e),this):this._next(e)}error(e){this.isStopped?bo(Vu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?bo(Lu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Uh=Function.prototype.bind;function Io(t,e){return Uh.call(t,e)}var Mo=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Sr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Sr(n)}else Sr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Sr(r)}}},$e=class extends gt{constructor(e,r,n){super();let i;if(I(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&De.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Io(e.next,o),error:e.error&&Io(e.error,o),complete:e.complete&&Io(e.complete,o)}):i=e}this.destination=new Mo(i)}};function Sr(t){De.useDeprecatedSynchronousErrorHandling?$u(t):_r(t)}function Hh(t){throw t}function bo(t,e){let{onStoppedNotification:r}=De;r&&kt.setTimeout(()=>r(t,e))}var Gh={closed:!0,next:_n,error:Hh,complete:_n};var Vt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function Y(t){return t}function _o(...t){return So(t)}function So(t){return t.length===0?Y:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var N=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Wh(r)?r:new $e(r,n,i);return Lt(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Bu(n),new n((i,o)=>{let s=new $e({next:a=>{try{r(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Vt](){return this}pipe(...r){return So(r)(this)}toPromise(r){return r=Bu(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Bu(t){var e;return(e=t??De.Promise)!==null&&e!==void 0?e:Promise}function zh(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function Wh(t){return t&&t instanceof gt||zh(t)&&Mr(t)}function To(t){return I(t?.lift)}function _(t){return e=>{if(To(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(t,e,r,n,i){return new xo(t,e,r,n,i)}var xo=class extends gt{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function jt(){return _((t,e)=>{let r=null;t._refCount++;let n=S(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var $t=class extends N{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,To(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new z;let r=this.getSubject();e.add(this.source.subscribe(S(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=z.EMPTY)}return e}refCount(){return jt()(this)}};var Uu=Pt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class t extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Tr(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Uu}next(r){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((r=this.observers)===null||r===void 0?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){let{hasError:n,isStopped:i,observers:o}=this;return n||i?wo:(this.currentObservers=null,o.push(r),new z(()=>{this.currentObservers=null,Mn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new N;return r.source=this,r}}return t.create=(e,r)=>new Tr(e,r),t})(),Tr=class extends Q{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:wo}};var q=class extends Q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var oe=new N(t=>t.complete());function Hu(t){return t&&I(t.schedule)}function Ao(t){return t[t.length-1]}function xr(t){return I(Ao(t))?t.pop():void 0}function Se(t){return Hu(Ao(t))?t.pop():void 0}function Gu(t,e){return typeof Ao(t)=="number"?t.pop():e}function Wu(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function zu(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function mt(t){return this instanceof mt?(this.v=t,this):new mt(t)}function qu(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,b){o.push([f,h,m,b])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(m){d(o[0][3],m)}}function u(f){f.value instanceof mt?Promise.resolve(f.value.v).then(c,l):d(o[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Zu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof zu=="function"?zu(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,u){s=t[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}var Ar=t=>t&&typeof t.length=="number"&&typeof t!="function";function Nr(t){return I(t?.then)}function Or(t){return I(t[Vt])}function Rr(t){return Symbol.asyncIterator&&I(t?.[Symbol.asyncIterator])}function Fr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function qh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pr=qh();function kr(t){return I(t?.[Pr])}function Lr(t){return qu(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield mt(r.read());if(i)return yield mt(void 0);yield yield mt(n)}}finally{r.releaseLock()}})}function Vr(t){return I(t?.getReader)}function V(t){if(t instanceof N)return t;if(t!=null){if(Or(t))return Zh(t);if(Ar(t))return Yh(t);if(Nr(t))return Qh(t);if(Rr(t))return Yu(t);if(kr(t))return Kh(t);if(Vr(t))return Jh(t)}throw Fr(t)}function Zh(t){return new N(e=>{let r=t[Vt]();if(I(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yh(t){return new N(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,_r)})}function Kh(t){return new N(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Yu(t){return new N(e=>{Xh(t,e).catch(r=>e.error(r))})}function Jh(t){return Yu(Lr(t))}function Xh(t,e){var r,n,i,o;return Wu(this,void 0,void 0,function*(){try{for(r=Zu(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function se(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function jr(t,e=0){return _((r,n)=>{r.subscribe(S(n,i=>se(n,t,()=>n.next(i),e),()=>se(n,t,()=>n.complete(),e),i=>se(n,t,()=>n.error(i),e)))})}function $r(t,e=0){return _((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Qu(t,e){return V(t).pipe($r(e),jr(e))}function Ku(t,e){return V(t).pipe($r(e),jr(e))}function Ju(t,e){return new N(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Xu(t,e){return new N(r=>{let n;return se(r,e,()=>{n=t[Pr](),se(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>I(n?.return)&&n.return()})}function Br(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(r=>{se(r,e,()=>{let n=t[Symbol.asyncIterator]();se(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function ec(t,e){return Br(Lr(t),e)}function tc(t,e){if(t!=null){if(Or(t))return Qu(t,e);if(Ar(t))return Ju(t,e);if(Nr(t))return Ku(t,e);if(Rr(t))return Br(t,e);if(kr(t))return Xu(t,e);if(Vr(t))return ec(t,e)}throw Fr(t)}function j(t,e){return e?tc(t,e):V(t)}function w(...t){let e=Se(t);return j(t,e)}function Bt(t,e){let r=I(t)?t:()=>t,n=i=>i.error(r());return new N(e?i=>e.schedule(n,0,i):n)}function No(t){return!!t&&(t instanceof N||I(t.lift)&&I(t.subscribe))}var Be=Pt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function O(t,e){return _((r,n)=>{let i=0;r.subscribe(S(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:ep}=Array;function tp(t,e){return ep(e)?t(...e):t(e)}function Ur(t){return O(e=>tp(t,e))}var{isArray:np}=Array,{getPrototypeOf:rp,prototype:ip,keys:op}=Object;function Hr(t){if(t.length===1){let e=t[0];if(np(e))return{args:e,keys:null};if(sp(e)){let r=op(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function sp(t){return t&&typeof t=="object"&&rp(t)===ip}function Gr(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Sn(...t){let e=Se(t),r=xr(t),{args:n,keys:i}=Hr(t);if(n.length===0)return j([],e);let o=new N(ap(n,e,i?s=>Gr(i,s):Y));return r?o.pipe(Ur(r)):o}function ap(t,e,r=Y){return n=>{nc(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let u=0;u{let c=j(t[u],e),l=!1;c.subscribe(S(n,d=>{o[u]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function nc(t,e,r){t?se(r,t,e):e()}function rc(t,e,r,n,i,o,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=b=>c{o&&e.next(b),c++;let $=!1;V(r(b,l++)).subscribe(S(e,x=>{i?.(x),o?h(x):e.next(x)},()=>{$=!0},void 0,()=>{if($)try{for(c--;u.length&&cm(x)):m(x)}f()}catch(x){e.error(x)}}))};return t.subscribe(S(e,h,()=>{d=!0,f()})),()=>{a?.()}}function B(t,e,r=1/0){return I(e)?B((n,i)=>O((o,s)=>e(n,o,i,s))(V(t(n,i))),r):(typeof e=="number"&&(r=e),_((n,i)=>rc(n,i,t,r)))}function Xe(t=1/0){return B(Y,t)}function ic(){return Xe(1)}function Ut(...t){return ic()(j(t,Se(t)))}function zr(t){return new N(e=>{V(t()).subscribe(e)})}function Oo(...t){let e=xr(t),{args:r,keys:n}=Hr(t),i=new N(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||o.next(n?Gr(n,a):a),o.complete())}))}});return e?i.pipe(Ur(e)):i}function Ro(...t){let e=Se(t),r=Gu(t,1/0),n=t;return n.length?n.length===1?V(n[0]):Xe(r)(j(n,e)):oe}function fe(t,e){return _((r,n)=>{let i=0;r.subscribe(S(n,o=>t.call(e,o,i++)&&n.next(o)))})}function et(t){return _((e,r)=>{let n=null,i=!1,o;n=e.subscribe(S(r,void 0,void 0,s=>{o=V(t(s,et(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function oc(t,e,r,n,i){return(o,s)=>{let a=r,u=e,c=0;o.subscribe(S(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function vt(t,e){return I(e)?B(t,e,1):B(t,1)}function tt(t){return _((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Ue(t){return t<=0?()=>oe:_((e,r)=>{let n=0;e.subscribe(S(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Fo(t){return O(()=>t)}function Po(t,e=Y){return t=t??up,_((r,n)=>{let i,o=!0;r.subscribe(S(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function up(t,e){return t===e}function Wr(t=cp){return _((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function cp(){return new Be}function Tn(t){return _((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Te(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):Y,Ue(1),r?tt(e):Wr(()=>new Be))}function Ht(t){return t<=0?()=>oe:_((e,r)=>{let n=[];e.subscribe(S(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function ko(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):Y,Ht(1),r?tt(e):Wr(()=>new Be))}function Lo(t,e){return _(oc(t,e,arguments.length>=2,!0))}function jo(t={}){let{connector:e=()=>new Q,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},m=()=>{let b=s;h(),b?.unsubscribe()};return _((b,$)=>{c++,!d&&!l&&f();let x=u=u??e();$.add(()=>{c--,c===0&&!d&&!l&&(a=Vo(m,i))}),x.subscribe($),!s&&c>0&&(s=new $e({next:re=>x.next(re),error:re=>{d=!0,f(),a=Vo(h,r,re),x.error(re)},complete:()=>{l=!0,f(),a=Vo(h,n),x.complete()}}),V(b).subscribe(s))})(o)}}function Vo(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new $e({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function $o(...t){let e=Se(t);return _((r,n)=>{(e?Ut(t,r,e):Ut(t,r)).subscribe(n)})}function ae(t,e){return _((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(S(n,u=>{i?.unsubscribe();let c=0,l=o++;V(t(u,l)).subscribe(i=S(n,d=>n.next(e?e(u,d,l,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Bo(t){return _((e,r)=>{V(t).subscribe(S(r,()=>r.complete(),_n)),!r.closed&&e.subscribe(r)})}function W(t,e,r){let n=I(t)||e||r?{next:t,error:e,complete:r}:t;return n?_((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(S(o,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),o.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),o.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),o.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Y}function P(t){for(let e in t)if(t[e]===P)return e;throw Error("Could not find renamed property on target object.")}function qr(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function J(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(J).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function sc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var lp=P({__forward_ref__:P});function $n(t){return t.__forward_ref__=$n,t.toString=function(){return J(this())},t}function K(t){return Hc(t)?t():t}function Hc(t){return typeof t=="function"&&t.hasOwnProperty(lp)&&t.__forward_ref__===$n}function Gc(t){return t&&!!t.\u0275providers}var dp="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Vs(e,r)),this.code=e}};function Vs(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var fp=P({\u0275cmp:P}),hp=P({\u0275dir:P}),pp=P({\u0275pipe:P}),gp=P({\u0275mod:P}),ri=P({\u0275fac:P}),xn=P({__NG_ELEMENT_ID__:P}),ac=P({__NG_ENV_ID__:P});function mp(t){return typeof t=="string"?t:t==null?"":String(t)}function vp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():mp(t)}function yp(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function js(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function Dp(t,e){t==null&&Cp(e,t,null,"!=")}function Cp(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ee(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ei(t){return uc(t,Wc)||uc(t,qc)}function zc(t){return Ei(t)!==null}function uc(t,e){return t.hasOwnProperty(e)?t[e]:null}function wp(t){let e=t&&(t[Wc]||t[qc]);return e||null}function cc(t){return t&&(t.hasOwnProperty(lc)||t.hasOwnProperty(Ep))?t[lc]:null}var Wc=P({\u0275prov:P}),lc=P({\u0275inj:P}),qc=P({ngInjectableDef:P}),Ep=P({ngInjectorDef:P}),T=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(T||{}),ns;function Zc(){return ns}function he(t){let e=ns;return ns=t,e}function Yc(t,e,r){let n=Ei(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&T.Optional)return null;if(e!==void 0)return e;js(J(t),"Injector")}var ce=globalThis;var C=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Ip={},Nn=Ip,rs="__NG_DI_FLAG__",ii="ngTempTokenPath",bp="ngTokenPath",Mp=/\n/gm,_p="\u0275",dc="__source",Zt;function Sp(){return Zt}function nt(t){let e=Zt;return Zt=t,e}function Tp(t,e=T.Default){if(Zt===void 0)throw new v(-203,!1);return Zt===null?Yc(t,void 0,e):Zt.get(t,e&T.Optional?null:void 0,e)}function y(t,e=T.Default){return(Zc()||Tp)(K(t),e)}function p(t,e=T.Default){return y(t,Ii(e))}function Ii(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function is(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):J(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Mp,` - `)}`}function Bn(t){return{toString:t}.toString()}var Kc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Kc||{}),Ne=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ne||{}),Qt={},pe=[];function Jc(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function os(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let h=n&8?f:null;if(h&&Jc(h,c,0)!==-1||n&2&&c!==f){if(Ce(n))return!1;s=!0}}}}return Ce(n)||s}function Ce(t){return(t&1)===0}function Lp(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Ce(s)&&(e+=hc(o,i),i=""),n=s,o=o||!Ce(n);r++}return i!==""&&(e+=hc(o,i)),e}function Up(t){return t.map(Bp).join(",")}function Hp(t){let e=[],r=[],n=1,i=2;for(;n{let e=ol(t),r=k(g({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ne.Emulated,styles:t.styles||pe,_:null,schemas:t.schemas||null,tView:null,id:""});sl(r);let n=t.dependencies;return r.directiveDefs=gc(n,!1),r.pipeDefs=gc(n,!0),r.id=Wp(r),r})}function Gp(t){return ot(t)||tl(t)}function zp(t){return t!==null}function te(t){return Bn(()=>({type:t.type,bootstrap:t.bootstrap||pe,declarations:t.declarations||pe,imports:t.imports||pe,exports:t.exports||pe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function pc(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function ze(t){return Bn(()=>{let e=ol(t);return sl(e),e})}function ot(t){return t[fp]||null}function tl(t){return t[hp]||null}function nl(t){return t[pp]||null}function rl(t){let e=ot(t)||tl(t)||nl(t);return e!==null?e.standalone:!1}function il(t,e){let r=t[gp]||null;if(!r&&e===!0)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return r}function ol(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pc(t.inputs,e),outputs:pc(t.outputs),debugInfo:null}}function sl(t){t.features?.forEach(e=>e(t))}function gc(t,e){if(!t)return null;let r=e?nl:Gp;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(zp)}function Wp(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var We=0,A=1,E=2,G=3,we=4,Ie=5,oi=6,Rn=7,He=8,Kt=9,Fn=10,X=11,Pn=12,mc=13,Un=14,Oe=15,$s=16,Gt=17,Bs=18,bi=19,al=20,rt=21,Uo=22,Dt=23,Ct=25,ul=1;var wt=7,si=8,ai=9,ge=10,Jt=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Jt||{});function it(t){return Array.isArray(t)&&typeof t[ul]=="object"}function Ee(t){return Array.isArray(t)&&t[ul]===!0}function cl(t){return(t.flags&4)!==0}function Mi(t){return t.componentOffset>-1}function ll(t){return(t.flags&1)===1}function st(t){return!!t.template}function qp(t){return(t[E]&512)!==0}function Xt(t,e){let r=t.hasOwnProperty(ri);return r?t[ri]:null}var ss=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function un(){return dl}function dl(t){return t.type.prototype.ngOnChanges&&(t.setInput=Yp),Zp}un.ngInherit=!0;function Zp(){let t=hl(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Yp(t,e,r,n){let i=this.declaredInputs[r],o=hl(t)||Qp(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,u=a[i];s[i]=new ss(u&&u.currentValue,e,a===Qt),t[n]=e}var fl="__ngSimpleChanges__";function hl(t){return t[fl]||null}function Qp(t,e){return t[fl]=e}var vc=null;var xe=function(t,e,r){vc?.(t,e,r)},Kp="svg",Jp="math";function Re(t){for(;Array.isArray(t);)t=t[We];return t}function Xp(t,e){return Re(e[t])}function be(t,e){return Re(e[t.index])}function pl(t,e){return t.data[e]}function ut(t,e){let r=e[t];return it(r)?r:r[We]}function Us(t){return(t[E]&128)===128}function eg(t){return Ee(t[G])}function yc(t,e){return e==null?null:t[e]}function gl(t){t[Gt]=0}function tg(t){t[E]&1024||(t[E]|=1024,Us(t)&&_i(t))}function ml(t){return t[E]&9216||t[Dt]?.dirty}function vl(t){ml(t)&&_i(t)}function _i(t){let e=t[G];for(;e!==null&&!(Ee(e)&&e[E]&Jt.HasChildViewsToRefresh||it(e)&&e[E]&8192);){if(Ee(e))e[E]|=Jt.HasChildViewsToRefresh;else if(e[E]|=8192,!Us(e))break;e=e[G]}}function yl(t,e){if((t[E]&256)===256)throw new v(911,!1);t[rt]===null&&(t[rt]=[]),t[rt].push(e)}function ng(t,e){if(t[rt]===null)return;let r=t[rt].indexOf(e);r!==-1&&t[rt].splice(r,1)}var R={lFrame:Ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function rg(){return R.lFrame.elementDepthCount}function ig(){R.lFrame.elementDepthCount++}function og(){R.lFrame.elementDepthCount--}function Dl(){return R.bindingsEnabled}function sg(){return R.skipHydrationRootTNode!==null}function ag(t){return R.skipHydrationRootTNode===t}function ug(){R.skipHydrationRootTNode=null}function Z(){return R.lFrame.lView}function qe(){return R.lFrame.tView}function Me(){let t=Cl();for(;t!==null&&t.type===64;)t=t.parent;return t}function Cl(){return R.lFrame.currentTNode}function cg(){let t=R.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Si(t,e){let r=R.lFrame;r.currentTNode=t,r.isParent=e}function wl(){return R.lFrame.isParent}function lg(){R.lFrame.isParent=!1}function dg(t){return R.lFrame.bindingIndex=t}function fg(){return R.lFrame.bindingIndex++}function hg(t){let e=R.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function pg(){return R.lFrame.inI18n}function gg(t,e){let r=R.lFrame;r.bindingIndex=r.bindingRootIndex=t,as(e)}function mg(){return R.lFrame.currentDirectiveIndex}function as(t){R.lFrame.currentDirectiveIndex=t}function vg(t){let e=R.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function El(t){R.lFrame.currentQueryIndex=t}function yg(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Ie]:null}function Il(t,e,r){if(r&T.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&T.Host);)if(i=yg(o),i===null||(o=o[Un],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=R.lFrame=bl();return n.currentTNode=e,n.lView=t,!0}function Hs(t){let e=bl(),r=t[A];R.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function bl(){let t=R.lFrame,e=t===null?null:t.child;return e===null?Ml(t):e}function Ml(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function _l(){let t=R.lFrame;return R.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Sl=_l;function Gs(){let t=_l();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Hn(){return R.lFrame.selectedIndex}function Et(t){R.lFrame.selectedIndex=t}function Dg(){let t=R.lFrame;return pl(t.tView,t.selectedIndex)}function Cg(){return R.lFrame.currentNamespace}var Tl=!0;function xl(){return Tl}function Al(t){Tl=t}function wg(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=dl(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Nl(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[Gt]+=65536),(a>14>16&&(t[E]&3)===e&&(t[E]+=16384,Dc(a,o)):Dc(a,o)}var Yt=-1,It=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Ig(t){return t instanceof It}function bg(t){return(t.flags&8)!==0}function Mg(t){return(t.flags&16)!==0}function Rl(t){return t!==Yt}function ui(t){let e=t&32767;return t&32767}function _g(t){return t>>16}function ci(t,e){let r=_g(t),n=e;for(;r>0;)n=n[Un],r--;return n}var us=!0;function Cc(t){let e=us;return us=t,e}var Sg=256,Fl=Sg-1,Pl=5,Tg=0,Ae={};function xg(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(xn)&&(n=r[xn]),n==null&&(n=r[xn]=Tg++);let i=n&Fl,o=1<>Pl)]|=o}function li(t,e){let r=kl(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Go(n.data,t),Go(e,null),Go(n.blueprint,null));let i=zs(t,e),o=t.injectorIndex;if(Rl(i)){let s=ui(i),a=ci(i,e),u=a[A].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|u[s+c]}return e[o+8]=i,o}function Go(t,e){t.push(0,0,0,0,0,0,0,0,e)}function kl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function zs(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Bl(i),n===null)return Yt;if(r++,i=i[Un],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Yt}function cs(t,e,r){xg(t,e,r)}function Ll(t,e,r){if(r&T.Optional||t!==void 0)return t;js(e,"NodeInjector")}function Vl(t,e,r,n){if(r&T.Optional&&n===void 0&&(n=null),!(r&(T.Self|T.Host))){let i=t[Kt],o=he(void 0);try{return i?i.get(e,n,r&T.Optional):Yc(e,n,r&T.Optional)}finally{he(o)}}return Ll(n,e,r)}function jl(t,e,r,n=T.Default,i){if(t!==null){if(e[E]&2048&&!(n&T.Self)){let s=Fg(t,e,r,n,Ae);if(s!==Ae)return s}let o=$l(t,e,r,n,Ae);if(o!==Ae)return o}return Vl(e,r,n,i)}function $l(t,e,r,n,i){let o=Og(r);if(typeof o=="function"){if(!Il(e,t,n))return n&T.Host?Ll(i,r,n):Vl(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&T.Optional))js(r);else return s}finally{Sl()}}else if(typeof o=="number"){let s=null,a=kl(t,e),u=Yt,c=n&T.Host?e[Oe][Ie]:null;for((a===-1||n&T.SkipSelf)&&(u=a===-1?zs(t,e):e[a+8],u===Yt||!Ec(n,!1)?a=-1:(s=e[A],a=ui(u),e=ci(u,e)));a!==-1;){let l=e[A];if(wc(o,a,l.data)){let d=Ag(a,e,r,s,n,c);if(d!==Ae)return d}u=e[a+8],u!==Yt&&Ec(n,e[A].data[a+8]===c)&&wc(o,a,e)?(s=l,a=ui(u),e=ci(u,e)):a=-1}}return i}function Ag(t,e,r,n,i,o){let s=e[A],a=s.data[t+8],u=n==null?Mi(a)&&us:n!=s&&(a.type&3)!==0,c=i&T.Host&&o===a,l=Ng(a,s,r,u,c);return l!==null?en(e,s,l,a):Ae}function Ng(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,c=t.directiveEnd,l=o>>20,d=n?a:a+l,f=i?a+l:c;for(let h=d;h=u&&m.type===r)return h}if(i){let h=s[u];if(h&&st(h)&&h.type===r)return u}return null}function en(t,e,r,n){let i=t[r],o=e.data;if(Ig(i)){let s=i;s.resolving&&yp(vp(o[r]));let a=Cc(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?he(s.injectImpl):null,l=Il(t,n,T.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&wg(r,o[r],e)}finally{c!==null&&he(c),Cc(a),s.resolving=!1,Sl()}}return i}function Og(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(xn)?t[xn]:void 0;return typeof e=="number"?e>=0?e&Fl:Rg:e}function wc(t,e,r){let n=1<>Pl)]&n)}function Ec(t,e){return!(t&T.Self)&&!(t&T.Host&&e)}var yt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return jl(this._tNode,this._lView,e,Ii(n),r)}};function Rg(){return new yt(Me(),Z())}function Gn(t){return Bn(()=>{let e=t.prototype.constructor,r=e[ri]||ls(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ri]||ls(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ls(t){return Hc(t)?()=>{let e=ls(K(t));return e&&e()}:Xt(t)}function Fg(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=$l(o,s,r,n|T.Self,Ae);if(a!==Ae)return a;let u=o.parent;if(!u){let c=s[al];if(c){let l=c.get(r,Ae,n);if(l!==Ae)return l}u=Bl(s),s=s[Un]}o=u}return i}function Bl(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Ie]:null}var Zr="__parameters__";function Pg(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Ul(t,e,r){return Bn(()=>{let n=Pg(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Zr)?u[Zr]:Object.defineProperty(u,Zr,{value:[]})[Zr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function kg(t){let e=ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Lg(t){return typeof t=="function"}function Ws(t,e){t.forEach(r=>Array.isArray(r)?Ws(r,e):e(r))}function Hl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function di(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Vg(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function $g(t,e,r){let n=zn(t,e);return n>=0?t[n|1]=r:(n=~n,jg(t,n,e,r)),n}function zo(t,e){let r=zn(t,e);if(r>=0)return t[r|1]}function zn(t,e){return Bg(t,e,1)}function Bg(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let u=Promise.all(s).then(()=>qg(o));e.push(u)}),Gg(),Promise.all(e).then(()=>{})}var fi=new Map,Hg=new Set;function Gg(){let t=fi;return fi=new Map,t}function zg(){return fi.size===0}function Wg(t){return typeof t=="string"?t:t.text()}function qg(t){Hg.delete(t)}var Wn=new C("ENVIRONMENT_INITIALIZER"),zl=new C("INJECTOR",-1),Wl=new C("INJECTOR_DEF_TYPES"),hi=class{get(e,r=Nn){if(r===Nn){let n=new Error(`NullInjectorError: No provider for ${J(e)}!`);throw n.name="NullInjectorError",n}return r}};function Zg(...t){return{\u0275providers:ql(!0,t),\u0275fromNgModule:!0}}function ql(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Ws(e,s=>{let a=s;ds(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Zl(i,o),r}function Zl(t,e){for(let r=0;r{e(o,n)})}}function ds(t,e,r,n){if(t=K(t),!t)return!1;let i=null,o=cc(t),s=!o&&ot(t);if(!o&&!s){let u=t.ngModule;if(o=cc(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ds(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{Ws(o.imports,l=>{ds(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Zl(c,e)}if(!a){let c=Xt(i)||(()=>new i);e({provide:i,useFactory:c,deps:pe},i),e({provide:Wl,useValue:i,multi:!0},i),e({provide:Wn,useValue:()=>y(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=t;Zs(u,l=>{e(l,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Zs(t,e){for(let r of t)Gc(r)&&(r=r.\u0275providers),Array.isArray(r)?Zs(r,e):e(r)}var Yg=P({provide:String,useValue:P});function Yl(t){return t!==null&&typeof t=="object"&&Yg in t}function Qg(t){return!!(t&&t.useExisting)}function Kg(t){return!!(t&&t.useFactory)}function tn(t){return typeof t=="function"}function Jg(t){return!!t.useClass}var Ti=new C("Set Injector scope."),ei={},Xg={},Wo;function Ys(){return Wo===void 0&&(Wo=new hi),Wo}var le=class{},kn=class extends le{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hs(e,s=>this.processProvider(s)),this.records.set(zl,zt(void 0,this)),i.has("environment")&&this.records.set(le,zt(void 0,this));let o=this.records.get(Ti);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Wl,pe,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=nt(this),n=he(void 0),i;try{return e()}finally{nt(r),he(n)}}get(e,r=Nn,n=T.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(ac))return e[ac](this);n=Ii(n);let i,o=nt(this),s=he(void 0);try{if(!(n&T.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=im(e)&&Ei(e);c&&this.injectableDefInScope(c)?u=zt(fs(e),ei):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&T.Self?Ys():this.parent;return r=n&T.Optional&&r===Nn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ii]=a[ii]||[]).unshift(J(e)),o)throw a;return Ap(a,e,"R3InjectorError",this.source)}else throw a}finally{he(s),nt(o)}}resolveInjectorInitializers(){let e=nt(this),r=he(void 0),n;try{let i=this.get(Wn,pe,T.Self);for(let o of i)o()}finally{nt(e),he(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(J(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=K(e);let r=tn(e)?e:K(e&&e.provide),n=tm(e);if(!tn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=zt(void 0,ei,!0),i.factory=()=>is(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===ei&&(r.value=Xg,r.value=r.factory()),typeof r.value=="object"&&r.value&&rm(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=K(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function fs(t){let e=Ei(t),r=e!==null?e.factory:Xt(t);if(r!==null)return r;if(t instanceof C)throw new v(204,!1);if(t instanceof Function)return em(t);throw new v(204,!1)}function em(t){let e=t.length;if(e>0){let n=Vg(e,"?");throw new v(204,!1)}let r=wp(t);return r!==null?()=>r.factory(t):()=>new t}function tm(t){if(Yl(t))return zt(void 0,t.useValue);{let e=Ql(t);return zt(e,ei)}}function Ql(t,e,r){let n;if(tn(t)){let i=K(t);return Xt(i)||fs(i)}else if(Yl(t))n=()=>K(t.useValue);else if(Kg(t))n=()=>t.useFactory(...is(t.deps||[]));else if(Qg(t))n=()=>y(K(t.useExisting));else{let i=K(t&&(t.useClass||t.provide));if(nm(t))n=()=>new i(...is(t.deps));else return Xt(i)||fs(i)}return n}function zt(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function nm(t){return!!t.deps}function rm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function im(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function hs(t,e){for(let r of t)Array.isArray(r)?hs(r,e):r&&Gc(r)?hs(r.\u0275providers,e):e(r)}function ct(t,e){t instanceof kn&&t.assertNotDestroyed();let r,n=nt(t),i=he(void 0);try{return e()}finally{nt(n),he(i)}}function om(t){if(!Zc()&&!Sp())throw new v(-203,!1)}function Ic(t,e=null,r=null,n){let i=Kl(t,e,r,n);return i.resolveInjectorInitializers(),i}function Kl(t,e=null,r=null,n,i=new Set){let o=[r||pe,Zg(t)];return n=n||(typeof t=="object"?void 0:J(t)),new kn(o,e||Ys(),n||null,i)}var me=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return Ic({name:""},i,n,"");{let o=n.name??"";return Ic({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Nn,e.NULL=new hi,e.\u0275prov=D({token:e,providedIn:"any",factory:()=>y(zl)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ps;function Jl(t){ps=t}function sm(){if(ps!==void 0)return ps;if(typeof document<"u")return document;throw new v(210,!1)}var xi=new C("AppId",{providedIn:"root",factory:()=>am}),am="ng",Qs=new C("Platform Initializer"),_t=new C("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Ks=new C("CSP nonce",{providedIn:"root",factory:()=>sm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Xl(t){return t instanceof Function?t():t}function um(t){return(t??p(me)).get(_t)==="browser"}function ed(t){return(t.flags&128)===128}var Ge=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ge||{});var td=new Map,cm=0;function lm(){return cm++}function dm(t){td.set(t[bi],t)}function fm(t){td.delete(t[bi])}var bc="__ngContext__";function nn(t,e){it(e)?(t[bc]=e[bi],dm(e)):t[bc]=e}var hm;function Js(t,e){return hm(t,e)}function Xs(t){let e=t[G];return Ee(e)?e[G]:e}function nd(t){return id(t[Pn])}function rd(t){return id(t[we])}function id(t){for(;t!==null&&!Ee(t);)t=t[we];return t}function Wt(t,e,r,n,i){if(n!=null){let o,s=!1;Ee(n)?o=n:it(n)&&(s=!0,n=n[We]);let a=Re(n);t===0&&r!==null?i==null?ud(e,r,a):pi(e,r,a,i||null,!0):t===1&&r!==null?pi(e,r,a,i||null,!0):t===2?Am(e,a,s):t===3&&e.destroyNode(a),o!=null&&Om(e,t,o,r,i)}}function pm(t,e){return t.createText(e)}function od(t,e,r){return t.createElement(e,r)}function gm(t,e){let r=e[X];qn(t,e,r,2,null,null),e[We]=null,e[Ie]=null}function mm(t,e,r,n,i,o){n[We]=i,n[Ie]=e,qn(t,n,r,1,i,o)}function vm(t,e){qn(t,e,e[X],2,null,null)}function ym(t){let e=t[Pn];if(!e)return qo(t[A],t);for(;e;){let r=null;if(it(e))r=e[Pn];else{let n=e[ge];n&&(r=n)}if(!r){for(;e&&!e[we]&&e!==t;)it(e)&&qo(e[A],e),e=e[G];e===null&&(e=t),it(e)&&qo(e[A],e),r=e&&e[we]}e=r}}function Dm(t,e,r,n){let i=ge+n,o=r.length;n>0&&(r[i-1][we]=e),n0&&(t[r-1][we]=n[we]);let o=di(t,ge+e);gm(n[A],n);let s=o[Bs];s!==null&&s.detachView(o[A]),n[G]=null,n[we]=null,n[E]&=-129}return n}function ad(t,e){if(!(e[E]&256)){let r=e[X];r.destroyNode&&qn(t,e,r,3,null,null),ym(e)}}function qo(t,e){if(!(e[E]&256)){e[E]&=-129,e[E]|=256,e[Dt]&&Fu(e[Dt]),Em(t,e),wm(t,e),e[A].type===1&&e[X].destroy();let r=e[$s];if(r!==null&&Ee(e[G])){r!==e[G]&&sd(r,e);let n=e[Bs];n!==null&&n.detachView(t)}fm(e)}}function wm(t,e){let r=t.cleanup,n=e[Rn];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Rn]=null);let i=e[rt];if(i!==null){e[rt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Ne.None||o===Ne.Emulated)return null}return be(n,r)}}function pi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function ud(t,e,r){t.appendChild(e,r)}function Mc(t,e,r,n,i){n!==null?pi(t,e,r,n,i):ud(t,e,r)}function Mm(t,e,r,n){t.removeChild(e,r,n)}function ea(t,e){return t.parentNode(e)}function _m(t,e){return t.nextSibling(e)}function Sm(t,e,r){return xm(t,e,r)}function Tm(t,e,r){return t.type&40?be(t,r):null}var xm=Tm,_c;function cd(t,e,r,n){let i=Im(t,n,e),o=e[X],s=n.parent||e[Ie],a=Sm(s,n,e);if(i!=null)if(Array.isArray(r))for(let u=0;unull;function ra(t,e,r=!1){return Lm(t,e,r)}var ys=class{},gi=class{};function Vm(t){let e=Error(`No component factory found for ${J(t)}.`);return e[jm]=t,e}var jm="ngComponent";var Ds=class{resolveComponentFactory(e){throw Vm(e)}},Ai=(()=>{let e=class e{};e.NULL=new Ds;let t=e;return t})();function $m(){return ia(Me(),Z())}function ia(t,e){return new St(be(t,e))}var St=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=$m;let t=e;return t})();var Ln=class{},cn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Bm();let t=e;return t})();function Bm(){let t=Z(),e=Me(),r=ut(e.index,t);return(it(r)?r:t)[X]}var Um=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),bt=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Hm=new bt("17.0.7"),Zo={};function mi(t,e,r,n,i=!1){for(;r!==null;){let o=e[r.index];o!==null&&n.push(Re(o)),Ee(o)&&Gm(o,n);let s=r.type;if(s&8)mi(t,e,r.child,n);else if(s&32){let a=Js(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=ld(e,r);if(Array.isArray(a))n.push(...a);else{let u=Xs(e[Oe]);mi(u[A],u,a,n,!0)}}r=i?r.projectionNext:r.next}return n}function Gm(t,e){for(let r=ge;r{_i(t.lView)},consumerOnSignalRead(){this.lView[Dt]=this}}),Ym="ngOriginalError";function Yo(t){return t[Ym]}var Fe=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Yo(e);for(;r&&Yo(r);)r=Yo(r);return r||null}},pd=new C("",{providedIn:"root",factory:()=>p(Fe).handleError.bind(void 0)});var gd=!1,Qm=new C("",{providedIn:"root",factory:()=>gd});var Ni={};function Oi(t){md(qe(),Z(),Hn()+t,!1)}function md(t,e,r,n){if(!n)if((e[E]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Jr(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Xr(e,o,0,r)}Et(r)}function U(t,e=T.Default){let r=Z();if(r===null)return y(t,e);let n=Me();return jl(n,r,K(t),e)}function vd(){let t="invalid";throw new Error(t)}function Km(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;nCt&&md(t,e,Ct,!1),xe(s?2:0,i),r(n,i)}finally{Et(o),xe(s?3:1,i)}}function Cd(t,e,r){if(cl(e)){let n=ue(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function ov(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return sg()&&(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:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Sc(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?Tc(r,e,i,o):n.hasOwnProperty(i)&&Tc(r,e,n[i],o)}return r}function Tc(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function sv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function hv(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Mi(r)&&Cv(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||li(r,e),nn(n,e);let s=r.initialInputs;for(let a=i;a-1&&(gs(e,n),di(r,n))}this._attachedToViewContainer=!1}ad(this._lView[A],this._lView)}onDestroy(e){yl(this._lView,e)}markForCheck(){ca(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){vl(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Sv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vm(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},ln=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Rv;let t=e;return t})();function Rv(t){return Fv(Me(),Z(),(t&16)===16)}function Fv(t,e,r){if(Mi(t)&&!r){let n=ut(t.index,e);return new rn(n,n)}else if(t.type&47){let n=e[Oe];return new rn(n,e)}return null}var Nd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Pv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Is=class extends Nd{constructor(e){super(),this._lView=e}onDestroy(e){return yl(this._lView,e),()=>ng(this._lView,e)}};function Pv(){return new Is(Z())}var xc=new Set;function la(t){xc.has(t)||(xc.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var bs=class extends Q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=Qo(o),i&&(i=Qo(i)),s&&(s=Qo(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof z&&e.add(a),a}};function Qo(t){return e=>{setTimeout(t,void 0,e)}}var H=bs;function Ac(...t){}function kv(){let t=typeof ce.requestAnimationFrame=="function",e=ce[t?"requestAnimationFrame":"setTimeout"],r=ce[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var L=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new H(!1),this.onMicrotaskEmpty=new H(!1),this.onStable=new H(!1),this.onError=new H(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=kv().nativeRequestAnimationFrame,jv(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Lv,Ac,Ac);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Lv={};function da(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Vv(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ms(t),t.isCheckStableRunning=!0,da(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ms(t))}function jv(t){let e=()=>{Vv(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if($v(a))return r.invokeTask(i,o,s,a);try{return Nc(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Oc(t)}},onInvoke:(r,n,i,o,s,a,u)=>{try{return Nc(t),r.invoke(i,o,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Oc(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Ms(t),da(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Ms(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Nc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Oc(t){t._nesting--,da(t)}var _s=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new H,this.onMicrotaskEmpty=new H,this.onStable=new H,this.onError=new H}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},Od=new C("",{providedIn:"root",factory:Rd});function Rd(){let t=p(L),e=!0,r=new N(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new N(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{L.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return Ro(r,n.pipe(jo()))}function $v(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function Bv(t="zone.js",e){return t==="noop"?new _s:t==="zone.js"?new L(e):t}var qt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(qt||{}),Uv={destroy(){}};function fa(t,e){!e&&om(fa);let r=e?.injector??p(me);if(!um(r))return Uv;la("NgAfterNextRender");let n=r.get(Fd),i=n.handler??=new Ts,o=e?.phase??qt.MixedReadWrite,s=()=>{i.unregister(u),a()},a=r.get(Nd).onDestroy(s),u=new Ss(r,o,()=>{s(),t()});return i.register(u),{destroy:s}}var Ss=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(L),this.errorHandler=e.get(Fe,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Ts=class{constructor(){this.executingCallbacks=!1,this.buckets={[qt.EarlyRead]:new Set,[qt.Write]:new Set,[qt.MixedReadWrite]:new Set,[qt.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new v(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Fd=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Hv(t,e){let r=ut(e,t),n=r[A];Gv(n,r);let i=r[We];i!==null&&r[oi]===null&&(r[oi]=ra(i,r[Kt])),Pd(n,r,r[He])}function Gv(t,e){for(let r=e.length;r0&&dd(t,r,o.join(" "))}}function Jv(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=On(i.hostAttrs,r=On(r,i.hostAttrs))}}function Yr(t){return t===Qt?{}:t===pe?[]:t}function ny(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function ry(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function iy(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function kd(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Qr(t,e){return t<<17|e<<2}function Mt(t){return t>>17&32767}function oy(t){return(t&2)==2}function sy(t,e){return t&131071|e<<17}function Os(t){return t|2}function sn(t){return(t&131068)>>2}function Ko(t,e){return t&-131069|e<<2}function ay(t){return(t&1)===1}function Rs(t){return t|1}function uy(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Mt(s),u=sn(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||zn(d,l)>0)&&(c=!0)}else l=r;if(i)if(u!==0){let f=Mt(t[a+1]);t[n+1]=Qr(f,a),f!==0&&(t[f+1]=Ko(t[f+1],n)),t[a+1]=sy(t[a+1],n)}else t[n+1]=Qr(a,0),a!==0&&(t[a+1]=Ko(t[a+1],n)),a=n;else t[n+1]=Qr(u,0),a===0?a=n:t[u+1]=Ko(t[u+1],n),u=n;c&&(t[n+1]=Os(t[n+1])),Fc(t,l,n,!0,o),Fc(t,l,n,!1,o),cy(e,l,t,n,o),s=Qr(a,u),o?e.classBindings=s:e.styleBindings=s}function cy(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&zn(o,e)>=0&&(r[n+1]=Rs(r[n+1]))}function Fc(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?Mt(o):sn(o),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];ly(c,e)&&(u=!0,t[a+1]=n?Rs(l):Os(l)),a=n?Mt(l):sn(l)}u&&(t[r+1]=n?Os(o):Rs(o))}function ly(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?zn(t,e)>=0:!1}function Zn(t,e,r){let n=Z(),i=fg();if(kd(n,i,e)){let o=qe(),s=Dg();uv(o,s,n,t,e,n[X],r,!1)}return Zn}function Pc(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";ua(t,r,o[s],s,n)}function ha(t,e){return dy(t,e,null,!0),ha}function dy(t,e,r,n){let i=Z(),o=qe(),s=hg(2);if(o.firstUpdatePass&&hy(o,t,s,n),e!==Ni&&kd(i,s,e)){let a=o.data[Hn()];yy(o,a,i,i[X],t,i[s+1]=Dy(e,r),n,s)}}function fy(t,e){return e>=t.expandoStartIndex}function hy(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Hn()],s=fy(t,r);Cy(o,n)&&e===null&&!s&&(e=!1),e=py(i,o,e,n),uy(i,o,e,r,s,n)}}function py(t,e,r,n){let i=vg(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Jo(null,t,e,r,n),r=Vn(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Jo(i,t,e,r,n),o===null){let u=gy(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Jo(null,t,e,u[1],n),u=Vn(u,e.attrs,n),my(t,e,n,u))}else o=vy(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function gy(t,e,r){let n=r?e.classBindings:e.styleBindings;if(sn(n)!==0)return t[Mt(n)]}function my(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Mt(i)]=n}function vy(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let u=t[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[i+1];f===Ni&&(f=d?pe:void 0);let h=d?zo(f,n):l===n?f:void 0;if(c&&!yi(h)&&(h=zo(u,n)),yi(h)&&(a=h,s))return a;let m=t[i+1];i=s?Mt(m):sn(m)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=zo(u,n))}return a}function yi(t){return t!==void 0}function Dy(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=J(na(t)))),t}function Cy(t,e){return(t.flags&(e?8:16))!==0}var SS=new RegExp(`^(\\d+)*(${km}|${Pm})*(.*)`);var wy=(t,e)=>null;function Lc(t,e){return wy(t,e)}function Vc(t,e){return!e||e.firstChild===null||ed(t)}function Ey(t,e,r,n=!0){let i=e[A];if(Dm(i,e,t,r),n){let s=ms(r,t),a=e[X],u=ea(a,t[wt]);u!==null&&mm(i,t[Ie],a,e,u,s)}let o=e[oi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}var Ri=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Iy;let t=e;return t})();function Iy(){let t=Me();return My(t,Z())}var by=Ri,Ld=class extends by{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new yt(this._hostTNode,this._hostLView)}get parentInjector(){let e=zs(this._hostTNode,this._hostLView);if(Rl(e)){let r=ci(e,this._hostLView),n=ui(e),i=r[A].data[n+8];return new yt(i,r)}else return new yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=jc(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Lc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Vc(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Lg(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let u=s?e:new on(ot(e)),c=n||this.parentInjector;if(!o&&u.ngModule==null){let b=(s?c:this.parentInjector).get(le,null);b&&(o=b)}let l=ot(u.componentType??{}),d=Lc(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,i,f,o);return this.insertImpl(h.hostView,a,Vc(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(eg(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=i[G],c=new Ld(u,u[Ie],u[G]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Ey(s,i,o,n),e.attachToViewContainerRef(),Hl(Xo(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=jc(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);n&&(di(Xo(this._lContainer),r),ad(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);return n&&di(Xo(this._lContainer),r)!=null?new rn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function jc(t){return t[si]}function Xo(t){return t[si]||(t[si]=[])}function My(t,e){let r,n=e[t.index];return Ee(n)?r=n:(r=Iv(n,e,null,t),e[t.index]=r,aa(e,r)),Sy(r,e,t,n),new Ld(r,t,e)}function _y(t,e){let r=t[X],n=r.createComment(""),i=be(e,t),o=ea(r,i);return pi(r,o,n,_m(r,i),!1),n}var Sy=Ty;function Ty(t,e,r,n){if(t[wt])return;let i;r.type&8?i=Re(n):i=_y(e,r),t[wt]=i}function xy(t,e,r,n,i,o){let s=e.consts,a=yc(s,i),u=sa(e,t,2,n,a);return lv(e,r,u,yc(s,o)),u.attrs!==null&&xs(u,u.attrs,!1),u.mergedAttrs!==null&&xs(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Ze(t,e,r,n){let i=Z(),o=qe(),s=Ct+t,a=i[X],u=o.firstCreatePass?xy(s,o,i,e,r,n):o.data[s],c=Ay(o,i,u,a,e,t);i[s]=c;let l=ll(u);return Si(u,!0),fd(a,c,u),(u.flags&32)!==32&&xl()&&cd(o,i,c,u),rg()===0&&nn(c,i),ig(),l&&(Xm(o,i,u),Cd(o,u,i)),n!==null&&ev(i,u),Ze}function Pe(){let t=Me();wl()?lg():(t=t.parent,Si(t,!1));let e=t;ag(e)&&ug(),og();let r=qe();return r.firstCreatePass&&(Nl(r,t),cl(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&bg(e)&&Pc(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Mg(e)&&Pc(r,e,Z(),e.stylesWithoutHost,!1),Pe}function Ye(t,e,r,n){return Ze(t,e,r,n),Pe(),Ye}var Ay=(t,e,r,n,i,o)=>(Al(!0),od(n,i,Cg()));var Di="en-US";var Ny=Di;function Oy(t){Dp(t,"Expected localeId to be defined"),typeof t=="string"&&(Ny=t.toLowerCase().replace(/_/g,"-"))}function Tt(t){return!!t&&typeof t.then=="function"}function Vd(t){return!!t&&typeof t.subscribe=="function"}function _e(t,e,r,n){let i=Z(),o=qe(),s=Me();return Fy(o,i,i[X],s,t,e,n),_e}function Ry(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function Fy(t,e,r,n,i,o,s){let a=ll(n),c=t.firstCreatePass&&Mv(t),l=e[He],d=bv(e),f=!0;if(n.type&3||s){let b=be(n,e),$=s?s(b):b,x=d.length,re=s?je=>s(Re(je[n.index])):n.index,ie=null;if(!s&&a&&(ie=Ry(t,e,i,n.index)),ie!==null){let je=ie.__ngLastListenerFn__||ie;je.__ngNextListenerFn__=o,ie.__ngLastListenerFn__=o,f=!1}else{o=Bc(n,e,l,o,!1);let je=r.listen($,i,o);d.push(o,je),c&&c.push(i,re,x,x+1)}}else o=Bc(n,e,l,o,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let b=m.length;if(b)for(let $=0;$-1?ut(t.index,e):e;ca(a);let u=$c(e,r,n,s),c=o.__ngNextListenerFn__;for(;c;)u=$c(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return i&&u===!1&&s.preventDefault(),u}}function Fi(t,e=""){let r=Z(),n=qe(),i=t+Ct,o=n.firstCreatePass?sa(n,i,1,e,null):n.data[i],s=Py(n,r,o,e,t);r[i]=s,xl()&&cd(n,r,s,o),Si(o,!1)}var Py=(t,e,r,n,i)=>(Al(!0),pm(e[X],n));function ky(t,e,r){let n=qe();if(n.firstCreatePass){let i=st(t);Fs(r,n.data,n.blueprint,i,!0),Fs(e,n.data,n.blueprint,i,!1)}}function Fs(t,e,r,n,i){if(t=K(t),Array.isArray(t))for(let o=0;o>20;if(tn(t)||!t.multi){let h=new It(c,i,U),m=ts(u,e,i?l:l+f,d);m===-1?(cs(li(a,s),o,u),es(o,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=ts(u,e,l+f,d),m=ts(u,e,l,l+f),b=h>=0&&r[h],$=m>=0&&r[m];if(i&&!$||!i&&!b){cs(li(a,s),o,u);let x=jy(i?Vy:Ly,r.length,i,n,c);!i&&$&&(r[m].providerFactory=x),es(o,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(x),s.push(x)}else{let x=jd(r[i?m:h],c,!i&&n);es(o,t,h>-1?h:m,x)}!i&&n&&$&&r[m].componentProviders++}}}function es(t,e,r,n){let i=tn(e),o=Jg(e);if(i||o){let u=(o?K(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function jd(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ts(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>ky(n,i?i(t):t,e)}}var at=class{},jn=class{};var Ci=class extends at{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vi(this);let i=il(e);this._bootstrapComponents=Xl(i.bootstrap),this._r3Injector=Kl(e,r,[{provide:at,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver},...n],J(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},wi=class extends jn{constructor(e){super(),this.moduleType=e}create(e){return new Ci(this.moduleType,e,[])}};function $y(t,e,r){return new Ci(t,e,r)}var ks=class extends at{constructor(e){super(),this.componentFactoryResolver=new vi(this),this.instance=null;let r=new kn([...e.providers,{provide:at,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],e.parent||Ys(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Pi(t,e,r=null){return new ks({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var By=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=ql(!1,n.type),o=i.length>0?Pi([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(y(le))});let t=e;return t})();function $d(t){la("NgStandalone"),t.getStandaloneInjector=e=>e.get(By).getOrCreateStandaloneInjector(t)}var Kr=null;function Uy(t){Kr!==null&&(t.defaultEncapsulation!==Kr.defaultEncapsulation||t.preserveWhitespaces!==Kr.preserveWhitespaces)||(Kr=t)}var ki=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),ga=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new q(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ls=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Li=(()=>{let e=class e{compileModuleSync(n){return new wi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=il(n),s=Xl(o.declarations).reduce((a,u)=>{let c=ot(u);return c&&a.push(new on(c)),a},[]);return new Ls(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hy=new C("compilerOptions");var ma=new C(""),Yn=new C(""),Vi=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,va||(Gy(o),o.addToWindow(i)),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:()=>{L.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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){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(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(y(L),y(ji),y(Yn))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),ji=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return va?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Gy(t){va=t}var va,$i=new C("Application Initializer"),Bd=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=p($i,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Tt(s))n.push(s);else if(Vd(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ya=new C("appBootstrapListener");function zy(t,e,r){let n=new wi(r);return Promise.resolve(n)}function Wy(){Pu(()=>{throw new v(600,!1)})}function qy(t){return t.isBoundToModule}function Zy(t,e,r){try{let n=r();return Tt(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Ud(t,e){return Array.isArray(e)?e.reduce(Ud,t):g(g({},t),e)}var fn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(pd),this.zoneIsStable=p(Od),this.componentTypes=[],this.components=[],this.isStable=p(ga).hasPendingTasks.pipe(ae(n=>n?w(!1):this.zoneIsStable),Po()),this._injector=p(le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof gi;if(!this._injector.get(Bd).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&rl(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;o?a=n:a=this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=qy(a)?void 0:this._injector.get(at),c=i||a.selector,l=a.create(me.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ma,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ni(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(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){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ni(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(ya,[]);[...this._bootstrapListeners,...i].forEach(o=>o(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),()=>ni(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ni(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Uc(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Yy=(()=>{let e=class e{constructor(){this.zone=p(L),this.applicationRef=p(fn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qy(t){return[{provide:L,useFactory:t},{provide:Wn,multi:!0,useFactory:()=>{let e=p(Yy,{optional:!0});return()=>e.initialize()}},{provide:pd,useFactory:Ky},{provide:Od,useFactory:Rd}]}function Ky(){let t=p(L),e=p(Fe);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Jy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Xy(){return typeof $localize<"u"&&$localize.locale||Di}var Da=new C("LocaleId",{providedIn:"root",factory:()=>p(Da,T.Optional|T.SkipSelf)||Xy()});var Hd=new C("PlatformDestroyListeners"),Gd=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=Bv(i?.ngZone,Jy({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=$y(n.moduleType,this.injector,Qy(()=>o)),a=s.injector.get(Fe,null);return o.runOutsideAngular(()=>{let u=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{ni(this._modules,s),u.unsubscribe()})}),Zy(a,o,()=>{let u=s.injector.get(Bd);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Da,Di);return Oy(c||Di),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Ud({},i);return zy(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(fn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Hd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(y(me))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),An=null,zd=new C("AllowMultipleToken");function eD(t){if(An&&!An.get(zd,!1))throw new v(400,!1);Wy(),An=t;let e=t.get(Gd);return rD(t),e}function Ca(t,e,r=[]){let n=`Platform: ${e}`,i=new C(n);return(o=[])=>{let s=Wd();if(!s||s.injector.get(zd,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):eD(tD(a,n))}return nD(i)}}function tD(t=[],e){return me.create({name:e,providers:[{provide:Ti,useValue:"platform"},{provide:Hd,useValue:new Set([()=>An=null])},...t]})}function nD(t){let e=Wd();if(!e)throw new v(401,!1);return e}function Wd(){return An?.get(Gd)??null}function rD(t){t.get(Qs,null)?.forEach(r=>r())}var qd=Ca(null,"core",[]),Zd=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(y(fn))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function Bi(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Yd(t){let e=ot(t);if(!e)return null;let r=new on(e);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 e.standalone},get isSignal(){return e.signals}}}var wa=null;function ke(){return wa}function Jd(t){wa||(wa=t)}var Ui=class{},ne=new C("DocumentToken"),Ia=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(sD))(),providedIn:"platform"});let t=e;return t})(),Xd=new C("Location Initialized"),sD=(()=>{let e=class e extends Ia{constructor(){super(),this._doc=p(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ke().getBaseHref(this._doc)}onPopState(n){let i=ke().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=ke().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.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,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function ba(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Qd(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Ke(t){return t&&t[0]!=="?"?"?"+t:t}var xt=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(Ma))(),providedIn:"root"});let t=e;return t})(),ef=new C("appBaseHref"),Ma=(()=>{let e=class e extends xt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(ne).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 ba(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Ke(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ia),y(ef,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tf=(()=>{let e=class e extends xt{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}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 i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=ba(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ia),y(ef,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),hn=(()=>{let e=class e{constructor(n){this._subject=new H,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=cD(Qd(Kd(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Ke(i))}normalize(n){return e.stripTrailingSlash(uD(this._basePath,Kd(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Ke,e.joinWithSlash=ba,e.stripTrailingSlash=Qd,e.\u0275fac=function(i){return new(i||e)(y(xt))},e.\u0275prov=D({token:e,factory:()=>aD(),providedIn:"root"});let t=e;return t})();function aD(){return new hn(y(xt))}function uD(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Kd(t){return t.replace(/\/index.html$/,"")}function cD(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function nf(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var rf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})(),of="browser",lD="server";function _a(t){return t===lD}var sf=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new Ea(y(ne),window)});let t=e;return t})(),Ea=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=dD(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function dD(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Hi=class{};var xa=class extends Ui{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Aa=class t extends xa{static makeCurrent(){Jd(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=hD();return r==null?null:pD(r)}resetBaseElement(){Qn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nf(document.cookie,e)}},Qn=null;function hD(){return Qn=Qn||document.querySelector("base"),Qn?Qn.getAttribute("href"):null}function pD(t){return new URL(t,document.baseURI).pathname}var Na=class{addToWindow(e){ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new v(5103,!1);return o},ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(u){s=s||u,o--,o==0&&n(s)};i.forEach(u=>{u.whenStable(a)})};ce.frameworkStabilizers||(ce.frameworkStabilizers=[]),ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?ke().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},gD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Oa=new C("EventManagerPlugins"),lf=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new v(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(y(Oa),y(L))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Gi=class{constructor(e){this._doc=e}},Sa="ng-app-id",df=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_a(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Sa}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Sa),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Sa,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(xi),y(Ks,8),y(_t))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Ta={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/"},Fa=/%COMP%/g,ff="%COMP%",mD=`_nghost-${ff}`,vD=`_ngcontent-${ff}`,yD=!0,DD=new C("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>yD});function CD(t){return vD.replace(Fa,t)}function wD(t){return mD.replace(Fa,t)}function hf(t,e){return e.map(r=>r.replace(Fa,t))}var af=(()=>{let e=class e{constructor(n,i,o,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=_a(u),this.defaultRenderer=new Kn(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ne.ShadowDom&&(i=k(g({},i),{encapsulation:Ne.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof zi?o.applyToHost(n):o instanceof Jn&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Ne.Emulated:s=new zi(c,l,i,this.appId,d,a,u,f);break;case Ne.ShadowDom:return new Ra(c,l,n,i,a,u,this.nonce,f);default:s=new Jn(c,l,i,d,a,u,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(y(lf),y(df),y(xi),y(DD),y(ne),y(_t),y(L),y(Ks))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Kn=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Ta[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(uf(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(uf(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Ta[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Ta[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ge.DashCase|Ge.Important)?e.style.setProperty(r,n,i&Ge.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ge.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=ke().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function uf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ra=class extends Kn{constructor(e,r,n,i,o,s,a,u){super(e,o,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=hf(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jn=class extends Kn{constructor(e,r,n,i,o,s,a,u){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=u?hf(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},zi=class extends Jn{constructor(e,r,n,i,o,s,a,u){let c=i+"-"+n.id;super(e,r,n,o,s,a,u,c),this.contentAttr=CD(c),this.hostAttr=wD(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},ED=(()=>{let e=class e extends Gi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),cf=["alt","control","meta","shift"],ID={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},bD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},MD=(()=>{let e=class e extends Gi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ke().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),a="code."),cf.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=ID[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cf.forEach(a=>{if(a!==o){let u=bD[a];u(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function _D(){Aa.makeCurrent()}function SD(){return new Fe}function TD(){return Jl(document),document}var xD=[{provide:_t,useValue:of},{provide:Qs,useValue:_D,multi:!0},{provide:ne,useFactory:TD,deps:[]}],pf=Ca(qd,"browser",xD),AD=new C(""),ND=[{provide:Yn,useClass:Na,deps:[]},{provide:ma,useClass:Vi,deps:[L,ji,Yn]},{provide:Vi,useClass:Vi,deps:[L,ji,Yn]}],OD=[{provide:Ti,useValue:"root"},{provide:Fe,useFactory:SD,deps:[]},{provide:Oa,useClass:ED,multi:!0,deps:[ne,L,_t]},{provide:Oa,useClass:MD,multi:!0,deps:[ne]},af,df,lf,{provide:Ln,useExisting:af},{provide:Hi,useClass:gD,deps:[]},[]],gf=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:xi,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(y(AD,12))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[...OD,...ND],imports:[rf,Zd]});let t=e;return t})();function RD(){return new Pa(y(ne))}var Pa=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:function(i){let o=null;return i?o=new i:o=RD(),o},providedIn:"root"});let t=e;return t})();var M="primary",hr=Symbol("RouteTitle"),$a=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function yn(t){return new $a(t)}function PD(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function _f(t){return t.length>0?t[t.length-1]:null}function ht(t){return No(t)?t:Tt(t)?j(Promise.resolve(t)):w(t)}var LD={exact:Tf,subset:xf},Sf={exact:VD,subset:jD,ignored:()=>!0};function vf(t,e,r){return LD[r.paths](t.root,e.root,r.matrixParams)&&Sf[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function VD(t,e){return Le(t,e)}function Tf(t,e,r){if(!Nt(t.segments,e.segments)||!Zi(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Tf(t.children[n],e.children[n],r))return!1;return!0}function jD(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Mf(t[r],e[r]))}function xf(t,e,r){return Af(t,e,e.segments,r)}function Af(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Nt(i,r)||e.hasChildren()||!Zi(i,r,n))}else if(t.segments.length===r.length){if(!Nt(t.segments,r)||!Zi(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!xf(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Nt(t.segments,i)||!Zi(t.segments,i,n)||!t.children[M]?!1:Af(t.children[M],e,o,n)}}function Zi(t,e,r){return e.every((n,i)=>Sf[r](t[i].parameters,n.parameters))}var lt=class{constructor(e=new F([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return UD.serialize(this)}},F=class{constructor(e,r){this.segments=e,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 Yi(this)}},At=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=yn(this.parameters)),this._parameterMap}toString(){return Of(this)}};function $D(t,e){return Nt(t,e)&&t.every((r,n)=>Le(r.parameters,e[n].parameters))}function Nt(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function BD(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===M&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==M&&(r=r.concat(e(i,n)))}),r}var pr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new or)(),providedIn:"root"});let t=e;return t})(),or=class{parse(e){let r=new Ha(e);return new lt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Xn(e.root,!0)}`,n=zD(e.queryParams),i=typeof e.fragment=="string"?`#${HD(e.fragment)}`:"";return`${r}${n}${i}`}},UD=new or;function Yi(t){return t.segments.map(e=>Of(e)).join("/")}function Xn(t,e){if(!t.hasChildren())return Yi(t);if(e){let r=t.children[M]?Xn(t.children[M],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==M&&n.push(`${i}:${Xn(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=BD(t,(n,i)=>i===M?[Xn(t.children[M],!1)]:[`${i}:${Xn(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[M]!=null?`${Yi(t)}/${r[0]}`:`${Yi(t)}/(${r.join("//")})`}}function Nf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wi(t){return Nf(t).replace(/%3B/gi,";")}function HD(t){return encodeURI(t)}function Ua(t){return Nf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qi(t){return decodeURIComponent(t)}function yf(t){return Qi(t.replace(/\+/g,"%20"))}function Of(t){return`${Ua(t.path)}${GD(t.parameters)}`}function GD(t){return Object.keys(t).map(e=>`;${Ua(e)}=${Ua(t[e])}`).join("")}function zD(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${Wi(r)}=${Wi(i)}`).join("&"):`${Wi(r)}=${Wi(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var WD=/^[^\/()?;#]+/;function ka(t){let e=t.match(WD);return e?e[0]:""}var qD=/^[^\/()?;=#]+/;function ZD(t){let e=t.match(qD);return e?e[0]:""}var YD=/^[^=?&#]+/;function QD(t){let e=t.match(YD);return e?e[0]:""}var KD=/^[^&#]+/;function JD(t){let e=t.match(KD);return e?e[0]:""}var Ha=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[M]=new F(e,r)),n}parseSegment(){let e=ka(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new At(Qi(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ZD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=ka(this.remaining);i&&(n=i,this.capture(n))}e[Qi(r)]=Qi(n)}parseQueryParam(e){let r=QD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=JD(this.remaining);s&&(n=s,this.capture(n))}let i=yf(r),o=yf(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ka(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new F([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Rf(t){return t.segments.length>0?new F([],{[M]:t}):t}function Ff(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=Ff(i);if(n===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new F(t.segments,e);return XD(r)}function XD(t){if(t.numberOfChildren===1&&t.children[M]){let e=t.children[M];return new F(t.segments.concat(e.segments),e.children)}return t}function Dn(t){return t instanceof lt}function eC(t,e,r=null,n=null){let i=Pf(t);return kf(i,e,r,n)}function Pf(t){let e;function r(o){let s={};for(let u of o.children){let c=r(u);s[u.outlet]=c}let a=new F(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Rf(n);return e??i}function kf(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return La(i,i,i,r,n);let o=tC(e);if(o.toRoot())return La(i,i,new F([],{}),r,n);let s=nC(o,i,t),a=s.processChildren?nr(s.segmentGroup,s.index,o.commands):Vf(s.segmentGroup,s.index,o.commands);return La(i,s.segmentGroup,a,r,n)}function Ki(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function sr(t){return typeof t=="object"&&t!=null&&t.outlets}function La(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=Lf(t,e,r);let a=Rf(Ff(s));return new lt(a,o,i)}function Lf(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Lf(o,e,r)}),new F(t.segments,n)}var Ji=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ki(n[0]))throw new v(4003,!1);let i=n.find(sr);if(i&&i!==_f(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function tC(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ji(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ji(r,e,n)}var mn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function nC(t,e,r){if(t.isAbsolute)return new mn(e,!0,0);if(!r)return new mn(e,!1,NaN);if(r.parent===null)return new mn(r,!0,0);let n=Ki(t.commands[0])?0:1,i=r.segments.length-1+n;return rC(r,i,t.numberOfDoubleDots)}function rC(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new v(4005,!1);i=n.segments.length}return new mn(n,!1,i-o)}function iC(t){return sr(t[0])?t[0].outlets:{[M]:t}}function Vf(t,e,r){if(t||(t=new F([],{})),t.segments.length===0&&t.hasChildren())return nr(t,e,r);let n=oC(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==M)&&t.children[M]&&t.numberOfChildren===1&&t.children[M].segments.length===0){let o=nr(t.children[M],e,r);return new F(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Vf(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new F(t.segments,i)}}function oC(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(sr(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Cf(u,c,s))return o;n+=2}else{if(!Cf(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ga(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ga(new F([],{}),0,n))}),e}function Df(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Cf(t,e,r){return t==r.path&&Le(e,r.parameters)}var rr="imperative",ve=class{constructor(e,r){this.id=e,this.url=r}},Cn=class extends ve{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends ve{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},dt=class extends ve{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ft=class extends ve{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},ar=class extends ve{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Xi=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wa=class extends ve{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qa=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Za=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ya=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qa=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ka=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ja=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xa=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eu=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eo=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},ur=class{},cr=class{constructor(e){this.url=e}};var tu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gr,this.attachRef=null}},gr=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new tu,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),to=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=nu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=nu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=ru(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return ru(e,this._root).map(r=>r.value)}};function nu(t,e){if(t===e.value)return e;for(let r of e.children){let n=nu(t,r);if(n)return n}return null}function ru(t,e){if(t===e.value)return[e];for(let r of e.children){let n=ru(t,r);if(n.length)return n.unshift(e),n}return[]}var de=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function gn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var no=class extends to{constructor(e,r){super(e),this.snapshot=r,hu(this,e)}toString(){return this.snapshot.toString()}};function jf(t,e){let r=aC(t,e),n=new q([new At("",{})]),i=new q({}),o=new q({}),s=new q({}),a=new q(""),u=new wn(n,i,s,a,o,M,e,r.root);return u.snapshot=r.root,new no(new de(u,[]),r)}function aC(t,e){let r={},n={},i={},o="",s=new lr([],r,i,o,n,M,e,null,{});return new ro("",new de(s,[]))}var wn=class{constructor(e,r,n,i,o,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(O(c=>c[hr]))??w(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}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(O(e=>yn(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>yn(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function fu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:g(g({},e.params),t.params),data:g(g({},e.data),t.data),resolve:g(g(g(g({},t.data),e.data),i?.data),t._resolvedData)}:n={params:t.params,data:t.data,resolve:g(g({},t.data),t._resolvedData??{})},i&&Bf(i)&&(n.resolve[hr]=i.title),n}var lr=class{get title(){return this.data?.[hr]}constructor(e,r,n,i,o,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,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=yn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ro=class extends to{constructor(e,r){super(r),this.url=e,hu(this,r)}toString(){return $f(this._root)}};function hu(t,e){e.value._routerState=t,e.children.forEach(r=>hu(t,r))}function $f(t){let e=t.children.length>0?` { ${t.children.map($f).join(", ")} } `:"";return`${t.value}${e}`}function Va(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Le(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Le(e.params,r.params)||t.paramsSubject.next(r.params),kD(e.url,r.url)||t.urlSubject.next(r.url),Le(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function iu(t,e){let r=Le(t.params,e.params)&&$D(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||iu(t.parent,e.parent))}function Bf(t){return typeof t.title=="string"||t.title===null}var pu=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new H,this.deactivateEvents=new H,this.attachEvents=new H,this.detachEvents=new H,this.parentContexts=p(gr),this.location=p(Ri),this.changeDetector=p(ln),this.environmentInjector=p(le),this.inputBinder=p(uo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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;let 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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new ou(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ze({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[un]});let t=e;return t})(),ou=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wn?this.route:e===gr?this.childContexts:this.parent.get(e,r)}},uo=new C(""),wf=(()=>{let e=class e{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){let{activatedRoute:i}=n,o=Sn([i.queryParams,i.params,i.data]).pipe(ae(([s,a,u],c)=>(u=g(g(g({},s),a),u),c===0?w(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Yd(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function uC(t,e,r){let n=dr(t,e._root,r?r._root:void 0);return new no(n,e)}function dr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=cC(t,e,r);return new de(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>dr(t,a)),s}}let n=lC(e.value),i=e.children.map(o=>dr(t,o));return new de(n,i)}}function cC(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return dr(t,n,i);return dr(t,n)})}function lC(t){return new wn(new q(t.url),new q(t.params),new q(t.queryParams),new q(t.fragment),new q(t.data),t.outlet,t.component,t)}var Uf="ngNavigationCancelingError";function Hf(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Dn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Gf(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function Gf(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Uf]=!0,n.cancellationCode=e,r&&(n.url=r),n}function dC(t){return zf(t)&&Dn(t.url)}function zf(t){return t&&t[Uf]}var fC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=an({type:e,selectors:[["ng-component"]],standalone:!0,features:[$d],decls:1,vars:0,template:function(i,o){i&1&&Ye(0,"router-outlet")},dependencies:[pu],encapsulation:2});let t=e;return t})();function hC(t,e){return t.providers&&!t._injector&&(t._injector=Pi(t.providers,e,`Route: ${t.path}`)),t._injector??e}function gu(t){let e=t.children&&t.children.map(gu),r=e?k(g({},t),{children:e}):g({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=fC),r}function Ve(t){return t.outlet||M}function pC(t,e){let r=t.filter(n=>Ve(n)===e);return r.push(...t.filter(n=>Ve(n)!==e)),r}function mr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var gC=(t,e,r,n)=>O(i=>(new su(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),su=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Va(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=gn(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=gn(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=gn(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=gn(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new eu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ja(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Va(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Va(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=mr(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},io=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vn=class{constructor(e,r){this.component=e,this.route=r}};function mC(t,e,r){let n=t._root,i=e?e._root:null;return er(n,i,r,[n.value])}function vC(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function In(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!zc(t)?t:e.get(t):n}function er(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=gn(e);return t.children.forEach(s=>{yC(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ir(a,r.getContext(s),i)),i}function yC(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=DC(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new io(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?er(t,e,a?a.children:null,n,i):er(t,e,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vn(a.outlet.component,s))}else s&&ir(e,a,i),i.canActivateChecks.push(new io(n)),o.component?er(t,null,a?a.children:null,n,i):er(t,null,r,n,i);return i}function DC(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Nt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Nt(t.url,e.url)||!Le(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!iu(t,e)||!Le(t.queryParams,e.queryParams);case"paramsChange":default:return!iu(t,e)}}function ir(t,e,r){let n=gn(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?ir(s,e.children.getContext(o),r):ir(s,null,r):ir(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new vn(e.outlet.component,i)):r.canDeactivateChecks.push(new vn(null,i)):r.canDeactivateChecks.push(new vn(null,i))}function vr(t){return typeof t=="function"}function CC(t){return typeof t=="boolean"}function wC(t){return t&&vr(t.canLoad)}function EC(t){return t&&vr(t.canActivate)}function IC(t){return t&&vr(t.canActivateChild)}function bC(t){return t&&vr(t.canDeactivate)}function MC(t){return t&&vr(t.canMatch)}function Wf(t){return t instanceof Be||t?.name==="EmptyError"}var qi=Symbol("INITIAL_VALUE");function En(){return ae(t=>Sn(t.map(e=>e.pipe(Ue(1),$o(qi)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===qi)return qi;if(r===!1||r instanceof lt)return r}return!0}),fe(e=>e!==qi),Ue(1)))}function _C(t,e){return B(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?w(k(g({},r),{guardsResult:!0})):SC(s,n,i,t).pipe(B(a=>a&&CC(a)?TC(n,o,t,e):w(a)),O(a=>k(g({},r),{guardsResult:a})))})}function SC(t,e,r,n){return j(t).pipe(B(i=>RC(i.component,i.route,r,e,n)),Te(i=>i!==!0,!0))}function TC(t,e,r,n){return j(e).pipe(vt(i=>Ut(AC(i.route.parent,n),xC(i.route,n),OC(t,i.path,r),NC(t,i.route,r))),Te(i=>i!==!0,!0))}function xC(t,e){return t!==null&&e&&e(new Xa(t)),w(!0)}function AC(t,e){return t!==null&&e&&e(new Ka(t)),w(!0)}function NC(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return w(!0);let i=n.map(o=>zr(()=>{let s=mr(e)??r,a=In(o,s),u=EC(a)?a.canActivate(e,t):ct(s,()=>a(e,t));return ht(u).pipe(Te())}));return w(i).pipe(En())}function OC(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>vC(s)).filter(s=>s!==null).map(s=>zr(()=>{let a=s.guards.map(u=>{let c=mr(s.node)??r,l=In(u,c),d=IC(l)?l.canActivateChild(n,t):ct(c,()=>l(n,t));return ht(d).pipe(Te())});return w(a).pipe(En())}));return w(o).pipe(En())}function RC(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return w(!0);let s=o.map(a=>{let u=mr(e)??i,c=In(a,u),l=bC(c)?c.canDeactivate(t,e,r,n):ct(u,()=>c(t,e,r,n));return ht(l).pipe(Te())});return w(s).pipe(En())}function FC(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return w(!0);let o=i.map(s=>{let a=In(s,t),u=wC(a)?a.canLoad(e,r):ct(t,()=>a(e,r));return ht(u)});return w(o).pipe(En(),qf(n))}function qf(t){return _o(W(e=>{if(Dn(e))throw Hf(t,e)}),O(e=>e===!0))}function PC(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return w(!0);let o=i.map(s=>{let a=In(s,t),u=MC(a)?a.canMatch(e,r):ct(t,()=>a(e,r));return ht(u)});return w(o).pipe(En(),qf(n))}var fr=class{constructor(e){this.segmentGroup=e||null}},oo=class extends Error{constructor(e){super(),this.urlTree=e}};function pn(t){return Bt(new fr(t))}function kC(t){return Bt(new v(4e3,!1))}function LC(t){return Bt(Gf(!1,3))}var au=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return w(n);if(i.numberOfChildren>1||!i.children[M])return kC(e.redirectTo);i=i.children[M]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new oo(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new lt(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(e,u,n,i)}),new F(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},uu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function VC(t,e,r,n,i){let o=mu(t,e,r);return o.matched?(n=hC(e,n),PC(n,e,r,i).pipe(O(s=>s===!0?o:g({},uu)))):w(o)}function mu(t,e,r){if(e.path==="**")return jC(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?g({},uu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||PD)(r,t,e);if(!i)return g({},uu);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jC(t){return{matched:!0,parameters:t.length>0?_f(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Ef(t,e,r,n){return r.length>0&&UC(t,r,n)?{segmentGroup:new F(e,BC(n,new F(r,t.children))),slicedSegments:[]}:r.length===0&&HC(t,r,n)?{segmentGroup:new F(t.segments,$C(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new F(t.segments,t.children),slicedSegments:r}}function $C(t,e,r,n,i){let o={};for(let s of n)if(co(t,r,s)&&!i[Ve(s)]){let a=new F([],{});o[Ve(s)]=a}return g(g({},i),o)}function BC(t,e){let r={};r[M]=e;for(let n of t)if(n.path===""&&Ve(n)!==M){let i=new F([],{});r[Ve(n)]=i}return r}function UC(t,e,r){return r.some(n=>co(t,e,n)&&Ve(n)!==M)}function HC(t,e,r){return r.some(n=>co(t,e,n))}function co(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function GC(t,e,r,n){return Ve(t)!==n&&(n===M||!co(e,r,t))?!1:mu(e,t,r).matched}function zC(t,e,r){return e.length===0&&!t.children[r]}var cu=class{};function WC(t,e,r,n,i,o,s="emptyOnly"){return new lu(t,e,r,n,i,s,o).recognize()}var qC=31,lu=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new au(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=Ef(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(O(r=>{let n=new lr([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),i=new de(n,r),o=new ro("",i),s=eC(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(et(n=>{if(n instanceof oo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof fr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=fu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(O(o=>o instanceof de?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return j(i).pipe(vt(o=>{let s=n.children[o],a=pC(r,o);return this.processSegmentGroup(e,a,s,o)}),Lo((o,s)=>(o.push(...s),o)),tt(null),ko(),B(o=>{if(o===null)return pn(n);let s=Zf(o);return ZC(s),w(s)}))}processSegment(e,r,n,i,o,s){return j(r).pipe(vt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(et(u=>{if(u instanceof fr)return w(null);throw u}))),Te(a=>!!a),et(a=>{if(Wf(a))return zC(n,i,o)?w(new cu):pn(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return GC(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):pn(i):pn(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=mu(r,i,o);if(!a)return pn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>qC&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(B(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=VC(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ae(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ae(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new lr(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,QC(n),Ve(n),n.component??n._loadedComponent??null,n,KC(n)),{segmentGroup:m,slicedSegments:b}=Ef(r,l,d,u);if(b.length===0&&m.hasChildren())return this.processChildren(c,u,m).pipe(O(x=>x===null?null:new de(h,x)));if(u.length===0&&b.length===0)return w(new de(h,[]));let $=Ve(n)===o;return this.processSegment(c,u,m,b,$?M:o,!0).pipe(O(x=>new de(h,x instanceof de?[x]:[])))}))):pn(r)))}getChildConfig(e,r,n){return r.children?w({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?w({routes:r._loadedRoutes,injector:r._loadedInjector}):FC(e,r,n,this.urlSerializer).pipe(B(i=>i?this.configLoader.loadChildren(e,r).pipe(W(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):LC(r))):w({routes:[],injector:e})}};function ZC(t){t.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function YC(t){let e=t.value.routeConfig;return e&&e.path===""}function Zf(t){let e=[],r=new Set;for(let n of t){if(!YC(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Zf(n.children);e.push(new de(n.value,i))}return e.filter(n=>!r.has(n))}function QC(t){return t.data||{}}function KC(t){return t.resolve||{}}function JC(t,e,r,n,i,o){return B(s=>WC(t,e,r,n,s.extractedUrl,i,o).pipe(O(({state:a,tree:u})=>k(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function XC(t,e){return B(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return w(r);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Yf(u))s.add(c);let a=0;return j(s).pipe(vt(u=>o.has(u)?ew(u,n,t,e):(u.data=fu(u,u.parent,t).resolve,w(void 0))),W(()=>a++),Ht(1),B(u=>a===s.size?w(r):oe))})}function Yf(t){let e=t.children.map(r=>Yf(r)).flat();return[t,...e]}function ew(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Bf(i)&&(o[hr]=i.title),tw(o,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=fu(t,t.parent,r).resolve,null)))}function tw(t,e,r,n){let i=Ba(t);if(i.length===0)return w({});let o={};return j(i).pipe(B(s=>nw(t[s],e,r,n).pipe(Te(),W(a=>{o[s]=a}))),Ht(1),Fo(o),et(s=>Wf(s)?oe:Bt(s)))}function nw(t,e,r,n){let i=mr(e)??n,o=In(t,i),s=o.resolve?o.resolve(e,r):ct(i,()=>o(e,r));return ht(s)}function ja(t){return ae(e=>{let r=t(e);return r?j(r).pipe(O(()=>e)):w(e)})}var Qf=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===M);return i}getResolvedTitleForRoute(n){return n.data[hr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(rw))(),providedIn:"root"});let t=e;return t})(),rw=(()=>{let e=class e extends Qf{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(y(Pa))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yr=new C("",{providedIn:"root",factory:()=>({})}),so=new C("ROUTES"),vu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Li)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return w(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=ht(n.loadComponent()).pipe(O(Kf),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Tn(()=>{this.componentLoaders.delete(n)})),o=new $t(i,()=>new Q).pipe(jt());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return w({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=iw(i,this.compiler,n,this.onLoadEndListener).pipe(Tn(()=>{this.childrenLoaders.delete(i)})),a=new $t(s,()=>new Q).pipe(jt());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iw(t,e,r,n){return ht(t.loadChildren()).pipe(O(Kf),B(i=>i instanceof jn||Array.isArray(i)?w(i):j(e.compileModuleAsync(i))),O(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(so,[],{optional:!0,self:!0}).flat()),{routes:s.map(gu),injector:o}}))}function ow(t){return t&&typeof t=="object"&&"default"in t}function Kf(t){return ow(t)?t.default:t}var yu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(sw))(),providedIn:"root"});let t=e;return t})(),sw=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jf=new C(""),Xf=new C("");function aw(t,e,r){let n=t.get(Xf),i=t.get(ne);return t.get(L).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),uw(t))),{onViewTransitionCreated:u}=n;return u&&ct(t,()=>u({transition:a,from:e,to:r})),s})}function uw(t){return new Promise(e=>{fa(e,{injector:t})})}var Du=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=p(vu),this.environmentInjector=p(le),this.urlSerializer=p(pr),this.rootContexts=p(gr),this.location=p(hn),this.inputBindingEnabled=p(uo,{optional:!0})!==null,this.titleStrategy=p(Qf),this.options=p(yr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(yu),this.createViewTransition=p(Jf,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Ya(o)),i=o=>this.events.next(new Qa(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(k(g(g({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new q({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:rr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),O(s=>k(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ae(s=>{this.currentTransition=s;let a=!1,u=!1;return w(s).pipe(W(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?k(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ae(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new ft(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),oe}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return w(c).pipe(ae(f=>{let h=this.transitions?.getValue();return this.events.next(new Cn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?oe:Promise.resolve(f)}),JC(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=k(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Xi(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:b,extras:$}=c,x=new Cn(f,this.urlSerializer.serialize(h),m,b);this.events.next(x);let re=jf(h,this.rootComponentType).snapshot;return this.currentTransition=s=k(g({},c),{targetSnapshot:re,urlAfterRedirects:h,extras:k(g({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new ft(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),oe}}),W(c=>{let l=new za(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),O(c=>(this.currentTransition=s=k(g({},c),{guards:mC(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),_C(this.environmentInjector,c=>this.events.next(c)),W(c=>{if(s.guardsResult=c.guardsResult,Dn(c.guardsResult))throw Hf(this.urlSerializer,c.guardsResult);let l=new Wa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),fe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),ja(c=>{if(c.guards.canActivateChecks.length)return w(c).pipe(W(l=>{let d=new qa(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ae(l=>{let d=!1;return w(l).pipe(XC(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),W(l=>{let d=new Za(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ja(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(h=>{d.component=h}),O(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Sn(l(c.targetSnapshot.root)).pipe(tt(),Ue(1))}),ja(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?j(d).pipe(O(()=>s)):w(s)}),O(c=>{let l=uC(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=k(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new ur)}),gC(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ue(1),W({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Bo(this.transitionAbortSubject.pipe(W(c=>{throw c}))),Tn(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),et(c=>{if(u=!0,zf(c))this.events.next(new dt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),dC(c)?this.events.next(new cr(c.url)):s.resolve(!1);else{this.events.next(new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){s.reject(l)}}return oe}))}))}cancelNavigationTransition(n,i,o){let s=new dt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function cw(t){return t!==rr}var lw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(dw))(),providedIn:"root"});let t=e;return t})(),du=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},dw=(()=>{let e=class e extends du{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(fw))(),providedIn:"root"});let t=e;return t})(),fw=(()=>{let e=class e extends eh{constructor(){super(...arguments),this.location=p(hn),this.urlSerializer=p(pr),this.options=p(yr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(yu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new lt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jf(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Cn)this.stateMemento=this.createStateMemento();else if(n instanceof ft)this.rawUrlTree=i.initialUrl;else if(n instanceof Xi){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof ur?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof dt&&(n.code===3||n.code===2)?this.restoreHistory(i):n instanceof ar?this.restoreHistory(i,!0):n instanceof Je&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=g(g({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(tr||{});function th(t,e){t.events.pipe(fe(r=>r instanceof Je||r instanceof dt||r instanceof ar||r instanceof ft),O(r=>r instanceof Je||r instanceof ft?tr.COMPLETE:(r instanceof dt?r.code===0||r.code===1:!1)?tr.REDIRECTING:tr.FAILED),fe(r=>r!==tr.REDIRECTING),Ue(1)).subscribe(()=>{e()})}function hw(t){throw t}var pw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ot=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(ki),this.stateManager=p(eh),this.options=p(yr,{optional:!0})||{},this.pendingTasks=p(ga),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Du),this.urlSerializer=p(pr),this.location=p(hn),this.urlHandlingStrategy=p(yu),this._events=new Q,this.errorHandler=this.options.errorHandler||hw,this.navigated=!1,this.routeReuseStrategy=p(lw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(so,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(uo,{optional:!0}),this.eventsSubscription=new z,this.isNgZoneEnabled=p(L)instanceof L&&L.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof dt&&i.code!==0&&i.code!==1)this.navigated=!0;else if(i instanceof Je)this.navigated=!0;else if(i instanceof cr){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||cw(o.source)};this.scheduleNavigation(a,rr,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}vw(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,i,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(gu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Pf(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return kf(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Dn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,rr,null,i)}navigate(n,i={skipLocationChange:!1}){return mw(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=g({},pw):i===!1?o=g({},gw):o=i,Dn(n))return vf(this.currentUrlTree,n,o);let s=this.parseUrl(n);return vf(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return th(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function mw(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof Je),vt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Pi(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(u,s.children??s._loadedRoutes))}return j(o).pipe(Xe())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=w(null);let s=o.pipe(B(a=>a===null?w(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return j([s,a]).pipe(Xe())}else return s})}};e.\u0275fac=function(i){return new(i||e)(y(Ot),y(Li),y(le),y(ao),y(vu))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nh=new C(""),Dw=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,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(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Cn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Je?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ft&&n.code===0&&(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 eo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new eo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){vd()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function Cw(t){return t.routerState.root}function Dr(t,e){return{\u0275kind:t,\u0275providers:e}}function ww(){let t=p(me);return e=>{let r=t.get(fn);if(e!==r.components[0])return;let n=t.get(Ot),i=t.get(rh);t.get(Cu)===1&&n.initialNavigation(),t.get(ih,null,T.Optional)?.setUpPreloading(),t.get(nh,null,T.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var rh=new C("",{factory:()=>new Q}),Cu=new C("",{providedIn:"root",factory:()=>1});function Ew(){return Dr(2,[{provide:Cu,useValue:0},{provide:$i,multi:!0,deps:[me],useFactory:e=>{let r=e.get(Xd,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ot),o=e.get(rh);th(i,()=>{n(!0)}),e.get(Du).afterPreactivation=()=>(n(!0),o.closed?w(void 0):o),i.initialNavigation()}))}}])}function Iw(){return Dr(3,[{provide:$i,multi:!0,useFactory:()=>{let e=p(Ot);return()=>{e.setUpLocationChangeListener()}}},{provide:Cu,useValue:2}])}var ih=new C("");function bw(t){return Dr(0,[{provide:ih,useExisting:yw},{provide:ao,useExisting:t}])}function Mw(){return Dr(8,[wf,{provide:uo,useExisting:wf}])}function _w(t){let e=[{provide:Jf,useValue:aw},{provide:Xf,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Dr(9,e)}var If=new C("ROUTER_FORROOT_GUARD"),Sw=[hn,{provide:pr,useClass:or},Ot,gr,{provide:wn,useFactory:Cw,deps:[Ot]},vu,[]],wu=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[Sw,[],{provide:so,multi:!0,useValue:n},{provide:If,useFactory:Nw,deps:[[Ot,new qs,new Gl]]},{provide:yr,useValue:i||{}},i?.useHash?xw():Aw(),Tw(),i?.preloadingStrategy?bw(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Ow(i):[],i?.bindToComponentInputs?Mw().\u0275providers:[],i?.enableViewTransitions?_w().\u0275providers:[],Rw()]}}static forChild(n){return{ngModule:e,providers:[{provide:so,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(y(If,8))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function Tw(){return{provide:nh,useFactory:()=>{let t=p(sf),e=p(L),r=p(yr),n=p(Du),i=p(pr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Dw(i,n,t,e,r)}}}function xw(){return{provide:xt,useClass:tf}}function Aw(){return{provide:xt,useClass:Ma}}function Nw(t){return"guarded"}function Ow(t){return[t.initialNavigation==="disabled"?Iw().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ew().\u0275providers:[]]}var bf=new C("");function Rw(){return[{provide:bf,useFactory:ww},{provide:ya,multi:!0,useExisting:bf}]}var oh=(()=>{let e=class e{constructor(){this.newMonth="",this.monthlyTotal=""}calculateFunct(n){let i=n.split(` -`),o=[],s=0,a=0,u=parseInt(n.split(` -`)[0].split(":")[0].split("/")[1]),c=parseInt(n.split(` -`)[0].split(":")[0].split("/")[2]);for(let h of i){let m=0;if(h.match("/")<2){a=a+s,s=0,o.push(h);continue}if(h.match(":")>1){m=parseFloat(h.split(" : ")[2].replace(",","")),s=s+m,o.push(h);continue}let b=h.split(" : ")[1];if(b.split(" + ").length>1&&b.split(" + ")[0]!=""){for(let x of b.split(" + "))m=m+parseFloat(x.replace(",",""));let $=(m+"").replace(".00","");o.push(h+" : "+$),s=s+m}else b.split(" + ")[0]!=""?(o.push(h+" : "+b.split(" + ")[0]),s=s+parseFloat(b.split(" + ")[0].replace(",",""))):o.push(h);a=a+s}let l=(s+"").replace(".00","");o.push(` ------------------------- `+l+" : "+l+` ------------------------- -`);let d=[],f=31;c=u==12?c+1:c,u=u<12?u+1:1,[1,3,5,7,8,10,12].includes(u)?f=32:u==2&&(f=29);for(let h=1;h{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(U(cn),U(St))},e.\u0275dir=ze({type:e});let t=e;return t})(),kw=(()=>{let e=class e extends hh{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275dir=ze({type:e,features:[dn]});let t=e;return t})(),ph=new C("NgValueAccessor");var Lw={provide:ph,useExisting:$n(()=>po),multi:!0};function Vw(){let t=ke()?ke().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var jw=new C("CompositionEventMode"),po=(()=>{let e=class e extends hh{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Vw())}writeValue(n){let i=n??"";this.setProperty("value",i)}_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)}};e.\u0275fac=function(i){return new(i||e)(U(cn),U(St),U(jw,8))},e.\u0275dir=ze({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&_e("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[pa([Lw]),dn]});let t=e;return t})();var $w=new C("NgValidators"),Bw=new C("NgAsyncValidators");function gh(t){return t!=null}function mh(t){return Tt(t)?j(t):t}function vh(t){let e={};return t.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function yh(t,e){return e.map(r=>r(t))}function Uw(t){return!t.validate}function Dh(t){return t.map(e=>Uw(e)?e:r=>e.validate(r))}function Hw(t){if(!t)return null;let e=t.filter(gh);return e.length==0?null:function(r){return vh(yh(r,e))}}function Ch(t){return t!=null?Hw(Dh(t)):null}function Gw(t){if(!t)return null;let e=t.filter(gh);return e.length==0?null:function(r){let n=yh(r,e).map(mh);return Oo(n).pipe(O(vh))}}function wh(t){return t!=null?Gw(Dh(t)):null}function sh(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function zw(t){return t._rawValidators}function Ww(t){return t._rawAsyncValidators}function Eu(t){return t?Array.isArray(t)?t:[t]:[]}function fo(t,e){return Array.isArray(t)?t.includes(e):t===e}function ah(t,e){let r=Eu(e);return Eu(t).forEach(i=>{fo(r,i)||r.push(i)}),r}function uh(t,e){return Eu(e).filter(r=>!fo(t,r))}var ho=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=Ch(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=wh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Iu=class extends ho{get formDirective(){return null}get path(){return null}},Er=class extends ho{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},bu=class{constructor(e){this._cd=e}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}},qw={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},ux=k(g({},qw),{"[class.ng-submitted]":"isSubmitted"}),Eh=(()=>{let e=class e extends bu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(U(Er,2))},e.\u0275dir=ze({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&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:[dn]});let t=e;return t})();var Cr="VALID",lo="INVALID",bn="PENDING",wr="DISABLED";function Zw(t){return(go(t)?t.validators:t)||null}function Yw(t){return Array.isArray(t)?Ch(t):t||null}function Qw(t,e){return(go(e)?e.asyncValidators:t)||null}function Kw(t){return Array.isArray(t)?wh(t):t||null}function go(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Mu=class{constructor(e,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(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Cr}get invalid(){return this.status===lo}get pending(){return this.status==bn}get disabled(){return this.status===wr}get enabled(){return this.status!==wr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ah(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ah(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(uh(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(uh(e,this._rawAsyncValidators))}hasValidator(e){return fo(this._rawValidators,e)}hasAsyncValidator(e){return fo(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=bn,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=wr,this.errors=null,this._forEachChild(n=>{n.disable(k(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Cr,this._forEachChild(n=>{n.enable(k(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(k(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cr||this.status===bn)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wr:Cr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=bn,this._hasOwnPendingAsyncValidator=!0;let r=mh(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?wr:this.errors?lo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bn)?bn:this._anyControlsHaveStatus(lo)?lo:Cr}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){go(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Yw(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Kw(this._rawAsyncValidators)}};var Ih=new C("CallSetDisabledState",{providedIn:"root",factory:()=>_u}),_u="always";function Jw(t,e){return[...e.path,t]}function Xw(t,e,r=_u){tE(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),nE(t,e),iE(t,e),rE(t,e),eE(t,e)}function ch(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function eE(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function tE(t,e){let r=zw(t);e.validator!==null?t.setValidators(sh(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Ww(t);e.asyncValidator!==null?t.setAsyncValidators(sh(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();ch(e._rawValidators,i),ch(e._rawAsyncValidators,i)}function nE(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&bh(t,e)})}function rE(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&bh(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function bh(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function iE(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function oE(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function sE(t){return Object.getPrototypeOf(t.constructor)===kw}function aE(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===po?r=o:sE(o)?n=o:i=o}),i||n||r||null}function lh(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function dh(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uE=class extends Mu{constructor(e=null,r,n){super(Zw(r),Qw(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),go(r)&&(r.nonNullable||r.initialValueIsDefault)&&(dh(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){lh(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){lh(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){dh(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var cE={provide:Er,useExisting:$n(()=>Su)},fh=(()=>Promise.resolve())(),Su=(()=>{let e=class e extends Er{constructor(n,i,o,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new uE,this._registered=!1,this.name="",this.update=new H,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=aE(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),oE(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Xw(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()&&this.name}_updateValue(n){fh.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Bi(i);fh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Jw(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(U(Iu,9),U($w,10),U(Bw,10),U(ph,10),U(ln,8),U(Ih,8))},e.\u0275dir=ze({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:[pa([cE]),dn,un]});let t=e;return t})();var lE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var dE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[lE]});let t=e;return t})();var Mh=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ih,useValue:n.callSetDisabledState??_u}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[dE]});let t=e;return t})();var _h=(()=>{let e=class e{constructor(n){this.homeService=n,this.inputData=`1/11/20 : 500 + 3,000 + 240 - 2/11/20 : 83 + 2,436.52 + 129 - 3/11/20 : 4,649 - 4/11/20 : - 5/11/20 : - 6/11/20 : 590 - 7/11/20 : - 8/11/20 : - 9/11/20 : - 10/11/20 : - 11/11/20 : - 12/11/20 : 220 - 13/11/20 : - 14/11/20 : - 15/11/20 : - 16/11/20 : 3,034 + 4,479 - 17/11/20 : - 18/11/20 : - 19/11/20 : 3,479 - 20/11/20 : - 21/11/20 : - 22/11/20 : - 23/11/20 : - 24/11/20 : - 25/11/20 : - 26/11/20 : - 27/11/20 : 49 - 28/11/20 : - 29/11/20 : - 30/11/20 : `,this.newMonth="",this.monthlyTotal="",this.generateButtonClicked=!1}ngOnInit(){}generate(){this.generateButtonClicked=!0,this.homeService.calculateFunct(this.inputData),this.newMonth=this.homeService.newMonth,this.monthlyTotal=this.homeService.monthlyTotal}copyFunc(n){this.generateButtonClicked?n==="new"?this.homeService.copyText(this.newMonth):n==="total"&&this.homeService.copyText(this.monthlyTotal):alert("Click Generate then Copy !!")}};e.\u0275fac=function(i){return new(i||e)(U(oh))},e.\u0275cmp=an({type:e,selectors:[["app-home"]],decls:13,vars:3,consts:[[2,"display","flex"],["name","","id","","cols","30","rows","31",3,"ngModel","ngModelChange"],[2,"width","50px"],["name","","id","","cols","40","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"margin-left","20px","width","150px","height","50px",3,"click"],["name","","id","monthlyTotal","cols","25","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"width","100px","height","50px","margin-top","100px",3,"click"]],template:function(i,o){i&1&&(Ze(0,"div",0)(1,"textarea",1),_e("ngModelChange",function(a){return o.inputData=a}),Pe(),Ye(2,"p",2),Ze(3,"textarea",3),_e("ngModelChange",function(a){return o.monthlyTotal=a}),Pe(),Ze(4,"button",4),_e("click",function(){return o.copyFunc("total")}),Fi(5,"Copy Monthly Total"),Pe(),Ye(6,"p",2),Ze(7,"textarea",5),_e("ngModelChange",function(a){return o.newMonth=a}),Pe(),Ze(8,"button",4),_e("click",function(){return o.copyFunc("new")}),Fi(9,"Copy New Month"),Pe(),Ye(10,"p",2),Pe(),Ze(11,"button",6),_e("click",function(){return o.generate()}),Fi(12,"Generate"),Pe()),i&2&&(Oi(1),Zn("ngModel",o.inputData),Oi(2),Zn("ngModel",o.monthlyTotal),Oi(4),Zn("ngModel",o.newMonth))},dependencies:[po,Eh,Su]});let t=e;return t})();var hE=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"home",component:_h}],Sh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[wu.forRoot(hE),wu]});let t=e;return t})();var Th=(()=>{let e=class e{constructor(){this.title="js-monthly-calculator"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=an({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,o){i&1&&Ye(0,"router-outlet")},dependencies:[pu]});let t=e;return t})();var xh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e,bootstrap:[Th]}),e.\u0275inj=ee({imports:[gf,Sh,Mh]});let t=e;return t})();var Ah={production:!1};Ah.production&&void 0;pf().bootstrapModule(xh).catch(t=>console.error(t)); diff --git a/browser/polyfills-LZBJRJJE.js b/browser/polyfills-LZBJRJJE.js deleted file mode 100644 index 57d4c33..0000000 --- a/browser/polyfills-LZBJRJJE.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.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 t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}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}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("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},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)}); diff --git a/browser/favicon.ico b/favicon.ico similarity index 100% rename from browser/favicon.ico rename to favicon.ico diff --git a/browser/index.html b/index.html similarity index 53% rename from browser/index.html rename to index.html index 29b22e4..9f7f6c9 100644 --- a/browser/index.html +++ b/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/main.93e98de3f7215bd8.js b/main.93e98de3f7215bd8.js new file mode 100644 index 0000000..4f4f38f --- /dev/null +++ b/main.93e98de3f7215bd8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkjs_monthly_calculator=self.webpackChunkjs_monthly_calculator||[]).push([[179],{16:()=>{let ve=null,Dr=1;function fe(e){const t=ve;return ve=e,t}function lp(e){if((!Go(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Dr)){if(!e.producerMustRecompute(e)&&!cl(e))return e.dirty=!1,void(e.lastCleanEpoch=Dr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Dr}}function cl(e){Cr(e);for(let t=0;t0}function Cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let vp=null;function ae(e){return"function"==typeof e}function hl(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 pl=hl(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 gl(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class at{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ae(r))try{r()}catch(i){t=i instanceof pl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{wp(i)}catch(s){t=t??[],s instanceof pl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wp(t);else{if(t instanceof at){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&gl(n,t)}remove(t){const{_finalizers:n}=this;n&&gl(n,t),t instanceof at&&t._removeParent(this)}}at.EMPTY=(()=>{const e=new at;return e.closed=!0,e})();const Cp=at.EMPTY;function _p(e){return e instanceof at||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function wp(e){ae(e)?e():e.unsubscribe()}const qn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ts={setTimeout(e,t,...n){const{delegate:r}=Ts;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Ts;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ep(e){Ts.setTimeout(()=>{const{onUnhandledError:t}=qn;if(!t)throw e;t(e)})}function ml(){}const gb=vl("C",void 0,void 0);function vl(e,t,n){return{kind:e,value:t,error:n}}let Wn=null;function As(e){if(qn.useDeprecatedSynchronousErrorHandling){const t=!Wn;if(t&&(Wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Wn;if(Wn=null,n)throw r}}else e()}class yl extends at{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_p(t)&&t.add(this)):this.destination=wb}static create(t,n,r){return new zo(t,n,r)}next(t){this.isStopped?Cl(function vb(e){return vl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Cl(function mb(e){return vl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Cl(gb,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 Db=Function.prototype.bind;function Dl(e,t){return Db.call(e,t)}class Cb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ns(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ns(r)}else Ns(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ns(n)}}}class zo extends yl{constructor(t,n,r){let o;if(super(),ae(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&qn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Dl(t.next,i),error:t.error&&Dl(t.error,i),complete:t.complete&&Dl(t.complete,i)}):o=t}this.destination=new Cb(o)}}function Ns(e){qn.useDeprecatedSynchronousErrorHandling?function yb(e){qn.useDeprecatedSynchronousErrorHandling&&Wn&&(Wn.errorThrown=!0,Wn.error=e)}(e):Ep(e)}function Cl(e,t){const{onStoppedNotification:n}=qn;n&&Ts.setTimeout(()=>n(e,t))}const wb={closed:!0,next:ml,error:function _b(e){throw e},complete:ml},_l="function"==typeof Symbol&&Symbol.observable||"@@observable";function En(e){return e}function Ip(e){return 0===e.length?En:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let _e=(()=>{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 bb(e){return e&&e instanceof yl||function Ib(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}(e)&&_p(e)}(n)?n:new zo(n,r,o);return As(()=>{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=bp(r))((o,i)=>{const s=new zo({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[_l](){return this}pipe(...n){return Ip(n)(this)}toPromise(n){return new(n=bp(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function bp(e){var t;return null!==(t=e??qn.Promise)&&void 0!==t?t:Promise}const Mb=hl(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let It=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Mp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Mb}next(n){As(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){As(()=>{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(){As(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Cp:(this.currentObservers=null,i.push(n),new at(()=>{this.currentObservers=null,gl(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new Mp(t,n),e})();class Mp extends It{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:Cp}}function Sp(e){return ae(e?.lift)}function Se(e){return t=>{if(Sp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function we(e,t,n,r,o){return new Sb(e,t,n,r,o)}class Sb extends yl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function K(e,t){return Se((n,r)=>{let o=0;n.subscribe(we(r,i=>{r.next(e.call(t,i,o++))}))})}function In(e){return this instanceof In?(this.v=e,this):new In(e)}function Rp(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 bl(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,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Op=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function xp(e){return ae(e?.then)}function Fp(e){return ae(e[_l])}function Pp(e){return Symbol.asyncIterator&&ae(e?.[Symbol.asyncIterator])}function kp(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 Lp=function Qb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Vp(e){return ae(e?.[Lp])}function jp(e){return function Np(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof In?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),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 In(n.read());if(o)return yield In(void 0);yield yield In(r)}}finally{n.releaseLock()}})}function $p(e){return ae(e?.getReader)}function ut(e){if(e instanceof _e)return e;if(null!=e){if(Fp(e))return function Yb(e){return new _e(t=>{const n=e[_l]();if(ae(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Op(e))return function Kb(e){return new _e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ep)})}(e);if(Pp(e))return Up(e);if(Vp(e))return function Jb(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($p(e))return function eM(e){return Up(jp(e))}(e)}throw kp(e)}function Up(e){return new _e(t=>{(function tM(e,t){var n,r,o,i;return function Tp(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Rp(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 an(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 je(e,t,n=1/0){return ae(t)?je((r,o)=>K((i,s)=>t(r,i,o,s))(ut(e(r,o))),n):("number"==typeof t&&(n=t),Se((r,o)=>function nM(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let y=!1;ut(n(g,c++)).subscribe(we(t,C=>{o?.(C),i?h(C):t.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&lp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(we(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function _r(e=1/0){return je(En,e)}const jt=new _e(e=>e.complete());function Ml(e){return e[e.length-1]}function Bp(e){return ae(Ml(e))?e.pop():void 0}function qo(e){return function oM(e){return e&&ae(e.schedule)}(Ml(e))?e.pop():void 0}function Hp(e,t=0){return Se((n,r)=>{n.subscribe(we(r,o=>an(r,e,()=>r.next(o),t),()=>an(r,e,()=>r.complete(),t),o=>an(r,e,()=>r.error(o),t)))})}function Gp(e,t=0){return Se((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zp(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{an(n,t,()=>{const r=e[Symbol.asyncIterator]();an(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Te(e,t){return t?function dM(e,t){if(null!=e){if(Fp(e))return function sM(e,t){return ut(e).pipe(Gp(t),Hp(t))}(e,t);if(Op(e))return function uM(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(xp(e))return function aM(e,t){return ut(e).pipe(Gp(t),Hp(t))}(e,t);if(Pp(e))return zp(e,t);if(Vp(e))return function lM(e,t){return new _e(n=>{let r;return an(n,t,()=>{r=e[Lp](),an(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)}),()=>ae(r?.return)&&r.return()})}(e,t);if($p(e))return function cM(e,t){return zp(jp(e),t)}(e,t)}throw kp(e)}(e,t):ut(e)}class vt extends It{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 O(...e){return Te(e,qo(e))}function Sl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new zo({next:()=>{r.unsubscribe(),e()}});return ut(t(...n)).subscribe(r)}function bt(e,t){return Se((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(we(r,u=>{o?.unsubscribe();let l=0;const c=i++;ut(e(u,c)).subscribe(o=we(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gM(e,t){return e===t}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function Rs(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ee).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 Tl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const mM=Z({__forward_ref__:Z});function te(e){return e.__forward_ref__=te,e.toString=function(){return Ee(this())},e}function A(e){return Os(e)?e():e}function Os(e){return"function"==typeof e&&e.hasOwnProperty(mM)&&e.__forward_ref__===te}function Al(e){return e&&!!e.\u0275providers}class D extends Error{constructor(t,n){super(function wr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const Wo=Z({\u0275cmp:Z}),Nl=Z({\u0275dir:Z}),Rl=Z({\u0275pipe:Z}),Wp=Z({\u0275mod:Z}),un=Z({\u0275fac:Z}),Zo=Z({__NG_ELEMENT_ID__:Z}),Zp=Z({__NG_ENV_ID__:Z});function z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function F(e){return"string"==typeof e?e:null==e?"":String(e)}(e)}function Ol(e,t){throw new D(-201,!1)}function et(e,t){null==e&&function N(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xs(e){return Qp(e,Ps)||Qp(e,Yp)}function Qp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Fs(e){return e&&(e.hasOwnProperty(xl)||e.hasOwnProperty(bM))?e[xl]:null}const Ps=Z({\u0275prov:Z}),xl=Z({\u0275inj:Z}),Yp=Z({ngInjectableDef:Z}),bM=Z({ngInjectorDef:Z});var B=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}(B||{});let Fl;function Kp(){return Fl}function tt(e){const t=Fl;return Fl=e,t}function Xp(e,t,n){const r=xs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void Ol(Ee(e))}const ne=globalThis;class I{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qo={},jl="__NG_DI_FLAG__",ks="ngTempTokenPath",TM=/\n/gm,eg="__source";let Er;function Mn(e){const t=Er;return Er=e,t}function RM(e,t=B.Default){if(void 0===Er)throw new D(-203,!1);return null===Er?Xp(e,void 0,t):Er.get(e,t&B.Optional?null:void 0,t)}function T(e,t=B.Default){return(Kp()||RM)(A(e),t)}function E(e,t=B.Default){return T(e,Ls(t))}function Ls(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $l(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ng(h,l,0)||2&r&&l!==f){if(Tt(r))return!1;s=!0}}}}else{if(!s&&!Tt(r)&&!Tt(u))return!1;if(s&&Tt(u))continue;s=!1,r=u|1&r}}return Tt(r)||s}function Tt(e){return 0==(1&e)}function VM(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&&!Tt(s)&&(t+=lg(i,o),o=""),r=s,i=i||!Tt(r);n++}return""!==o&&(t+=lg(i,o)),t}function js(e){return ln(()=>{const t=dg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};fg(n);const r=e.dependencies;return n.directiveDefs=$s(r,!1),n.pipeDefs=$s(r,!0),n.id=function QM(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 qM(e){return $(e)||Ae(e)}function WM(e){return null!==e}function Ut(e){return ln(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cg(e,t){if(null==e)return $t;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 x(e){return ln(()=>{const t=dg(e);return fg(t),t})}function $(e){return e[Wo]||null}function Ae(e){return e[Nl]||null}function Le(e){return e[Rl]||null}function $e(e,t){const n=e[Wp]||null;if(!n&&!0===t)throw new Error(`Type ${Ee(e)} does not have '\u0275mod' property.`);return n}function dg(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||$t,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cg(e.inputs,t),outputs:cg(e.outputs),debugInfo:null}}function fg(e){e.features?.forEach(t=>t(e))}function $s(e,t){if(!e)return null;const n=t?Le:qM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(WM)}const he=0,w=1,S=2,le=3,At=4,Ue=5,Nt=6,Ir=7,re=8,qe=9,br=10,P=11,Xo=12,hg=13,Mr=14,de=15,Jo=16,Sr=17,Bt=18,ei=19,pg=20,Tn=21,Us=22,Zn=23,k=25,Bl=1,Ht=7,Tr=9,ye=10;var Ar=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Ar||{});function Ve(e){return Array.isArray(e)&&"object"==typeof e[Bl]}function Fe(e){return Array.isArray(e)&&!0===e[Bl]}function Hl(e){return 0!=(4&e.flags)}function Qn(e){return e.componentOffset>-1}function Hs(e){return 1==(1&e.flags)}function Rt(e){return!!e.template}function Gl(e){return 0!=(512&e[S])}function Yn(e,t){return e.hasOwnProperty(un)?e[un]:null}class JM{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yt(){return yg}function yg(e){return e.type.prototype.ngOnChanges&&(e.setInput=tS),eS}function eS(){const e=Cg(this),t=e?.current;if(t){const n=e.previous;if(n===$t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function tS(e,t,n,r){const o=this.declaredInputs[n],i=Cg(e)||function nS(e,t){return e[Dg]=t}(e,{previous:$t,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new JM(u&&u.currentValue,t,a===$t),e[r]=t}yt.ngInherit=!0;const Dg="__ngSimpleChanges__";function Cg(e){return e[Dg]||null}const Gt=function(e,t,n){};function oe(e){for(;Array.isArray(e);)e=e[he];return e}function We(e,t){return oe(t[e.index])}function ri(e,t){return e.data[t]}function ct(e,t){const n=t[e];return Ve(n)?n:n[he]}function Ql(e){return 128==(128&e[S])}function zt(e,t){return null==t?null:e[t]}function Eg(e){e[Sr]=0}function aS(e){1024&e[S]||(e[S]|=1024,Ql(e)&&Gs(e))}function bg(e){return 9216&e[S]||e[Zn]?.dirty}function Mg(e){bg(e)&&Gs(e)}function Gs(e){let t=e[le];for(;null!==t&&!(Fe(t)&&t[S]&Ar.HasChildViewsToRefresh||Ve(t)&&8192&t[S]);){if(Fe(t))t[S]|=Ar.HasChildViewsToRefresh;else if(t[S]|=8192,!Ql(t))break;t=t[le]}}function zs(e,t){if(256==(256&e[S]))throw new D(911,!1);null===e[Tn]&&(e[Tn]=[]),e[Tn].push(t)}const R={lFrame:kg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Tg(){return R.bindingsEnabled}function m(){return R.lFrame.lView}function H(){return R.lFrame.tView}function X(){let e=Ag();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ag(){return R.lFrame.currentTNode}function qt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Kl(){return R.lFrame.isParent}function CS(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jl(t)}function Jl(e){R.lFrame.currentDirectiveIndex=e}function tc(e){R.lFrame.currentQueryIndex=e}function wS(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Ue]:null}function Fg(e,t,n){if(n&B.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&B.Host||(o=wS(i),null===o||(i=i[Mr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=Pg();return r.currentTNode=t,r.lView=e,!0}function nc(e){const t=Pg(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pg(){const e=R.lFrame,t=null===e?null:e.child;return null===t?kg(e):t}function kg(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 Lg(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Vg=Lg;function rc(){const e=Lg();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 Be(){return R.lFrame.selectedIndex}function Kn(e){R.lFrame.selectedIndex=e}let $g=!0;function qs(){return $g}function An(e){$g=e}function Ws(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Sr]+=65536),(a>14>16&&(3&e[S])===t&&(e[S]+=16384,Bg(a,i)):Bg(a,i)}const Or=-1;class ii{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function sc(e){return e!==Or}function si(e){return 32767&e}function ai(e,t){let n=function FS(e){return e>>16}(e),r=t;for(;n>0;)r=r[Mr],n--;return r}let ac=!0;function Ys(e){const t=ac;return ac=e,t}const Hg=255,Gg=5;let PS=0;const Zt={};function Ks(e,t){const n=zg(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,uc(r.data,e),uc(t,null),uc(r.blueprint,null));const o=Xs(e,t),i=e.injectorIndex;if(sc(o)){const s=si(o),a=ai(o,t),u=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function uc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Xg(o),null===r)return Or;if(n++,o=o[Mr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Or}function lc(e,t,n){!function kS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zo)&&(r=n[Zo]),null==r&&(r=n[Zo]=PS++);const o=r&Hg;t.data[e+(o>>Gg)]|=1<=0?t&Hg:$S:t}(n);if("function"==typeof i){if(!Fg(t,e,r))return r&B.Host?qg(o,0,r):Wg(t,n,r,o);try{let s;if(s=i(r),null!=s||r&B.Optional)return s;Ol()}finally{Vg()}}else if("number"==typeof i){let s=null,a=zg(e,t),u=Or,l=r&B.Host?t[de][Ue]:null;for((-1===a||r&B.SkipSelf)&&(u=-1===a?Xs(e,t):t[a+8],u!==Or&&Kg(r,!1)?(s=t[w],a=si(u),t=ai(u,t)):a=-1);-1!==a;){const c=t[w];if(Yg(i,a,c.data)){const d=VS(a,t,n,s,r,l);if(d!==Zt)return d}u=t[a+8],u!==Or&&Kg(r,t[w].data[a+8]===l)&&Yg(i,a,t)?(s=c,a=si(u),t=ai(u,t)):a=-1}}return o}function VS(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],c=function Js(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Rt(h)&&h.type===n)return u}return null}(a,s,n,null==r?Qn(a)&&ac:r!=s&&0!=(3&a.type),o&B.Host&&i===a);return null!==c?Xn(t,s,c,a):Zt}function Xn(e,t,n,r){let o=e[n];const i=t.data;if(function NS(e){return e instanceof ii}(o)){const s=o;s.resolving&&function yM(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(z(i[n]));const a=Ys(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?tt(s.injectImpl):null;Fg(e,r,B.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function TS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=yg(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!==l&&tt(l),Ys(a),s.resolving=!1,Vg()}}return o}function Yg(e,t,n){return!!(n[t+(e>>Gg)]&1<{const t=e.prototype.constructor,n=t[un]||cc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[un]||cc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function cc(e){return Os(e)?()=>{const t=cc(A(e));return t&&t()}:Yn(e)}function Xg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[Ue]:null}const kr="__parameters__";function Vr(e,t,n){return ln(()=>{const r=function dc(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(u,l,c){const d=u.hasOwnProperty(kr)?u[kr]:Object.defineProperty(u,kr,{value:[]})[kr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function $r(e,t){e.forEach(n=>Array.isArray(n)?$r(n,t):t(n))}function em(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ta(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dt(e,t,n){let r=Ur(e,t);return r>=0?e[1|r]=n:(r=~r,function tm(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 hc(e,t){const n=Ur(e,t);if(n>=0)return e[1|n]}function Ur(e,t){return function nm(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<{n.push(s)};return $r(t,s=>{const a=s;aa(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&lm(o,i),n}function lm(e,t){for(let n=0;n{t(i,r)})}}function aa(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=Fs(e);const s=!i&&$(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Fs(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)aa(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{$r(i.imports,c=>{aa(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&lm(l,t)}if(!a){const l=Yn(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:mc,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>T(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;vc(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function vc(e,t){for(let n of e)Al(n)&&(n=n.\u0275providers),Array.isArray(n)?vc(n,t):t(n)}const d0=Z({provide:String,useValue:Z});function yc(e){return null!==e&&"object"==typeof e&&d0 in e}function Jn(e){return"function"==typeof e}const Dc=new I("Set Injector scope."),ua={},h0={};let Cc;function la(){return void 0===Cc&&(Cc=new sa),Cc}class Dt{}class Gr extends Dt{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,wc(t,s=>this.processProvider(s)),this.records.set(sm,zr(void 0,this)),o.has("environment")&&this.records.set(Dt,zr(void 0,this));const i=this.records.get(Dc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(mc,G,B.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=Mn(this),r=tt(void 0);try{return t()}finally{Mn(n),tt(r)}}get(t,n=Qo,r=B.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Zp))return t[Zp](this);r=Ls(r);const i=Mn(this),s=tt(void 0);try{if(!(r&B.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function y0(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&xs(t);u=l&&this.injectableDefInScope(l)?zr(_c(t),ua):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&B.Self?la():this.parent).get(t,n=r&B.Optional&&n===Qo?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ks]=a[ks]||[]).unshift(Ee(t)),i)throw a;return function xM(e,t,n,r){const o=e[ks];throw t[eg]&&o.unshift(t[eg]),e.message=function FM(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ee(t);if(Array.isArray(t))o=t.map(Ee).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):Ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(TM,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ks]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tt(s),Mn(i)}}resolveInjectorInitializers(){const t=Mn(this),n=tt(void 0);try{const o=this.get(Hr,G,B.Self);for(const i of o)i()}finally{Mn(t),tt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ee(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Jn(t=A(t))?t:A(t&&t.provide);const r=function g0(e){return yc(e)?zr(void 0,e.useValue):zr(fm(e),ua)}(t);if(Jn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=zr(void 0,ua,!0),o.factory=()=>$l(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ua&&(n.value=h0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function v0(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=A(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 _c(e){const t=xs(e),n=null!==t?t.factory:Yn(e);if(null!==n)return n;if(e instanceof I)throw new D(204,!1);if(e instanceof Function)return function p0(e){const t=e.length;if(t>0)throw function li(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new D(204,!1)}function fm(e,t,n){let r;if(Jn(e)){const o=A(e);return Yn(o)||_c(o)}if(yc(e))r=()=>A(e.useValue);else if(function dm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...$l(e.deps||[]));else if(function cm(e){return!(!e||!e.useExisting)}(e))r=()=>T(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function m0(e){return!!e.deps}(e))return Yn(o)||_c(o);r=()=>new o(...$l(e.deps))}return r}function zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):n&&Al(n)?wc(n.\u0275providers,t):t(n)}function er(e,t){e instanceof Gr&&e.assertNotDestroyed();const r=Mn(e),o=tt(void 0);try{return t()}finally{Mn(r),tt(o)}}function mm(e,t=null,n=null,r){const o=vm(e,t,n,r);return o.resolveInjectorInitializers(),o}function vm(e,t=null,n=null,r,o=new Set){const i=[n||G,c0(e)];return r=r||("object"==typeof e?void 0:Ee(e)),new Gr(i,t||la(),r||null,o)}let bc,ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qo;static#t=this.NULL=new sa;static create(n,r){if(Array.isArray(n))return mm({name:""},r,n,"");{const o=n.name??"";return mm({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=M({token:e,providedIn:"any",factory:()=>T(sm)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const da=new I("AppId",{providedIn:"root",factory:()=>S0}),S0="ng",Dm=new I("Platform Initializer"),qr=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Cm=new I("CSP nonce",{providedIn:"root",factory:()=>function Rn(){if(void 0!==bc)return bc;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function ft(e){return e instanceof Function?e():e}function ga(e){return 128==(128&e.flags)}var Fn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Fn||{});const Nc=new Map;let $0=0;const Oc="__ngContext__";function He(e,t){Ve(t)?(e[Oc]=t[ei],function B0(e){Nc.set(e[ei],e)}(t)):e[Oc]=t}let xc;function Fc(e,t){return xc(e,t)}function gi(e){const t=e[le];return Fe(t)?t[le]:t}function Vm(e){return $m(e[Xo])}function jm(e){return $m(e[At])}function $m(e){for(;null!==e&&!Fe(e);)e=e[At];return e}function Zr(e,t,n,r,o){if(null!=r){let i,s=!1;Fe(r)?i=r:Ve(r)&&(s=!0,r=r[he]);const a=oe(r);0===e&&null!==n?null==o?Gm(t,n,a):tr(t,n,a,o||null,!0):1===e&&null!==n?tr(t,n,a,o||null,!0):2===e?function wa(e,t,n){const r=Ca(e,t);r&&function aT(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function cT(e,t,n,r,o){const i=n[Ht];i!==oe(n)&&Zr(t,e,r,i,o);for(let a=ye;a0&&(e[n-1][At]=r[At]);const i=ta(e,ye+t);!function J0(e,t){yi(e,t,t[P],2,null,null),t[he]=null,t[Ue]=null}(r[w],r);const s=i[Bt];null!==s&&s.detachView(i[w]),r[le]=null,r[At]=null,r[S]&=-129}return r}function Da(e,t){if(!(256&t[S])){const n=t[P];n.destroyNode&&yi(e,t,n,3,null,null),function nT(e){let t=e[Xo];if(!t)return kc(e[w],e);for(;t;){let n=null;if(Ve(t))n=t[Xo];else{const r=t[ye];r&&(n=r)}if(!n){for(;t&&!t[At]&&t!==e;)Ve(t)&&kc(t[w],t),t=t[le];null===t&&(t=e),Ve(t)&&kc(t[w],t),n=t&&t[At]}t=n}}(t)}}function kc(e,t){if(!(256&t[S])){t[S]&=-129,t[S]|=256,t[Zn]&&function pp(e){if(Cr(e),Go(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Ir]=null);const o=t[Tn];if(null!==o){t[Tn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===St.None||i===St.Emulated)return null}return We(r,n)}}(e,t.parent,n)}function tr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gm(e,t,n){e.appendChild(t,n)}function zm(e,t,n,r,o){null!==r?tr(e,t,n,r,o):Gm(e,t,n)}function Ca(e,t){return e.parentNode(t)}let Vc,Zm=function Wm(e,t,n){return 40&e.type?We(e,n):null};function _a(e,t,n,r){const o=Lc(e,r,t),i=t[P],a=function qm(e,t,n){return Zm(e,t,n)}(r.parent||t[Ue],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;unull;function ed(e,t,n=!1){return pv(e,t,n)}class qT{}class vv{}class ZT{resolveComponentFactory(t){throw function WT(e){const t=Error(`No component factory found for ${Ee(e)}.`);return t.ngComponent=e,t}(t)}}let Ra=(()=>{class e{static#e=this.NULL=new ZT}return e})();function QT(){return Jr(X(),m())}function Jr(e,t){return new ht(We(e,t))}let ht=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=QT}return e})();class Dv{}let hn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function KT(){const e=m(),n=ct(X().index,e);return(Ve(n)?n:e)[P]}()}return e})(),XT=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();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 JT=new Ii("17.0.7"),rd={};function Mi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(oe(i)),Fe(i)&&Sv(i,r);const s=n.type;if(8&s)Mi(e,t,n.child,r);else if(32&s){const a=Fc(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Ym(t,n);if(Array.isArray(a))r.push(...a);else{const u=gi(t[de]);Mi(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Sv(e,t){for(let n=ye;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Gs(e.lView)},consumerOnSignalRead(){this.lView[Zn]=this}};function id(e){return e.ngOriginalError}class pn{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&&id(t);for(;n&&id(n);)n=id(n);return n||null}}const Nv=new I("",{providedIn:"root",factory:()=>E(pn).handleError.bind(void 0)}),Ov=new I("",{providedIn:"root",factory:()=>!1}),L={};function Pa(e){kv(H(),m(),Be()+e,!1)}function kv(e,t,n,r){if(!r)if(3==(3&t[S])){const i=e.preOrderCheckHooks;null!==i&&Zs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Qs(t,i,0,n)}Kn(n)}function _(e,t=B.Default){const n=m();return null===n?T(e,t):Zg(X(),n,A(e),t)}function ka(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[he]=o,d[S]=140|r,(null!==l||e&&2048&e[S])&&(d[S]|=2048),Eg(d),d[le]=d[Mr]=e,d[re]=n,d[br]=s||e&&e[br],d[P]=a||e&&e[P],d[qe]=u||e&&e[qe]||null,d[Ue]=i,d[ei]=function U0(){return $0++}(),d[Nt]=c,d[pg]=l,d[de]=2==t.type?e[de]:d,d}function eo(e,t,n,r,o){let i=e.data[t];if(null===i)i=function sd(e,t,n,r,o){const i=Ag(),s=Kl(),u=e.data[t]=function MA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Rr(){return null!==R.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=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function DS(){return R.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function oi(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return qt(i,!0),i}function Si(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ik&&kv(e,t,k,!1),Gt(s?2:0,o),n(r,o)}finally{Kn(i),Gt(s?3:1,o)}}function ad(e,t,n){if(Hl(t)){const r=fe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Uv(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Bv(n,t,o,i):r.hasOwnProperty(o)&&Bv(n,t,r[o],i)}return n}function Bv(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Hv(e,t,n,r,o,i){for(let l=0;l0;){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,Si(e,n,o.hostVars,L),o)}function UA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function fA(e){e.lView[Zn]!==e&&(e.lView=null,Tv.push(e))}(a)),rc()}}function Kv(e,t){for(let n=Vm(e);null!==n;n=jm(n)){n[S]&=~Ar.HasChildViewsToRefresh;for(let r=ye;r-1&&(mi(t,r),ta(n,r))}this._attachedToViewContainer=!1}Da(this._lView[w],this._lView)}onDestroy(t){zs(this._lView,t)}markForCheck(){Ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[S]&=-129}reattach(){Mg(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,function md(e,t=!0){const n=e[br],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{!function GA(e){vd(e,0);let t=0;for(;bg(e);){if(100===t)throw new D(103,!1);t++,vd(e,1)}}(e)}catch(s){throw t&&Va(e,s),s}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function tT(e,t){yi(e,t,t[P],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}let Ni=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=QA}return e})();function QA(e){return function YA(e,t,n){if(Qn(e)&&!n){const r=ct(e.index,t);return new Ai(r,r)}return 47&e.type?new Ai(t[de],t):null}(X(),m(),16==(16&e))}let ja=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=eN;static#t=this.__NG_ENV_ID__=n=>n}return e})();class JA extends ja{constructor(t){super(),this._lView=t}onDestroy(t){return zs(this._lView,t),()=>function Yl(e,t){if(null===e[Tn])return;const n=e[Tn].indexOf(t);-1!==n&&e[Tn].splice(n,1)}(this._lView,t)}}function eN(){return new JA(m())}const ey=new Set;function nr(e){ey.has(e)||(ey.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function yd(e){return t=>{setTimeout(e,void 0,t)}}const pe=class aN extends It{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 u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=yd(i),o&&(o=yd(o)),s&&(s=yd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof at&&t.add(a),a}};function ty(...e){}class Q{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new D(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 uN(){const e="function"==typeof ne.requestAnimationFrame;let t=ne[e?"requestAnimationFrame":"setTimeout"],n=ne[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 dN(e){const t=()=>{!function cN(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Cd(e),e.isCheckStableRunning=!0,Dd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Cd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function hN(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 ny(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),ry(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ny(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ry(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Cd(e),Dd(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(!Q.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Q.isInAngularZone())throw new D(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,lN,ty,ty);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 lN={};function Dd(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 Cd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ny(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ry(e){e._nesting--,Dd(e)}class fN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}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 oy=new I("",{providedIn:"root",factory:iy});function iy(){const e=E(Q);let t=!0;return function fM(...e){const t=qo(e),n=function iM(e,t){return"number"==typeof Ml(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?ut(r[0]):_r(n)(Te(r,t)):jt}(new _e(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new _e(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Q.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(function hM(e={}){const{connector:t=(()=>new It),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Se((g,y)=>{l++,!d&&!c&&f();const C=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Sl(p,o))}),C.subscribe(y),!s&&l>0&&(s=new zo({next:v=>C.next(v),error:v=>{d=!0,f(),a=Sl(h,n,v),C.error(v)},complete:()=>{c=!0,f(),a=Sl(h,r),C.complete()}}),ut(g).subscribe(s))})(i)}}()))}var rr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(rr||{});const sy={destroy(){}};function uy(e,t){!t&&function Ec(e){if(!Kp()&&!function NM(){return Er}())throw new D(-203,!1)}();const n=t?.injector??E(ot);if(!function On(e){return"browser"===(e??E(ot)).get(qr)}(n))return sy;nr("NgAfterNextRender");const r=n.get($a),o=r.handler??=new cy,i=t?.phase??rr.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(ja).onDestroy(s),u=new ly(n,i,()=>{s(),e()});return o.register(u),{destroy:s}}class ly{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Q),this.errorHandler=t.get(pn,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class cy{constructor(){this.executingCallbacks=!1,this.buckets={[rr.EarlyRead]:new Set,[rr.Write]:new Set,[rr.MixedReadWrite]:new Set,[rr.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new D(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let $a=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})();function mN(e,t){const n=ct(t,e),r=n[w];!function vN(e,t){for(let n=t.length;n0&&Jm(e,n,i.join(" "))}}(d,me,h,r),void 0!==n&&function SN(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=Ko(o.hostAttrs,n=Ko(n,o.hostAttrs))}}(r)}function Ba(e){return e===$t?{}:e===G?[]:e}function NN(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function RN(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function ON(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ie(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ga(e,t){return e<<17|t<<2}function kn(e){return e>>17&32767}function wd(e){return 2|e}function ir(e){return(131068&e)>>2}function Ed(e,t){return-131069&e|t<<2}function Id(e){return 1|e}function Sy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?kn(i):ir(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];HN(e[a],t)&&(u=!0,e[a+1]=r?Id(c):wd(c)),a=r?kn(c):ir(c)}u&&(e[n+1]=r?wd(i):Id(i))}function HN(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ur(e,t)>=0}function xi(e,t,n){const r=m();return Ie(r,function Wt(){return R.lFrame.bindingIndex++}(),t)&&function pt(e,t,n,r,o,i,s,a){const u=We(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(gd(e,n,c,r,o),Qn(t)&&function AA(e,t){const n=ct(t,e);16&n[S]||(n[S]|=64)}(n,t.index)):3&t.type&&(r=function TA(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(u,r,o))}(H(),function ue(){const e=R.lFrame;return ri(e.tView,e.selectedIndex)}(),r,e,t,r[P],n,!1),xi}function bd(e,t,n,r,o){const s=o?"class":"style";gd(e,n,t.inputs[s],s,r)}function za(e,t){return function Ot(e,t,n,r){const o=m(),i=H(),s=function dn(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function ky(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Be()],s=function Py(e,t){return t>=e.expandoStartIndex}(e,n);(function $y(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function XN(e,t,n,r){const o=function ec(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Fi(n=Md(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Md(o,e,t,n,r),null===i){let u=function JN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ir(r))return e[kn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Md(null,e,t,u[1],r),u=Fi(u,t.attrs,r),function eR(e,t,n,r){e[kn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function tR(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=kn(e[a+1]);e[r+1]=Ga(f,a),0!==f&&(e[f+1]=Ed(e[f+1],r)),e[a+1]=function jN(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ga(a,0),0!==a&&(e[a+1]=Ed(e[a+1],r)),a=r;else e[r+1]=Ga(u,0),0===a?a=r:e[u+1]=Ed(e[u+1],r),u=r;l&&(e[r+1]=wd(e[r+1])),Sy(e,c,r,!0),Sy(e,c,r,!1),function BN(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ur(i,t)>=0&&(n[r+1]=Id(n[r+1]))}(t,c,e,r,i),s=Ga(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==L&&Ie(o,s,t)&&function Vy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function $N(e){return 1==(1&e)}(l)?jy(u,t,n,o,ir(l),s):void 0;qa(c)||(qa(i)||function VN(e){return 2==(2&e)}(l)&&(i=jy(u,null,n,o,a,s)),function dT(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Fn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fn.Important),e.setStyle(n,r,o,i))}}(r,s,function ni(e,t){return oe(t[e])}(Be(),n),o,i))}(i,i.data[Be()],o,o[P],e,o[s+1]=function iR(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ee(function Pn(e){return e instanceof ov?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),za}function Md(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 u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===L&&(f=d?G:void 0);let h=d?hc(f,r):c===r?f:void 0;if(l&&!qa(h)&&(h=hc(u,r)),qa(h)&&(a=h,s))return a;const p=e[o+1];o=s?kn(p):ir(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=hc(u,r))}return a}function qa(e){return void 0!==e}function ho(e,t){return!t||null===t.firstChild||ga(e)}function $i(e,t,n,r=!0){const o=t[w];if(function rT(e,t,n,r){const o=ye+r,i=n.length;r>0&&(n[o-1][At]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=jR}return e})();function jR(){return function Jy(e,t){let n;const r=t[e.index];return Fe(r)?n=r:(n=function qv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}(r,t,null,e),t[e.index]=n,La(t,n)),eD(n,t,e,r),new Ky(n,e,t)}(X(),m())}const $R=Ft,Ky=class extends $R{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jr(this._hostTNode,this._hostLView)}get injector(){return new Ne(this._hostTNode,this._hostLView)}get parentInjector(){const t=Xs(this._hostTNode,this._hostLView);if(sc(t)){const n=ai(t,this._hostLView),r=si(t);return new Ne(n[w].data[r+8],n)}return new Ne(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ye}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,ho(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function ui(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new Ri($(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(Dt,null);g&&(i=g)}$(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,ho(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function sS(e){return Fe(e[le])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[le],l=new Ky(u,u[Ue],u[le]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return $i(s,o,i,r),t.attachToViewContainerRef(),em(Pd(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Xy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);r&&(ta(Pd(this._lContainer),n),Da(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);return r&&null!=ta(Pd(this._lContainer),n)?new Ai(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xy(e){return e[8]}function Pd(e){return e[8]||(e[8]=[])}let eD=function nD(e,t,n,r){if(e[Ht])return;let o;o=8&n.type?oe(r):function UR(e,t){const n=e[P],r=n.createComment(""),o=We(t,e);return tr(n,Ca(n,o),r,function uT(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ht]=o};function mn(e,t,n,r){const o=m(),i=H(),s=k+e,a=o[P],u=i.firstCreatePass?function FO(e,t,n,r,o,i){const s=t.consts,u=eo(t,e,2,r,zt(s,o));return function dd(e,t,n,r){if(Tg()){const o=null===r?null:{"":-1},i=function PA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i(An(!0),ya(r,o,function jg(){return R.lFrame.currentNamespace}()));const _o="en-US";let FD=_o;function Yi(e){return!!e&&"function"==typeof e.then}function iC(e){return!!e&&"function"==typeof e.subscribe}function ke(e,t,n,r){const o=m(),i=H(),s=X();return function aC(e,t,n,r,o,i,s){const a=Hs(r),l=e.firstCreatePass&&function Qv(e){return e.cleanup||(e.cleanup=[])}(e),c=t[re],d=function Zv(e){return e[Ir]||(e[Ir]=[])}(t);let f=!0;if(3&r.type||s){const g=We(r,t),y=s?s(g):g,C=d.length,v=s?V=>s(oe(V[r.index])):r.index;let b=null;if(!s&&a&&(b=function Lx(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=i,b.__ngLastListenerFn__=i,f=!1;else{i=lC(r,t,c,i,!1);const V=n.listen(y,o,i);d.push(i,V),l&&l.push(o,v,C,C+1)}}else i=lC(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?ct(e.index,t):t);let u=uC(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=uC(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function su(e,t=""){const n=m(),r=H(),o=e+k,i=r.firstCreatePass?eo(r,o,1,t,null):r.data[o],s=TC(r,n,i,t,e);n[o]=s,qs()&&_a(r,n,s,i),qt(i,!1)}let TC=(e,t,n,r,o)=>(An(!0),function va(e,t){return e.createText(t)}(t[P],r));function Jd(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i>20;if(Jn(e)||!e.multi){const h=new ii(l,o,_),p=tf(u,t,o?c:c+f,d);-1===p?(lc(Ks(a,s),i,u),ef(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=tf(u,t,c+f,d),p=tf(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){lc(Ks(a,s),i,u);const C=function oF(e,t,n,r,o){const i=new ii(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,VC(i,o,r&&!n),i}(o?rF:nF,n.length,o,r,l);!o&&y&&(n[p].providerFactory=C),ef(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else ef(i,e,h>-1?h:p,VC(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function ef(e,t,n,r){const o=Jn(t),i=function f0(e){return!!e.useClass}(t);if(o||i){const u=(i?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function VC(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function tF(e,t,n){const r=H();if(r.firstCreatePass){const o=Rt(e);Jd(n,r.data,r.blueprint,o,!0),Jd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class lr{}class jC{}class rf extends lr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dy(this);const o=$e(t);this._bootstrapComponents=ft(o.bootstrap),this._r3Injector=vm(t,n,[{provide:lr,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...r],Ee(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 sf extends jC{constructor(t){super(),this.moduleType=t}create(t){return new rf(this.moduleType,t,[])}}class $C extends lr{constructor(t){super(),this.componentFactoryResolver=new dy(this),this.instance=null;const n=new Gr([...t.providers,{provide:lr,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver}],t.parent||la(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function af(e,t,n=null){return new $C({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let aF=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=um(0,n.type),o=r.length>0?af([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(T(Dt))})}return e})();function UC(e){nr("NgStandalone"),e.getStandaloneInjector=t=>t.get(aF).getOrCreateStandaloneInjector(e)}Symbol;let E_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),I_=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new vt(!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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class pP{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let b_=(()=>{class e{compileModuleSync(n){return new sf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=ft($e(n).declarations).reduce((s,a)=>{const u=$(a);return u&&s.push(new Ri(u)),s},[]);return new pP(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const N_=new I(""),fu=new I("");let wf,Cf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wf||(function jP(e){wf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Q.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(T(Q),T(_f),T(fu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),_f=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return wf?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Ef=new I("Application Initializer");let If=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=E(Ef,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Yi(i))n.push(i);else if(iC(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bf=new I("appBootstrapListener");function x_(e,t){return Array.isArray(t)?t.reduce(x_,e):{...e,...t}}let Io=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Nv),this.zoneIsStable=E(oy),this.componentTypes=[],this.components=[],this.isStable=E(I_).hasPendingTasks.pipe(bt(n=>n?O(!1):this.zoneIsStable),function pM(e,t=En){return e=e??gM,Se((n,r)=>{let o,i=!0;n.subscribe(we(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}()),this._injector=E(Dt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof vv;if(!this._injector.get(If).done)throw!o&&function Sn(e){const t=$(e)||Ae(e)||Le(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=o?n:this._injector.get(Ra).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function UP(e){return e.isBoundToModule}(s)?void 0:this._injector.get(lr),l=s.create(ot.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(N_,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),hu(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(bf,[]);[...this._bootstrapListeners,...r].forEach(o=>o(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),()=>hu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let HP=(()=>{class e{constructor(){this.zone=E(Q),this.applicationRef=E(Io)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GP(){const e=E(Q),t=E(pn);return n=>e.runOutsideAngular(()=>t.handleError(n))}const yn=new I("LocaleId",{providedIn:"root",factory:()=>E(yn,B.Optional|B.SkipSelf)||function qP(){return typeof $localize<"u"&&$localize.locale||_o}()}),Mf=new I("PlatformDestroyListeners");let L_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function pN(e="zone.js",t){return"noop"===e?new fN:"zone.js"===e?new Q(t):e}(r?.ngZone,function k_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function sF(e,t,n){return new rf(e,t,n)}(n.moduleType,this.injector,function P_(e){return[{provide:Q,useFactory:e},{provide:Hr,multi:!0,useFactory:()=>{const t=E(HP,{optional:!0});return()=>t.initialize()}},{provide:Nv,useFactory:GP},{provide:oy,useFactory:iy}]}(()=>o)),s=i.injector.get(pn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{hu(this._modules,i),a.unsubscribe()})}),function O_(e,t,n){try{const r=n();return Yi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(If);return a.runInitializers(),a.donePromise.then(()=>(function PD(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(FD=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(yn,_o)||_o),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=x_({},r);return function $P(e,t,n){const r=new sf(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Io);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Mf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(T(ot))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Vn=null;const V_=new I("AllowMultipleToken");function j_(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=Sf();if(!s||s.injector.get(V_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function QP(e){if(Vn&&!Vn.get(V_,!1))throw new D(400,!1);(function R_(){!function db(e){vp=e}(()=>{throw new D(600,!1)})})(),Vn=e;const t=e.get(L_);(function U_(e){e.get(Dm,null)?.forEach(n=>n())})(e)}(function $_(e=[],t){return ot.create({name:t,providers:[{provide:Dc,useValue:"platform"},{provide:Mf,useValue:new Set([()=>Vn=null])},...e]})}(a,r))}return function YP(e){const t=Sf();if(!t)throw new D(401,!1);return t}()}}function Sf(){return Vn?.get(L_)??null}const n1=j_(null,"core",[]);let r1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(T(Io))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({})}return e})();let kf=null;function jn(){return kf}class R1{}const gt=new I("DocumentToken");let Lf=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(x1),providedIn:"platform"})}return e})();const O1=new I("Location Initialized");let x1=(()=>{class e extends Lf{constructor(){super(),this._doc=E(gt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jn().getBaseHref(this._doc)}onPopState(n){const r=jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Vf(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function cw(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Dn(e){return e&&"?"!==e[0]?"?"+e:e}let dr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(fw),providedIn:"root"})}return e})();const dw=new I("appBaseHref");let fw=(()=>{class e extends dr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??E(gt).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 Vf(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Lf),T(dw,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),F1=(()=>{class e extends dr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Vf(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Lf),T(dw,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),rs=(()=>{class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function L1(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(cw(hw(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Dn(r))}normalize(n){return e.stripTrailingSlash(function k1(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,hw(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=Dn;static#t=this.joinWithSlash=Vf;static#n=this.stripTrailingSlash=cw;static#r=this.\u0275fac=function(r){return new(r||e)(T(dr))};static#o=this.\u0275prov=M({token:e,factory:()=>function P1(){return new rs(T(dr))}(),providedIn:"root"})}return e})();function hw(e){return e.replace(/\/index.html$/,"")}let Jk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({})}return e})();function Aw(e){return"server"===e}let rL=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new oL(T(gt),window)})}return e})();class oL{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function iL(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class AL extends R1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class th extends AL{static makeCurrent(){!function N1(e){kf||(kf=e)}(new th)}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 NL(){return as=as||document.querySelector("base"),as?as.getAttribute("href"):null}();return null==n?null:function RL(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){as=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function _k(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 as=null,xL=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const nh=new I("EventManagerPlugins");let xw=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(T(nh),T(Q))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class Fw{constructor(t){this._doc=t}}const rh="ng-app-id";let Pw=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Aw(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${rh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(rh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(rh,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(T(gt),T(da),T(Cm,8),T(qr))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const oh={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/"},ih=/%COMP%/g,LL=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Lw(e,t){return t.map(n=>n.replace(ih,e))}let Vw=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Aw(a),this.defaultRenderer=new sh(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===St.ShadowDom&&(r={...r,encapsulation:St.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof $w?o.applyToHost(n):o instanceof ah&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case St.Emulated:i=new $w(u,l,r,this.appId,c,s,a,d);break;case St.ShadowDom:return new UL(u,l,n,r,s,a,this.nonce,d);default:i=new ah(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(T(xw),T(Pw),T(da),T(LL),T(gt),T(qr),T(Q),T(Cm))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class sh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(oh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(jw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(jw(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 D(-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=oh[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=oh[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&(Fn.DashCase|Fn.Important)?t.style.setProperty(n,r,o&Fn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Fn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=jn().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 jw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class UL extends sh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Lw(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,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 ah extends sh{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Lw(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $w extends ah{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function VL(e){return"_ngcontent-%COMP%".replace(ih,e)}(l),this.hostAttr=function jL(e){return"_nghost-%COMP%".replace(ih,e)}(l)}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 BL=(()=>{class e extends Fw{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(T(gt))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const Uw=["alt","control","meta","shift"],HL={"\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"},GL={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let zL=(()=>{class e extends Fw{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Uw.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=HL[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Uw.forEach(s=>{s!==o&&(0,GL[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(T(gt))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const QL=j_(n1,"browser",[{provide:qr,useValue:"browser"},{provide:Dm,useValue:function qL(){th.makeCurrent()},multi:!0},{provide:gt,useFactory:function ZL(){return function M0(e){bc=e}(document),document},deps:[]}]),YL=new I(""),Gw=[{provide:fu,useClass:class OL{addToWindow(t){ne.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new D(5103,!1);return i},ne.getAllAngularTestabilities=()=>t.getAllTestabilities(),ne.getAllAngularRootElements=()=>t.getAllRootElements(),ne.frameworkStabilizers||(ne.frameworkStabilizers=[]),ne.frameworkStabilizers.push(r=>{const o=ne.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?jn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:N_,useClass:Cf,deps:[Q,_f,fu]},{provide:Cf,useClass:Cf,deps:[Q,_f,fu]}],zw=[{provide:Dc,useValue:"root"},{provide:pn,useFactory:function WL(){return new pn},deps:[]},{provide:nh,useClass:BL,multi:!0,deps:[gt,Q,qr]},{provide:nh,useClass:zL,multi:!0,deps:[gt]},Vw,Pw,xw,{provide:Dv,useExisting:Vw},{provide:class sL{},useClass:xL,deps:[]},[]];let KL=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:da,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(T(YL,12))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({providers:[...zw,...Gw],imports:[Jk,r1]})}return e})(),qw=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(T(gt))};static#t=this.\u0275prov=M({token:e,factory:function(r){let o=null;return o=r?new r:function JL(){return new qw(T(gt))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:iV}=Array,{getPrototypeOf:sV,prototype:aV,keys:uV}=Object;function Yw(e){if(1===e.length){const t=e[0];if(iV(t))return{args:t,keys:null};if(function lV(e){return e&&"object"==typeof e&&sV(e)===aV}(t)){const n=uV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:cV}=Array;function Kw(e){return K(t=>function dV(e,t){return cV(t)?e(...t):e(t)}(e,t))}function Xw(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function lh(...e){const t=qo(e),n=Bp(e),{args:r,keys:o}=Yw(e);if(0===r.length)return Te([],t);const i=new _e(function fV(e,t,n=En){return r=>{Jw(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Te(e[u],t);let c=!1;l.subscribe(we(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>Xw(o,s):En));return n?i.pipe(Kw(n)):i}function Jw(e,t,n){e?an(n,e,t):t()}const Fu=hl(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ch(...e){return function hV(){return _r(1)}()(Te(e,qo(e)))}function eE(e){return new _e(t=>{ut(e()).subscribe(t)})}function Pu(e,t){const n=ae(e)?e:()=>e,r=o=>o.error(n());return new _e(t?o=>t.schedule(r,0,o):r)}function dh(){return Se((e,t)=>{let n=null;e._refCount++;const r=we(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class tE extends _e{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Sp(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 at;const n=this.getSubject();t.add(this.source.subscribe(we(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=at.EMPTY)}return t}refCount(){return dh()(this)}}function To(e){return e<=0?()=>jt:Se((t,n)=>{let r=0;t.subscribe(we(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Un(e,t){return Se((n,r)=>{let o=0;n.subscribe(we(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ku(e){return Se((t,n)=>{let r=!1;t.subscribe(we(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function nE(e=gV){return Se((t,n)=>{let r=!1;t.subscribe(we(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function gV(){return new Fu}function fr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Un((o,i)=>e(o,i,r)):En,To(1),n?ku(t):nE(()=>new Fu))}function us(e,t){return ae(t)?je(e,t,1):je(e,1)}function Ge(e,t,n){const r=ae(e)||t||n?{next:e,error:t,complete:n}:e;return r?Se((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(we(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):En}function Ao(e){return Se((t,n)=>{let i,r=null,o=!1;r=t.subscribe(we(n,void 0,void 0,s=>{i=ut(e(s,Ao(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fh(e){return e<=0?()=>jt:Se((t,n)=>{let r=[];t.subscribe(we(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function hh(e){return Se((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const j="primary",ls=Symbol("RouteTitle");class _V{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function No(e){return new _V(e)}function wV(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function oE(e){return e.length>0?e[e.length-1]:null}function Bn(e){return function oV(e){return!!e&&(e instanceof _e||ae(e.lift)&&ae(e.subscribe))}(e)?e:Yi(e)?Te(Promise.resolve(e)):O(e)}const IV={exact:function aE(e,t,n){if(!hr(e.segments,t.segments)||!Lu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!aE(e.children[r],t.children[r],n))return!1;return!0},subset:uE},iE={exact:function bV(e,t){return tn(e,t)},subset:function MV(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>rE(e[n],t[n]))},ignored:()=>!0};function sE(e,t,n){return IV[n.paths](e.root,t.root,n.matrixParams)&&iE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function uE(e,t,n){return lE(e,t,t.segments,n)}function lE(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!hr(o,n)||t.hasChildren()||!Lu(o,n,r))}if(e.segments.length===n.length){if(!hr(e.segments,n)||!Lu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!uE(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(hr(e.segments,o)&&Lu(e.segments,o,r)&&e.children[j])&&lE(e.children[j],t,i,r)}}function Lu(e,t,n){return t.every((r,o)=>iE[n](e[o].parameters,r.parameters))}class Ro{constructor(t=new J([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return AV.serialize(this)}}class J{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vu(this)}}class cs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=No(this.parameters)),this._parameterMap}toString(){return fE(this)}}function hr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let Oo=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>new gh,providedIn:"root"})}return e})();class gh{parse(t){const n=new $V(t);return new Ro(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${ds(t.root,!0)}`,r=function OV(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${ju(n)}=${ju(o)}`).join("&"):`${ju(n)}=${ju(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function NV(e){return encodeURI(e)}(t.fragment)}`:""}`}}const AV=new gh;function Vu(e){return e.segments.map(t=>fE(t)).join("/")}function ds(e,t){if(!e.hasChildren())return Vu(e);if(t){const n=e.children[j]?ds(e.children[j],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==j&&r.push(`${o}:${ds(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function TV(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===j&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==j&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===j?[ds(e.children[j],!1)]:[`${o}:${ds(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[j]?`${Vu(e)}/${n[0]}`:`${Vu(e)}/(${n.join("//")})`}}function cE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ju(e){return cE(e).replace(/%3B/gi,";")}function mh(e){return cE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $u(e){return decodeURIComponent(e)}function dE(e){return $u(e.replace(/\+/g,"%20"))}function fE(e){return`${mh(e.path)}${function RV(e){return Object.keys(e).map(t=>`;${mh(t)}=${mh(e[t])}`).join("")}(e.parameters)}`}const xV=/^[^\/()?;#]+/;function vh(e){const t=e.match(xV);return t?t[0]:""}const FV=/^[^\/()?;=#]+/,kV=/^[^=?&#]+/,VV=/^[^&#]+/;class $V{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[j]=new J(t,n)),r}parseSegment(){const t=vh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new cs($u(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function PV(e){const t=e.match(FV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=vh(this.remaining);o&&(r=o,this.capture(r))}t[$u(n)]=$u(r)}parseQueryParam(t){const n=function LV(e){const t=e.match(kV);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function jV(e){const t=e.match(VV);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=dE(n),i=dE(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=vh(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=j);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[j]:new J([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}}function hE(e){return e.segments.length>0?new J([],{[j]:e}):e}function pE(e){const t={};for(const r of Object.keys(e.children)){const i=pE(e.children[r]);if(r===j&&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[r]=i)}return function UV(e){if(1===e.numberOfChildren&&e.children[j]){const t=e.children[j];return new J(e.segments.concat(t.segments),t.children)}return e}(new J(e.segments,t))}function pr(e){return e instanceof Ro}function gE(e){let t;const o=hE(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new J(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function mE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return yh(o,o,o,n,r);const i=function HV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new yE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new yE(n,t,r)}(t);if(i.toRoot())return yh(o,o,new J([],{}),n,r);const s=function GV(e,t,n){if(e.isAbsolute)return new Bu(t,!0,0);if(!n)return new Bu(t,!1,NaN);if(null===n.parent)return new Bu(n,!0,0);const r=Uu(e.commands[0])?0:1;return function zV(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new Bu(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?hs(s.segmentGroup,s.index,i.commands):DE(s.segmentGroup,s.index,i.commands);return yh(o,s.segmentGroup,a,n,r)}function Uu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function fs(e){return"object"==typeof e&&null!=e&&e.outlets}function yh(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:vE(e,t,n);const a=hE(pE(s));return new Ro(a,i,o)}function vE(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:vE(i,t,n)}),new J(e.segments,r)}class yE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Uu(r[0]))throw new D(4003,!1);const o=r.find(fs);if(o&&o!==oE(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bu{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function DE(e,t,n){if(e||(e=new J([],{})),0===e.segments.length&&e.hasChildren())return hs(e,t,n);const r=function WV(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(fs(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!_E(u,l,s))return i;r+=2}else{if(!_E(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==j)&&e.children[j]&&1===e.numberOfChildren&&0===e.children[j].segments.length){const i=hs(e.children[j],t,n);return new J(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=DE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new J(e.segments,o)}}function Dh(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Dh(new J([],{}),0,r))}),t}function CE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function _E(e,t,n){return e==n.path&&tn(t,n.parameters)}const ps="imperative";class nn{constructor(t,n){this.id=t,this.url=n}}class Hu extends nn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wn extends nn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class xo extends nn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fo extends nn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Gu extends nn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wE extends nn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class QV extends nn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class YV extends nn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class KV extends nn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class XV extends nn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JV{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class e2{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class t2{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class n2{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class r2{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class o2{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class EE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ch{}class _h{constructor(t){this.url=t}}class i2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gs,this.attachRef=null}}let gs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new i2,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class IE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=wh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=wh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Eh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Eh(t,this._root).map(n=>n.value)}}function wh(e,t){if(e===t.value)return t;for(const n of t.children){const r=wh(e,n);if(r)return r}return null}function Eh(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Eh(e,n);if(r.length)return r.unshift(t),r}return[]}class Lt{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Po(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class bE extends IE{constructor(t,n){super(t),this.snapshot=n,Mh(this,t)}toString(){return this.snapshot.toString()}}function ME(e,t){const n=function s2(e,t){const s=new bh([],{},{},"",{},j,t,null,{});return new SE("",new Lt(s,[]))}(0,t),r=new vt([new cs("",{})]),o=new vt({}),i=new vt({}),s=new vt({}),a=new vt(""),u=new ko(r,o,s,a,i,j,t,n.root);return u.snapshot=n.root,new bE(new Lt(u,[]),n)}class ko{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(K(l=>l[ls]))??O(void 0),this.url=t,this.params=n,this.queryParams=r,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(K(t=>No(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(t=>No(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ih(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:e.params,data:e.data,resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&AE(o)&&(r.resolve[ls]=o.title),r}class bh{get title(){return this.data?.[ls]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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=No(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class SE extends IE{constructor(t,n){super(n),this.url=t,Mh(this,n)}toString(){return TE(this._root)}}function Mh(e,t){t.value._routerState=e,t.children.forEach(n=>Mh(e,n))}function TE(e){const t=e.children.length>0?` { ${e.children.map(TE).join(", ")} } `:"";return`${e.value}${t}`}function Sh(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,tn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),tn(t.params,n.params)||e.paramsSubject.next(n.params),function EV(e,t){if(e.length!==t.length)return!1;for(let n=0;ntn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Th(e.parent,t.parent))}function AE(e){return"string"==typeof e.title||null===e.title}let Ah=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=j,this.activateEvents=new pe,this.deactivateEvents=new pe,this.attachEvents=new pe,this.detachEvents=new pe,this.parentContexts=E(gs),this.location=E(Ft),this.changeDetector=E(Ni),this.environmentInjector=E(Dt),this.inputBinder=E(zu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),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 D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.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,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new a2(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=x({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]})}return e})();class a2{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===ko?this.route:t===gs?this.childContexts:this.parent.get(t,n)}}const zu=new I("");let NE=(()=>{class e{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:r}=n,o=lh([r.queryParams,r.params,r.data]).pipe(bt(([i,s,a],u)=>(a={...i,...s,...a},0===u?O(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function A1(e){const t=$(e);if(!t)return null;const n=new Ri(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function ms(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function l2(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ms(e,r,o);return ms(e,r)})}(e,t,n);return new Lt(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ms(e,a)),s}}const r=function c2(e){return new ko(new vt(e.url),new vt(e.params),new vt(e.queryParams),new vt(e.fragment),new vt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>ms(e,i));return new Lt(r,o)}}const Nh="ngNavigationCancelingError";function RE(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=pr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=OE(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function OE(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Nh]=!0,r.cancellationCode=t,n&&(r.url=n),r}function xE(e){return e&&e[Nh]}let FE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=js({type:e,selectors:[["ng-component"]],standalone:!0,features:[UC],decls:1,vars:0,template:function(r,o){1&r&&ar(0,"router-outlet")},dependencies:[Ah],encapsulation:2})}return e})();function Rh(e){const t=e.children&&e.children.map(Rh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==j&&(n.component=FE),n}function rn(e){return e.outlet||j}function vs(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class y2{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Sh(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Po(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Po(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Po(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=Po(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new o2(i.value.snapshot))}),t.children.length&&this.forwardEvent(new n2(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Sh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Sh(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=vs(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,r)}}class PE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class qu{constructor(t,n){this.component=t,this.route=n}}function D2(e,t,n){const r=e._root;return ys(r,t?t._root:null,n,[r.value])}function Lo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function EM(e){return null!==xs(e)}(e)?t.get(e):e:r}function ys(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Po(t);return e.children.forEach(s=>{(function _2(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function w2(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!hr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!hr(e.url,t.url)||!tn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Th(e,t)||!tn(e.queryParams,t.queryParams);default:return!Th(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new PE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),ys(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new qu(a.outlet.component,s))}else s&&Ds(t,a,o),o.canActivateChecks.push(new PE(r)),ys(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ds(a,n.getContext(s),o)),o}function Ds(e,t,n){const r=Po(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ds(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new qu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Cs(e){return"function"==typeof e}function kE(e){return e instanceof Fu||"EmptyError"===e?.name}const Wu=Symbol("INITIAL_VALUE");function Vo(){return bt(e=>lh(e.map(t=>t.pipe(To(1),function pV(...e){const t=qo(e);return Se((n,r)=>{(t?ch(e,n,t):ch(e,n)).subscribe(r)})}(Wu)))).pipe(K(t=>{for(const n of t)if(!0!==n){if(n===Wu)return Wu;if(!1===n||n instanceof Ro)return n}return!0}),Un(t=>t!==Wu),To(1)))}function LE(e){return function Eb(...e){return Ip(e)}(Ge(t=>{if(pr(t))throw RE(0,t)}),K(t=>!0===t))}class Oh{constructor(t){this.segmentGroup=t||null}}class xh extends Error{constructor(t){super(),this.urlTree=t}}function jo(e){return Pu(new Oh(e))}class B2{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return O(r);if(o.numberOfChildren>1||!o.children[j])return Pu(new D(4e3,!1));o=o.children[j]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new xh(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Ro(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new J(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function H2(e,t,n,r,o){const i=Ph(e,t,n);return i.matched?(r=function f2(e,t){return e.providers&&!e._injector&&(e._injector=af(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function j2(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?O(o.map(s=>{const a=Lo(s,e);return Bn(function T2(e){return e&&Cs(e.canMatch)}(a)?a.canMatch(t,n):er(e,()=>a(t,n)))})).pipe(Vo(),LE()):O(!0)}(r,t,n).pipe(K(s=>!0===s?i:{...Fh}))):O(i)}function Ph(e,t,n){if("**"===t.path)return function G2(e){return{matched:!0,parameters:e.length>0?oE(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Fh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||wV)(n,e,t);if(!o)return{...Fh};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function VE(e,t,n,r){return n.length>0&&function W2(e,t,n){return n.some(r=>Zu(e,t,r)&&rn(r)!==j)}(e,n,r)?{segmentGroup:new J(t,q2(r,new J(n,e.children))),slicedSegments:[]}:0===n.length&&function Z2(e,t,n){return n.some(r=>Zu(e,t,r))}(e,n,r)?{segmentGroup:new J(e.segments,z2(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new J(e.segments,e.children),slicedSegments:n}}function z2(e,t,n,r,o){const i={};for(const s of r)if(Zu(e,n,s)&&!o[rn(s)]){const a=new J([],{});i[rn(s)]=a}return{...o,...i}}function q2(e,t){const n={};n[j]=t;for(const r of e)if(""===r.path&&rn(r)!==j){const o=new J([],{});n[rn(r)]=o}return n}function Zu(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class K2{}class ej{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new B2(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){const t=VE(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(K(n=>{const r=new bh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},j,this.rootComponentType,null,{}),o=new Lt(r,n),i=new SE("",o),s=function BV(e,t,n=null,r=null){return mE(gE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,j).pipe(Ao(r=>{if(r instanceof xh)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Oh?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Ih(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(K(i=>i instanceof Lt?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Te(o).pipe(us(i=>{const s=r.children[i],a=function m2(e,t){const n=e.filter(r=>rn(r)===t);return n.push(...e.filter(r=>rn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function vV(e,t){return Se(function mV(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(we(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),ku(null),function yV(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Un((o,i)=>e(o,i,r)):En,fh(1),n?ku(t):nE(()=>new Fu))}(),je(i=>{if(null===i)return jo(r);const s=jE(i);return function tj(e){e.sort((t,n)=>t.value.outlet===j?-1:n.value.outlet===j?1:t.value.outlet.localeCompare(n.value.outlet))}(s),O(s)}))}processSegment(t,n,r,o,i,s){return Te(n).pipe(us(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Ao(u=>{if(u instanceof Oh)return O(null);throw u}))),fr(a=>!!a),Ao(a=>{if(kE(a))return function Y2(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?O(new K2):jo(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function Q2(e,t,n,r){return!!(rn(e)===r||r!==j&&Zu(t,n,e))&&Ph(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):jo(o):jo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=Ph(n,o,i);if(!a)return jo(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return this.applyRedirects.lineralizeSegments(o,d).pipe(je(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=H2(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(bt(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(bt(({routes:u})=>{const l=r._loadedInjector??t,{consumedSegments:c,remainingSegments:d,parameters:f}=a,h=new bh(c,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function rj(e){return e.data||{}}(r),rn(r),r.component??r._loadedComponent??null,r,function oj(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:g}=VE(n,c,d,u);if(0===g.length&&p.hasChildren())return this.processChildren(l,u,p).pipe(K(C=>null===C?null:new Lt(h,C)));if(0===u.length&&0===g.length)return O(new Lt(h,[]));const y=rn(r)===i;return this.processSegment(l,u,p,g,y?j:i,!0).pipe(K(C=>new Lt(h,C instanceof Lt?[C]:[])))})):jo(n)))}getChildConfig(t,n,r){return n.children?O({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?O({routes:n._loadedRoutes,injector:n._loadedInjector}):function V2(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?O(!0):O(o.map(s=>{const a=Lo(s,e);return Bn(function I2(e){return e&&Cs(e.canLoad)}(a)?a.canLoad(t,n):er(e,()=>a(t,n)))})).pipe(Vo(),LE())}(t,n,r).pipe(je(o=>o?this.configLoader.loadChildren(t,n).pipe(Ge(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function U2(e){return Pu(OE(!1,3))}())):O({routes:[],injector:t})}}function nj(e){const t=e.value.routeConfig;return t&&""===t.path}function jE(e){const t=[],n=new Set;for(const r of e){if(!nj(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=jE(r.children);t.push(new Lt(r.value,o))}return t.filter(r=>!n.has(r))}function $E(e){const t=e.children.map(n=>$E(n)).flat();return[e,...t]}function kh(e){return bt(t=>{const n=e(t);return n?Te(n).pipe(K(()=>t)):O(t)})}let UE=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===j);return r}getResolvedTitleForRoute(n){return n.data[ls]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(cj),providedIn:"root"})}return e})(),cj=(()=>{class e extends UE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(T(qw))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $o=new I("",{providedIn:"root",factory:()=>({})}),Uo=new I("ROUTES");let Lh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(b_)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return O(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Bn(n.loadComponent()).pipe(K(BE),Ge(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),hh(()=>{this.componentLoaders.delete(n)})),o=new tE(r,()=>new It).pipe(dh());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return O({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function dj(e,t,n,r){return Bn(e.loadChildren()).pipe(K(BE),je(o=>o instanceof jC||Array.isArray(o)?O(o):Te(t.compileModuleAsync(o))),K(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(Uo,[],{optional:!0,self:!0}).flat()),{routes:s.map(Rh),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(hh(()=>{this.childrenLoaders.delete(r)})),s=new tE(i,()=>new It).pipe(dh());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function BE(e){return function fj(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Vh=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(hj),providedIn:"root"})}return e})(),hj=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const HE=new I(""),GE=new I("");function pj(e,t,n){const r=e.get(GE),o=e.get(gt);return e.get(Q).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),function gj(e){return new Promise(t=>{uy(t,{injector:e})})}(e))),{onViewTransitionCreated:u}=r;return u&&er(e,()=>u({transition:a,from:t,to:n})),s})}let Qu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new It,this.transitionAbortSubject=new It,this.configLoader=E(Lh),this.environmentInjector=E(Dt),this.urlSerializer=E(Oo),this.rootContexts=E(gs),this.location=E(rs),this.inputBindingEnabled=null!==E(zu,{optional:!0}),this.titleStrategy=E(UE),this.options=E($o,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=E(Vh),this.createViewTransition=E(HE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new e2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new JV(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new vt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ps,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Un(i=>0!==i.id),K(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),bt(i=>{this.currentTransition=i;let s=!1,a=!1;return O(i).pipe(Ge(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),bt(u=>{const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new Fo(u.id,this.urlSerializer.serialize(u.rawUrl),d,0)),u.resolve(null),jt}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return O(u).pipe(bt(d=>{const f=this.transitions?.getValue();return this.events.next(new Hu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?jt:Promise.resolve(d)}),function ij(e,t,n,r,o,i){return je(s=>function X2(e,t,n,r,o,i,s="emptyOnly"){return new ej(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(K(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Ge(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new wE(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=u,y=new Hu(d,this.urlSerializer.serialize(f),h,p);this.events.next(y);const C=ME(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:C,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,O(i)}{const d="";return this.events.next(new Fo(u.id,this.urlSerializer.serialize(u.extractedUrl),d,1)),u.resolve(null),jt}}),Ge(u=>{const l=new QV(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),K(u=>(this.currentTransition=i={...u,guards:D2(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function N2(e,t){return je(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?O({...n,guardsResult:!0}):function R2(e,t,n,r){return Te(e).pipe(je(o=>function L2(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?O(i.map(a=>{const u=vs(t)??o,l=Lo(a,u);return Bn(function S2(e){return e&&Cs(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):er(u,()=>l(e,t,n,r))).pipe(fr())})).pipe(Vo()):O(!0)}(o.component,o.route,n,t,r)),fr(o=>!0!==o,!0))}(s,r,o,e).pipe(je(a=>a&&function E2(e){return"boolean"==typeof e}(a)?function O2(e,t,n,r){return Te(t).pipe(us(o=>ch(function F2(e,t){return null!==e&&t&&t(new t2(e)),O(!0)}(o.route.parent,r),function x2(e,t){return null!==e&&t&&t(new r2(e)),O(!0)}(o.route,r),function k2(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function C2(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=>eE(()=>O(s.guards.map(u=>{const l=vs(s.node)??n,c=Lo(u,l);return Bn(function M2(e){return e&&Cs(e.canActivateChild)}(c)?c.canActivateChild(r,e):er(l,()=>c(r,e))).pipe(fr())})).pipe(Vo())));return O(i).pipe(Vo())}(e,o.path,n),function P2(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return O(!0);const o=r.map(i=>eE(()=>{const s=vs(t)??n,a=Lo(i,s);return Bn(function b2(e){return e&&Cs(e.canActivate)}(a)?a.canActivate(t,e):er(s,()=>a(t,e))).pipe(fr())}));return O(o).pipe(Vo())}(e,o.route,n))),fr(o=>!0!==o,!0))}(r,i,e,t):O(a)),K(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),Ge(u=>{if(i.guardsResult=u.guardsResult,pr(u.guardsResult))throw RE(0,u.guardsResult);const l=new YV(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),Un(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),kh(u=>{if(u.guards.canActivateChecks.length)return O(u).pipe(Ge(l=>{const c=new KV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),bt(l=>{let c=!1;return O(l).pipe(function sj(e,t){return je(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return O(n);const i=new Set(o.map(u=>u.route)),s=new Set;for(const u of i)if(!s.has(u))for(const l of $E(u))s.add(l);let a=0;return Te(s).pipe(us(u=>i.has(u)?function aj(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!AE(o)&&(i[ls]=o.title),function uj(e,t,n,r){const o=ph(e);if(0===o.length)return O({});const i={};return Te(o).pipe(je(s=>function lj(e,t,n,r){const o=vs(t)??r,i=Lo(e,o);return Bn(i.resolve?i.resolve(t,n):er(o,()=>i(t,n)))}(e[s],t,n,r).pipe(fr(),Ge(a=>{i[s]=a}))),fh(1),function DV(e){return K(()=>e)}(i),Ao(s=>kE(s)?jt:Pu(s)))}(i,e,t,r).pipe(K(s=>(e._resolvedData=s,e.data=Ih(e,e.parent,n).resolve,null)))}(u,r,e,t):(u.data=Ih(u,u.parent,e).resolve,O(void 0))),Ge(()=>a++),fh(1),je(u=>a===s.size?O(n):jt))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ge({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,"",2)}}))}),Ge(l=>{const c=new XV(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),kh(u=>{const l=c=>{const d=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(Ge(f=>{c.component=f}),K(()=>{})));for(const f of c.children)d.push(...l(f));return d};return lh(l(u.targetSnapshot.root)).pipe(ku(),To(1))}),kh(()=>this.afterPreactivation()),bt(()=>{const{currentSnapshot:u,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return c?Te(c).pipe(K(()=>i)):O(i)}),K(u=>{const l=function u2(e,t,n){const r=ms(e,t._root,n?n._root:void 0);return new bE(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},this.currentNavigation.targetRouterState=l,i}),Ge(()=>{this.events.next(new Ch)}),((e,t,n,r)=>K(o=>(new y2(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),To(1),Ge({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function CV(e){return Se((t,n)=>{ut(e).subscribe(we(n,()=>n.complete(),ml)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(Ge(u=>{throw u}))),hh(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Ao(u=>{if(a=!0,xE(u))this.events.next(new xo(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function d2(e){return xE(e)&&pr(e.url)}(u)?this.events.next(new _h(u.url)):i.resolve(!1);else{this.events.next(new Gu(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(l){i.reject(l)}}return jt}))}))}cancelNavigationTransition(n,r,o){const i=new xo(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mj(e){return e!==ps}let vj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(Dj),providedIn:"root"})}return e})();class yj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Dj=(()=>{class e extends yj{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Pe(e)))(o||e)}})();static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:()=>E(Cj),providedIn:"root"})}return e})(),Cj=(()=>{class e extends zE{constructor(){super(...arguments),this.location=E(rs),this.urlSerializer=E(Oo),this.options=E($o,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=E(Vh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ro,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ME(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Hu)this.stateMemento=this.createStateMemento();else if(n instanceof Fo)this.rawUrlTree=r.initialUrl;else if(n instanceof wE){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Ch?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof xo&&(3===n.code||2===n.code)?this.restoreHistory(r):n instanceof Gu?this.restoreHistory(r,!0):n instanceof wn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Pe(e)))(o||e)}})();static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _s=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(_s||{});function qE(e,t){e.events.pipe(Un(n=>n instanceof wn||n instanceof xo||n instanceof Gu||n instanceof Fo),K(n=>n instanceof wn||n instanceof Fo?_s.COMPLETE:n instanceof xo&&(0===n.code||1===n.code)?_s.REDIRECTING:_s.FAILED),Un(n=>n!==_s.REDIRECTING),To(1)).subscribe(()=>{t()})}function _j(e){throw e}const wj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ej={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=E(E_),this.stateManager=E(zE),this.options=E($o,{optional:!0})||{},this.pendingTasks=E(I_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=E(Qu),this.urlSerializer=E(Oo),this.location=E(rs),this.urlHandlingStrategy=E(Vh),this._events=new It,this.errorHandler=this.options.errorHandler||_j,this.navigated=!1,this.routeReuseStrategy=E(vj),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=E(Uo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!E(zu,{optional:!0}),this.eventsSubscription=new at,this.isNgZoneEnabled=E(Q)instanceof Q&&Q.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof xo&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof wn)this.navigated=!0;else if(r instanceof _h){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mj(o.source)};this.scheduleNavigation(s,ps,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function bj(e){return!(e instanceof Ch||e instanceof _h)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ps,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}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}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=gE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return mE(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=pr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ps,null,r)}navigate(n,r={skipLocationChange:!1}){return function Ij(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return qE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class WE{}let Tj=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Un(n=>n instanceof wn),us(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=af(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Te(o).pipe(_r())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):O(null);const i=o.pipe(je(s=>null===s?O(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Te([i,this.loader.loadComponent(r)]).pipe(_r()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(T(Vt),T(b_),T(Dt),T(WE),T(Lh))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $h=new I("");let ZE=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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 Hu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof wn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Fo&&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 EE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new EE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Lv(){throw new Error("invalid")}()};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function on(e,t){return{\u0275kind:e,\u0275providers:t}}function YE(){const e=E(ot);return t=>{const n=e.get(Io);if(t!==n.components[0])return;const r=e.get(Vt),o=e.get(KE);1===e.get(Uh)&&r.initialNavigation(),e.get(XE,null,B.Optional)?.setUpPreloading(),e.get($h,null,B.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const KE=new I("",{factory:()=>new It}),Uh=new I("",{providedIn:"root",factory:()=>1}),XE=new I("");function Oj(e){return on(0,[{provide:XE,useExisting:Tj},{provide:WE,useExisting:e}])}function Fj(e){return on(9,[{provide:HE,useValue:pj},{provide:GE,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const JE=new I("ROUTER_FORROOT_GUARD"),Pj=[rs,{provide:Oo,useClass:gh},Vt,gs,{provide:ko,useFactory:function QE(e){return e.routerState.root},deps:[Vt]},Lh,[]];let eI=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Pj,[],{provide:Uo,multi:!0,useValue:n},{provide:JE,useFactory:jj,deps:[[Vt,new ra,new oa]]},{provide:$o,useValue:r||{}},r?.useHash?{provide:dr,useClass:F1}:{provide:dr,useClass:fw},{provide:$h,useFactory:()=>{const e=E(rL),t=E(Q),n=E($o),r=E(Qu),o=E(Oo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new ZE(o,r,e,t,n)}},r?.preloadingStrategy?Oj(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?$j(r):[],r?.bindToComponentInputs?on(8,[NE,{provide:zu,useExisting:NE}]).\u0275providers:[],r?.enableViewTransitions?Fj().\u0275providers:[],[{provide:tI,useFactory:YE},{provide:bf,multi:!0,useExisting:tI}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Uo,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(T(JE,8))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({})}return e})();function jj(e){return"guarded"}function $j(e){return["disabled"===e.initialNavigation?on(3,[{provide:Ef,multi:!0,useFactory:()=>{const t=E(Vt);return()=>{t.setUpLocationChangeListener()}}},{provide:Uh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?on(2,[{provide:Uh,useValue:0},{provide:Ef,multi:!0,deps:[ot],useFactory:t=>{const n=t.get(O1,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Vt),i=t.get(KE);qE(o,()=>{r(!0)}),t.get(Qu).afterPreactivation=()=>(r(!0),i.closed?O(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const tI=new I("");let Bj=(()=>{class e{constructor(){this.newMonth="",this.monthlyTotal=""}calculateFunct(n){let r=n.split("\n"),o=[],i=0,s=0,a=parseInt(n.split("\n")[0].split(":")[0].split("/")[1]),u=parseInt(n.split("\n")[0].split(":")[0].split("/")[2]);for(let f of r){let h=0;if(f.match("/")<2){s+=i,i=0,o.push(f);continue}if(f.match(":")>1){h=parseFloat(f.split(" : ")[2].replace(",","")),i+=h,o.push(f);continue}let p=f.split(" : ")[1];if(p.split(" + ").length>1&&""!=p.split(" + ")[0]){for(let y of p.split(" + "))h+=parseFloat(y.replace(",",""));let g=(h+"").replace(".00","");o.push(f+" : "+g),i+=h}else""!=p.split(" + ")[0]?(o.push(f+" : "+p.split(" + ")[0]),i+=parseFloat(p.split(" + ")[0].replace(",",""))):o.push(f);s+=i}let l=(i+"").replace(".00","");o.push("\n------------------------ "+l+" : "+l+" -------------------------\n");let c=[],d=31;u=12==a?u+1:u,a=a<12?a+1:1,[1,3,5,7,8,10,12].includes(a)?d=32:2==a&&(d=29);for(let f=1;f{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(hn),_(ht))};static#t=this.\u0275dir=x({type:e})}return e})(),gr=(()=>{class e extends nI{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Pe(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,features:[Y]})}return e})();const sn=new I("NgValueAccessor"),zj={provide:sn,useExisting:te(()=>Yu),multi:!0},Wj=new I("CompositionEventMode");let Yu=(()=>{class e extends nI{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function qj(){const e=jn()?jn().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)}static#e=this.\u0275fac=function(r){return new(r||e)(_(hn),_(ht),_(Wj,8))};static#t=this.\u0275dir=x({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&&ke("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ce([zj]),Y]})}return e})();const ze=new I("NgValidators"),Gn=new I("NgAsyncValidators");function hI(e){return null!=e}function pI(e){return Yi(e)?Te(e):e}function gI(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function mI(e,t){return t.map(n=>n(e))}function vI(e){return e.map(t=>function Qj(e){return!e.validate}(t)?t:n=>t.validate(n))}function Bh(e){return null!=e?function yI(e){if(!e)return null;const t=e.filter(hI);return 0==t.length?null:function(n){return gI(mI(n,t))}}(vI(e)):null}function Hh(e){return null!=e?function DI(e){if(!e)return null;const t=e.filter(hI);return 0==t.length?null:function(n){return function Hj(...e){const t=Bp(e),{args:n,keys:r}=Yw(e),o=new _e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?Xw(r,a):a),i.complete())}))}});return t?o.pipe(Kw(t)):o}(mI(n,t).map(pI)).pipe(K(gI))}}(vI(e)):null}function CI(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Gh(e){return e?Array.isArray(e)?e:[e]:[]}function Xu(e,t){return Array.isArray(e)?e.includes(t):e===t}function EI(e,t){const n=Gh(t);return Gh(e).forEach(o=>{Xu(n,o)||n.push(o)}),n}function II(e,t){return Gh(t).filter(n=>!Xu(e,n))}class bI{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=Bh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Hh(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 Je extends bI{get formDirective(){return null}get path(){return null}}class zn extends bI{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class MI{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 SI=(()=>{class e extends MI{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(zn,2))};static#t=this.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&za("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:[Y]})}return e})();const ws="VALID",el="INVALID",Bo="PENDING",Es="DISABLED";function tl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class RI{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===ws}get invalid(){return this.status===el}get pending(){return this.status==Bo}get disabled(){return this.status===Es}get enabled(){return this.status!==Es}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(EI(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(EI(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(II(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(II(t,this._rawAsyncValidators))}hasValidator(t){return Xu(this._rawValidators,t)}hasAsyncValidator(t){return Xu(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=Bo,!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=Es,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=ws,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===ws||this.status===Bo)&&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()?Es:ws}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Bo,this._hasOwnPendingAsyncValidator=!0;const n=pI(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 pe,this.statusChanges=new pe}_calculateStatus(){return this._allControlsDisabled()?Es:this.errors?el:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bo)?Bo:this._anyControlsHaveStatus(el)?el:ws}_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){tl(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 e$(e){return Array.isArray(e)?Bh(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function t$(e){return Array.isArray(e)?Hh(e):e||null}(this._rawAsyncValidators)}}const Ho=new I("CallSetDisabledState",{providedIn:"root",factory:()=>nl}),nl="always";function Is(e,t,n=nl){(function Yh(e,t){const n=function _I(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(CI(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function wI(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(CI(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();il(t._rawValidators,o),il(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function o$(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&OI(e,t)})}(e,t),function s$(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 i$(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&OI(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function r$(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function il(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function OI(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function PI(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function kI(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const LI=class extends RI{constructor(t=null,n,r){super(function Wh(e){return(tl(e)?e.validators:e)||null}(n),function Zh(e,t){return(tl(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}),tl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=kI(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){PI(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){PI(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){kI(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}},p$={provide:zn,useExisting:te(()=>tp)},$I=(()=>Promise.resolve())();let tp=(()=>{class e extends zn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new LI,this._registered=!1,this.name="",this.update=new pe,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Jh(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Yu?n=i:function l$(e){return Object.getPrototypeOf(e.constructor)===gr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Xh(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Is(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){$I.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function Mo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);$I.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function rl(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(_(Je,9),_(ze,10),_(Gn,10),_(sn,10),_(Ni,8),_(Ho,8))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([p$]),Y,yt]})}return e})(),BI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({})}return e})(),j$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({imports:[BI]})}return e})(),U$=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ho,useValue:n.callSetDisabledState??nl}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({imports:[j$]})}return e})();const B$=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"home",component:(()=>{class e{constructor(n){this.homeService=n,this.inputData="1/11/20 : 500 + 3,000 + 240\n 2/11/20 : 83 + 2,436.52 + 129\n 3/11/20 : 4,649\n 4/11/20 : \n 5/11/20 : \n 6/11/20 : 590\n 7/11/20 : \n 8/11/20 : \n 9/11/20 : \n 10/11/20 : \n 11/11/20 : \n 12/11/20 : 220\n 13/11/20 : \n 14/11/20 : \n 15/11/20 : \n 16/11/20 : 3,034 + 4,479\n 17/11/20 : \n 18/11/20 : \n 19/11/20 : 3,479\n 20/11/20 : \n 21/11/20 : \n 22/11/20 : \n 23/11/20 : \n 24/11/20 : \n 25/11/20 : \n 26/11/20 : \n 27/11/20 : 49\n 28/11/20 : \n 29/11/20 : \n 30/11/20 : ",this.newMonth="",this.monthlyTotal="",this.generateButtonClicked=!1}ngOnInit(){}generate(){this.generateButtonClicked=!0,this.homeService.calculateFunct(this.inputData),this.newMonth=this.homeService.newMonth,this.monthlyTotal=this.homeService.monthlyTotal}copyFunc(n){this.generateButtonClicked?"new"===n?this.homeService.copyText(this.newMonth):"total"===n&&this.homeService.copyText(this.monthlyTotal):alert("Click Generate then Copy !!")}static#e=this.\u0275fac=function(r){return new(r||e)(_(Bj))};static#t=this.\u0275cmp=js({type:e,selectors:[["app-home"]],decls:13,vars:3,consts:[[2,"display","flex"],["name","","id","","cols","30","rows","31",3,"ngModel","ngModelChange"],[2,"width","50px"],["name","","id","","cols","40","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"margin-left","20px","width","150px","height","50px",3,"click"],["name","","id","monthlyTotal","cols","25","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"width","100px","height","50px","margin-top","100px",3,"click"]],template:function(r,o){1&r&&(mn(0,"div",0)(1,"textarea",1),ke("ngModelChange",function(s){return o.inputData=s}),en(),ar(2,"p",2),mn(3,"textarea",3),ke("ngModelChange",function(s){return o.monthlyTotal=s}),en(),mn(4,"button",4),ke("click",function(){return o.copyFunc("total")}),su(5,"Copy Monthly Total"),en(),ar(6,"p",2),mn(7,"textarea",5),ke("ngModelChange",function(s){return o.newMonth=s}),en(),mn(8,"button",4),ke("click",function(){return o.copyFunc("new")}),su(9,"Copy New Month"),en(),ar(10,"p",2),en(),mn(11,"button",6),ke("click",function(){return o.generate()}),su(12,"Generate"),en()),2&r&&(Pa(1),xi("ngModel",o.inputData),Pa(2),xi("ngModel",o.monthlyTotal),Pa(4),xi("ngModel",o.newMonth))},dependencies:[Yu,SI,tp]})}return e})()}];let H$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Mt({imports:[eI.forRoot(B$),eI]})}return e})(),G$=(()=>{class e{constructor(){this.title="js-monthly-calculator"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=js({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){1&r&&ar(0,"router-outlet")},dependencies:[Ah]})}return e})(),z$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e,bootstrap:[G$]});static#n=this.\u0275inj=Mt({imports:[KL,H$,U$]})}return e})();QL().bootstrapModule(z$).catch(e=>console.error(e))}},al=>{al(al.s=16)}]); \ No newline at end of file diff --git a/polyfills.cac28529349705ca.js b/polyfills.cac28529349705ca.js new file mode 100644 index 0000000..ef1d4d6 --- /dev/null +++ b/polyfills.cac28529349705ca.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkjs_monthly_calculator=self.webpackChunkjs_monthly_calculator||[]).push([[429],{332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.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 t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;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 m{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,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?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${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 M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=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"),e.Zone=d}(globalThis);const ue=Object.getOwnPropertyDescriptor,me=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",pe=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||Y.event))return;let n=we[e.type];n||(n=we[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=we[d];b||(b=we[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,Ue),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},me(e,n,o),e[c]=!0}function qe(e,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 le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__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 O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=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 t&&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[J]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=w);const D=u.run(p,void 0,Z&&p!==K&&p!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{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 p of u)f++,s.push(t.resolve(p))}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 t((p,S)=>{for(let Z=0;Z{g||(g=!0,p(D))},D=>{w.push(D),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function w(S){s(S)}function p(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((D,V)=>{f=D,g=V}),p=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,p--,0===p&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),p--,0===p&&f(Z)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,0===p&&f(Z),w}constructor(u){const s=this;if(!(s instanceof t))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 t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),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=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;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[m]=f,l.prototype.then=function(g,w){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{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 m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}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 Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+pe+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=pe+i,a=pe+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",m="prependListener",M="."+m+":",O=function(R,_,J){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,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(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 K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.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=ve(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 t=J?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=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let p=0;pfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,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(m){const M=`${i}.${o}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=me,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(m,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=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(e,M)}),a=ae(e,i,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,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{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Pe&&!Be||Zone[e.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 e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Oe],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===K){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],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"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===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function O(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)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=332)}]); \ No newline at end of file diff --git a/runtime.c9e7500fbd64c5e0.js b/runtime.c9e7500fbd64c5e0.js new file mode 100644 index 0000000..e51f0d0 --- /dev/null +++ b/runtime.c9e7500fbd64c5e0.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},i={};function n(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,f,l)=>{if(!r){var s=1/0;for(a=0;a=l)&&Object.keys(n.O).every(p=>n.O[p](r[c]))?r.splice(c--,1):(t=!1,l0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,f,l]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={666:0};n.O.j=f=>0===e[f];var o=(f,l)=>{var c,u,[a,s,t]=l,_=0;if(a.some(d=>0!==e[d])){for(c in s)n.o(s,c)&&(n.m[c]=s[c]);if(t)var h=t(n)}for(f&&f(l);_