From 5f3dc2fdfae3803cd06a3b964361619571fad089 Mon Sep 17 00:00:00 2001 From: Kairuus Date: Fri, 29 Sep 2023 13:36:40 -0300 Subject: [PATCH] stopwatch and button animations --- docs/404.html | 2 +- docs/index.html | 2 +- docs/main.1cd5882a64ed0efb.js | 1 - docs/main.caf8bdc738990537.js | 1 + src/app/stopwatch/stopwatch.component.html | 14 ++--- src/app/stopwatch/stopwatch.component.scss | 66 +++++++++++++++++++++- src/app/stopwatch/stopwatch.component.ts | 28 +++++++-- 7 files changed, 99 insertions(+), 15 deletions(-) delete mode 100644 docs/main.1cd5882a64ed0efb.js create mode 100644 docs/main.caf8bdc738990537.js diff --git a/docs/404.html b/docs/404.html index 109022e..d565065 100644 --- a/docs/404.html +++ b/docs/404.html @@ -13,5 +13,5 @@ - + diff --git a/docs/index.html b/docs/index.html index 109022e..d565065 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,5 +13,5 @@ - + diff --git a/docs/main.1cd5882a64ed0efb.js b/docs/main.1cd5882a64ed0efb.js deleted file mode 100644 index dae3581..0000000 --- a/docs/main.1cd5882a64ed0efb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkstopwatch=self.webpackChunkstopwatch||[]).push([[179],{132:()=>{function J(e){return"function"==typeof e}function po(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 go=po(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 ur(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ot{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(J(r))try{r()}catch(i){t=i instanceof go?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Uc(i)}catch(s){t=t??[],s instanceof go?t=[...t,...s.errors]:t.push(s)}}if(t)throw new go(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uc(t);else{if(t instanceof ot){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)&&ur(n,t)}remove(t){const{_finalizers:n}=this;n&&ur(n,t),t instanceof ot&&t._removeParent(this)}}ot.EMPTY=(()=>{const e=new ot;return e.closed=!0,e})();const Bc=ot.EMPTY;function $c(e){return e instanceof ot||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Uc(e){J(e)?e():e.unsubscribe()}const Wt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},mo={setTimeout(e,t,...n){const{delegate:r}=mo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=mo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zc(e){mo.setTimeout(()=>{const{onUnhandledError:t}=Wt;if(!t)throw e;t(e)})}function Gc(){}const Gy=us("C",void 0,void 0);function us(e,t,n){return{kind:e,value:t,error:n}}let Zt=null;function yo(e){if(Wt.useDeprecatedSynchronousErrorHandling){const t=!Zt;if(t&&(Zt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Zt;if(Zt=null,n)throw r}}else e()}class cs extends ot{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,$c(t)&&t.add(this)):this.destination=Xy}static create(t,n,r){return new cr(t,n,r)}next(t){this.isStopped?ds(function Wy(e){return us("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ds(function qy(e){return us("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ds(Gy,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 Yy=Function.prototype.bind;function ls(e,t){return Yy.call(e,t)}class Qy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Do(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Do(r)}else Do(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Do(n)}}}class cr extends cs{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Wt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ls(t.next,i),error:t.error&&ls(t.error,i),complete:t.complete&&ls(t.complete,i)}):o=t}this.destination=new Qy(o)}}function Do(e){Wt.useDeprecatedSynchronousErrorHandling?function Zy(e){Wt.useDeprecatedSynchronousErrorHandling&&Zt&&(Zt.errorThrown=!0,Zt.error=e)}(e):zc(e)}function ds(e,t){const{onStoppedNotification:n}=Wt;n&&mo.setTimeout(()=>n(e,t))}const Xy={closed:!0,next:Gc,error:function Ky(e){throw e},complete:Gc},fs="function"==typeof Symbol&&Symbol.observable||"@@observable";function hs(e){return e}let Se=(()=>{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 eD(e){return e&&e instanceof cs||function Jy(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&$c(e)}(n)?n:new cr(n,r,o);return yo(()=>{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=Wc(r))((o,i)=>{const s=new cr({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)}[fs](){return this}pipe(...n){return function qc(e){return 0===e.length?hs:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Wc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Wc(e){var t;return null!==(t=e??Wt.Promise)&&void 0!==t?t:Promise}const tD=po(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vo=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Zc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new tD}next(n){yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){yo(()=>{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(){yo(()=>{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?Bc:(this.currentObservers=null,i.push(n),new ot(()=>{this.currentObservers=null,ur(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Se;return n.source=this,n}}return e.create=(t,n)=>new Zc(t,n),e})();class Zc extends vo{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:Bc}}function Yt(e){return t=>{if(function nD(e){return J(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Qt(e,t,n,r,o){return new rD(e,t,n,r,o)}class rD extends cs{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 Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}function Xc(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 ys(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(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Jc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function el(e){return J(e?.then)}function tl(e){return J(e[fs])}function nl(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function rl(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 ol=function bD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function il(e){return J(e?.[ol])}function sl(e){return function Kc(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 Rt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function l(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 Rt(n.read());if(o)return yield Rt(void 0);yield yield Rt(r)}}finally{n.releaseLock()}})}function al(e){return J(e?.getReader)}function yt(e){if(e instanceof Se)return e;if(null!=e){if(tl(e))return function SD(e){return new Se(t=>{const n=e[fs]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Jc(e))return function TD(e){return new Se(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zc)})}(e);if(nl(e))return ul(e);if(il(e))return function AD(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(al(e))return function xD(e){return ul(sl(e))}(e)}throw rl(e)}function ul(e){return new Se(t=>{(function OD(e,t){var n,r,o,i;return function Yc(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Xc(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 Ft(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 cl(e,t,n=1/0){return J(t)?cl((r,o)=>function oD(e,t){return Yt((n,r)=>{let o=0;n.subscribe(Qt(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(yt(e(r,o))),n):("number"==typeof t&&(n=t),Yt((r,o)=>function PD(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let D=!1;yt(n(g,l++)).subscribe(Qt(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;u.length&&cp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Qt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const ll=new Se(e=>e.complete());function Ds(e){return e[e.length-1]}function dl(e){return function kD(e){return e&&J(e.schedule)}(Ds(e))?e.pop():void 0}function fl(e,t=0){return Yt((n,r)=>{n.subscribe(Qt(r,o=>Ft(r,e,()=>r.next(o),t),()=>Ft(r,e,()=>r.complete(),t),o=>Ft(r,e,()=>r.error(o),t)))})}function hl(e,t=0){return Yt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pl(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(n=>{Ft(n,t,()=>{const r=e[Symbol.asyncIterator]();Ft(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function gl(e,t){return t?function UD(e,t){if(null!=e){if(tl(e))return function jD(e,t){return yt(e).pipe(hl(t),fl(t))}(e,t);if(Jc(e))return function HD(e,t){return new Se(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(el(e))return function VD(e,t){return yt(e).pipe(hl(t),fl(t))}(e,t);if(nl(e))return pl(e,t);if(il(e))return function BD(e,t){return new Se(n=>{let r;return Ft(n,t,()=>{r=e[ol](),Ft(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)}),()=>J(r?.return)&&r.return()})}(e,t);if(al(e))return function $D(e,t){return pl(sl(e),t)}(e,t)}throw rl(e)}(e,t):yt(e)}function zD(...e){const t=dl(e),n=function LD(e,t){return"number"==typeof Ds(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yt(r[0]):function RD(e=1/0){return cl(hs,e)}(n)(gl(r,t)):ll}class GD extends vo{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 ml(e={}){const{connector:t=(()=>new vo),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Yt((g,D)=>{c++,!d&&!l&&f();const v=u=u??t();D.add(()=>{c--,0===c&&!d&&!l&&(a=vs(p,o))}),v.subscribe(D),!s&&c>0&&(s=new cr({next:m=>v.next(m),error:m=>{d=!0,f(),a=vs(h,n,m),v.error(m)},complete:()=>{l=!0,f(),a=vs(h,r),v.complete()}}),yt(g).subscribe(s))})(i)}}function vs(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new cr({next:()=>{r.unsubscribe(),e()}});return yt(t(...n)).subscribe(r)}function YD(e,t){return e===t}function U(e){for(let t in e)if(e[t]===U)return t;throw Error("Could not find renamed property on target object.")}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ws(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const QD=U({__forward_ref__:U});function Es(e){return e.__forward_ref__=Es,e.toString=function(){return ae(this())},e}function b(e){return function Cs(e){return"function"==typeof e&&e.hasOwnProperty(QD)&&e.__forward_ref__===Es}(e)?e():e}function _s(e){return e&&!!e.\u0275providers}class E extends Error{constructor(t,n){super(function Eo(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function S(e){return"string"==typeof e?e:null==e?"":String(e)}function Is(e,t){throw new E(-201,!1)}function $e(e,t){null==e&&function _(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Co(e){return Dl(e,Io)||Dl(e,vl)}function Dl(e,t){return e.hasOwnProperty(t)?e[t]:null}function _o(e){return e&&(e.hasOwnProperty(Ms)||e.hasOwnProperty(rv))?e[Ms]:null}const Io=U({\u0275prov:U}),Ms=U({\u0275inj:U}),vl=U({ngInjectableDef:U}),rv=U({ngInjectorDef:U});var F=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}(F||{});let bs;function Te(e){const t=bs;return bs=e,t}function El(e,t,n){const r=Co(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void Is(ae(e))}const q=globalThis,lr={},xs="__NG_DI_FLAG__",Mo="ngTempTokenPath",sv=/\n/gm,_l="__source";let hn;function kt(e){const t=hn;return hn=e,t}function cv(e,t=F.Default){if(void 0===hn)throw new E(-203,!1);return null===hn?El(e,void 0,t):hn.get(e,t&F.Optional?null:void 0,t)}function k(e,t=F.Default){return(function wl(){return bs}()||cv)(b(e),t)}function W(e,t=F.Default){return k(e,bo(t))}function bo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Os(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!==Sl(h,c,0)||2&r&&c!==f){if(Qe(r))return!1;s=!0}}}}else{if(!s&&!Qe(r)&&!Qe(u))return!1;if(s&&Qe(u))continue;s=!1,r=u|1&r}}return Qe(r)||s}function Qe(e){return 0==(1&e)}function mv(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&&!Qe(s)&&(t+=Rl(i,o),o=""),r=s,i=i||!Qe(r);n++}return""!==o&&(t+=Rl(i,o)),t}function ks(e){return Dt(()=>{const t=kl(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===So.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ye.Emulated,styles:e.styles||V,_:null,schemas:e.schemas||null,tView:null,id:""};Ll(n);const r=e.dependencies;return n.directiveDefs=No(r,!1),n.pipeDefs=No(r,!0),n.id=function Nv(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 Mv(e){return L(e)||le(e)}function bv(e){return null!==e}function pr(e){return Dt(()=>({type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fl(e,t){if(null==e)return it;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 Ue(e){return Dt(()=>{const t=kl(e);return Ll(t),t})}function L(e){return e[To]||null}function le(e){return e[Ps]||null}function ye(e){return e[Rs]||null}function kl(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||it,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fl(e.inputs,t),outputs:Fl(e.outputs)}}function Ll(e){e.features?.forEach(t=>t(e))}function No(e,t){if(!e)return null;const n=t?ye:Mv;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(bv)}const ee=0,w=1,x=2,K=3,Ke=4,mr=5,pe=6,pn=7,re=8,Lt=9,gn=10,T=11,yr=12,jl=13,mn=14,oe=15,Dr=16,yn=17,st=18,vr=19,Vl=20,jt=21,wt=22,wr=23,Er=24,P=25,Ls=1,Hl=2,at=7,Dn=9,de=11;function Ae(e){return Array.isArray(e)&&"object"==typeof e[Ls]}function De(e){return Array.isArray(e)&&!0===e[Ls]}function js(e){return 0!=(4&e.flags)}function Xt(e){return e.componentOffset>-1}function xo(e){return 1==(1&e.flags)}function Xe(e){return!!e.template}function Vs(e){return 0!=(512&e[x])}function Jt(e,t){return e.hasOwnProperty(vt)?e[vt]:null}let fe=null,Oo=!1;function ze(e){const t=fe;return fe=e,t}const Ul={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Gl(e){if(!_r(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Zl(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Wl(e){e.dirty=!0,function ql(e){if(void 0===e.liveConsumerNode)return;const t=Oo;Oo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Wl(n)}finally{Oo=t}}(e),e.consumerMarkedDirty?.(e)}function Bs(e){return e&&(e.nextProducerIndex=0),ze(e)}function $s(e,t){if(ze(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(_r(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Zl(e){vn(e);for(let t=0;t0}function vn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Xl=null;const nd=()=>{},$v=(()=>({...Ul,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:nd}))();class Uv{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function rd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gv),zv}function zv(){const e=id(this),t=e?.current;if(t){const n=e.previous;if(n===it)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gv(e,t,n,r){const o=this.declaredInputs[n],i=id(e)||function qv(e,t){return e[od]=t}(e,{previous:it,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Uv(u&&u.currentValue,t,a===it),e[r]=t}const od="__ngSimpleChanges__";function id(e){return e[od]||null}const ut=function(e,t,n){};function Z(e){for(;Array.isArray(e);)e=e[ee];return e}function xe(e,t){return Z(t[e.index])}function ud(e,t){return e.data[t]}function je(e,t){const n=t[e];return Ae(n)?n:n[ee]}function Ht(e,t){return null==t?null:e[t]}function cd(e){e[yn]=0}function Xv(e){1024&e[x]||(e[x]|=1024,dd(e,1))}function ld(e){1024&e[x]&&(e[x]&=-1025,dd(e,-1))}function dd(e,t){let n=e[K];if(null===n)return;n[mr]+=t;let r=n;for(n=n[K];null!==n&&(1===t&&1===r[mr]||-1===t&&0===r[mr]);)n[mr]+=t,r=n,n=n[K]}const I={lFrame:Cd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function pd(){return I.bindingsEnabled}function y(){return I.lFrame.lView}function j(){return I.lFrame.tView}function he(){let e=gd();for(;null!==e&&64===e.type;)e=e.parent;return e}function gd(){return I.lFrame.currentTNode}function ct(e,t){const n=I.lFrame;n.currentTNode=e,n.isParent=t}function Ws(){return I.lFrame.isParent}function Cn(){return I.lFrame.bindingIndex++}function fw(e,t){const n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ys(t)}function Ys(e){I.lFrame.currentDirectiveIndex=e}function Ks(e){I.lFrame.currentQueryIndex=e}function pw(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[pe]:null}function wd(e,t,n){if(n&F.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=pw(i),null===o||(i=i[mn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=I.lFrame=Ed();return r.currentTNode=t,r.lView=e,!0}function Xs(e){const t=Ed(),n=e[w];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ed(){const e=I.lFrame,t=null===e?null:e.child;return null===t?Cd(e):t}function Cd(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 _d(){const e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Id=_d;function Js(){const e=_d();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 we(){return I.lFrame.selectedIndex}function en(e){I.lFrame.selectedIndex=e}let bd=!0;function ko(){return bd}function Bt(e){bd=e}function Lo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[yn]+=65536),(a>13>16&&(3&e[x])===t&&(e[x]+=8192,Td(a,i)):Td(a,i)}const _n=-1;class Mr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function na(e){return e!==_n}function br(e){return 32767&e}function Sr(e,t){let n=function bw(e){return e>>16}(e),r=t;for(;n>0;)r=r[mn],n--;return r}let ra=!0;function Ho(e){const t=ra;return ra=e,t}const Nd=255,Ad=5;let Sw=0;const lt={};function Bo(e,t){const n=xd(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,oa(r.data,e),oa(t,null),oa(r.blueprint,null));const o=$o(e,t),i=e.injectorIndex;if(na(o)){const s=br(o),a=Sr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $o(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=jd(o),null===r)return _n;if(n++,o=o[mn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return _n}function ia(e,t,n){!function Tw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(fr)&&(r=n[fr]),null==r&&(r=n[fr]=Sw++);const o=r&Nd;t.data[e+(o>>Ad)]|=1<=0?t&Nd:Pw:t}(n);if("function"==typeof i){if(!wd(t,e,r))return r&F.Host?Od(o,0,r):Pd(t,n,r,o);try{let s;if(s=i(r),null!=s||r&F.Optional)return s;Is()}finally{Id()}}else if("number"==typeof i){let s=null,a=xd(e,t),u=_n,c=r&F.Host?t[oe][pe]:null;for((-1===a||r&F.SkipSelf)&&(u=-1===a?$o(e,t):t[a+8],u!==_n&&Ld(r,!1)?(s=t[w],a=br(u),t=Sr(u,t)):a=-1);-1!==a;){const l=t[w];if(kd(i,a,l.data)){const d=Aw(a,t,n,s,r,c);if(d!==lt)return d}u=t[a+8],u!==_n&&Ld(r,t[w].data[a+8]===c)&&kd(i,a,t)?(s=l,a=br(u),t=Sr(u,t)):a=-1}}return o}function Aw(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],l=function Uo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Xe(h)&&h.type===n)return u}return null}(a,s,n,null==r?Xt(a)&&ra:r!=s&&0!=(3&a.type),o&F.Host&&i===a);return null!==l?tn(t,s,l,a):lt}function tn(e,t,n,r){let o=e[n];const i=t.data;if(function _w(e){return e instanceof Mr}(o)){const s=o;s.resolving&&function KD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${n}`)}(function $(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():S(e)}(i[n]));const a=Ho(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Te(s.injectImpl):null;wd(e,r,F.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ew(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=rd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Te(c),Ho(a),s.resolving=!1,Id()}}return o}function kd(e,t,n){return!!(n[t+(e>>Ad)]&1<{const r=function ua(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,c,l){const d=u.hasOwnProperty(Mn)?u[Mn]:Object.defineProperty(u,Mn,{value:[]})[Mn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Nn(e,t){e.forEach(n=>Array.isArray(n)?Nn(n,t):t(n))}function Hd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const da=dr(Sn("Optional"),8),fa=dr(Sn("SkipSelf"),4);function Qo(e){return 128==(128&e.flags)}var $t=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}($t||{});const ma=new Map;let fE=0;const Da="__ngContext__";function ge(e,t){Ae(t)?(e[Da]=t[vr],function pE(e){ma.set(e[vr],e)}(t)):e[Da]=t}let va;function wa(e,t){return va(e,t)}function Pr(e){const t=e[K];return De(t)?t[K]:t}function uf(e){return lf(e[yr])}function cf(e){return lf(e[Ke])}function lf(e){for(;null!==e&&!De(e);)e=e[Ke];return e}function Pn(e,t,n,r,o){if(null!=r){let i,s=!1;De(r)?i=r:Ae(r)&&(s=!0,r=r[ee]);const a=Z(r);0===e&&null!==n?null==o?pf(t,n,a):nn(t,n,a,o||null,!0):1===e&&null!==n?nn(t,n,a,o||null,!0):2===e?function ri(e,t,n){const r=ti(e,t);r&&function PE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function kE(e,t,n,r,o){const i=n[at];i!==Z(n)&&Pn(t,e,r,i,o);for(let a=de;a0&&(e[n-1][Ke]=r[Ke]);const i=zo(e,de+t);!function ME(e,t){Fr(e,t,t[T],2,null,null),t[ee]=null,t[pe]=null}(r[w],r);const s=i[st];null!==s&&s.detachView(i[w]),r[K]=null,r[Ke]=null,r[x]&=-129}return r}function Ca(e,t){if(!(256&t[x])){const n=t[T];t[wr]&&Yl(t[wr]),t[Er]&&Yl(t[Er]),n.destroyNode&&Fr(e,t,n,3,null,null),function TE(e){let t=e[yr];if(!t)return _a(e[w],e);for(;t;){let n=null;if(Ae(t))n=t[yr];else{const r=t[de];r&&(n=r)}if(!n){for(;t&&!t[Ke]&&t!==e;)Ae(t)&&_a(t[w],t),t=t[K];null===t&&(t=e),Ae(t)&&_a(t[w],t),n=t&&t[Ke]}t=n}}(t)}}function _a(e,t){if(!(256&t[x])){t[x]&=-129,t[x]|=256,function OE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[pn]=null);const o=t[jt];if(null!==o){t[jt]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ye.None||i===Ye.Emulated)return null}return xe(r,n)}}(e,t.parent,n)}function nn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pf(e,t,n){e.appendChild(t,n)}function gf(e,t,n,r,o){null!==r?nn(e,t,n,r,o):pf(e,t,n)}function ti(e,t){return e.parentNode(t)}let Ma,Na,Df=function yf(e,t,n){return 40&e.type?xe(e,n):null};function ni(e,t,n,r){const o=Ia(e,r,t),i=t[T],a=function mf(e,t,n){return Df(e,t,n)}(r.parent||t[pe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{n.push(s)};return Nn(t,s=>{const a=s;ui(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Bf(o,i),n}function Bf(e,t){for(let n=0;n{t(i,r)})}}function ui(e,t,n,r){if(!(e=b(e)))return!1;let o=null,i=_o(e);const s=!i&&L(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=_o(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 c of u)ui(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Nn(i.imports,l=>{ui(l,t,n,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&Bf(c,t)}if(!a){const c=Jt(o)||(()=>new o);t({provide:o,useFactory:c,deps:V},o),t({provide:jf,useValue:o,multi:!0},o),t({provide:ai,useValue:()=>k(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;ka(u,l=>{t(l,c)})}}}return o!==e&&void 0!==e.providers}function ka(e,t){for(let n of e)_s(n)&&(n=n.\u0275providers),Array.isArray(n)?ka(n,t):t(n)}const hC=U({provide:String,useValue:U});function La(e){return null!==e&&"object"==typeof e&&hC in e}function rn(e){return"function"==typeof e}const ja=new N("Set Injector scope."),ci={},gC={};let Va;function li(){return void 0===Va&&(Va=new Fa),Va}class It{}class di extends It{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,Ba(t,s=>this.processProvider(s)),this.records.set(Lf,Ln(void 0,this)),o.has("environment")&&this.records.set(It,Ln(void 0,this));const i=this.records.get(ja);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(jf.multi,V,F.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=kt(this),r=Te(void 0);try{return t()}finally{kt(n),Te(r)}}get(t,n=lr,r=F.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(bl))return t[bl](this);r=bo(r);const i=kt(this),s=Te(void 0);try{if(!(r&F.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=function wC(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&Co(t);u=c&&this.injectableDefInScope(c)?Ln(Ha(t),ci):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&F.Self?li():this.parent).get(t,n=r&F.Optional&&n===lr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Mo]=a[Mo]||[]).unshift(ae(t)),i)throw a;return function dv(e,t,n,r){const o=e[Mo];throw t[_l]&&o.unshift(t[_l]),e.message=function fv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ae(t);if(Array.isArray(t))o=t.map(ae).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ae(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(sv,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Mo]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Te(s),kt(i)}}resolveInjectorInitializers(){const t=kt(this),n=Te(void 0);try{const o=this.get(ai.multi,V,F.Self);for(const i of o)i()}finally{kt(t),Te(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){let n=rn(t=b(t))?t:b(t&&t.provide);const r=function yC(e){return La(e)?Ln(void 0,e.useValue):Ln(function zf(e,t,n){let r;if(rn(e)){const o=b(e);return Jt(o)||Ha(o)}if(La(e))r=()=>b(e.useValue);else if(function Uf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Os(e.deps||[]));else if(function $f(e){return!(!e||!e.useExisting)}(e))r=()=>k(b(e.useExisting));else{const o=b(e&&(e.useClass||e.provide));if(!function DC(e){return!!e.deps}(e))return Jt(o)||Ha(o);r=()=>new o(...Os(e.deps))}return r}(e),ci)}(t);if(rn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ln(void 0,ci,!0),o.factory=()=>Os(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ci&&(n.value=gC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vC(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=b(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 Ha(e){const t=Co(e),n=null!==t?t.factory:Jt(e);if(null!==n)return n;if(e instanceof N)throw new E(204,!1);if(e instanceof Function)return function mC(e){const t=e.length;if(t>0)throw function Ar(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new E(204,!1)}function Ln(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ba(e,t){for(const n of e)Array.isArray(n)?Ba(n,t):n&&_s(n)?Ba(n.\u0275providers,t):t(n)}const fi=new N("AppId",{providedIn:"root",factory:()=>EC}),EC="ng",Gf=new N("Platform Initializer"),jn=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qf=new N("CSP nonce",{providedIn:"root",factory:()=>function Fn(){if(void 0!==Na)return Na;if(typeof document<"u")return document;throw new E(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Wf=(e,t,n)=>null;function Ya(e,t,n=!1){return Wf(e,t,n)}class xC{}class Qf{}class PC{resolveComponentFactory(t){throw function OC(e){const t=Error(`No component factory found for ${ae(e)}.`);return t.ngComponent=e,t}(t)}}let Di=(()=>{class e{static#e=this.NULL=new PC}return e})();function RC(){return Bn(he(),y())}function Bn(e,t){return new $n(xe(e,t))}let $n=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=RC}return e})();class Xf{}let LC=(()=>{class e{static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>null})}return e})();class Xa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const jC=new Xa("16.2.7"),Ja={};function rh(e,t=null,n=null,r){const o=oh(e,t,n,r);return o.resolveInjectorInitializers(),o}function oh(e,t=null,n=null,r,o=new Set){const i=[n||V,fC(e)];return r=r||("object"==typeof e?void 0:ae(e)),new di(i,t||li(),r||null,o)}let dt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=lr;static#t=this.NULL=new Fa;static create(n,r){if(Array.isArray(n))return rh({name:""},r,n,"");{const o=n.name??"";return rh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=z({token:e,providedIn:"any",factory:()=>k(Lf)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function tu(e){return e.ngOriginalError}class Mt{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&&tu(t);for(;n&&tu(n);)n=tu(n);return n||null}}function ru(e){return t=>{setTimeout(e,void 0,t)}}const bt=class GC extends vo{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=ru(i),o&&(o=ru(o)),s&&(s=ru(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ot&&t.add(a),a}};function sh(...e){}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bt(!1),this.onMicrotaskEmpty=new bt(!1),this.onStable=new bt(!1),this.onError=new bt(!1),typeof Zone>"u")throw new E(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 qC(){const e="function"==typeof q.requestAnimationFrame;let t=q[e?"requestAnimationFrame":"setTimeout"],n=q[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 YC(e){const t=()=>{!function ZC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,iu(e),e.isCheckStableRunning=!0,ou(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),iu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function KC(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 ah(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),uh(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ah(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),uh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,iu(e),ou(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(!te.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new E(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,WC,sh,sh);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 WC={};function ou(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 iu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function uh(e){e._nesting--,ou(e)}class QC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bt,this.onMicrotaskEmpty=new bt,this.onStable=new bt,this.onError=new bt}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 ch=new N("",{providedIn:"root",factory:lh});function lh(){const e=W(te);let t=!0;return zD(new Se(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Se(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{te.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(ml()))}let su=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e})}return e})();function Br(e){for(;e;){e[x]|=64;const t=Pr(e);if(Vs(e)&&!t)return e;e=t}return null}const gh=new N("",{providedIn:"root",factory:()=>!1});let wi=null;function vh(e,t){return e[t]??Ch()}function wh(e,t){const n=Ch();n.producerNode?.length&&(e[t]=wi,n.lView=e,wi=Eh())}const a_={...Ul,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Br(e.lView)},lView:null};function Eh(){return Object.create(a_)}function Ch(){return wi??=Eh(),wi}const A={};function Ei(e){_h(j(),y(),we()+e,!1)}function _h(e,t,n,r){if(!r)if(3==(3&t[x])){const i=e.preOrderCheckHooks;null!==i&&jo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Vo(t,i,0,n)}en(n)}function O(e,t=F.Default){const n=y();return null===n?k(e,t):Rd(he(),n,b(e),t)}function Ci(e,t,n,r,o,i,s,a,u,c,l){const d=t.blueprint.slice();return d[ee]=o,d[x]=140|r,(null!==c||e&&2048&e[x])&&(d[x]|=2048),cd(d),d[K]=d[mn]=e,d[re]=n,d[gn]=s||e&&e[gn],d[T]=a||e&&e[T],d[Lt]=u||e&&e[Lt]||null,d[pe]=i,d[vr]=function hE(){return fE++}(),d[wt]=l,d[Vl]=c,d[oe]=2==t.type?e[oe]:d,d}function Gn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function au(e,t,n,r,o){const i=gd(),s=Ws(),u=e.data[t]=function m_(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function En(){return null!==I.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 dw(){return I.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ir(){const e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return ct(i,!0),i}function $r(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iP&&_h(e,t,P,!1),ut(a?2:0,o);const c=a?i:null,l=Bs(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{$s(c,l)}}finally{a&&null===t[wr]&&wh(t,wr),en(s),ut(a?3:1,o)}}function uu(e,t,n){if(js(t)){const r=ze(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Sh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Th(n,t,o,i):r.hasOwnProperty(o)&&Th(n,t,r[o],i)}return n}function Th(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function fu(e,t,n,r){if(pd()){const o=null===r?null:{"":-1},i=function M_(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,$r(e,n,o.hostVars,A),o)}function x_(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function Bv(e,t,n){const r=Object.create($v);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Wl(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Zl(r))return;r.hasRun=!0;const s=Bs(r);try{r.cleanupFn(),r.cleanupFn=nd,r.fn(o)}finally{$s(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ii(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Bh(e,1);const o=n.components;null!==o&&Uh(e,o,1)}}function Uh(e,t,n){for(let r=0;r-1&&(ei(t,r),zo(n,r))}this._attachedToViewContainer=!1}Ca(this._lView[w],this._lView)}onDestroy(t){!function fd(e,t){if(256==(256&e[x]))throw new E(911,!1);null===e[jt]&&(e[jt]=[]),e[jt].push(t)}(this._lView,t)}markForCheck(){Br(this._cdRefInjectingView||this._lView)}detach(){this._lView[x]&=-129}reattach(){this._lView[x]|=128}detectChanges(){Mi(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function SE(e,t){Fr(e,t,t[T],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t}}class H_ extends zr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Mi(t[w],t,t[re],!1)}checkNoChanges(){}get context(){return null}}class zh extends Di{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=L(t);return new Gr(n,this.ngModule)}}function Gh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class $_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bo(r);const o=this.injector.get(t,Ja,r);return o!==Ja||n===Ja?o:this.parentInjector.get(t,n,r)}}class Gr extends Qf{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Gh(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Gh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cv(e){return e.map(Ev).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof It?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new $_(t,i):t,a=s.get(Xf,null);if(null===a)throw new E(407,!1);const d={rendererFactory:a,sanitizer:s.get(LC,null),effectManager:s.get(jh,null),afterRenderEventManager:s.get(su,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function d_(e,t,n,r){const i=r.get(gh,!1)||n===Ye.ShadowDom,s=e.selectRootElement(t,i);return function f_(e){bh(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Jo(f,h,function B_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),v=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=Ya(p,s,!0));const C=du(0,null,null,1,0,null,null,null,null,null,null),M=Ci(null,C,null,v,null,null,d,f,s,null,m);let R,Fe;Xs(M);try{const Pt=this.componentDef;let ar,Hc=null;Pt.findHostDirectiveDefs?(ar=[],Hc=new Map,Pt.findHostDirectiveDefs(Pt,ar,Hc),ar.push(Pt)):ar=[Pt];const jA=function z_(e,t){const n=e[w],r=P;return e[r]=t,Gn(n,r,2,"#host",null)}(M,p),VA=function G_(e,t,n,r,o,i,s){const a=o[w];!function q_(e,t,n,r){for(const o of e)t.mergedAttrs=hr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ii(t,t.mergedAttrs,!0),null!==n&&If(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=Ya(t,o[Lt]));const c=i.rendererFactory.createRenderer(t,n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const d=Ci(o,Mh(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&hu(a,e,r.length-1),_i(o,d),o[e.index]=d}(jA,p,Pt,ar,M,d,f);Fe=ud(C,P),p&&function Z_(e,t,n,r){if(r)Fs(e,n,["ng-version",jC.full]);else{const{attrs:o,classes:i}=function _v(e){const t=[],n=[];let r=1,o=2;for(;r0&&_f(e,n,i.join(" "))}}(f,Pt,p,r),void 0!==n&&function Y_(e,t,n){const r=e.projection=[];for(let o=0;o(Bt(!0),Jo(r,o,function Md(){return I.lFrame.currentNamespace}()));function Tu(e){return!!e&&"function"==typeof e.then}function mp(e){return!!e&&"function"==typeof e.subscribe}function sn(e,t,n,r){const o=y(),i=j(),s=he();return function Dp(e,t,n,r,o,i,s){const a=xo(r),c=e.firstCreatePass&&function Fh(e){return e.cleanup||(e.cleanup=[])}(e),l=t[re],d=function Rh(e){return e[pn]||(e[pn]=[])}(t);let f=!0;if(3&r.type||s){const g=xe(r,t),D=s?s(g):g,v=d.length,m=s?M=>s(Z(M[r.index])):r.index;let C=null;if(!s&&a&&(C=function jI(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!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=i,C.__ngLastListenerFn__=i,f=!1;else{i=wp(r,t,l,i,!1);const M=n.listen(D,o,i);d.push(i,M),c&&c.push(o,m,v,v+1)}}else i=wp(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let D=0;D-1?je(e.index,t):t);let u=vp(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=vp(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Kr(e,t=""){const n=y(),r=j(),o=e+P,i=r.firstCreatePass?Gn(r,o,1,t,null):r.data[o],s=Gp(r,n,i,t,e);n[o]=s,ko()&&ni(r,n,s,i),ct(i,!1)}let Gp=(e,t,n,r,o)=>(Bt(!0),function Xo(e,t){return e.createText(t)}(t[T],r));function Ri(e){return Ru("",e,""),Ri}function Ru(e,t,n){const r=y(),o=function Wn(e,t,n,r){return me(e,Cn(),n)?t+S(n)+r:A}(r,e,t,n);return o!==A&&Tt(r,we(),o),Ru}const rr="en-US";let hg=rr;class cn{}class Pb{}class Bu extends cn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zh(this);const o=function Le(e,t){const n=e[Ml]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function St(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=oh(t,n,[{provide:cn,useValue:this},{provide:Di,useValue:this.componentFactoryResolver},...r],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $u extends Pb{constructor(t){super(),this.moduleType=t}create(t){return new Bu(this.moduleType,t,[])}}function h0(e,t,n,r=!0){const o=t[w];if(function NE(e,t,n,r){const o=de+r,i=n.length;r>0&&(n[o-1][Ke]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=m0}return e})();const p0=Nt,g0=class extends p0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function f0(e,t,n,r){const o=t.tView,a=Ci(e,o,n,4096&e[x]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Dr]=e[t.index];const c=e[st];return null!==c&&(a[st]=c.createEmbeddedView(o)),yu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new zr(o)}};function m0(){return function Vi(e,t){return 4&e.type?new g0(t,e,Bn(e,t)):null}(he(),y())}let mt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=C0}return e})();function C0(){return function rm(e,t){let n;const r=t[e.index];return De(r)?n=r:(n=Oh(r,t,null,e),t[e.index]=n,_i(t,n)),om(n,t,e,r),new tm(n,e,t)}(he(),y())}const _0=mt,tm=class extends _0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Bn(this._hostTNode,this._hostLView)}get injector(){return new Ee(this._hostTNode,this._hostLView)}get parentInjector(){const t=$o(this._hostTNode,this._hostLView);if(na(t)){const n=Sr(t,this._hostLView),r=br(t);return new Ee(n[w].data[r+8],n)}return new Ee(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=nm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-de}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Nr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new Gr(L(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const D=(s?c:this.parentInjector).get(It,null);D&&(i=D)}L(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function Kv(e){return De(e[K])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const c=o[K],l=new tm(c,c[pe],c[K]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return h0(a,o,s,!r),t.attachToViewContainerRef(),Hd(Gu(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=nm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ei(this._lContainer,n);r&&(zo(Gu(this._lContainer),n),Ca(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=ei(this._lContainer,n);return r&&null!=zo(Gu(this._lContainer),n)?new zr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function nm(e){return e[8]}function Gu(e){return e[8]||(e[8]=[])}let om=function im(e,t,n,r){if(e[at])return;let o;o=8&n.type?Z(r):function I0(e,t){const n=e[T],r=n.createComment(""),o=xe(t,e);return nn(n,ti(n,o),r,function RE(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[at]=o};const oS=new N("Application Initializer");let tc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=W(oS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Tu(i))n.push(i);else if(mp(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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const At=new N("LocaleId",{providedIn:"root",factory:()=>W(At,F.Optional|F.SkipSelf)||function sS(){return typeof $localize<"u"&&$localize.locale||rr}()});let cS=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new GD(!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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xm=new N(""),Ui=new N("");let sc,oc=(()=>{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,sc||(function AS(e){sc=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:()=>{te.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)(k(te),k(ic),k(Ui))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})(),ic=(()=>{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 sc?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gt=null;const Om=new N("AllowMultipleToken"),ac=new N("PlatformDestroyListeners"),Pm=new N("appBootstrapListener");function km(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=uc();if(!s||s.injector.get(Om,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function PS(e){if(Gt&&!Gt.get(Om,!1))throw new E(400,!1);(function Rm(){!function kv(e){Xl=e}(()=>{throw new E(600,!1)})})(),Gt=e;const t=e.get(jm);(function Fm(e){e.get(Gf,null)?.forEach(n=>n())})(e)}(function Lm(e=[],t){return dt.create({name:t,providers:[{provide:ja,useValue:"platform"},{provide:ac,useValue:new Set([()=>Gt=null])},...e]})}(a,r))}return function FS(e){const t=uc();if(!t)throw new E(401,!1);return t}()}}function uc(){return Gt?.get(jm)??null}let jm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function kS(e="zone.js",t){return"noop"===e?new QC:"zone.js"===e?new te(t):e}(r?.ngZone,function Vm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function Fb(e,t,n){return new Bu(e,t,n)}(n.moduleType,this.injector,function zm(e){return[{provide:te,useFactory:e},{provide:ai,multi:!0,useFactory:()=>{const t=W(jS,{optional:!0});return()=>t.initialize()}},{provide:Um,useFactory:LS},{provide:ch,useFactory:lh}]}(()=>o)),s=i.injector.get(Mt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{zi(this._modules,i),a.unsubscribe()})}),function Hm(e,t,n){try{const r=n();return Tu(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(tc);return a.runInitializers(),a.donePromise.then(()=>(function pg(e){$e(e,"Expected localeId to be defined"),"string"==typeof e&&(hg=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(At,rr)||rr),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Bm({},r);return function xS(e,t,n){const r=new $u(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ao);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new E(-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 E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ac,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)(k(dt))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Bm(e,t){return Array.isArray(t)?t.reduce(Bm,e):{...e,...t}}let ao=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Um),this.zoneIsStable=W(ch),this.componentTypes=[],this.components=[],this.isStable=W(cS).hasPendingTasks.pipe(function WD(e,t){return Yt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Qt(r,u=>{o?.unsubscribe();let c=0;const l=i++;yt(e(u,l)).subscribe(o=Qt(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(n=>n?function qD(...e){return gl(e,dl(e))}(!1):this.zoneIsStable),function ZD(e,t=hs){return e=e??YD,Yt((n,r)=>{let o,i=!0;n.subscribe(Qt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),ml()),this._injector=W(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Qf;if(!this._injector.get(tc).done)throw!o&&function gr(e){const t=L(e)||le(e)||ye(e);return null!==t&&t.standalone}(n),new E(405,!1);let s;s=o?n:this._injector.get(Di).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function OS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(cn),c=s.create(dt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(xm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),zi(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(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;zi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Pm,[]);r.push(...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),()=>zi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Um=new N("",{providedIn:"root",factory:()=>W(Mt).handleError.bind(void 0)});function LS(){const e=W(te),t=W(Mt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let jS=(()=>{class e{constructor(){this.zone=W(te),this.applicationRef=W(ao)}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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Zm{constructor(){}supports(t){return Si(t)}create(t){return new ZS(t)}}const WS=(e,t)=>t;class ZS{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||WS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new YS(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ym),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ym),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class YS{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class QS{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Ym{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new QS,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Qm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:Xm});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xm()),deps:[[e,new fa,new da]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new E(901,!1)}}return e})();const tT=km(null,"core",[]);let nT=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(k(ao))};static#t=this.\u0275mod=pr({type:e});static#n=this.\u0275inj=fn({})}return e})(),pc=null;function gc(){return pc}class gT{}const dn=new N("DocumentToken");class oN{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Dy=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new oN(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),vy(a,o)}});for(let o=0,i=r.length;o{vy(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(O(mt),O(Nt),O(Wi))};static#t=this.\u0275dir=Ue({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function vy(e,t){e.context.$implicit=t.item}let xN=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=pr({type:e});static#n=this.\u0275inj=fn({})}return e})();function Iy(e){return"server"===e}class iA extends gT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Oc extends iA{static makeCurrent(){!function pT(e){pc||(pc=e)}(new Oc)}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 sA(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}();return null==n?null:function aA(e){as=as||document.createElement("a"),as.setAttribute("href",e);const t=as.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function tN(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,ho=null,cA=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const Pc=new N("EventManagerPlugins");let Ny=(()=>{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 E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(k(Pc),k(te))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class Ay{constructor(t){this._doc=t}}const Rc="ng-app-id";let xy=(()=>{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=Iy(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[${Rc}="${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(Rc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Rc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const 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)(k(dn),k(fi),k(qf,8),k(jn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const Fc={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/"},kc=/%COMP%/g,hA=new N("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Py(e,t){return t.map(n=>n.replace(kc,e))}let Ry=(()=>{class e{constructor(n,r,o,i,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Iy(a),this.defaultRenderer=new Lc(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ye.ShadowDom&&(r={...r,encapsulation:Ye.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof ky?o.applyToHost(n):o instanceof jc&&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,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ye.Emulated:i=new ky(u,c,r,this.appId,l,s,a,d);break;case Ye.ShadowDom:return new yA(u,c,n,r,s,a,this.nonce,d);default:i=new jc(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(k(Ny),k(xy),k(fi),k(hA),k(dn),k(jn),k(te),k(qf))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class Lc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Fc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Fy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Fy(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 E(-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=Fc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Fc[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&($t.DashCase|$t.Important)?t.style.setProperty(n,r,o&$t.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&$t.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=gc().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 Fy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class yA extends Lc{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 c=Py(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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 jc extends Lc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Py(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ky extends jc{constructor(t,n,r,o,i,s,a,u){const c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=function pA(e){return"_ngcontent-%COMP%".replace(kc,e)}(c),this.hostAttr=function gA(e){return"_nghost-%COMP%".replace(kc,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let DA=(()=>{class e extends Ay{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)(k(dn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const Ly=["alt","control","meta","shift"],vA={"\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"},wA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let EA=(()=>{class e extends Ay{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(()=>gc().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."),Ly.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),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=vA[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"),Ly.forEach(s=>{s!==o&&(0,wA[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)(k(dn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const MA=km(tT,"browser",[{provide:jn,useValue:"browser"},{provide:Gf,useValue:function CA(){Oc.makeCurrent()},multi:!0},{provide:dn,useFactory:function IA(){return function $E(e){Na=e}(document),document},deps:[]}]),bA=new N(""),Hy=[{provide:Ui,useClass:class uA{addToWindow(t){q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new E(5103,!1);return i},q.getAllAngularTestabilities=()=>t.getAllTestabilities(),q.getAllAngularRootElements=()=>t.getAllRootElements(),q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(r=>{const o=q.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?gc().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:xm,useClass:oc,deps:[te,ic,Ui]},{provide:oc,useClass:oc,deps:[te,ic,Ui]}],By=[{provide:ja,useValue:"root"},{provide:Mt,useFactory:function _A(){return new Mt},deps:[]},{provide:Pc,useClass:DA,multi:!0,deps:[dn,te,jn]},{provide:Pc,useClass:EA,multi:!0,deps:[dn]},Ry,xy,Ny,{provide:Xf,useExisting:Ry},{provide:class kN{},useClass:cA,deps:[]},[]];let SA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:fi,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(k(bA,12))};static#t=this.\u0275mod=pr({type:e});static#n=this.\u0275inj=fn({providers:[...By,...Hy],imports:[xN,nT]})}return e})();function RA(e,t){if(1&e&&(Ce(0,"li"),Kr(1),_e()),2&e){const n=t.$implicit;Ei(1),Ri(n)}}typeof window<"u"&&window;let FA=(()=>{class e{constructor(){this.isRunning=!1,this.timeMilliseconds=0,this.currentTime="00:00:00",this.laps=[]}start(){this.isRunning||(this.isRunning=!0,this.intervalId=setInterval(()=>{this.timeMilliseconds+=10,this.currentTime=this.convertMilliseconds(this.timeMilliseconds)},10))}pause(){clearInterval(this.intervalId),this.isRunning=!1}restart(){this.pause(),this.timeMilliseconds=0,this.currentTime=this.convertMilliseconds(this.timeMilliseconds)}lap(){this.laps.push(this.currentTime)}clearLaps(){this.laps=[]}convertMilliseconds(n){const r=Math.floor(n/6e4),o=Math.floor(n%6e4/1e3);let i=n/1e3;return`${r.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}:${i.toString().padStart(2,"0").replace(".","").slice(-2)}`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ks({type:e,selectors:[["app-stopwatch"]],decls:32,vars:2,consts:[[1,"back"],[1,"top-header"],["href","https://github.com/VictorMuniz7","target","_blank"],[1,"fa-brands","fa-github"],["href","https://www.linkedin.com/in/victor-muniz-236842267/","target","_blank"],[1,"fa-brands","fa-linkedin"],[1,"title-div"],[1,"container"],[1,"stopwatch-div"],[1,"stopwatch"],[1,"options-div"],[3,"click"],[1,"fa-solid","fa-play"],[1,"fa-solid","fa-pause"],[1,"fa-solid","fa-arrow-rotate-left"],[1,"fa-solid","fa-flag"],[1,"fa-solid","fa-broom"],[1,"lap-div"],[4,"ngFor","ngForOf"]],template:function(r,o){1&r&&(Ce(0,"div",0)(1,"header")(2,"div",1)(3,"a",2),Je(4,"i",3),_e(),Ce(5,"p"),Kr(6,"KRS"),_e(),Ce(7,"a",4),Je(8,"i",5),_e()(),Je(9,"hr"),Ce(10,"div",6)(11,"h1"),Kr(12,"Stopwatch"),_e()()(),Ce(13,"div",7)(14,"div",8)(15,"div",9)(16,"p"),Kr(17),_e()()(),Ce(18,"div",10)(19,"button",11),sn("click",function(){return o.start()}),Je(20,"i",12),_e(),Ce(21,"button",11),sn("click",function(){return o.pause()}),Je(22,"i",13),_e(),Ce(23,"button",11),sn("click",function(){return o.restart()}),Je(24,"i",14),_e(),Ce(25,"button",11),sn("click",function(){return o.lap()}),Je(26,"i",15),_e(),Ce(27,"button",11),sn("click",function(){return o.clearLaps()}),Je(28,"i",16),_e()(),Ce(29,"div",17)(30,"ul"),function lp(e,t,n,r,o,i,s,a){const u=y(),c=j(),l=e+P,d=c.firstCreatePass?function bI(e,t,n,r,o,i,s,a,u){const c=t.consts,l=Gn(t,e,4,s||null,Ht(c,a));fu(t,n,l,Ht(c,u)),Lo(t,l);const d=l.tView=du(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];ct(d,!1);const f=dp(c,u,d,e);ko()&&ni(c,u,f,d),ge(f,u),_i(u,u[l]=Oh(f,u,f,d)),xo(d)&&cu(c,u,d),null!=s&&lu(u,d,a)}(31,RA,2,1,"li",18),_e()()()()),2&r&&(Ei(17),Ri(o.currentTime),Ei(14),Iu("ngForOf",o.laps))},dependencies:[Dy],styles:[".back[_ngcontent-%COMP%]{width:100%;height:100vh;overflow:scroll;background:url(background.70c0dce5f649b81e.jpg);background-size:cover;background-position:center}header[_ngcontent-%COMP%]{width:20em;margin:1em auto;padding:.5em;border-radius:1em;background-color:#859cd899;border:.2em solid #fff}header[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{width:100%;border:.1em solid #fff}.top-header[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-around;align-items:center}.top-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .top-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:3em;text-decoration:none;color:#fff}.top-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:700}.title-div[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3em;text-align:center;color:#fff}.container[_ngcontent-%COMP%]{width:98%;margin:0 auto}.stopwatch-div[_ngcontent-%COMP%]{height:15em;display:flex;justify-content:center;align-items:center;margin-bottom:.3em}.stopwatch[_ngcontent-%COMP%]{width:15em;height:15em;border-radius:50%;background:radial-gradient(#474545,#000);display:flex;justify-content:center;align-items:center}.stopwatch[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:4.15em;font-size:2.8em;color:#fff}.options-div[_ngcontent-%COMP%]{width:100%;background-color:#859cd899;border:.2em solid #fff;margin:0 auto;display:flex;justify-content:space-around;align-items:center;flex-wrap:wrap;gap:1em;padding:1em}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:4em;height:2em;font-size:1.4em;background:transparent;border-radius:1em;border:.2em solid #fff;outline:0;cursor:pointer;color:#fff}.lap-div[_ngcontent-%COMP%]{width:100%}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:2.5%;list-style-type:none}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:23%;padding:.3em;outline:.1em solid #fff;margin:.2em 0;background-color:#859cd899;text-align:center}@media screen and (min-width: 36em){.options-div[_ngcontent-%COMP%]{width:80%}}@media screen and (min-width: 56em){.stopwatch-div[_ngcontent-%COMP%]{margin-top:5em}.stopwatch[_ngcontent-%COMP%]{width:20em;height:20em}.stopwatch[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:4em}.options-div[_ngcontent-%COMP%]{margin-top:5em}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1.6em}}@media screen and (min-width: 75em){header[_ngcontent-%COMP%]{width:30em}.options-div[_ngcontent-%COMP%]{width:50%}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:18%}}"]})}return e})(),kA=(()=>{class e{constructor(){this.title="stopwatch"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ks({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){1&r&&Je(0,"app-stopwatch")},dependencies:[FA]})}return e})(),LA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=pr({type:e,bootstrap:[kA]});static#n=this.\u0275inj=fn({imports:[SA]})}return e})();MA().bootstrapModule(LA).catch(e=>console.error(e))}},J=>{J(J.s=132)}]); \ No newline at end of file diff --git a/docs/main.caf8bdc738990537.js b/docs/main.caf8bdc738990537.js new file mode 100644 index 0000000..c1d72a5 --- /dev/null +++ b/docs/main.caf8bdc738990537.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkstopwatch=self.webpackChunkstopwatch||[]).push([[179],{132:()=>{function J(e){return"function"==typeof e}function yo(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 Do=yo(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 dr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ot{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(J(r))try{r()}catch(i){t=i instanceof Do?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{qc(i)}catch(s){t=t??[],s instanceof Do?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Do(t)}}add(t){var n;if(t&&t!==this)if(this.closed)qc(t);else{if(t instanceof ot){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)&&dr(n,t)}remove(t){const{_finalizers:n}=this;n&&dr(n,t),t instanceof ot&&t._removeParent(this)}}ot.EMPTY=(()=>{const e=new ot;return e.closed=!0,e})();const zc=ot.EMPTY;function Gc(e){return e instanceof ot||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function qc(e){J(e)?e():e.unsubscribe()}const Wt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vo={setTimeout(e,t,...n){const{delegate:r}=vo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=vo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wc(e){vo.setTimeout(()=>{const{onUnhandledError:t}=Wt;if(!t)throw e;t(e)})}function Zc(){}const Xy=ds("C",void 0,void 0);function ds(e,t,n){return{kind:e,value:t,error:n}}let Zt=null;function wo(e){if(Wt.useDeprecatedSynchronousErrorHandling){const t=!Zt;if(t&&(Zt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Zt;if(Zt=null,n)throw r}}else e()}class fs extends ot{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Gc(t)&&t.add(this)):this.destination=iD}static create(t,n,r){return new fr(t,n,r)}next(t){this.isStopped?ps(function eD(e){return ds("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ps(function Jy(e){return ds("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ps(Xy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const nD=Function.prototype.bind;function hs(e,t){return nD.call(e,t)}class rD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){_o(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){_o(r)}else _o(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){_o(n)}}}class fr extends fs{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Wt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&hs(t.next,i),error:t.error&&hs(t.error,i),complete:t.complete&&hs(t.complete,i)}):o=t}this.destination=new rD(o)}}function _o(e){Wt.useDeprecatedSynchronousErrorHandling?function tD(e){Wt.useDeprecatedSynchronousErrorHandling&&Zt&&(Zt.errorThrown=!0,Zt.error=e)}(e):Wc(e)}function ps(e,t){const{onStoppedNotification:n}=Wt;n&&vo.setTimeout(()=>n(e,t))}const iD={closed:!0,next:Zc,error:function oD(e){throw e},complete:Zc},gs="function"==typeof Symbol&&Symbol.observable||"@@observable";function ms(e){return e}let Se=(()=>{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 aD(e){return e&&e instanceof fs||function sD(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&Gc(e)}(n)?n:new fr(n,r,o);return wo(()=>{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=Qc(r))((o,i)=>{const s=new fr({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)}[gs](){return this}pipe(...n){return function Yc(e){return 0===e.length?ms:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Qc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qc(e){var t;return null!==(t=e??Wt.Promise)&&void 0!==t?t:Promise}const uD=yo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Co=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Kc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new uD}next(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){wo(()=>{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(){wo(()=>{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?zc:(this.currentObservers=null,i.push(n),new ot(()=>{this.currentObservers=null,dr(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Se;return n.source=this,n}}return e.create=(t,n)=>new Kc(t,n),e})();class Kc extends Co{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:zc}}function Yt(e){return t=>{if(function cD(e){return J(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Qt(e,t,n,r,o){return new lD(e,t,n,r,o)}class lD extends fs{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 Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}function tl(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 ws(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(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const nl=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function rl(e){return J(e?.then)}function ol(e){return J(e[gs])}function il(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function sl(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 al=function PD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ul(e){return J(e?.[al])}function cl(e){return function el(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 Rt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function l(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 Rt(n.read());if(o)return yield Rt(void 0);yield yield Rt(r)}}finally{n.releaseLock()}})}function ll(e){return J(e?.getReader)}function yt(e){if(e instanceof Se)return e;if(null!=e){if(ol(e))return function RD(e){return new Se(t=>{const n=e[gs]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(nl(e))return function FD(e){return new Se(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wc)})}(e);if(il(e))return dl(e);if(ul(e))return function LD(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(ll(e))return function jD(e){return dl(cl(e))}(e)}throw sl(e)}function dl(e){return new Se(t=>{(function VD(e,t){var n,r,o,i;return function Xc(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=tl(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 Ft(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 fl(e,t,n=1/0){return J(t)?fl((r,o)=>function dD(e,t){return Yt((n,r)=>{let o=0;n.subscribe(Qt(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(yt(e(r,o))),n):("number"==typeof t&&(n=t),Yt((r,o)=>function HD(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let D=!1;yt(n(g,l++)).subscribe(Qt(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;u.length&&cp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Qt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const hl=new Se(e=>e.complete());function _s(e){return e[e.length-1]}function pl(e){return function UD(e){return e&&J(e.schedule)}(_s(e))?e.pop():void 0}function gl(e,t=0){return Yt((n,r)=>{n.subscribe(Qt(r,o=>Ft(r,e,()=>r.next(o),t),()=>Ft(r,e,()=>r.complete(),t),o=>Ft(r,e,()=>r.error(o),t)))})}function ml(e,t=0){return Yt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yl(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(n=>{Ft(n,t,()=>{const r=e[Symbol.asyncIterator]();Ft(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Dl(e,t){return t?function QD(e,t){if(null!=e){if(ol(e))return function GD(e,t){return yt(e).pipe(ml(t),gl(t))}(e,t);if(nl(e))return function WD(e,t){return new Se(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(rl(e))return function qD(e,t){return yt(e).pipe(ml(t),gl(t))}(e,t);if(il(e))return yl(e,t);if(ul(e))return function ZD(e,t){return new Se(n=>{let r;return Ft(n,t,()=>{r=e[al](),Ft(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)}),()=>J(r?.return)&&r.return()})}(e,t);if(ll(e))return function YD(e,t){return yl(cl(e),t)}(e,t)}throw sl(e)}(e,t):yt(e)}function KD(...e){const t=pl(e),n=function zD(e,t){return"number"==typeof _s(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yt(r[0]):function BD(e=1/0){return fl(ms,e)}(n)(Dl(r,t)):hl}class XD extends Co{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 vl(e={}){const{connector:t=(()=>new Co),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Yt((g,D)=>{c++,!d&&!l&&f();const v=u=u??t();D.add(()=>{c--,0===c&&!d&&!l&&(a=Cs(p,o))}),v.subscribe(D),!s&&c>0&&(s=new fr({next:m=>v.next(m),error:m=>{d=!0,f(),a=Cs(h,n,m),v.error(m)},complete:()=>{l=!0,f(),a=Cs(h,r),v.complete()}}),yt(g).subscribe(s))})(i)}}function Cs(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new fr({next:()=>{r.unsubscribe(),e()}});return yt(t(...n)).subscribe(r)}function nv(e,t){return e===t}function U(e){for(let t in e)if(e[t]===U)return t;throw Error("Could not find renamed property on target object.")}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Es(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const rv=U({__forward_ref__:U});function Is(e){return e.__forward_ref__=Is,e.toString=function(){return ae(this())},e}function b(e){return function Ms(e){return"function"==typeof e&&e.hasOwnProperty(rv)&&e.__forward_ref__===Is}(e)?e():e}function bs(e){return e&&!!e.\u0275providers}class _ extends Error{constructor(t,n){super(function Io(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function S(e){return"string"==typeof e?e:null==e?"":String(e)}function Ss(e,t){throw new _(-201,!1)}function $e(e,t){null==e&&function E(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mo(e){return _l(e,So)||_l(e,Cl)}function _l(e,t){return e.hasOwnProperty(t)?e[t]:null}function bo(e){return e&&(e.hasOwnProperty(Ts)||e.hasOwnProperty(lv))?e[Ts]:null}const So=U({\u0275prov:U}),Ts=U({\u0275inj:U}),Cl=U({ngInjectableDef:U}),lv=U({ngInjectorDef:U});var F=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}(F||{});let Ns;function Te(e){const t=Ns;return Ns=e,t}function Il(e,t,n){const r=Mo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void Ss(ae(e))}const q=globalThis,hr={},Rs="__NG_DI_FLAG__",To="ngTempTokenPath",hv=/\n/gm,bl="__source";let hn;function kt(e){const t=hn;return hn=e,t}function mv(e,t=F.Default){if(void 0===hn)throw new _(-203,!1);return null===hn?Il(e,void 0,t):hn.get(e,t&F.Optional?null:void 0,t)}function k(e,t=F.Default){return(function El(){return Ns}()||mv)(b(e),t)}function W(e,t=F.Default){return k(e,No(t))}function No(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fs(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!==Al(h,c,0)||2&r&&c!==f){if(Qe(r))return!1;s=!0}}}}else{if(!s&&!Qe(r)&&!Qe(u))return!1;if(s&&Qe(u))continue;s=!1,r=u|1&r}}return Qe(r)||s}function Qe(e){return 0==(1&e)}function Ev(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&&!Qe(s)&&(t+=Ll(i,o),o=""),r=s,i=i||!Qe(r);n++}return""!==o&&(t+=Ll(i,o)),t}function Vs(e){return Dt(()=>{const t=Vl(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ao.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ye.Emulated,styles:e.styles||V,_:null,schemas:e.schemas||null,tView:null,id:""};Hl(n);const r=e.dependencies;return n.directiveDefs=xo(r,!1),n.pipeDefs=xo(r,!0),n.id=function kv(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 xv(e){return L(e)||le(e)}function Pv(e){return null!==e}function yr(e){return Dt(()=>({type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jl(e,t){if(null==e)return it;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 Ue(e){return Dt(()=>{const t=Vl(e);return Hl(t),t})}function L(e){return e[Oo]||null}function le(e){return e[ks]||null}function ye(e){return e[Ls]||null}function Vl(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||it,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jl(e.inputs,t),outputs:jl(e.outputs)}}function Hl(e){e.features?.forEach(t=>t(e))}function xo(e,t){if(!e)return null;const n=t?ye:xv;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Pv)}const ee=0,w=1,O=2,K=3,Ke=4,vr=5,pe=6,pn=7,re=8,Lt=9,gn=10,T=11,wr=12,Bl=13,mn=14,oe=15,_r=16,yn=17,st=18,Cr=19,$l=20,jt=21,wt=22,Er=23,Ir=24,P=25,Hs=1,Ul=2,at=7,Dn=9,de=11;function Ae(e){return Array.isArray(e)&&"object"==typeof e[Hs]}function De(e){return Array.isArray(e)&&!0===e[Hs]}function Bs(e){return 0!=(4&e.flags)}function Xt(e){return e.componentOffset>-1}function Ro(e){return 1==(1&e.flags)}function Xe(e){return!!e.template}function $s(e){return 0!=(512&e[O])}function Jt(e,t){return e.hasOwnProperty(vt)?e[vt]:null}let fe=null,Fo=!1;function ze(e){const t=fe;return fe=e,t}const ql={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Zl(e){if(!br(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Kl(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Ql(e){e.dirty=!0,function Yl(e){if(void 0===e.liveConsumerNode)return;const t=Fo;Fo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ql(n)}finally{Fo=t}}(e),e.consumerMarkedDirty?.(e)}function zs(e){return e&&(e.nextProducerIndex=0),ze(e)}function Gs(e,t){if(ze(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(br(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Kl(e){vn(e);for(let t=0;t0}function vn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let td=null;const id=()=>{},Yv=(()=>({...ql,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:id}))();class Qv{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function sd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xv),Kv}function Kv(){const e=ud(this),t=e?.current;if(t){const n=e.previous;if(n===it)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xv(e,t,n,r){const o=this.declaredInputs[n],i=ud(e)||function Jv(e,t){return e[ad]=t}(e,{previous:it,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Qv(u&&u.currentValue,t,a===it),e[r]=t}const ad="__ngSimpleChanges__";function ud(e){return e[ad]||null}const ut=function(e,t,n){};function Z(e){for(;Array.isArray(e);)e=e[ee];return e}function Oe(e,t){return Z(t[e.index])}function dd(e,t){return e.data[t]}function je(e,t){const n=t[e];return Ae(n)?n:n[ee]}function Ht(e,t){return null==t?null:e[t]}function fd(e){e[yn]=0}function iw(e){1024&e[O]||(e[O]|=1024,pd(e,1))}function hd(e){1024&e[O]&&(e[O]&=-1025,pd(e,-1))}function pd(e,t){let n=e[K];if(null===n)return;n[vr]+=t;let r=n;for(n=n[K];null!==n&&(1===t&&1===r[vr]||-1===t&&0===r[vr]);)n[vr]+=t,r=n,n=n[K]}const I={lFrame:Md(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yd(){return I.bindingsEnabled}function y(){return I.lFrame.lView}function j(){return I.lFrame.tView}function Cn(e){return I.lFrame.contextLView=e,e[re]}function En(e){return I.lFrame.contextLView=null,e}function he(){let e=Dd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Dd(){return I.lFrame.currentTNode}function ct(e,t){const n=I.lFrame;n.currentTNode=e,n.isParent=t}function Qs(){return I.lFrame.isParent}function In(){return I.lFrame.bindingIndex++}function yw(e,t){const n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xs(t)}function Xs(e){I.lFrame.currentDirectiveIndex=e}function Cd(){return I.lFrame.currentQueryIndex}function ea(e){I.lFrame.currentQueryIndex=e}function vw(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[pe]:null}function Ed(e,t,n){if(n&F.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=vw(i),null===o||(i=i[mn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=I.lFrame=Id();return r.currentTNode=t,r.lView=e,!0}function ta(e){const t=Id(),n=e[w];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Id(){const e=I.lFrame,t=null===e?null:e.child;return null===t?Md(e):t}function Md(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 bd(){const e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Sd=bd;function na(){const e=bd();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 we(){return I.lFrame.selectedIndex}function en(e){I.lFrame.selectedIndex=e}let Nd=!0;function Vo(){return Nd}function Bt(e){Nd=e}function Ho(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[yn]+=65536),(a>13>16&&(3&e[O])===t&&(e[O]+=8192,Od(a,i)):Od(a,i)}const Mn=-1;class Tr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ia(e){return e!==Mn}function Nr(e){return 32767&e}function Ar(e,t){let n=function Ow(e){return e>>16}(e),r=t;for(;n>0;)r=r[mn],n--;return r}let sa=!0;function Uo(e){const t=sa;return sa=e,t}const xd=255,Pd=5;let xw=0;const lt={};function zo(e,t){const n=Rd(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,aa(r.data,e),aa(t,null),aa(r.blueprint,null));const o=Go(e,t),i=e.injectorIndex;if(ia(o)){const s=Nr(o),a=Ar(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function aa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Go(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=Bd(o),null===r)return Mn;if(n++,o=o[mn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Mn}function ua(e,t,n){!function Pw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(gr)&&(r=n[gr]),null==r&&(r=n[gr]=xw++);const o=r&xd;t.data[e+(o>>Pd)]|=1<=0?t&xd:jw:t}(n);if("function"==typeof i){if(!Ed(t,e,r))return r&F.Host?Fd(o,0,r):kd(t,n,r,o);try{let s;if(s=i(r),null!=s||r&F.Optional)return s;Ss()}finally{Sd()}}else if("number"==typeof i){let s=null,a=Rd(e,t),u=Mn,c=r&F.Host?t[oe][pe]:null;for((-1===a||r&F.SkipSelf)&&(u=-1===a?Go(e,t):t[a+8],u!==Mn&&Hd(r,!1)?(s=t[w],a=Nr(u),t=Ar(u,t)):a=-1);-1!==a;){const l=t[w];if(Vd(i,a,l.data)){const d=Fw(a,t,n,s,r,c);if(d!==lt)return d}u=t[a+8],u!==Mn&&Hd(r,t[w].data[a+8]===c)&&Vd(i,a,t)?(s=l,a=Nr(u),t=Ar(u,t)):a=-1}}return o}function Fw(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],l=qo(a,s,n,null==r?Xt(a)&&sa:r!=s&&0!=(3&a.type),o&F.Host&&i===a);return null!==l?tn(t,s,l,a):lt}function qo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Xe(h)&&h.type===n)return u}return null}function tn(e,t,n,r){let o=e[n];const i=t.data;if(function Tw(e){return e instanceof Tr}(o)){const s=o;s.resolving&&function ov(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${n}`)}(function $(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():S(e)}(i[n]));const a=Uo(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Te(s.injectImpl):null;Ed(e,r,F.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=sd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Te(c),Uo(a),s.resolving=!1,Sd()}}return o}function Vd(e,t,n){return!!(n[t+(e>>Pd)]&1<{const r=function da(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,c,l){const d=u.hasOwnProperty(Sn)?u[Sn]:Object.defineProperty(u,Sn,{value:[]})[Sn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function On(e,t){e.forEach(n=>Array.isArray(n)?On(n,t):t(n))}function Ud(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const pa=pr(Nn("Optional"),8),ga=pr(Nn("SkipSelf"),4);function Jo(e){return 128==(128&e.flags)}var $t=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}($t||{});const va=new Map;let y_=0;const _a="__ngContext__";function ge(e,t){Ae(t)?(e[_a]=t[Cr],function v_(e){va.set(e[Cr],e)}(t)):e[_a]=t}let Ca;function Ea(e,t){return Ca(e,t)}function kr(e){const t=e[K];return De(t)?t[K]:t}function df(e){return hf(e[wr])}function ff(e){return hf(e[Ke])}function hf(e){for(;null!==e&&!De(e);)e=e[Ke];return e}function Fn(e,t,n,r,o){if(null!=r){let i,s=!1;De(r)?i=r:Ae(r)&&(s=!0,r=r[ee]);const a=Z(r);0===e&&null!==n?null==o?yf(t,n,a):nn(t,n,a,o||null,!0):1===e&&null!==n?nn(t,n,a,o||null,!0):2===e?function si(e,t,n){const r=oi(e,t);r&&function j_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function B_(e,t,n,r,o){const i=n[at];i!==Z(n)&&Fn(t,e,r,i,o);for(let a=de;a0&&(e[n-1][Ke]=r[Ke]);const i=Wo(e,de+t);!function A_(e,t){jr(e,t,t[T],2,null,null),t[ee]=null,t[pe]=null}(r[w],r);const s=i[st];null!==s&&s.detachView(i[w]),r[K]=null,r[Ke]=null,r[O]&=-129}return r}function Ma(e,t){if(!(256&t[O])){const n=t[T];t[Er]&&Xl(t[Er]),t[Ir]&&Xl(t[Ir]),n.destroyNode&&jr(e,t,n,3,null,null),function P_(e){let t=e[wr];if(!t)return ba(e[w],e);for(;t;){let n=null;if(Ae(t))n=t[wr];else{const r=t[de];r&&(n=r)}if(!n){for(;t&&!t[Ke]&&t!==e;)Ae(t)&&ba(t[w],t),t=t[K];null===t&&(t=e),Ae(t)&&ba(t[w],t),n=t&&t[Ke]}t=n}}(t)}}function ba(e,t){if(!(256&t[O])){t[O]&=-129,t[O]|=256,function L_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[pn]=null);const o=t[jt];if(null!==o){t[jt]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ye.None||i===Ye.Emulated)return null}return Oe(r,n)}}(e,t.parent,n)}function nn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function yf(e,t,n){e.appendChild(t,n)}function Df(e,t,n,r,o){null!==r?nn(e,t,n,r,o):yf(e,t,n)}function oi(e,t){return e.parentNode(t)}let Ta,xa,_f=function wf(e,t,n){return 40&e.type?Oe(e,n):null};function ii(e,t,n,r){const o=Sa(e,r,t),i=t[T],a=function vf(e,t,n){return _f(e,t,n)}(r.parent||t[pe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{n.push(s)};return On(t,s=>{const a=s;di(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&zf(o,i),n}function zf(e,t){for(let n=0;n{t(i,r)})}}function di(e,t,n,r){if(!(e=b(e)))return!1;let o=null,i=bo(e);const s=!i&&L(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=bo(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 c of u)di(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{On(i.imports,l=>{di(l,t,n,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&zf(c,t)}if(!a){const c=Jt(o)||(()=>new o);t({provide:o,useFactory:c,deps:V},o),t({provide:Bf,useValue:o,multi:!0},o),t({provide:li,useValue:()=>k(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;Va(u,l=>{t(l,c)})}}}return o!==e&&void 0!==e.providers}function Va(e,t){for(let n of e)bs(n)&&(n=n.\u0275providers),Array.isArray(n)?Va(n,t):t(n)}const DC=U({provide:String,useValue:U});function Ha(e){return null!==e&&"object"==typeof e&&DC in e}function rn(e){return"function"==typeof e}const Ba=new N("Set Injector scope."),fi={},wC={};let $a;function hi(){return void 0===$a&&($a=new ja),$a}class It{}class pi extends It{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,za(t,s=>this.processProvider(s)),this.records.set(Hf,Vn(void 0,this)),o.has("environment")&&this.records.set(It,Vn(void 0,this));const i=this.records.get(Ba);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bf.multi,V,F.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=kt(this),r=Te(void 0);try{return t()}finally{kt(n),Te(r)}}get(t,n=hr,r=F.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Nl))return t[Nl](this);r=No(r);const i=kt(this),s=Te(void 0);try{if(!(r&F.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=function MC(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&Mo(t);u=c&&this.injectableDefInScope(c)?Vn(Ua(t),fi):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&F.Self?hi():this.parent).get(t,n=r&F.Optional&&n===hr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[To]=a[To]||[]).unshift(ae(t)),i)throw a;return function Dv(e,t,n,r){const o=e[To];throw t[bl]&&o.unshift(t[bl]),e.message=function vv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ae(t);if(Array.isArray(t))o=t.map(ae).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ae(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(hv,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[To]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Te(s),kt(i)}}resolveInjectorInitializers(){const t=kt(this),n=Te(void 0);try{const o=this.get(li.multi,V,F.Self);for(const i of o)i()}finally{kt(t),Te(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){let n=rn(t=b(t))?t:b(t&&t.provide);const r=function CC(e){return Ha(e)?Vn(void 0,e.useValue):Vn(function Wf(e,t,n){let r;if(rn(e)){const o=b(e);return Jt(o)||Ua(o)}if(Ha(e))r=()=>b(e.useValue);else if(function qf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Fs(e.deps||[]));else if(function Gf(e){return!(!e||!e.useExisting)}(e))r=()=>k(b(e.useExisting));else{const o=b(e&&(e.useClass||e.provide));if(!function EC(e){return!!e.deps}(e))return Jt(o)||Ua(o);r=()=>new o(...Fs(e.deps))}return r}(e),fi)}(t);if(rn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Vn(void 0,fi,!0),o.factory=()=>Fs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===fi&&(n.value=wC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function IC(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=b(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 Ua(e){const t=Mo(e),n=null!==t?t.factory:Jt(e);if(null!==n)return n;if(e instanceof N)throw new _(204,!1);if(e instanceof Function)return function _C(e){const t=e.length;if(t>0)throw function Pr(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new _(204,!1)}function Vn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function za(e,t){for(const n of e)Array.isArray(n)?za(n,t):n&&bs(n)?za(n.\u0275providers,t):t(n)}const gi=new N("AppId",{providedIn:"root",factory:()=>bC}),bC="ng",Zf=new N("Platform Initializer"),Hn=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Yf=new N("CSP nonce",{providedIn:"root",factory:()=>function Ln(){if(void 0!==xa)return xa;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qf=(e,t,n)=>null;function Xa(e,t,n=!1){return Qf(e,t,n)}class kC{}class Jf{}class jC{resolveComponentFactory(t){throw function LC(e){const t=Error(`No component factory found for ${ae(e)}.`);return t.ngComponent=e,t}(t)}}let _i=(()=>{class e{static#e=this.NULL=new jC}return e})();function VC(){return Un(he(),y())}function Un(e,t){return new zn(Oe(e,t))}let zn=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=VC}return e})();function HC(e){return e instanceof zn?e.nativeElement:e}class th{}let $C=(()=>{class e{static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>null})}return e})();class tu{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const UC=new tu("16.2.7"),nu={};function sh(e,t=null,n=null,r){const o=ah(e,t,n,r);return o.resolveInjectorInitializers(),o}function ah(e,t=null,n=null,r,o=new Set){const i=[n||V,yC(e)];return r=r||("object"==typeof e?void 0:ae(e)),new pi(i,t||hi(),r||null,o)}let dt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=hr;static#t=this.NULL=new ja;static create(n,r){if(Array.isArray(n))return sh({name:""},r,n,"");{const o=n.name??"";return sh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=z({token:e,providedIn:"any",factory:()=>k(Hf)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function ou(e){return e.ngOriginalError}class Mt{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&&ou(t);for(;n&&ou(n);)n=ou(n);return n||null}}function su(e){return t=>{setTimeout(e,void 0,t)}}const bt=class QC extends Co{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=su(i),o&&(o=su(o)),s&&(s=su(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ot&&t.add(a),a}};function ch(...e){}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bt(!1),this.onMicrotaskEmpty=new bt(!1),this.onStable=new bt(!1),this.onError=new bt(!1),typeof Zone>"u")throw new _(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 KC(){const e="function"==typeof q.requestAnimationFrame;let t=q[e?"requestAnimationFrame":"setTimeout"],n=q[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 eE(e){const t=()=>{!function JC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,uu(e),e.isCheckStableRunning=!0,au(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function nE(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 lh(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),dh(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return lh(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),dh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,uu(e),au(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(!te.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new _(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,XC,ch,ch);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 XC={};function au(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 uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function lh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dh(e){e._nesting--,au(e)}class tE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bt,this.onMicrotaskEmpty=new bt,this.onStable=new bt,this.onError=new bt}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 fh=new N("",{providedIn:"root",factory:hh});function hh(){const e=W(te);let t=!0;return KD(new Se(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Se(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{te.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(vl()))}let cu=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e})}return e})();function zr(e){for(;e;){e[O]|=64;const t=kr(e);if($s(e)&&!t)return e;e=t}return null}const Dh=new N("",{providedIn:"root",factory:()=>!1});let Ei=null;function Ch(e,t){return e[t]??Mh()}function Eh(e,t){const n=Mh();n.producerNode?.length&&(e[t]=Ei,n.lView=e,Ei=Ih())}const fE={...ql,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{zr(e.lView)},lView:null};function Ih(){return Object.create(fE)}function Mh(){return Ei??=Ih(),Ei}const A={};function Ii(e){bh(j(),y(),we()+e,!1)}function bh(e,t,n,r){if(!r)if(3==(3&t[O])){const i=e.preOrderCheckHooks;null!==i&&Bo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&$o(t,i,0,n)}en(n)}function x(e,t=F.Default){const n=y();return null===n?k(e,t):Ld(he(),n,b(e),t)}function Mi(e,t,n,r,o,i,s,a,u,c,l){const d=t.blueprint.slice();return d[ee]=o,d[O]=140|r,(null!==c||e&&2048&e[O])&&(d[O]|=2048),fd(d),d[K]=d[mn]=e,d[re]=n,d[gn]=s||e&&e[gn],d[T]=a||e&&e[T],d[Lt]=u||e&&e[Lt]||null,d[pe]=i,d[Cr]=function D_(){return y_++}(),d[wt]=l,d[$l]=c,d[oe]=2==t.type?e[oe]:d,d}function Wn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function lu(e,t,n,r,o){const i=Dd(),s=Qs(),u=e.data[t]=function _E(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function _n(){return null!==I.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 mw(){return I.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Sr(){const e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return ct(i,!0),i}function Gr(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iP&&bh(e,t,P,!1),ut(a?2:0,o);const c=a?i:null,l=zs(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{Gs(c,l)}}finally{a&&null===t[Er]&&Eh(t,Er),en(s),ut(a?3:1,o)}}function du(e,t,n){if(Bs(t)){const r=ze(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Ah(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Oh(n,t,o,i):r.hasOwnProperty(o)&&Oh(n,t,r[o],i)}return n}function Oh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function gu(e,t,n,r){if(yd()){const o=null===r?null:{"":-1},i=function AE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Gr(e,n,o.hostVars,A),o)}function kE(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function Zv(e,t,n){const r=Object.create(Yv);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Ql(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Kl(r))return;r.hasRun=!0;const s=zs(r);try{r.cleanupFn(),r.cleanupFn=id,r.fn(o)}finally{Gs(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e})}return e})();function Si(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){zh(e,1);const o=n.components;null!==o&&qh(e,o,1)}}function qh(e,t,n){for(let r=0;r-1&&(ri(t,r),Wo(n,r))}this._attachedToViewContainer=!1}Ma(this._lView[w],this._lView)}onDestroy(t){!function gd(e,t){if(256==(256&e[O]))throw new _(911,!1);null===e[jt]&&(e[jt]=[]),e[jt].push(t)}(this._lView,t)}markForCheck(){zr(this._cdRefInjectingView||this._lView)}detach(){this._lView[O]&=-129}reattach(){this._lView[O]|=128}detectChanges(){Ti(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function x_(e,t){jr(e,t,t[T],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t}}class GE extends Wr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ti(t[w],t,t[re],!1)}checkNoChanges(){}get context(){return null}}class Wh extends _i{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=L(t);return new Zr(n,this.ngModule)}}function Zh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class WE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=No(r);const o=this.injector.get(t,nu,r);return o!==nu||n===nu?o:this.parentInjector.get(t,n,r)}}class Zr extends Jf{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Zh(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Zh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Nv(e){return e.map(Tv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof It?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new WE(t,i):t,a=s.get(th,null);if(null===a)throw new _(407,!1);const d={rendererFactory:a,sanitizer:s.get($C,null),effectManager:s.get(Bh,null),afterRenderEventManager:s.get(cu,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function mE(e,t,n,r){const i=r.get(Dh,!1)||n===Ye.ShadowDom,s=e.selectRootElement(t,i);return function yE(e){Nh(e)}(s),s}(f,r,this.componentDef.encapsulation,s):ni(f,h,function qE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),v=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=Xa(p,s,!0));const C=pu(0,null,null,1,0,null,null,null,null,null,null),M=Mi(null,C,null,v,null,null,d,f,s,null,m);let R,Fe;ta(M);try{const Pt=this.componentDef;let lr,Uc=null;Pt.findHostDirectiveDefs?(lr=[],Uc=new Map,Pt.findHostDirectiveDefs(Pt,lr,Uc),lr.push(Pt)):lr=[Pt];const VA=function YE(e,t){const n=e[w],r=P;return e[r]=t,Wn(n,r,2,"#host",null)}(M,p),HA=function QE(e,t,n,r,o,i,s){const a=o[w];!function KE(e,t,n,r){for(const o of e)t.mergedAttrs=mr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Si(t,t.mergedAttrs,!0),null!==n&&Sf(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=Xa(t,o[Lt]));const c=i.rendererFactory.createRenderer(t,n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const d=Mi(o,Th(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&mu(a,e,r.length-1),bi(o,d),o[e.index]=d}(VA,p,Pt,lr,M,d,f);Fe=dd(C,P),p&&function JE(e,t,n,r){if(r)js(e,n,["ng-version",UC.full]);else{const{attrs:o,classes:i}=function Av(e){const t=[],n=[];let r=1,o=2;for(;r0&&bf(e,n,i.join(" "))}}(f,Pt,p,r),void 0!==n&&function eI(e,t,n){const r=e.projection=[];for(let o=0;o(Bt(!0),ni(r,o,function Td(){return I.lFrame.currentNamespace}()));function Ou(e){return!!e&&"function"==typeof e.then}function wp(e){return!!e&&"function"==typeof e.subscribe}function sn(e,t,n,r){const o=y(),i=j(),s=he();return function Cp(e,t,n,r,o,i,s){const a=Ro(r),c=e.firstCreatePass&&jh(e),l=t[re],d=Lh(t);let f=!0;if(3&r.type||s){const g=Oe(r,t),D=s?s(g):g,v=d.length,m=s?M=>s(Z(M[r.index])):r.index;let C=null;if(!s&&a&&(C=function BI(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!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=i,C.__ngLastListenerFn__=i,f=!1;else{i=Ip(r,t,l,i,!1);const M=n.listen(D,o,i);d.push(i,M),c&&c.push(o,m,v,v+1)}}else i=Ip(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let D=0;D-1?je(e.index,t):t);let u=Ep(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Ep(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function eo(e,t=""){const n=y(),r=j(),o=e+P,i=r.firstCreatePass?Wn(r,o,1,t,null):r.data[o],s=Yp(r,n,i,t,e);n[o]=s,Vo()&&ii(r,n,s,i),ct(i,!1)}let Yp=(e,t,n,r,o)=>(Bt(!0),function ti(e,t){return e.createText(t)}(t[T],r));function Li(e){return Lu("",e,""),Li}function Lu(e,t,n){const r=y(),o=function Yn(e,t,n,r){return me(e,In(),n)?t+S(n)+r:A}(r,e,t,n);return o!==A&&Tt(r,we(),o),Lu}const sr="en-US";let yg=sr;class cn{}class kb{}class zu extends cn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wh(this);const o=function Le(e,t){const n=e[Tl]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function St(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=ah(t,n,[{provide:cn,useValue:this},{provide:_i,useValue:this.componentFactoryResolver},...r],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gu extends kb{constructor(t){super(),this.moduleType=t}create(t){return new zu(this.moduleType,t,[])}}function p0(){return this._results[Symbol.iterator]()}class Wu{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new bt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Wu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=p0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function Ge(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Gw(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[o-1][Ke]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=v0}return e})();const y0=Nt,D0=class extends y0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function g0(e,t,n,r){const o=t.tView,a=Mi(e,o,n,4096&e[O]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[_r]=e[t.index];const c=e[st];return null!==c&&(a[st]=c.createEmbeddedView(o)),wu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Wr(o)}};function v0(){return $i(he(),y())}function $i(e,t){return 4&e.type?new D0(t,e,Un(e,t)):null}let mt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=M0}return e})();function M0(){return am(he(),y())}const b0=mt,im=class extends b0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Un(this._hostTNode,this._hostLView)}get injector(){return new _e(this._hostTNode,this._hostLView)}get parentInjector(){const t=Go(this._hostTNode,this._hostLView);if(ia(t)){const n=Ar(t,this._hostLView),r=Nr(t);return new _e(n[w].data[r+8],n)}return new _e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-de}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function xr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new Zr(L(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const D=(s?c:this.parentInjector).get(It,null);D&&(i=D)}L(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function ow(e){return De(e[K])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const c=o[K],l=new im(c,c[pe],c[K]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return m0(a,o,s,!r),t.attachToViewContainerRef(),Ud(Zu(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=sm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ri(this._lContainer,n);r&&(Wo(Zu(this._lContainer),n),Ma(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=ri(this._lContainer,n);return r&&null!=Wo(Zu(this._lContainer),n)?new Wr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function sm(e){return e[8]}function Zu(e){return e[8]||(e[8]=[])}function am(e,t){let n;const r=t[e.index];return De(r)?n=r:(n=Fh(r,t,null,e),t[e.index]=n,bi(t,n)),um(n,t,e,r),new im(n,e,t)}let um=function cm(e,t,n,r){if(e[at])return;let o;o=8&n.type?Z(r):function S0(e,t){const n=e[T],r=n.createComment(""),o=Oe(t,e);return nn(n,oi(n,o),r,function V_(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[at]=o};class Yu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Yu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const c=i[a+1],l=t[-u];for(let d=de;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=W(oS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ou(i))n.push(i);else if(wp(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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const At=new N("LocaleId",{providedIn:"root",factory:()=>W(At,F.Optional|F.SkipSelf)||function sS(){return typeof $localize<"u"&&$localize.locale||sr}()});let cS=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new XD(!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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jm=new N(""),qi=new N("");let cc,ac=(()=>{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,cc||(function AS(e){cc=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:()=>{te.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)(k(te),k(uc),k(qi))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})(),uc=(()=>{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 cc?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gt=null;const Vm=new N("AllowMultipleToken"),lc=new N("PlatformDestroyListeners"),Hm=new N("appBootstrapListener");function Um(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=dc();if(!s||s.injector.get(Vm,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function PS(e){if(Gt&&!Gt.get(Vm,!1))throw new _(400,!1);(function Bm(){!function Uv(e){td=e}(()=>{throw new _(600,!1)})})(),Gt=e;const t=e.get(Gm);(function $m(e){e.get(Zf,null)?.forEach(n=>n())})(e)}(function zm(e=[],t){return dt.create({name:t,providers:[{provide:Ba,useValue:"platform"},{provide:lc,useValue:new Set([()=>Gt=null])},...e]})}(a,r))}return function FS(e){const t=dc();if(!t)throw new _(401,!1);return t}()}}function dc(){return Gt?.get(Gm)??null}let Gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function kS(e="zone.js",t){return"noop"===e?new tE:"zone.js"===e?new te(t):e}(r?.ngZone,function qm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function jb(e,t,n){return new zu(e,t,n)}(n.moduleType,this.injector,function Km(e){return[{provide:te,useFactory:e},{provide:li,multi:!0,useFactory:()=>{const t=W(jS,{optional:!0});return()=>t.initialize()}},{provide:Qm,useFactory:LS},{provide:fh,useFactory:hh}]}(()=>o)),s=i.injector.get(Mt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Wi(this._modules,i),a.unsubscribe()})}),function Wm(e,t,n){try{const r=n();return Ou(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(oc);return a.runInitializers(),a.donePromise.then(()=>(function Dg(e){$e(e,"Expected localeId to be defined"),"string"==typeof e&&(yg=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(At,sr)||sr),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Zm({},r);return function OS(e,t,n){const r=new Gu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(lo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new _(-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 _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(lc,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)(k(dt))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Zm(e,t){return Array.isArray(t)?t.reduce(Zm,e):{...e,...t}}let lo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Qm),this.zoneIsStable=W(fh),this.componentTypes=[],this.components=[],this.isStable=W(cS).hasPendingTasks.pipe(function ev(e,t){return Yt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Qt(r,u=>{o?.unsubscribe();let c=0;const l=i++;yt(e(u,l)).subscribe(o=Qt(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(n=>n?function JD(...e){return Dl(e,pl(e))}(!1):this.zoneIsStable),function tv(e,t=ms){return e=e??nv,Yt((n,r)=>{let o,i=!0;n.subscribe(Qt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),vl()),this._injector=W(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Jf;if(!this._injector.get(oc).done)throw!o&&function Dr(e){const t=L(e)||le(e)||ye(e);return null!==t&&t.standalone}(n),new _(405,!1);let s;s=o?n:this._injector.get(_i).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function xS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(cn),c=s.create(dt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(jm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Wi(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new _(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;Wi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Hm,[]);r.push(...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),()=>Wi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qm=new N("",{providedIn:"root",factory:()=>W(Mt).handleError.bind(void 0)});function LS(){const e=W(te),t=W(Mt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let jS=(()=>{class e{constructor(){this.zone=W(te),this.applicationRef=W(lo)}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=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ty{constructor(){}supports(t){return Ai(t)}create(t){return new ZS(t)}}const WS=(e,t)=>t;class ZS{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||WS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new YS(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ny),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ny),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class YS{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class QS{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class ny{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new QS,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ry(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:iy});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||iy()),deps:[[e,new ga,new pa]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new _(901,!1)}}return e})();const tT=Um(null,"core",[]);let nT=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(k(lo))};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=fn({})}return e})(),yc=null;function Dc(){return yc}class gT{}const dn=new N("DocumentToken");class oN{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let My=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new oN(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),by(a,o)}});for(let o=0,i=r.length;o{by(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(x(mt),x(Nt),x(Qi))};static#t=this.\u0275dir=Ue({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function by(e,t){e.context.$implicit=t.item}let ON=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=fn({})}return e})();function Oy(e){return"server"===e}class iA extends gT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Fc extends iA{static makeCurrent(){!function pT(e){yc||(yc=e)}(new Fc)}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 sA(){return mo=mo||document.querySelector("base"),mo?mo.getAttribute("href"):null}();return null==n?null:function aA(e){ls=ls||document.createElement("a"),ls.setAttribute("href",e);const t=ls.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function tN(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 ls,mo=null,cA=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const kc=new N("EventManagerPlugins");let ky=(()=>{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 _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(k(kc),k(te))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class Ly{constructor(t){this._doc=t}}const Lc="ng-app-id";let jy=(()=>{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=Oy(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[${Lc}="${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(Lc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Lc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const 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)(k(dn),k(gi),k(Yf,8),k(Hn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const jc={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/"},Vc=/%COMP%/g,hA=new N("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Hy(e,t){return t.map(n=>n.replace(Vc,e))}let By=(()=>{class e{constructor(n,r,o,i,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Oy(a),this.defaultRenderer=new Hc(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ye.ShadowDom&&(r={...r,encapsulation:Ye.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Uy?o.applyToHost(n):o instanceof Bc&&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,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ye.Emulated:i=new Uy(u,c,r,this.appId,l,s,a,d);break;case Ye.ShadowDom:return new yA(u,c,n,r,s,a,this.nonce,d);default:i=new Bc(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(k(ky),k(jy),k(gi),k(hA),k(dn),k(Hn),k(te),k(Yf))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class Hc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(jc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($y(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&($y(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 _(-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=jc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=jc[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&($t.DashCase|$t.Important)?t.style.setProperty(n,r,o&$t.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&$t.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Dc().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 $y(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class yA extends Hc{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 c=Hy(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,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 Bc extends Hc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Hy(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Uy extends Bc{constructor(t,n,r,o,i,s,a,u){const c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=function pA(e){return"_ngcontent-%COMP%".replace(Vc,e)}(c),this.hostAttr=function gA(e){return"_nghost-%COMP%".replace(Vc,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let DA=(()=>{class e extends Ly{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)(k(dn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const zy=["alt","control","meta","shift"],vA={"\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"},wA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let _A=(()=>{class e extends Ly{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(()=>Dc().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."),zy.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),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=vA[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"),zy.forEach(s=>{s!==o&&(0,wA[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)(k(dn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const MA=Um(tT,"browser",[{provide:Hn,useValue:"browser"},{provide:Zf,useValue:function CA(){Fc.makeCurrent()},multi:!0},{provide:dn,useFactory:function IA(){return function W_(e){xa=e}(document),document},deps:[]}]),bA=new N(""),Wy=[{provide:qi,useClass:class uA{addToWindow(t){q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},q.getAllAngularTestabilities=()=>t.getAllTestabilities(),q.getAllAngularRootElements=()=>t.getAllRootElements(),q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(r=>{const o=q.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?Dc().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:jm,useClass:ac,deps:[te,uc,qi]},{provide:ac,useClass:ac,deps:[te,uc,qi]}],Zy=[{provide:Ba,useValue:"root"},{provide:Mt,useFactory:function EA(){return new Mt},deps:[]},{provide:kc,useClass:DA,multi:!0,deps:[dn,te,Hn]},{provide:kc,useClass:_A,multi:!0,deps:[dn]},By,jy,ky,{provide:th,useExisting:By},{provide:class kN{},useClass:cA,deps:[]},[]];let SA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gi,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(k(bA,12))};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=fn({providers:[...Zy,...Wy],imports:[ON,nT]})}return e})();typeof window<"u"&&window;const RA=["stopw"];function FA(e,t){if(1&e&&(Ce(0,"li"),eo(1),Ee()),2&e){const n=t.$implicit;Ii(1),Li(n)}}let kA=(()=>{class e{constructor(){this.isRunning=!1,this.timeMilliseconds=0,this.currentTime="00:00:00",this.laps=[]}start(){this.isRunning||(this.isRunning=!0,this.intervalMilliseconds=setInterval(()=>{this.timeMilliseconds+=10,this.currentTime=this.convertMilliseconds(this.timeMilliseconds)},10),this.intervalSeconds=setInterval(()=>{this.stopwatch.nativeElement.style.transform="scale(1.05)",setTimeout(()=>{this.stopwatch.nativeElement.style.transform="scale(1)"},500)},1e3))}pause(){clearInterval(this.intervalMilliseconds),clearInterval(this.intervalSeconds),this.isRunning=!1}restart(){this.pause(),this.timeMilliseconds=0,this.currentTime=this.convertMilliseconds(this.timeMilliseconds)}lap(){this.isRunning&&this.laps.push(this.currentTime)}clearLaps(){this.laps=[]}convertMilliseconds(n){const r=Math.floor(n/6e4),o=Math.floor(n%6e4/1e3);let i=n/1e3;return`${r.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}:${i.toString().padStart(2,"0").replace(".","").slice(-2)}`}buttonEffect(n){n.classList.add("animation-btn"),setTimeout(()=>{n.classList.remove("animation-btn")},1e3)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Vs({type:e,selectors:[["app-stopwatch"]],viewQuery:function(r,o){if(1&r&&hm(RA,5),2&r){let i;fm(i=function pm(){return function F0(e,t){return e[st].queries[t].queryList}(y(),Cd())}())&&(o.stopwatch=i.first)}},decls:38,vars:2,consts:[[1,"back"],[1,"top-header"],["href","https://github.com/VictorMuniz7","target","_blank"],[1,"fa-brands","fa-github"],["href","https://www.linkedin.com/in/victor-muniz-236842267/","target","_blank"],[1,"fa-brands","fa-linkedin"],[1,"title-div"],[1,"container"],[1,"stopwatch-div"],[1,"stopwatch"],["stopw",""],[1,"options-div"],[3,"click"],["btn1",""],[1,"fa-solid","fa-play"],["btn2",""],[1,"fa-solid","fa-pause"],["btn3",""],[1,"fa-solid","fa-arrow-rotate-left"],["btn4",""],[1,"fa-solid","fa-flag"],["btn5",""],[1,"fa-solid","fa-broom"],[1,"lap-div"],[4,"ngFor","ngForOf"]],template:function(r,o){if(1&r){const i=function vp(){return y()}();Ce(0,"div",0)(1,"header")(2,"div",1)(3,"a",2),Je(4,"i",3),Ee(),Ce(5,"p"),eo(6,"KRS"),Ee(),Ce(7,"a",4),Je(8,"i",5),Ee()(),Je(9,"hr"),Ce(10,"div",6)(11,"h1"),eo(12,"Stopwatch"),Ee()()(),Ce(13,"div",7)(14,"div",8)(15,"div",9,10)(17,"p"),eo(18),Ee()()(),Ce(19,"div",11)(20,"button",12,13),sn("click",function(){return o.start()})("click",function(){Cn(i);const a=rr(21);return En(o.buttonEffect(a))}),Je(22,"i",14),Ee(),Ce(23,"button",12,15),sn("click",function(){return o.pause()})("click",function(){Cn(i);const a=rr(24);return En(o.buttonEffect(a))}),Je(25,"i",16),Ee(),Ce(26,"button",12,17),sn("click",function(){return o.restart()})("click",function(){Cn(i);const a=rr(27);return En(o.buttonEffect(a))}),Je(28,"i",18),Ee(),Ce(29,"button",12,19),sn("click",function(){return o.lap()})("click",function(){Cn(i);const a=rr(30);return En(o.buttonEffect(a))}),Je(31,"i",20),Ee(),Ce(32,"button",12,21),sn("click",function(){return o.clearLaps()})("click",function(){Cn(i);const a=rr(33);return En(o.buttonEffect(a))}),Je(34,"i",22),Ee()(),Ce(35,"div",23)(36,"ul"),function hp(e,t,n,r,o,i,s,a){const u=y(),c=j(),l=e+P,d=c.firstCreatePass?function OI(e,t,n,r,o,i,s,a,u){const c=t.consts,l=Wn(t,e,4,s||null,Ht(c,a));gu(t,n,l,Ht(c,u)),Ho(t,l);const d=l.tView=pu(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];ct(d,!1);const f=pp(c,u,d,e);Vo()&&ii(c,u,f,d),ge(f,u),bi(u,u[l]=Fh(f,u,f,d)),Ro(d)&&fu(c,u,d),null!=s&&hu(u,d,a)}(37,FA,2,1,"li",24),Ee()()()()}2&r&&(Ii(18),Li(o.currentTime),Ii(19),Su("ngForOf",o.laps))},dependencies:[My],styles:['.back[_ngcontent-%COMP%]{width:100%;height:100vh;overflow:scroll;background:url(background.70c0dce5f649b81e.jpg);background-size:cover;background-position:center}header[_ngcontent-%COMP%]{width:20em;margin:1em auto;padding:.5em;border-radius:1em;background-color:#859cd899;border:.2em solid #fff}header[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{width:100%;border:.1em solid #fff}.top-header[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-around;align-items:center}.top-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .top-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:3em;text-decoration:none;color:#fff}.top-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:700}.title-div[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3em;text-align:center;color:#fff}.container[_ngcontent-%COMP%]{width:98%;margin:0 auto}.stopwatch-div[_ngcontent-%COMP%]{height:15em;display:flex;justify-content:center;align-items:center;margin-bottom:.3em}.stopwatch[_ngcontent-%COMP%]{width:15em;height:15em;border-radius:50%;background:radial-gradient(#474545,#000);display:flex;justify-content:center;align-items:center;transition-duration:1s}.stopwatch[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:4.15em;font-size:2.8em;color:#fff}.options-div[_ngcontent-%COMP%]{width:100%;background-color:#859cd899;border:.2em solid #fff;margin:0 auto;display:flex;justify-content:space-around;align-items:center;flex-wrap:wrap;gap:1em;padding:1em}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:4em;height:2em;font-size:1.4em;background:transparent;border-radius:1em;border:.2em solid #fff;outline:0;cursor:pointer;color:#fff}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#bec9e6}.animation-btn[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_buttonAnimation 1.5s ease-in-out}.lap-div[_ngcontent-%COMP%]{width:100%}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:2.5%;list-style-type:none}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:23%;padding:.3em;outline:.1em solid #fff;margin:.2em 0;background-color:#859cd899;text-align:center}@media screen and (min-width: 36em){.options-div[_ngcontent-%COMP%]{width:80%}}@media screen and (min-width: 56em){.stopwatch-div[_ngcontent-%COMP%]{margin-top:5em}.stopwatch[_ngcontent-%COMP%]{width:20em;height:20em}.stopwatch[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:4em}.options-div[_ngcontent-%COMP%]{margin-top:5em}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:transparent}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{display:none}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-child(1):hover:before{content:"Start"}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-child(2):hover:before{content:"Stop"}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-child(3):hover:before{content:"Restart"}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-child(4):hover:before{content:"Lap"}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-child(5):hover:before{content:"Clear"}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1.6em}}@media screen and (min-width: 75em){header[_ngcontent-%COMP%]{width:30em}.options-div[_ngcontent-%COMP%]{width:50%}.lap-div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:18%}}@media screen and (min-width: 95em){.options-div[_ngcontent-%COMP%]{width:45%}.options-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:5em}}@keyframes _ngcontent-%COMP%_buttonAnimation{0%{background-color:#dee3f0}to{background-color:transparent}}']})}return e})(),LA=(()=>{class e{constructor(){this.title="stopwatch"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Vs({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){1&r&&Je(0,"app-stopwatch")},dependencies:[kA]})}return e})(),jA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=yr({type:e,bootstrap:[LA]});static#n=this.\u0275inj=fn({imports:[SA]})}return e})();MA().bootstrapModule(jA).catch(e=>console.error(e))}},J=>{J(J.s=132)}]); \ No newline at end of file diff --git a/src/app/stopwatch/stopwatch.component.html b/src/app/stopwatch/stopwatch.component.html index d954946..11bae9f 100644 --- a/src/app/stopwatch/stopwatch.component.html +++ b/src/app/stopwatch/stopwatch.component.html @@ -11,17 +11,17 @@

Stopwatch

-
-
+
+

{{ currentTime }}

- - - - - + + + + +
    diff --git a/src/app/stopwatch/stopwatch.component.scss b/src/app/stopwatch/stopwatch.component.scss index 91dd638..ffa00b4 100644 --- a/src/app/stopwatch/stopwatch.component.scss +++ b/src/app/stopwatch/stopwatch.component.scss @@ -67,6 +67,7 @@ header{ display: flex; justify-content: center; align-items: center; + transition-duration: 1s; p{ width: 4.15em; @@ -97,9 +98,19 @@ header{ outline: 0; cursor: pointer; color: #fff; + + &:hover{ + background-color: #bec9e6; + } + } } +.animation-btn{ + animation: buttonAnimation 1.5s ease-in-out; +} + + .lap-div{ width: 100%; @@ -146,7 +157,37 @@ header{ .options-div{ margin-top: 5em; - } + + button{ + &:hover{ + background-color: transparent; + i{ + display: none; + } + } + + &:nth-child(1):hover::before{ + content: 'Start'; + } + + &:nth-child(2):hover::before{ + content: 'Stop'; + } + + &:nth-child(3):hover::before{ + content: 'Restart'; + } + + &:nth-child(4):hover::before{ + content: 'Lap'; + } + + &:nth-child(5):hover::before{ + content: 'Clear'; + } + } + } + .lap-div{ @@ -181,3 +222,26 @@ header{ } } +@media screen and (min-width: 95em) { + + .options-div{ + width: 45%; + + button{ + width: 5em; + } + } + +} + +@keyframes buttonAnimation { + + from{ + background-color: #dee3f0; + } + + to{ + background-color: transparent; + } + +} diff --git a/src/app/stopwatch/stopwatch.component.ts b/src/app/stopwatch/stopwatch.component.ts index c7882a9..92ffaea 100644 --- a/src/app/stopwatch/stopwatch.component.ts +++ b/src/app/stopwatch/stopwatch.component.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core'; +import { Component, ElementRef, ViewChild } from '@angular/core'; @Component({ selector: 'app-stopwatch', @@ -7,8 +7,11 @@ import { Component } from '@angular/core'; }) export class StopwatchComponent { + @ViewChild('stopw') stopwatch!: ElementRef; + isRunning: boolean = false; - intervalId: any; + intervalMilliseconds: any; + intervalSeconds: any; timeMilliseconds: number = 0; currentTime: string = '00:00:00'; @@ -17,15 +20,24 @@ export class StopwatchComponent { start(){ if(!this.isRunning){ this.isRunning = true; - this.intervalId = setInterval(() => { + this.intervalMilliseconds = setInterval(() => { this.timeMilliseconds += 10; this.currentTime = this.convertMilliseconds(this.timeMilliseconds); }, 10) + + this.intervalSeconds = setInterval(() => { + this.stopwatch.nativeElement.style.transform = 'scale(1.05)' + + setTimeout(() => { + this.stopwatch.nativeElement.style.transform = 'scale(1)' + }, 500) + }, 1000) } } pause(){ - clearInterval(this.intervalId); + clearInterval(this.intervalMilliseconds); + clearInterval(this.intervalSeconds); this.isRunning = false; } @@ -36,6 +48,7 @@ export class StopwatchComponent { } lap(){ + if(this.isRunning) this.laps.push(this.currentTime); } @@ -50,4 +63,11 @@ export class StopwatchComponent { return `${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}:${milliseconds.toString().padStart(2, '0').replace('.', '').slice(-2)}`; } + + buttonEffect(btn: HTMLElement){ + btn.classList.add('animation-btn') + setTimeout(() => { + btn.classList.remove('animation-btn') + }, 1000); + } }