UNPKG

number-cruncher

Version:

Calculate total time based on lines of input with numbers on the end.

1 lines 777 kB
(self.webpackChunknumber_cruncher=self.webpackChunknumber_cruncher||[]).push([[792],{350:(_t,Ut,ke)=>{"use strict";let it=null,Mt=1;const et=Symbol("SIGNAL");function ge(e){const t=it;return it=e,t}function Ue(e){if((!tr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Mt)){if(!e.producerMustRecompute(e)&&!Nt(e))return e.dirty=!1,void(e.lastCleanEpoch=Mt);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Mt}}function Nt(e){Ot(e);for(let t=0;t<e.producerNode.length;t++){const r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Ue(r),n!==r.version))return!0}return!1}function pr(e,t){if(function zt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Ot(e),1===e.liveConsumerNode.length)for(let n=0;n<e.producerNode.length;n++)pr(e.producerNode[n],e.producerIndexOfThis[n]);const r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const n=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Ot(i),i.producerIndexOfThis[n]=t}}function tr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ot(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let sc=null;function _s(e){return"function"==typeof e}let na=!1;const In={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else na&&console.log("RxJS: Back to a better error behavior. Thank you. <3");na=e},get useDeprecatedSynchronousErrorHandling(){return na}};function Xa(e){setTimeout(()=>{throw e},0)}const Ns={closed:!0,next(e){},error(e){if(In.useDeprecatedSynchronousErrorHandling)throw e;Xa(e)},complete(){}},Vh=Array.isArray||(e=>e&&"number"==typeof e.length);function lc(e){return null!==e&&"object"==typeof e}const zo=(()=>{function e(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,n)=>`${n+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return e.prototype=Object.create(Error.prototype),e})();class Er{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:n,_unsubscribe:i,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof Er)r.remove(this);else if(null!==r)for(let o=0;o<r.length;++o)r[o].remove(this);if(_s(i)){n&&(this._unsubscribe=void 0);try{i.call(this)}catch(o){t=o instanceof zo?fc(o.errors):[o]}}if(Vh(a)){let o=-1,s=a.length;for(;++o<s;){const u=a[o];if(lc(u))try{u.unsubscribe()}catch(c){t=t||[],c instanceof zo?t=t.concat(fc(c.errors)):t.push(c)}}}if(t)throw new zo(t)}add(t){let r=t;if(!t)return Er.EMPTY;switch(typeof t){case"function":r=new Er(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof Er)){const a=r;r=new Er,r._subscriptions=[a]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=r;if(null===n)r._parentOrParents=this;else if(n instanceof Er){if(n===this)return r;r._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return r;n.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r}remove(t){const r=this._subscriptions;if(r){const n=r.indexOf(t);-1!==n&&r.splice(n,1)}}}var e;function fc(e){return e.reduce((t,r)=>t.concat(r instanceof zo?r.errors:r),[])}Er.EMPTY=((e=new Er).closed=!0,e);const Cs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class on extends Er{constructor(t,r,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ns;break;case 1:if(!t){this.destination=Ns;break}if("object"==typeof t){t instanceof on?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new dc(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new dc(this,t,r,n)}}[Cs](){return this}static create(t,r,n){const i=new on(t,r,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class dc extends on{constructor(t,r,n,i){super(),this._parentSubscriber=t;let a,o=this;_s(r)?a=r:r&&(a=r.next,n=r.error,i=r.complete,r!==Ns&&(o=Object.create(r),_s(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=a,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:r}=this;In.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable?this.__tryOrSetError(r,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:r}=this,{useDeprecatedSynchronousErrorHandling:n}=In;if(this._error)n&&r.syncErrorThrowable?(this.__tryOrSetError(r,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(r.syncErrorThrowable)n?(r.syncErrorValue=t,r.syncErrorThrown=!0):Xa(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Xa(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const r=()=>this._complete.call(this._context);In.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,r){try{t.call(this._context,r)}catch(n){if(this.unsubscribe(),In.useDeprecatedSynchronousErrorHandling)throw n;Xa(n)}}__tryOrSetError(t,r,n){if(!In.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,n)}catch(i){return In.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Xa(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function ve(e){return e}let Oe=(()=>{class e{constructor(r){this._isScalar=!1,r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,i){const{operator:a}=this,o=function J(e,t,r){if(e){if(e instanceof on)return e;if(e[Cs])return e[Cs]()}return e||t||r?new on(e,t,r):new on(Ns)}(r,n,i);if(o.add(a?a.call(o,this.source):this.source||In.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),In.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){In.useDeprecatedSynchronousErrorHandling&&(r.syncErrorThrown=!0,r.syncErrorValue=n),function H(e){for(;e;){const{closed:t,destination:r,isStopped:n}=e;if(t||n)return!1;e=r&&r instanceof on?r:null}return!0}(r)?r.error(n):console.warn(n)}}forEach(r,n){return new(n=Te(n))((i,a)=>{let o;o=this.subscribe(s=>{try{r(s)}catch(u){a(u),o&&o.unsubscribe()}},a,i)})}_subscribe(r){const{source:n}=this;return n&&n.subscribe(r)}[ie](){return this}pipe(...r){return 0===r.length?this:function we(e){return 0===e.length?ve:1===e.length?e[0]:function(r){return e.reduce((n,i)=>i(n),r)}}(r)(this)}toPromise(r){return new(r=Te(r))((n,i)=>{let a;this.subscribe(o=>a=o,o=>i(o),()=>n(a))})}}return e.create=t=>new e(t),e})();function Te(e){if(e||(e=In.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Ne=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class Xt extends Er{constructor(t,r){super(),this.subject=t,this.subscriber=r,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,r=t.observers;if(this.subject=null,!r||0===r.length||t.isStopped||t.closed)return;const n=r.indexOf(this.subscriber);-1!==n&&r.splice(n,1)}}class ar extends on{constructor(t){super(t),this.destination=t}}let hr=(()=>{class e extends Oe{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Cs](){return new ar(this)}lift(r){const n=new sn(this,this);return n.operator=r,n}next(r){if(this.closed)throw new Ne;if(!this.isStopped){const{observers:n}=this,i=n.length,a=n.slice();for(let o=0;o<i;o++)a[o].next(r)}}error(r){if(this.closed)throw new Ne;this.hasError=!0,this.thrownError=r,this.isStopped=!0;const{observers:n}=this,i=n.length,a=n.slice();for(let o=0;o<i;o++)a[o].error(r);this.observers.length=0}complete(){if(this.closed)throw new Ne;this.isStopped=!0;const{observers:r}=this,n=r.length,i=r.slice();for(let a=0;a<n;a++)i[a].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(r){if(this.closed)throw new Ne;return super._trySubscribe(r)}_subscribe(r){if(this.closed)throw new Ne;return this.hasError?(r.error(this.thrownError),Er.EMPTY):this.isStopped?(r.complete(),Er.EMPTY):(this.observers.push(r),new Xt(this,r))}asObservable(){const r=new Oe;return r.source=this,r}}return e.create=(t,r)=>new sn(t,r),e})();class sn extends hr{constructor(t,r){super(),this.destination=t,this.source=r}next(t){const{destination:r}=this;r&&r.next&&r.next(t)}error(t){const{destination:r}=this;r&&r.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:r}=this;return r?this.source.subscribe(t):Er.EMPTY}}class un extends hr{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return r&&!r.closed&&t.next(this._value),r}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ne;return this._value}next(t){super.next(this._value=t)}}function $r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new ii(e,t))}}class ii{constructor(t,r){this.project=t,this.thisArg=r}call(t,r){return r.subscribe(new Ja(t,this.project,this.thisArg))}}class Ja extends on{constructor(t,r,n){super(t),this.project=r,this.count=0,this.thisArg=n||this}_next(t){let r;try{r=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(r)}}class Re extends Error{constructor(t,r){super(function Ka(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}function Fi(e){return{toString:e}.toString()}const $t=globalThis;function Wt(e){for(let t in e)if(e[t]===Wt)return t;throw Error("Could not find renamed property on target object.")}function Fr(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Fr).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function mc(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const jh=Wt({__forward_ref__:Wt});function gc(e){return e.__forward_ref__=gc,e.toString=function(){return Fr(this())},e}function Ye(e){return function Ss(e){return"function"==typeof e&&e.hasOwnProperty(jh)&&e.__forward_ref__===gc}(e)?e():e}function Ct(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qo(e){return{providers:e.providers||[],imports:e.imports||[]}}function mf(e){return Ab(e,vf)||Ab(e,Sb)}function Ab(e,t){return e.hasOwnProperty(t)?e[t]:null}function gf(e){return e&&(e.hasOwnProperty(Gh)||e.hasOwnProperty(iR))?e[Gh]:null}const vf=Wt({\u0275prov:Wt}),Gh=Wt({\u0275inj:Wt}),Sb=Wt({ngInjectableDef:Wt}),iR=Wt({ngInjectorDef:Wt});class He{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Ct({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Xh(e){return e&&!!e.\u0275providers}const vc=Wt({\u0275cmp:Wt}),Jh=Wt({\u0275dir:Wt}),Kh=Wt({\u0275pipe:Wt}),Tb=Wt({\u0275mod:Wt}),Sa=Wt({\u0275fac:Wt}),yc=Wt({__NG_ELEMENT_ID__:Wt}),Ib=Wt({__NG_ENV_ID__:Wt});function ft(e){return"string"==typeof e?e:null==e?"":String(e)}function em(e,t){throw new Re(-201,!1)}var Bt=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}(Bt||{});let tm;function Fb(){return tm}function Wn(e){const t=tm;return tm=e,t}function Ob(e,t,r){const n=mf(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&Bt.Optional?null:void 0!==t?t:void em()}const bc={},rm="__NG_DI_FLAG__",yf="ngTempTokenPath",lR=/\n/gm,Rb="__source";let Ts;function io(e){const t=Ts;return Ts=e,t}function pR(e,t=Bt.Default){if(void 0===Ts)throw new Re(-203,!1);return null===Ts?Ob(e,void 0,t):Ts.get(e,t&Bt.Optional?null:void 0,t)}function bt(e,t=Bt.Default){return(Fb()||pR)(Ye(e),t)}function Ze(e,t=Bt.Default){return bt(e,bf(t))}function bf(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nm(e){const t=[];for(let r=0;r<e.length;r++){const n=Ye(e[r]);if(Array.isArray(n)){if(0===n.length)throw new Re(900,!1);let i,a=Bt.Default;for(let o=0;o<n.length;o++){const s=n[o],u=hR(s);"number"==typeof u?-1===u?i=s.token:a|=u:i=s}t.push(bt(i,a))}else t.push(bt(n))}return t}function hR(e){return e[rm]}function Vo(e,t){return e.hasOwnProperty(Sa)?e[Sa]:null}function Is(e,t){e.forEach(r=>Array.isArray(r)?Is(r,t):t(r))}function Bb(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function wf(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ia={},Ht=[],Os=new He(""),Ub=new He("",-1),um=new He("");class xf{get(t,r=bc){if(r===bc){const n=new Error(`NullInjectorError: No provider for ${Fr(t)}!`);throw n.name="NullInjectorError",n}return r}}var Ef=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ef||{}),Oi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Oi||{}),ao=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ao||{});function DR(e,t,r){let n=e.length;for(;;){const i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===n||e.charCodeAt(i+a)<=32)return i}r=i+1}}function cm(e,t,r){let n=0;for(;n<r.length;){const i=r[n];if("number"==typeof i){if(0!==i)break;n++;const a=r[n++],o=r[n++],s=r[n++];e.setAttribute(t,o,s,a)}else{const a=i,o=r[++n];qb(a)?e.setProperty(t,a,o):e.setAttribute(t,a,o),n++}}return n}function zb(e){return 3===e||4===e||6===e}function qb(e){return 64===e.charCodeAt(0)}function Dc(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){const i=t[n];"number"==typeof i?r=i:0===r||Vb(e,r,i,null,-1===r||2===r?t[++n]:null)}}return e}function Vb(e,t,r,n,i){let a=0,o=e.length;if(-1===t)o=-1;else for(;a<e.length;){const s=e[a++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=a-1;break}}}for(;a<e.length;){const s=e[a];if("number"==typeof s)break;if(s===r){if(null===n)return void(null!==i&&(e[a+1]=i));if(n===e[a+1])return void(e[a+2]=i)}a++,null!==n&&a++,null!==i&&a++}-1!==o&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,r),null!==n&&e.splice(a++,0,n),null!==i&&e.splice(a++,0,i)}const Hb="ng-template";function xR(e,t,r,n){let i=0;if(n){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==DR(t[i+1].toLowerCase(),r,0))return!0}else if(lm(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===r)return!0}return!1}function lm(e){return 4===e.type&&e.value!==Hb}function ER(e,t,r){return t===(4!==e.type||r?e.value:Hb)}function _R(e,t,r){let n=4;const i=e.attrs,a=null!==i?function AR(e){for(let t=0;t<e.length;t++)if(zb(e[t]))return t;return e.length}(i):0;let o=!1;for(let s=0;s<t.length;s++){const u=t[s];if("number"!=typeof u){if(!o)if(4&n){if(n=2|1&n,""!==u&&!ER(e,u,r)||""===u&&1===t.length){if(Ri(n))return!1;o=!0}}else if(8&n){if(null===i||!xR(e,i,u,r)){if(Ri(n))return!1;o=!0}}else{const c=t[++s],l=NR(u,i,lm(e),r);if(-1===l){if(Ri(n))return!1;o=!0;continue}if(""!==c){let f;if(f=l>a?"":i[l+1].toLowerCase(),2&n&&c!==f){if(Ri(n))return!1;o=!0}}}}else{if(!o&&!Ri(n)&&!Ri(u))return!1;if(o&&Ri(u))continue;o=!1,n=u|1&n}}return Ri(n)||o}function Ri(e){return!(1&e)}function NR(e,t,r,n){if(null===t)return-1;let i=0;if(n||!r){let a=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)a=!0;else{if(1===o||2===o){let s=t[++i];for(;"string"==typeof s;)s=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=a?1:2}return-1}return function SR(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){const n=e[r];if("number"==typeof n)return-1;if(n===t)return r;r++}return-1}(t,e)}function $b(e,t,r=!1){for(let n=0;n<t.length;n++)if(_R(e,t[n],r))return!0;return!1}function jb(e,t){return e?":not("+t.trim()+")":t}function TR(e){let t=e[0],r=1,n=2,i="",a=!1;for(;r<e.length;){let o=e[r];if("string"==typeof o)if(2&n){const s=e[++r];i+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&n?i+="."+o:4&n&&(i+=" "+o);else""!==i&&!Ri(o)&&(t+=jb(a,i),i=""),n=o,a=a||!Ri(n);r++}return""!==i&&(t+=jb(a,i)),t}function Gb(e){return Fi(()=>{const t=function Zb(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||ia,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ht,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wb(e.inputs,t),outputs:Wb(e.outputs),debugInfo:null}}(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ef.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Oi.Emulated,styles:e.styles||Ht,_:null,schemas:e.schemas||null,tView:null,id:""};!function Yb(e){e.features?.forEach(t=>t(e))}(r);const n=e.dependencies;return r.directiveDefs=_f(n,!1),r.pipeDefs=_f(n,!0),r.id=function BR(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of r)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(r),r})}function OR(e){return At(e)||Gr(e)}function RR(e){return null!==e}function Rs(e){return Fi(()=>({type:e.type,bootstrap:e.bootstrap||Ht,declarations:e.declarations||Ht,imports:e.imports||Ht,exports:e.exports||Ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Wb(e,t){if(null==e)return ia;const r={};for(const n in e)if(e.hasOwnProperty(n)){const i=e[n];let a,o,s=ao.None;Array.isArray(i)?(s=i[0],a=i[1],o=i[2]??a):(a=i,o=i),t?(r[a]=s!==ao.None?[n,s]:n,t[a]=o):r[a]=n}return r}function Yn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function At(e){return e[vc]||null}function Gr(e){return e[Jh]||null}function cn(e){return e[Kh]||null}function _f(e,t){if(!e)return null;const r=t?cn:OR;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(RR)}function LR(...e){return{\u0275providers:fm(0,e),\u0275fromNgModule:!0}}function fm(e,...t){const r=[],n=new Set;let i;const a=o=>{r.push(o)};return Is(t,o=>{const s=o;Nf(s,a,[],n)&&(i||=[],i.push(s))}),void 0!==i&&Qb(i,a),r}function Qb(e,t){for(let r=0;r<e.length;r++){const{ngModule:n,providers:i}=e[r];dm(i,a=>{t(a,n)})}}function Nf(e,t,r,n){if(!(e=Ye(e)))return!1;let i=null,a=gf(e);const o=!a&&At(e);if(a||o){if(o&&!o.standalone)return!1;i=e}else{const u=e.ngModule;if(a=gf(u),!a)return!1;i=u}const s=n.has(i);if(o){if(s)return!1;if(n.add(i),o.dependencies){const u="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of u)Nf(c,t,r,n)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let c;n.add(i);try{Is(a.imports,l=>{Nf(l,t,r,n)&&(c||=[],c.push(l))})}finally{}void 0!==c&&Qb(c,t)}if(!s){const c=Vo(i)||(()=>new i);t({provide:i,useFactory:c,deps:Ht},i),t({provide:um,useValue:i,multi:!0},i),t({provide:Os,useValue:()=>bt(i),multi:!0},i)}const u=a.providers;if(null!=u&&!s){const c=e;dm(u,l=>{t(l,c)})}}}return i!==e&&void 0!==e.providers}function dm(e,t){for(let r of e)Xh(r)&&(r=r.\u0275providers),Array.isArray(r)?dm(r,t):t(r)}const kR=Wt({provide:String,useValue:Wt});function pm(e){return null!==e&&"object"==typeof e&&kR in e}function $o(e){return"function"==typeof e}const hm=new He(""),Cf={},zR={};let mm;function Af(){return void 0===mm&&(mm=new xf),mm}class Pi{}class Ps extends Pi{get destroyed(){return this._destroyed}constructor(t,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,vm(t,o=>this.processProvider(o)),this.records.set(Ub,Bs(void 0,this)),i.has("environment")&&this.records.set(Pi,Bs(void 0,this));const a=this.records.get(hm);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(um,Ht,Bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=ge(null);try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ge(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=io(this),n=Wn(void 0);try{return t()}finally{io(r),Wn(n)}}get(t,r=bc,n=Bt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ib))return t[Ib](this);n=bf(n);const a=io(this),o=Wn(void 0);try{if(!(n&Bt.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=function jR(e){return"function"==typeof e||"object"==typeof e&&e instanceof He}(t)&&mf(t);u=c&&this.injectableDefInScope(c)?Bs(gm(t),Cf):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(n&Bt.Self?Af():this.parent).get(t,r=n&Bt.Optional&&r===bc?null:r)}catch(s){if("NullInjectorError"===s.name){if((s[yf]=s[yf]||[]).unshift(Fr(t)),a)throw s;return function mR(e,t,r,n){const i=e[yf];throw t[Rb]&&i.unshift(t[Rb]),e.message=function gR(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Fr(t);if(Array.isArray(t))i=t.map(Fr).join(" -> ");else if("object"==typeof t){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Fr(s)))}i=`{${a.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(lR,"\n ")}`}("\n"+e.message,i,r,n),e.ngTokenPath=i,e[yf]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Wn(o),io(a)}}resolveInjectorInitializers(){const t=ge(null),r=io(this),n=Wn(void 0);try{const a=this.get(Os,Ht,Bt.Self);for(const o of a)o()}finally{io(r),Wn(n),ge(t)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(Fr(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Re(205,!1)}processProvider(t){let r=$o(t=Ye(t))?t:Ye(t&&t.provide);const n=function VR(e){return pm(e)?Bs(void 0,e.useValue):Bs(function Kb(e,t,r){let n;if($o(e)){const i=Ye(e);return Vo(i)||gm(i)}if(pm(e))n=()=>Ye(e.useValue);else if(function Jb(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...nm(e.deps||[]));else if(function Xb(e){return!(!e||!e.useExisting)}(e))n=()=>bt(Ye(e.useExisting));else{const i=Ye(e&&(e.useClass||e.provide));if(!function HR(e){return!!e.deps}(e))return Vo(i)||gm(i);n=()=>new i(...nm(e.deps))}return n}(e),Cf)}(t);if(!$o(t)&&!0===t.multi){let i=this.records.get(r);i||(i=Bs(void 0,Cf,!0),i.factory=()=>nm(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,n)}hydrate(t,r){const n=ge(null);try{return r.value===Cf&&(r.value=zR,r.value=r.factory()),"object"==typeof r.value&&r.value&&function $R(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{ge(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;const r=Ye(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function gm(e){const t=mf(e),r=null!==t?t.factory:Vo(e);if(null!==r)return r;if(e instanceof He)throw new Re(204,!1);if(e instanceof Function)return function qR(e){if(e.length>0)throw new Re(204,!1);const r=function nR(e){return e&&(e[vf]||e[Sb])||null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Re(204,!1)}function Bs(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function vm(e,t){for(const r of e)Array.isArray(r)?vm(r,t):r&&Xh(r)?vm(r.\u0275providers,t):t(r)}const _r=0,Ie=1,$e=2,Or=3,Bi=4,vn=5,ui=6,ks=7,mr=8,Ur=9,Li=10,rt=11,_c=12,r1=13,Us=14,Ar=15,Nc=16,zs=17,Ma=18,Cc=19,n1=20,oo=21,Tf=22,jo=23,dt=25,wm=1,aa=7,qs=9,Rr=10;var Dm=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Dm||{});function yn(e){return Array.isArray(e)&&"object"==typeof e[wm]}function bn(e){return Array.isArray(e)&&!0===e[wm]}function xm(e){return!!(4&e.flags)}function Go(e){return e.componentOffset>-1}function Ff(e){return!(1&~e.flags)}function ki(e){return!!e.template}function Em(e){return!!(512&e[$e])}class iP{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function s1(e,t,r,n){null!==t?t.applyValueToInputSignal(t,n):e[r]=n}function u1(e){return e.type.prototype.ngOnChanges&&(e.setInput=oP),aP}function aP(){const e=l1(this),t=e?.current;if(t){const r=e.previous;if(r===ia)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function oP(e,t,r,n,i){const a=this.declaredInputs[n],o=l1(e)||function sP(e,t){return e[c1]=t}(e,{previous:ia,current:null}),s=o.current||(o.current={}),u=o.previous,c=u[a];s[a]=new iP(c&&c.currentValue,r,u===ia),s1(e,t,i,r)}const c1="__ngSimpleChanges__";function l1(e){return e[c1]||null}const oa=function(e,t,r){};let p1=!1;function or(e){for(;Array.isArray(e);)e=e[_r];return e}function Fn(e,t){return or(t[e.index])}function Mc(e,t){return e.data[t]}function Vs(e,t){return e[t]}function ci(e,t){const r=t[e];return yn(r)?r:r[_r]}function Sm(e){return!(128&~e[$e])}function sa(e,t){return null==t?null:e[t]}function h1(e){e[zs]=0}function pP(e){1024&e[$e]||(e[$e]|=1024,Sm(e)&&Tc(e))}function Mm(e){return!!(9216&e[$e]||e[jo]?.dirty)}function Tm(e){e[Li].changeDetectionScheduler?.notify(1),Mm(e)?Tc(e):64&e[$e]&&(function cP(){return p1}()?(e[$e]|=1024,Tc(e)):e[Li].changeDetectionScheduler?.notify())}function Tc(e){e[Li].changeDetectionScheduler?.notify();let t=Wo(e);for(;null!==t&&!(8192&t[$e])&&(t[$e]|=8192,Sm(t));)t=Wo(t)}function Rf(e,t){if(!(256&~e[$e]))throw new Re(911,!1);null===e[oo]&&(e[oo]=[]),e[oo].push(t)}function Wo(e){const t=e[Or];return bn(t)?t[Or]:t}const nt={lFrame:_1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function v1(){return nt.bindingsEnabled}function ce(){return nt.lFrame.lView}function It(){return nt.lFrame.tView}function Ic(e){return nt.lFrame.contextLView=e,e[mr]}function Fc(e){return nt.lFrame.contextLView=null,e}function rr(){let e=y1();for(;null!==e&&64===e.type;)e=e.parent;return e}function y1(){return nt.lFrame.currentTNode}function ua(e,t){const r=nt.lFrame;r.currentTNode=e,r.isParent=t}function Fm(){return nt.lFrame.isParent}function _P(e,t){const r=nt.lFrame;r.bindingIndex=r.bindingRootIndex=e,Rm(t)}function Rm(e){nt.lFrame.currentDirectiveIndex=e}function Bm(){return nt.lFrame.currentQueryIndex}function Pf(e){nt.lFrame.currentQueryIndex=e}function CP(e){const t=e[Ie];return 2===t.type?t.declTNode:1===t.type?e[vn]:null}function x1(e,t,r){if(r&Bt.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||r&Bt.Host||(i=CP(a),null===i||(a=a[Us],10&i.type))););if(null===i)return!1;t=i,e=a}const n=nt.lFrame=E1();return n.currentTNode=t,n.lView=e,!0}function Lm(e){const t=E1(),r=e[Ie];nt.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function E1(){const e=nt.lFrame,t=null===e?null:e.child;return null===t?_1(e):t}function _1(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 N1(){const e=nt.lFrame;return nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const C1=N1;function km(){const e=N1();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 wn(){return nt.lFrame.selectedIndex}function Zo(e){nt.lFrame.selectedIndex=e}let S1=!0;function Rc(){return S1}function ca(e){S1=e}function Bf(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){const a=e.data[r].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=a;o&&(e.contentHooks??=[]).push(-r,o),s&&((e.contentHooks??=[]).push(r,s),(e.contentCheckHooks??=[]).push(r,s)),u&&(e.viewHooks??=[]).push(-r,u),c&&((e.viewHooks??=[]).push(r,c),(e.viewCheckHooks??=[]).push(r,c)),null!=l&&(e.destroyHooks??=[]).push(r,l)}}function Lf(e,t,r){M1(e,t,3,r)}function kf(e,t,r,n){(3&e[$e])===r&&M1(e,t,r,n)}function Um(e,t){let r=e[$e];(3&r)===t&&(r&=16383,r+=1,e[$e]=r)}function M1(e,t,r,n){const a=n??-1,o=t.length-1;let s=0;for(let u=void 0!==n?65535&e[zs]:0;u<o;u++)if("number"==typeof t[u+1]){if(s=t[u],null!=n&&s>=n)break}else t[u]<0&&(e[zs]+=65536),(s<a||-1==a)&&(OP(e,r,t,u),e[zs]=(4294901760&e[zs])+u+2),u++}function T1(e,t){oa(4,e,t);const r=ge(null);try{t.call(e)}finally{ge(r),oa(5,e,t)}}function OP(e,t,r,n){const i=r[n]<0,a=r[n+1],s=e[i?-r[n]:r[n]];i?e[$e]>>14<e[zs]>>16&&(3&e[$e])===t&&(e[$e]+=16384,T1(s,a)):T1(s,a)}const $s=-1;class Pc{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function qm(e){return e!==$s}function Bc(e){return 32767&e}function Lc(e,t){let r=function kP(e){return e>>16}(e),n=t;for(;r>0;)n=n[Us],r--;return n}let Vm=!0;function Uf(e){const t=Vm;return Vm=e,t}const I1=255,F1=5;let UP=0;const la={};function zf(e,t){const r=O1(e,t);if(-1!==r)return r;const n=t[Ie];n.firstCreatePass&&(e.injectorIndex=t.length,Hm(n.data,e),Hm(t,null),Hm(n.blueprint,null));const i=qf(e,t),a=e.injectorIndex;if(qm(i)){const o=Bc(i),s=Lc(i,t),u=s[Ie].data;for(let c=0;c<8;c++)t[a+c]=s[o+c]|u[o+c]}return t[a+8]=i,a}function Hm(e,t){e.push(0,0,0,0,0,0,0,0,t)}function O1(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function qf(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;null!==i;){if(n=z1(i),null===n)return $s;if(r++,i=i[Us],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return $s}function $m(e,t,r){!function zP(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(yc)&&(n=r[yc]),null==n&&(n=r[yc]=UP++);const i=n&I1;t.data[e+(i>>F1)]|=1<<i}(e,t,r)}function R1(e,t,r){if(r&Bt.Optional||void 0!==e)return e;em()}function P1(e,t,r,n){if(r&Bt.Optional&&void 0===n&&(n=null),!(r&(Bt.Self|Bt.Host))){const i=e[Ur],a=Wn(void 0);try{return i?i.get(t,n,r&Bt.Optional):Ob(t,n,r&Bt.Optional)}finally{Wn(a)}}return R1(n,0,r)}function B1(e,t,r,n=Bt.Default,i){if(null!==e){if(2048&t[$e]&&!(n&Bt.Self)){const o=function GP(e,t,r,n,i){let a=e,o=t;for(;null!==a&&null!==o&&2048&o[$e]&&!(512&o[$e]);){const s=L1(a,o,r,n|Bt.Self,la);if(s!==la)return s;let u=a.parent;if(!u){const c=o[n1];if(c){const l=c.get(r,la,n);if(l!==la)return l}u=z1(o),o=o[Us]}a=u}return i}(e,t,r,n,la);if(o!==la)return o}const a=L1(e,t,r,n,la);if(a!==la)return a}return P1(t,r,n,i)}function L1(e,t,r,n,i){const a=function HP(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(yc)?e[yc]:void 0;return"number"==typeof t?t>=0?t&I1:$P:t}(r);if("function"==typeof a){if(!x1(t,e,n))return n&Bt.Host?R1(i,0,n):P1(t,r,n,i);try{let o;if(o=a(n),null!=o||n&Bt.Optional)return o;em()}finally{C1()}}else if("number"==typeof a){let o=null,s=O1(e,t),u=$s,c=n&Bt.Host?t[Ar][vn]:null;for((-1===s||n&Bt.SkipSelf)&&(u=-1===s?qf(e,t):t[s+8],u!==$s&&U1(n,!1)?(o=t[Ie],s=Bc(u),t=Lc(u,t)):s=-1);-1!==s;){const l=t[Ie];if(k1(a,s,l.data)){const f=VP(s,t,r,o,n,c);if(f!==la)return f}u=t[s+8],u!==$s&&U1(n,t[Ie].data[s+8]===c)&&k1(a,s,t)?(o=l,s=Bc(u),t=Lc(u,t)):s=-1}}return i}function VP(e,t,r,n,i,a){const o=t[Ie],s=o.data[e+8],l=Vf(s,o,r,null==n?Go(s)&&Vm:n!=o&&!!(3&s.type),i&Bt.Host&&a===s);return null!==l?Yo(t,o,l,s):la}function Vf(e,t,r,n,i){const a=e.providerIndexes,o=t.data,s=1048575&a,u=e.directiveStart,l=a>>20,d=i?s+l:e.directiveEnd;for(let p=n?s:s+l;p<d;p++){const h=o[p];if(p<u&&r===h||p>=u&&h.type===r)return p}if(i){const p=o[u];if(p&&ki(p)&&p.type===r)return u}return null}function Yo(e,t,r,n){let i=e[r];const a=t.data;if(function RP(e){return e instanceof Pc}(i)){const o=i;o.resolving&&function sR(e,t){throw t&&t.join(" > "),new Re(-200,e)}(function Zt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ft(e)}(a[r]));const s=Uf(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Wn(o.injectImpl):null;x1(e,n,Bt.Default);try{i=e[r]=o.factory(void 0,a,e,n),t.firstCreatePass&&r>=n.directiveStart&&function FP(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(n){const o=u1(t);(r.preOrderHooks??=[]).push(e,o),(r.preOrderCheckHooks??=[]).push(e,o)}i&&(r.preOrderHooks??=[]).push(0-e,i),a&&((r.preOrderHooks??=[]).push(e,a),(r.preOrderCheckHooks??=[]).push(e,a))}(r,a[r],t)}finally{null!==c&&Wn(c),Uf(s),o.resolving=!1,C1()}}return i}function k1(e,t,r){return!!(r[t+(e>>F1)]&1<<e)}function U1(e,t){return!(e&Bt.Self||e&Bt.Host&&t)}class Zr{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return B1(this._tNode,this._lView,t,bf(n),r)}}function $P(){return new Zr(rr(),ce())}function z1(e){const t=e[Ie],r=t.type;return 2===r?t.declTNode:1===r?e[vn]:null}function j1(e,t=null,r=null,n){const i=G1(e,t,r,n);return i.resolveInjectorInitializers(),i}function G1(e,t=null,r=null,n,i=new Set){const a=[r||Ht,LR(e)];return n=n||("object"==typeof e?void 0:Fr(e)),new Ps(a,t||Af(),n||null,i)}let yi=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=bc;static#t=this.NULL=new xf;static create(r,n){if(Array.isArray(r))return j1({name:""},n,r,"");{const i=r.name??"";return j1({name:i},r.parent,r.providers,i)}}static#r=this.\u0275prov=Ct({token:e,providedIn:"any",factory:()=>bt(Ub)});static#n=this.__NG_ELEMENT_ID__=-1}return e})();function Wm(e){return e.ngOriginalError}class fa{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Wm(t);for(;r&&Wm(r);)r=Wm(r);return r||null}}const Z1=new He("",{providedIn:"root",factory:()=>Ze(fa).handleError.bind(void 0)});let Ws=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=tB;static#t=this.__NG_ENV_ID__=r=>r}return e})();class eB extends Ws{constructor(t){super(),this._lView=t}onDestroy(t){return Rf(this._lView,t),()=>function Im(e,t){if(null===e[oo])return;const r=e[oo].indexOf(t);-1!==r&&e[oo].splice(r,1)}(this._lView,t)}}function tB(){return new eB(ce())}function rB(){return Zs(rr(),ce())}function Zs(e,t){return new so(Fn(e,t))}let so=(()=>{class e{constructor(r){this.nativeElement=r}static#e=this.__NG_ELEMENT_ID__=rB}return e})();function Q1(e){return e instanceof so?e.nativeElement:e}function Zm(e){return t=>{setTimeout(e,void 0,t)}}const Fa=class nB extends hr{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function e1(){return void 0!==Fb()||null!=function dR(){return Ts}()}()&&(this.destroyRef=Ze(Ws,{optional:!0})??void 0)}emit(t){const r=ge(null);try{super.next(t)}finally{ge(r)}}subscribe(t,r,n){let i=t,a=r||(()=>null),o=n;if(t&&"object"==typeof t){const u=t;i=u.next?.bind(u),a=u.error?.bind(u),o=u.complete?.bind(u)}this.__isAsync&&(a=Zm(a),i&&(i=Zm(i)),o&&(o=Zm(o)));const s=super.subscribe({next:i,error:a,complete:o});return t instanceof Er&&t.add(s),s}};function iB(){return this._results[Symbol.iterator]()}class Ym{static#e=Symbol.iterator;get changes(){return this._changes??=new Fa}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const r=Ym.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=iB)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const n=function Zn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wR(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],a=t[n];if(r&&(i=r(i),a=r(a)),a!==i)return!1}return!0}(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function jf(e){return!(128&~e.flags)}const Qm=new Map;let oB=0;const Jm="__ngContext__";function Dn(e,t){yn(t)?(e[Jm]=t[Cc],function uB(e){Qm.set(e[Cc],e)}(t)):e[Jm]=t}function ow(e){return uw(e[_c])}function sw(e){return uw(e[Bi])}function uw(e){for(;null!==e&&!bn(e);)e=e[Bi];return e}let Km;const Zf=new He("",{providedIn:"root",factory:()=>CB}),CB="ng",gw=new He(""),Qo=new He("",{providedIn:"platform",factory:()=>"unknown"}),vw=new He("",{providedIn:"root",factory:()=>function uo(){if(void 0!==Km)return Km;if(typeof document<"u")return document;throw new Re(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let yw=()=>null;function sg(e,t,r=!1){return yw(e,t,r)}const Ew=new He("",{providedIn:"root",factory:()=>!1});var lo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(lo||{});let wg;function Dg(e,t){return wg(e,t)}function eu(e,t,r,n,i){if(null!=n){let a,o=!1;bn(n)?a=n:yn(n)&&(o=!0,n=n[_r]);const s=or(n);0===e&&null!==r?null==i?Qw(t,r,s):Xo(t,r,s,i||null,!0):1===e&&null!==r?Xo(t,r,s,i||null,!0):2===e?function Yc(e,t,r){const n=ud(e,t);n&&function O3(e,t,r,n){e.removeChild(t,r,n)}(e,n,t,r)}(t,s,o):3===e&&t.destroyNode(s),null!=a&&function B3(e,t,r,n,i){const a=r[aa];a!==or(r)&&eu(t,e,n,a,i);for(let s=Rr;s<r.length;s++){const u=r[s];ld(u[Ie],u,e,t,n,a)}}(t,e,a,r,i)}}function od(e,t,r){return e.createElement(t,r)}function Ww(e,t){t[Li].changeDetectionScheduler?.notify(1),ld(e,t,t[rt],2,null,null)}function Zw(e,t){const r=e[qs],n=r.indexOf(t);r.splice(n,1)}function Wc(e,t){if(e.length<=Rr)return;const r=Rr+t,n=e[r];if(n){const i=n[Nc];null!==i&&i!==e&&Zw(i,n),t>0&&(e[r-1][Bi]=n[Bi]);const a=wf(e,Rr+t);!function C3(e,t){Ww(e,t),t[_r]=null,t[vn]=null}(n[Ie],n);const o=a[Ma];null!==o&&o.detachView(a[Ie]),n[Or]=null,n[Bi]=null,n[$e]&=-129}return n}function sd(e,t){if(!(256&t[$e])){const r=t[rt];r.destroyNode&&ld(e,t,r,3,null,null),function S3(e){let t=e[_c];if(!t)return _g(e[Ie],e);for(;t;){let r=null;if(yn(t))r=t[_c];else{const n=t[Rr];n&&(r=n)}if(!r){for(;t&&!t[Bi]&&t!==e;)yn(t)&&_g(t[Ie],t),t=t[Or];null===t&&(t=e),yn(t)&&_g(t[Ie],t),r=t&&t[Bi]}t=r}}(t)}}function _g(e,t){if(256&t[$e])return;const r=ge(null);try{t[$e]&=-129,t[$e]|=256,t[jo]&&function Gt(e){if(Ot(e),tr(e))for(let t=0;t<e.producerNode.length;t++)pr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[jo]),function F3(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n<r.length;n+=2){const i=t[r[n]];if(!(i instanceof Pc)){const a=r[n+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){const s=i[a[o]],u=a[o+1];oa(4,s,u);try{u.call(s)}finally{oa(5,s,u)}}else{oa(4,i,a);try{a.call(i)}finally{oa(5,i,a)}}}}}(e,t),function I3(e,t){const r=e.cleanup,n=t[ks];if(null!==r)for(let a=0;a<r.length-1;a+=2)if("string"==typeof r[a]){const o=r[a+3];o>=0?n[o]():n[-o].unsubscribe(),a+=2}else r[a].call(n[r[a+1]]);null!==n&&(t[ks]=null);const i=t[oo];if(null!==i){t[oo]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[Ie].type&&t[rt].destroy();const n=t[Nc];if(null!==n&&bn(t[Or])){n!==t[Or]&&Zw(n,t);const i=t[Ma];null!==i&&i.detachView(e)}!function cB(e){Qm.delete(e[Cc])}(t)}finally{ge(r)}}function Ng(e,t,r){return function Yw(e,t,r){let n=t;for(;null!==n&&40&n.type;)n=(t=n).parent;if(null===n)return r[_r];{const{componentOffset:i}=n;if(i>-1){const{encapsulation:a}=e.data[n.directiveStart+i];if(a===Oi.None||a===Oi.Emulated)return null}return Fn(n,r)}}(e,t.parent,r)}function Xo(e,t,r,n,i){e.insertBefore(t,r,n,i)}function Qw(e,t,r){e.appendChild(t,r)}function Xw(e,t,r,n,i){null!==n?Xo(e,t,r,n,i):Qw(e,t,r)}function ud(e,t){return e.parentNode(t)}let Cg,eD=function Kw(e,t,r){return 40&e.type?Fn(e,r):null};function cd(e,t,r,n){const i=Ng(e,n,t),a=t[rt],s=function Jw(e,t,r){return eD(e,t,r)}(n.parent||t[vn],n,t);if(null!=i)if(Array.isArray(r))for(let u=0;u<r.length;u++)Xw(a,i,r[u],s,!1);else Xw(a,i,r,s,!1);void 0!==Cg&&Cg(a,n,t,r,i)}function Zc(e,t){if(null!==t){const r=t.type;if(3&r)return Fn(t,e);if(4&r)return Ag(-1,e[t.index]);if(8&r){const n=t.child;if(null!==n)return Zc(e,n);{const i=e[t.index];return bn(i)?Ag(-1,i):or(i)}}if(32&r)return Dg(t,e)()||or(e[t.index]);{const n=rD(e,t);return null!==n?Array.isArray(n)?n[0]:Zc(Wo(e[Ar]),n):Zc(e,t.next)}}return null}function rD(e,t){return null!==t?e[Ar][vn].projection[t.projection]:null}function Ag(e,t){const r=Rr+e+1;if(r<t.length){const n=t[r],i=n[Ie].firstChild;if(null!==i)return Zc(n,i)}return t[aa]}function Sg(e,t,r,n,i,a,o){for(;null!=r;){const s=n[r.index],u=r.type;if(o&&0===t&&(s&&Dn(or(s),n),r.flags|=2),32&~r.flags)if(8&u)Sg(e,t,r.child,n,i,a,!1),eu(t,e,i,s,a);else if(32&u){const c=Dg(r,n);let l;for(;l=c();)eu(t,e,i,l,a);eu(t,e,i,s,a)}else 16&u?iD(e,t,n,r,i,a):eu(t,e,i,s,a);r=o?r.projectionNext:r.next}}function ld(e,t,r,n,i,a){Sg(r,n,e.firstChild,t,i,a,!1)}function iD(e,t,r,n,i,a){const o=r[Ar],u=o[vn].projection[n.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++)eu(t,e,i,u[c],a);else{let c=u;const l=o[Or];jf(n)&&(c.flags|=128),Sg(e,t,c,l,i,a,!0)}}function aD(e,t,r){""===r?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function oD(e,t,r){const{mergedAttrs:n,classes:i,styles:a}=r;null!==n&&cm(e,t,n),null!==i&&aD(e,t,i),null!==a&&function k3(e,t,r){e.setAttribute(t,"style",r)}(e,t,a)}const gt={};function Qc(e=1){sD(It(),ce(),wn()+e,!1)}function sD(e,t,r,n){if(!n)if(3&~t[$e]){const a=e.preOrderHooks;null!==a&&kf(t,a,0,r)}else{const a=e.preOrderCheckHooks;null!==a&&Lf(t,a,r)}Zo(r)}function Tt(e,t=Bt.Default){const r=ce();return null===r?bt(e,t):B1(rr(),r,Ye(e),t)}function uD(e,t,r,n,i,a){const o=ge(null);try{let s=null;i&ao.SignalBased&&(s=t[n][et]),null!==s&&void 0!==s.transformFn&&(a=s.transformFn(a)),i&ao.HasDecoratorInputTransform&&(a=e.inputTransforms[n].call(t,a)),null!==e.setInput?e.setInput(t,s,a,r,n):s1(t,s,n,a)}finally{ge(o)}}function fd(e,t,r,n,i,a,o,s,u,c,l){const f=t.blueprint.slice();return f[_r]=i,f[$e]=204|n,(null!==c||e&&2048&e[$e])&&(f[$e]|=2048),h1(f),f[Or]=f[Us]=e,f[mr]=r,f[Li]=o||e&&e[Li],f[rt]=s||e&&e[rt],f[Ur]=u||e&&e[Ur]||null,f[vn]=a,f[Cc]=function sB(){return oB++}(),f[ui]=l,f[n1]=c,f[Ar]=2==t.type?e[Ar]:f,f}function tu(e,t,r,n,i){let a=e.data[t];if(null===a)a=function Mg(e,t,r,n,i){const a=y1(),o=Fm(),u=e.data[t]=function W3(e,t,r,n,i,a){let o=t?t.injectorIndex:-1,s=0;return function Hs(){return null!==nt.skipHydrationRootTNode}()&&(s|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:i,attrs:a,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,o?a:a&&a.parent,r,t,n,i);return null===e.firstChild&&(e.firstChild=u),null!==a&&(o?null==a.child&&null!==u.parent&&(a.child=u):null===a.next&&(a.next=u,u.prev=a)),u}(e,t,r,n,i),function EP(){return nt.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=r,a.value=n,a.attrs=i;const o=function Oc(){const e=nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===o?-1:o.injectorIndex}return ua(a,!0),a}function Xc(e,t,r,n){if(0===r)return-1;const i=t.length;for(let a=0;a<r;a++)t.push(n),e.blueprint.push(n),e.data.push(null);return i}function cD(e,t,r,n,i){const a=wn(),o=2&n;try{Zo(-1),o&&t.length>dt&&sD(e,t,dt,!1),oa(o?2:0,i),r(n,i)}finally{Zo(a),oa(o?3:1,i)}}function Tg(e,t,r){if(xm(t)){const n=ge(null);try{const a=t.directiveEnd;for(let o=t.directiveStart;o<a;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,r[o],o)}}finally{ge(n)}}}function lD(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Og(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Og(e,t,r,n,i,a,o,s,u,c,l){const f=dt+n,d=f+i,p=function q3(e,t){const r=[];for(let n=0;n<t;n++)r.push(n<e?null:gt);return r}(f,d),h="function"==typeof c?c():c;return p[Ie]={type:e,blueprint:p,template:r,queries:null,viewQuery:s,declTNode:t,data:p.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}let fD=()=>null;function dD(e,t,r,n,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const o=t[a];if(void 0===o)continue;n??={};let s,u=ao.None;Array.isArray(o)?(s=o[0],u=o[1]):s=o;let c=a;if(null!==i){if(!i.hasOwnProperty(a))continue;c=i[a]}0===e?pD(n,r,c,s,u):pD(n,r,c,s)}return n}function pD(e,t,r,n,i){let a;e.hasOwnProperty(r)?(a=e[r]).push(t,n):a=e[r]=[t,n],void 0!==i&&a.push(i)}function hD(e,t,r,n,i,a){for(let c=0;c<n.length;c++)$m(zf(r,t),e,n[c].type);!function aL(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}(r,e.data.length,n.length);for(let c=0;c<n.length;c++){const l=n[c];l.providersResolver&&l.providersResolver(l)}let o=!1,s=!1,u=Xc(e,t,n.length,null);for(let c=0;c<n.length;c++){const l=n[c];r.mergedAttrs=Dc(r.mergedAttrs,l.hostAttrs),oL(e,r,t,u,l),iL(u,l,i),null!==l.contentQueries&&(r.flags|=4),(null!==l.hostBindings||null!==l.hostAttrs||0!==l.hostVars)&&(r.flags|=64);const f=l.type.prototype;!o&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),o=!0),!s&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),s=!0),u++}!function Z3(e,t,r){const i=t.directiveEnd,a=e.data,o=t.attrs,s=[];let u=null,c=null;for(let l=t.directiveStart;l<i;l++){const f=a[l],d=r?r.get(f):null,h=d?d.outputs:null;u=dD(0,f.inputs,l,u,d?d.inputs:null),c=dD(1,f.outputs,l,c,h);const m=null===u||null===o||lm(t)?null:cL(u,l,o);s.push(m)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=s,t.inputs=u,t.outputs=c}(e,r,a)}function mD(e,t,r){const n=r.directiveStart,i=r.directiveEnd,a=r.index,o=function NP(){return nt.lFrame.currentDirectiveIndex}();try{Zo(a);for(let s=n;s<i;s++){const u=e.data[s],c=t[s];Rm(s),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&tL(u,c)}}finally{Zo(-1),Rm(o)}}f