diff --git a/404.html b/404.html index 2547498..d3eb2c1 100644 --- a/404.html +++ b/404.html @@ -19,7 +19,7 @@ Loading... - Fork me on GitHub + Fork me on GitHub - + diff --git a/index.html b/index.html index 2547498..d3eb2c1 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ Loading... - Fork me on GitHub + Fork me on GitHub - + diff --git a/main-3AKKDPVH.js b/main-3AKKDPVH.js deleted file mode 100644 index 47879d1..0000000 --- a/main-3AKKDPVH.js +++ /dev/null @@ -1,7 +0,0 @@ -var Ha=Object.defineProperty,$a=Object.defineProperties;var Ua=Object.getOwnPropertyDescriptors;var po=Object.getOwnPropertySymbols;var Ga=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable;var go=(e,t,n)=>t in e?Ha(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||={})Ga.call(t,n)&&go(e,n,t[n]);if(po)for(var n of po(t))Wa.call(t,n)&&go(e,n,t[n]);return e},ie=(e,t)=>$a(e,Ua(t));var mo=null;var xn=1;function V(e){let t=mo;return mo=e,t}var yo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function za(e){if(!(Nn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===xn)){if(!e.producerMustRecompute(e)&&!Tn(e)){e.dirty=!1,e.lastCleanEpoch=xn;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xn}}function vo(e){return e&&(e.nextProducerIndex=0),V(e)}function Do(e,t){if(V(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Nn(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tn(e){bt(e);for(let t=0;t0}function bt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function qa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Za(){throw new Error}var Ya=Za;function Eo(e){Ya=e}function m(e){return typeof e=="function"}function _t(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Mt=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Mt?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{wo(i)}catch(s){t=t??[],s instanceof Mt?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Mt(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&tt(n,t)}remove(t){let{_finalizers:n}=this;n&&tt(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var On=j.EMPTY;function St(e){return e instanceof j||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function wo(e){m(e)?e():e.unsubscribe()}var Z={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Re={setTimeout(e,t,...n){let{delegate:r}=Re;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Re;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function xt(e){Re.setTimeout(()=>{let{onUnhandledError:t}=Z;if(t)t(e);else throw e})}function Fn(){}var Io=(()=>Rn("C",void 0,void 0))();function bo(e){return Rn("E",void 0,e)}function _o(e){return Rn("N",e,void 0)}function Rn(e,t,n){return{kind:e,value:t,error:n}}var ye=null;function Pe(e){if(Z.useDeprecatedSynchronousErrorHandling){let t=!ye;if(t&&(ye={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ye;if(ye=null,n)throw r}}else e()}function Mo(e){Z.useDeprecatedSynchronousErrorHandling&&ye&&(ye.errorThrown=!0,ye.error=e)}var ve=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,St(t)&&t.add(this)):this.destination=Ja}static create(t,n,r){return new se(t,n,r)}next(t){this.isStopped?kn(_o(t),this):this._next(t)}error(t){this.isStopped?kn(bo(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?kn(Io,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()}}},Qa=Function.prototype.bind;function Pn(e,t){return Qa.call(e,t)}var Ln=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tt(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tt(r)}else Tt(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tt(n)}}},se=class extends ve{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Z.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Pn(t.next,i),error:t.error&&Pn(t.error,i),complete:t.complete&&Pn(t.complete,i)}):o=t}this.destination=new Ln(o)}};function Tt(e){Z.useDeprecatedSynchronousErrorHandling?Mo(e):xt(e)}function Ka(e){throw e}function kn(e,t){let{onStoppedNotification:n}=Z;n&&Re.setTimeout(()=>n(e,t))}var Ja={closed:!0,next:Fn,error:Ka,complete:Fn};var ke=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function Le(e){return e}function So(e){return e.length===0?Le:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=eu(n)?n:new se(n,r,o);return Pe(()=>{let{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 r=xo(r),new r((o,i)=>{let s=new se({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ke](){return this}pipe(...n){return So(n)(this)}toPromise(n){return n=xo(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function xo(e){var t;return(t=e??Z.Promise)!==null&&t!==void 0?t:Promise}function Xa(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function eu(e){return e&&e instanceof ve||Xa(e)&&St(e)}function tu(e){return m(e?.lift)}function k(e){return t=>{if(tu(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 U(e,t,n,r,o){return new Vn(e,t,n,r,o)}var Vn=class extends ve{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()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var To=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new At(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new To}next(n){Pe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Pe(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Pe(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?On:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,tt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new At(t,n),e})(),At=class extends le{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:On}};var nt=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ao=new M(e=>e.complete());function No(e){return e&&m(e.schedule)}function Oo(e){return e[e.length-1]}function Nt(e){return No(Oo(e))?e.pop():void 0}function Fo(e,t){return typeof Oo(e)=="number"?e.pop():t}function Ot(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Po(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}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):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Ro(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")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.")}function De(e){return this instanceof De?(this.v=e,this):new De(e)}function ko(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,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(I,E){i.push([f,h,I,E])>1||a(f,h)})})}function a(f,h){try{u(r[f](h))}catch(I){d(i[0][3],I)}}function u(f){f.value instanceof De?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}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])}}function Lo(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ro=="function"?Ro(e):e[Symbol.iterator](),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){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Ft=e=>e&&typeof e.length=="number"&&typeof e!="function";function Rt(e){return m(e?.then)}function Pt(e){return m(e[ke])}function kt(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function Lt(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function nu(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vt=nu();function jt(e){return m(e?.[Vt])}function Bt(e){return ko(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield De(n.read());if(o)return yield De(void 0);yield yield De(r)}}finally{n.releaseLock()}})}function Ht(e){return m(e?.getReader)}function A(e){if(e instanceof M)return e;if(e!=null){if(Pt(e))return ru(e);if(Ft(e))return ou(e);if(Rt(e))return iu(e);if(kt(e))return Vo(e);if(jt(e))return su(e);if(Ht(e))return au(e)}throw Lt(e)}function ru(e){return new M(t=>{let n=e[ke]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ou(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,xt)})}function su(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Vo(e){return new M(t=>{uu(e,t).catch(n=>t.error(n))})}function au(e){return Vo(Bt(e))}function uu(e,t){var n,r,o,i;return Po(this,void 0,void 0,function*(){try{for(n=Lo(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),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()})}function G(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function $t(e,t=0){return k((n,r)=>{n.subscribe(U(r,o=>G(r,e,()=>r.next(o),t),()=>G(r,e,()=>r.complete(),t),o=>G(r,e,()=>r.error(o),t)))})}function Ut(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jo(e,t){return A(e).pipe(Ut(t),$t(t))}function Bo(e,t){return A(e).pipe(Ut(t),$t(t))}function Ho(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function $o(e,t){return new M(n=>{let r;return G(n,t,()=>{r=e[Vt](),G(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function Gt(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{G(n,t,()=>{let r=e[Symbol.asyncIterator]();G(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Uo(e,t){return Gt(Bt(e),t)}function Go(e,t){if(e!=null){if(Pt(e))return jo(e,t);if(Ft(e))return Ho(e,t);if(Rt(e))return Bo(e,t);if(kt(e))return Gt(e,t);if(jt(e))return $o(e,t);if(Ht(e))return Uo(e,t)}throw Lt(e)}function Wt(e,t){return t?Go(e,t):A(e)}function jn(...e){let t=Nt(e);return Wt(e,t)}function Wo(e,t){return k((n,r)=>{let o=0;n.subscribe(U(r,i=>{r.next(e.call(t,i,o++))}))})}function zo(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=E=>c{i&&t.next(E),c++;let R=!1;A(n(E,l++)).subscribe(U(t,S=>{o?.(S),i?h(S):t.next(S)},()=>{R=!0},void 0,()=>{if(R)try{for(c--;u.length&&cI(S)):I(S)}f()}catch(S){t.error(S)}}))};return e.subscribe(U(t,h,()=>{d=!0,f()})),()=>{a?.()}}function Bn(e,t,n=1/0){return m(t)?Bn((r,o)=>Wo((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>zo(r,o,e,n)))}function qo(e=1/0){return Bn(Le,e)}function Hn(...e){let t=Nt(e),n=Fo(e,1/0),r=e;return r.length?r.length===1?A(r[0]):qo(n)(Wt(r,t)):Ao}function $n(e,t=Le){return e=e??cu,k((n,r)=>{let o,i=!0;n.subscribe(U(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function cu(e,t){return e===t}function zt(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},I=()=>{let E=s;h(),E?.unsubscribe()};return k((E,R)=>{c++,!d&&!l&&f();let S=u=u??t();R.add(()=>{c--,c===0&&!d&&!l&&(a=Un(I,o))}),S.subscribe(R),!s&&c>0&&(s=new se({next:$=>S.next($),error:$=>{d=!0,f(),a=Un(h,n,$),S.error($)},complete:()=>{l=!0,f(),a=Un(h,r),S.complete()}}),A(E).subscribe(s))})(i)}}function Un(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new se({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function Gn(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(U(r,u=>{o?.unsubscribe();let c=0,l=i++;A(e(u,l)).subscribe(o=U(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function b(e){for(let t in e)if(e[t]===b)return t;throw Error("Could not find renamed property on target object.")}function z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(z).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Zo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var lu=b({__forward_ref__:b});function Tr(e){return e.__forward_ref__=Tr,e.toString=function(){return z(this())},e}function Q(e){return du(e)?e():e}function du(e){return typeof e=="function"&&e.hasOwnProperty(lu)&&e.__forward_ref__===Tr}function bi(e){return e&&!!e.\u0275providers}var C=class extends Error{constructor(t,n){super(Ar(t,n)),this.code=t}};function Ar(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var fu=b({\u0275cmp:b}),hu=b({\u0275dir:b}),pu=b({\u0275pipe:b});var Yo=b({\u0275fac:b}),rt=b({__NG_ELEMENT_ID__:b}),Qo=b({__NG_ENV_ID__:b});function _i(e){return typeof e=="string"?e:e==null?"":String(e)}function gu(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_i(e)}function mu(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}function Nr(e,t){let n=t?` in ${t}`:"";throw new C(-201,!1)}function yu(e,t){e==null&&vu(t,e,null,"!=")}function vu(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _e(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return Ko(e,Mi)||Ko(e,Si)}function Ko(e,t){return e.hasOwnProperty(t)?e[t]:null}function Du(e){let t=e&&(e[Mi]||e[Si]);return t||null}function Jo(e){return e&&(e.hasOwnProperty(Xo)||e.hasOwnProperty(Cu))?e[Xo]:null}var Mi=b({\u0275prov:b}),Xo=b({\u0275inj:b}),Si=b({ngInjectableDef:b}),Cu=b({ngInjectorDef:b}),g=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}(g||{}),er;function Eu(){return er}function W(e){let t=er;return er=e,t}function xi(e,t,n){let r=Or(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&g.Optional)return null;if(t!==void 0)return t;Nr(z(e),"Injector")}var ot=globalThis;var w=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var wu={},at=wu,Iu="__NG_DI_FLAG__",Kt="ngTempTokenPath",bu="ngTokenPath",_u=/\n/gm,Mu="\u0275",ei="__source",it;function Ve(e){let t=it;return it=e,t}function Su(e,t=g.Default){if(it===void 0)throw new C(-203,!1);return it===null?xi(e,void 0,t):it.get(e,t&g.Optional?null:void 0,t)}function v(e,t=g.Default){return(Eu()||Su)(Q(e),t)}function O(e,t=g.Default){return v(e,an(t))}function an(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function tr(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(_u,` - `)}`}function Ti(e){return{toString:e}.toString()}var Ai=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ai||{}),ne=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ne||{}),ut={},X=[];function Ni(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function nr(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=r&8?f:null;if(h&&Ni(h,c,0)!==-1||r&2&&c!==f){if(Y(r))return!1;s=!0}}}}return Y(r)||s}function Y(e){return(e&1)===0}function ku(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Y(s)&&(t+=ni(i,o),o=""),r=s,i=i||!Y(r);n++}return o!==""&&(t+=ni(i,o)),t}function Hu(e){return e.map(Bu).join(",")}function $u(e){let t=[],n=[],r=1,o=2;for(;r{let t=zu(e),n=ie(J({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ai.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ne.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""});qu(n);let r=e.dependencies;return n.directiveDefs=oi(r,!1),n.pipeDefs=oi(r,!0),n.id=Zu(n),n})}function Uu(e){return cn(e)||Pi(e)}function Gu(e){return e!==null}function Me(e){return Ti(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ri(e,t){if(e==null)return ut;let n={};for(let 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 Ri(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function cn(e){return e[fu]||null}function Pi(e){return e[hu]||null}function ki(e){return e[pu]||null}function Wu(e){let t=cn(e)||Pi(e)||ki(e);return t!==null?t.standalone:!1}function zu(e){let 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||ut,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ri(e.inputs,t),outputs:ri(e.outputs),debugInfo:null}}function qu(e){e.features?.forEach(t=>t(e))}function oi(e,t){if(!e)return null;let n=t?ki:Uu;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Gu)}function Zu(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483647+1,"c"+t}var he=0,y=1,p=2,B=3,de=4,pe=5,rr=6,ct=7,ae=8,Ge=9,lt=10,K=11,dt=12,ii=13,gt=14,We=15,Li=16,je=17,Vi=18,ln=19,ji=20,st=21,Wn=22,we=23,ue=25,Bi=1,Yu=2,or=6,ir=7,Qu=8,Hi=9;var Ce=11;function Ee(e){return Array.isArray(e)&&typeof e[Bi]=="object"}function fe(e){return Array.isArray(e)&&e[Bi]===!0}function $i(e){return(e.flags&4)!==0}function Ui(e){return e.componentOffset>-1}function Gi(e){return(e.flags&1)===1}function mt(e){return!!e.template}function Ku(e){return(e[p]&512)!==0}function ze(e,t){let n=e.hasOwnProperty(Yo);return n?e[Yo]:null}var sr=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Rr(){return Wi}function Wi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xu),Ju}Rr.ngInherit=!0;function Ju(){let e=qi(this),t=e?.current;if(t){let n=e.previous;if(n===ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xu(e,t,n,r){let o=this.declaredInputs[n],i=qi(e)||ec(e,{previous:ut,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new sr(u&&u.currentValue,t,a===ut),e[r]=t}var zi="__ngSimpleChanges__";function qi(e){return e[zi]||null}function ec(e,t){return e[zi]=t}var si=null;var ee=function(e,t,n){si?.(e,t,n)},tc="svg",nc="math";function Se(e){for(;Array.isArray(e);)e=e[he];return e}function rc(e,t){return Se(t[e])}function ge(e,t){return Se(t[e.index])}function oc(e,t){return e.data[t]}function ic(e,t){return e[t]}function yt(e,t){let n=t[e];return Ee(n)?n:n[he]}function Pr(e){return(e[p]&128)===128}function ai(e,t){return t==null?null:e[t]}function Zi(e){e[je]=0}function sc(e){e[p]&1024||(e[p]|=1024,Pr(e)&&dn(e))}function ac(e){e[p]&9216&&dn(e)}function dn(e){let t=e[B];for(;t!==null&&!(fe(t)&&t[or]||Ee(t)&&t[p]&8192);){if(fe(t))t[or]=!0;else if(t[p]|=8192,!Pr(t))break;t=t[B]}}function uc(e,t){if((e[p]&256)===256)throw new C(911,!1);e[st]===null&&(e[st]=[]),e[st].push(t)}var D={lFrame:ts(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cc(){return D.lFrame.elementDepthCount}function lc(){D.lFrame.elementDepthCount++}function dc(){D.lFrame.elementDepthCount--}function Yi(){return D.bindingsEnabled}function fc(){return D.skipHydrationRootTNode!==null}function hc(e){return D.skipHydrationRootTNode===e}function pc(){D.skipHydrationRootTNode=null}function H(){return D.lFrame.lView}function Qe(){return D.lFrame.tView}function xe(){let e=Qi();for(;e!==null&&e.type===64;)e=e.parent;return e}function Qi(){return D.lFrame.currentTNode}function gc(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fn(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Ki(){return D.lFrame.isParent}function mc(){D.lFrame.isParent=!1}function yc(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vc(e){return D.lFrame.bindingIndex=e}function Dc(){return D.lFrame.bindingIndex++}function Cc(){return D.lFrame.inI18n}function Ec(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,ar(t)}function wc(){return D.lFrame.currentDirectiveIndex}function ar(e){D.lFrame.currentDirectiveIndex=e}function Ji(e){D.lFrame.currentQueryIndex=e}function Ic(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function Xi(e,t,n){if(n&g.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&g.Host);)if(o=Ic(i),o===null||(i=i[gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=es();return r.currentTNode=t,r.lView=e,!0}function kr(e){let t=es(),n=e[y];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function es(){let e=D.lFrame,t=e===null?null:e.child;return t===null?ts(e):t}function ts(e){let 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 e!==null&&(e.child=t),t}function ns(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rs=ns;function Lr(){let e=ns();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 Vr(){return D.lFrame.selectedIndex}function Ie(e){D.lFrame.selectedIndex=e}function bc(){return D.lFrame.currentNamespace}var os=!0;function is(){return os}function ss(e){os=e}function _c(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Wi(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))}function as(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[je]+=65536),(a>14>16&&(e[p]&3)===t&&(e[p]+=16384,ui(a,i)):ui(a,i)}var Ue=-1,ft=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Sc(e){return e instanceof ft}function xc(e){return(e.flags&8)!==0}function Tc(e){return(e.flags&16)!==0}function Ac(e){return e!==Ue}function ur(e){let t=e&32767;return e&32767}function Nc(e){return e>>16}function cr(e,t){let n=Nc(e),r=t;for(;n>0;)r=r[gt],n--;return r}var lr=!0;function Jt(e){let t=lr;return lr=e,t}var Oc=256,cs=Oc-1,ls=5,Fc=0,te={};function Rc(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(rt)&&(r=n[rt]),r==null&&(r=n[rt]=Fc++);let o=r&cs,i=1<>ls)]|=i}function ds(e,t){let n=fs(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,qn(r.data,e),qn(t,null),qn(r.blueprint,null));let o=hs(e,t),i=e.injectorIndex;if(Ac(o)){let s=ur(o),a=cr(o,t),u=a[y].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function qn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fs(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=vs(o),r===null)return Ue;if(n++,o=o[gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ue}function Pc(e,t,n){Rc(e,t,n)}function ps(e,t,n){if(n&g.Optional||e!==void 0)return e;Nr(t,"NodeInjector")}function gs(e,t,n,r){if(n&g.Optional&&r===void 0&&(r=null),!(n&(g.Self|g.Host))){let o=e[Ge],i=W(void 0);try{return o?o.get(t,r,n&g.Optional):xi(t,r,n&g.Optional)}finally{W(i)}}return ps(r,t,n)}function ms(e,t,n,r=g.Default,o){if(e!==null){if(t[p]&2048&&!(r&g.Self)){let s=Bc(e,t,n,r,te);if(s!==te)return s}let i=ys(e,t,n,r,te);if(i!==te)return i}return gs(t,n,r,o)}function ys(e,t,n,r,o){let i=Vc(n);if(typeof i=="function"){if(!Xi(t,e,r))return r&g.Host?ps(o,n,r):gs(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&g.Optional))Nr(n);else return s}finally{rs()}}else if(typeof i=="number"){let s=null,a=fs(e,t),u=Ue,c=r&g.Host?t[We][pe]:null;for((a===-1||r&g.SkipSelf)&&(u=a===-1?hs(e,t):t[a+8],u===Ue||!li(r,!1)?a=-1:(s=t[y],a=ur(u),t=cr(u,t)));a!==-1;){let l=t[y];if(ci(i,a,l.data)){let d=kc(a,t,n,s,r,c);if(d!==te)return d}u=t[a+8],u!==Ue&&li(r,t[y].data[a+8]===c)&&ci(i,a,t)?(s=l,a=ur(u),t=cr(u,t)):a=-1}}return o}function kc(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],u=r==null?Ui(a)&&lr:r!=s&&(a.type&3)!==0,c=o&g.Host&&i===a,l=Lc(a,s,n,u,c);return l!==null?ht(t,s,l,a):te}function Lc(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h=u&&I.type===n)return h}if(o){let h=s[u];if(h&&mt(h)&&h.type===n)return u}return null}function ht(e,t,n,r){let o=e[n],i=t.data;if(Sc(o)){let s=o;s.resolving&&mu(gu(i[n]));let a=Jt(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?W(s.injectImpl):null,l=Xi(e,r,g.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&_c(n,i[n],t)}finally{c!==null&&W(c),Jt(a),s.resolving=!1,rs()}}return o}function Vc(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(rt)?e[rt]:void 0;return typeof t=="number"?t>=0?t&cs:jc:t}function ci(e,t,n){let r=1<>ls)]&r)}function li(e,t){return!(e&g.Self)&&!(e&g.Host&&t)}var Xt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ms(this._tNode,this._lView,t,an(r),n)}};function jc(){return new Xt(xe(),H())}function Bc(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[p]&2048&&!(s[p]&512);){let a=ys(i,s,n,r|g.Self,te);if(a!==te)return a;let u=i.parent;if(!u){let c=s[ji];if(c){let l=c.get(n,te,r);if(l!==te)return l}u=vs(s),s=s[gt]}i=u}return o}function vs(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function jr(e,t){e.forEach(n=>Array.isArray(n)?jr(n,t):t(n))}function Ds(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Hc(e,t){let n=[];for(let r=0;r{n.push(s)};return jr(t,s=>{let a=s;dr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&bs(o,i),n}function bs(e,t){for(let n=0;n{t(i,r)})}}function dr(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Jo(e),s=!i&&cn(e);if(!i&&!s){let u=e.ngModule;if(i=Jo(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)dr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{jr(i.imports,l=>{dr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&bs(c,t)}if(!a){let c=ze(o)||(()=>new o);t({provide:o,useFactory:c,deps:X},o),t({provide:Es,useValue:o,multi:!0},o),t({provide:hn,useValue:()=>v(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Br(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Br(e,t){for(let n of e)bi(n)&&(n=n.\u0275providers),Array.isArray(n)?Br(n,t):t(n)}var Uc=b({provide:String,useValue:b});function _s(e){return e!==null&&typeof e=="object"&&Uc in e}function Gc(e){return!!(e&&e.useExisting)}function Wc(e){return!!(e&&e.useFactory)}function fr(e){return typeof e=="function"}var pn=new w("Set Injector scope."),Yt={},zc={},Zn;function Hr(){return Zn===void 0&&(Zn=new en),Zn}var be=class{},tn=class extends be{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,pr(t,s=>this.processProvider(s)),this.records.set(Cs,Be(void 0,this)),o.has("environment")&&this.records.set(be,Be(void 0,this));let i=this.records.get(pn);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Es,X,g.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let 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();let n=Ve(this),r=W(void 0),o;try{return t()}finally{Ve(n),W(r)}}get(t,n=at,r=g.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Qo))return t[Qo](this);r=an(r);let o,i=Ve(this),s=W(void 0);try{if(!(r&g.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Jc(t)&&Or(t);c&&this.injectableDefInScope(c)?u=Be(hr(t),Yt):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&g.Self?Hr():this.parent;return n=r&g.Optional&&n===at?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Kt]=a[Kt]||[]).unshift(z(t)),i)throw a;return Tu(a,t,"R3InjectorError",this.source)}else throw a}finally{W(s),Ve(i)}}resolveInjectorInitializers(){let t=Ve(this),n=W(void 0),r;try{let o=this.get(hn,X,g.Self);for(let i of o)i()}finally{Ve(t),W(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){t=Q(t);let n=fr(t)?t:Q(t&&t.provide),r=Zc(t);if(!fr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Be(void 0,Yt,!0),o.factory=()=>tr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(t,n){return n.value===Yt&&(n.value=zc,n.value=n.factory()),typeof n.value=="object"&&n.value&&Kc(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function hr(e){let t=Or(e),n=t!==null?t.factory:ze(e);if(n!==null)return n;if(e instanceof w)throw new C(204,!1);if(e instanceof Function)return qc(e);throw new C(204,!1)}function qc(e){let t=e.length;if(t>0){let r=Hc(t,"?");throw new C(204,!1)}let n=Du(e);return n!==null?()=>n.factory(e):()=>new e}function Zc(e){if(_s(e))return Be(void 0,e.useValue);{let t=Yc(e);return Be(t,Yt)}}function Yc(e,t,n){let r;if(fr(e)){let o=Q(e);return ze(o)||hr(o)}else if(_s(e))r=()=>Q(e.useValue);else if(Wc(e))r=()=>e.useFactory(...tr(e.deps||[]));else if(Gc(e))r=()=>v(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(Qc(e))r=()=>new o(...tr(e.deps));else return ze(o)||hr(o)}return r}function Be(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qc(e){return!!e.deps}function Kc(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Jc(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function pr(e,t){for(let n of e)Array.isArray(n)?pr(n,t):n&&bi(n)?pr(n.\u0275providers,t):t(n)}function di(e,t=null,n=null,r){let o=Xc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Xc(e,t=null,n=null,r,o=new Set){let i=[n||X,$c(e)];return r=r||(typeof e=="object"?void 0:z(e)),new tn(i,t||Hr(),r||null,o)}var vt=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return di({name:""},o,r,"");{let i=r.name??"";return di({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=at,t.NULL=new en,t.\u0275prov=_({token:t,providedIn:"any",factory:()=>v(Cs)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var gr;function Ms(e){gr=e}function el(){if(gr!==void 0)return gr;if(typeof document<"u")return document;throw new C(210,!1)}var $r=new w("AppId",{providedIn:"root",factory:()=>tl}),tl="ng",Ur=new w("Platform Initializer"),Ke=new w("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Gr=new w("CSP nonce",{providedIn:"root",factory:()=>el().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function nl(e){return(e.flags&128)===128}var Te=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Te||{});var Ss=new Map,rl=0;function ol(){return rl++}function il(e){Ss.set(e[ln],e)}function sl(e){Ss.delete(e[ln])}var fi="__ngContext__";function qe(e,t){Ee(t)?(e[fi]=t[ln],il(t)):e[fi]=t}var al;function xs(e,t){return al(e,t)}function Ts(e){let t=e[B];return fe(t)?t[B]:t}function As(e){return Os(e[dt])}function Ns(e){return Os(e[de])}function Os(e){for(;e!==null&&!fe(e);)e=e[de];return e}function He(e,t,n,r,o){if(r!=null){let i,s=!1;fe(r)?i=r:Ee(r)&&(s=!0,r=r[he]);let a=Se(r);e===0&&n!==null?o==null?Ps(t,n,a):mr(t,n,a,o||null,!0):e===1&&n!==null?mr(t,n,a,o||null,!0):e===2?_l(t,a,s):e===3&&t.destroyNode(a),i!=null&&Sl(t,e,i,n,o)}}function ul(e,t){return e.createText(t)}function cl(e,t,n){e.setValue(t,n)}function Fs(e,t,n){return e.createElement(t,n)}function ll(e,t){let n=t[K];gn(e,t,n,2,null,null),t[he]=null,t[pe]=null}function dl(e,t){gn(e,t,t[K],2,null,null)}function fl(e){let t=e[dt];if(!t)return Yn(e[y],e);for(;t;){let n=null;if(Ee(t))n=t[dt];else{let r=t[Ce];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)Ee(t)&&Yn(t[y],t),t=t[B];t===null&&(t=e),Ee(t)&&Yn(t[y],t),n=t&&t[de]}t=n}}function Rs(e,t){let n=e[Hi],r=n.indexOf(t),o=t[B];n.splice(r,1)}function hl(e,t){if(e.length<=Ce)return;let n=Ce+t,r=e[n];if(r){let o=r[Li];o!==null&&o!==e&&Rs(o,r),t>0&&(e[n-1][de]=r[de]);let i=Ds(e,Ce+t);ll(r[y],r);let s=i[Vi];s!==null&&s.detachView(i[y]),r[B]=null,r[de]=null,r[p]&=-129}return r}function pl(e,t){if(!(t[p]&256)){let n=t[K];t[we]&&Co(t[we]),n.destroyNode&&gn(e,t,n,3,null,null),fl(t)}}function Yn(e,t){if(!(t[p]&256)){t[p]&=-129,t[p]|=256,ml(e,t),gl(e,t),t[y].type===1&&t[K].destroy();let n=t[Li];if(n!==null&&fe(t[B])){n!==t[B]&&Rs(n,t);let r=t[Vi];r!==null&&r.detachView(e)}sl(t)}}function gl(e,t){let n=e.cleanup,r=t[ct];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[ct]=null);let o=t[st];if(o!==null){t[st]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ne.None||i===ne.Emulated)return null}return ge(r,n)}}function mr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ps(e,t,n){e.appendChild(t,n)}function hi(e,t,n,r,o){r!==null?mr(e,t,n,r,o):Ps(e,t,n)}function Dl(e,t,n,r){e.removeChild(t,n,r)}function Cl(e,t){return e.parentNode(t)}function El(e,t,n){return Il(e,t,n)}function wl(e,t,n){return e.type&40?ge(e,n):null}var Il=wl,pi;function ks(e,t,n,r){let o=yl(e,r,t),i=t[K],s=r.parent||t[pe],a=El(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;unull;function zr(e,t,n=!1){return Nl(e,t,n)}var yr=class{},nn=class{};function Ol(e){let t=Error(`No component factory found for ${z(e)}.`);return t[Fl]=e,t}var Fl="ngComponent";var vr=class{resolveComponentFactory(t){throw Ol(t)}},qr=(()=>{let t=class t{};t.NULL=new vr;let e=t;return e})();function Rl(){return js(xe(),H())}function js(e,t){return new mn(ge(e,t))}var mn=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Rl;let e=t;return e})();var pt=class{};var Pl=(()=>{let t=class t{};t.\u0275prov=_({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Ze=class{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}},kl=new Ze("17.0.1"),Qn={};function rn(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(Se(i)),fe(i)&&Ll(i,r);let s=n.type;if(s&8)rn(e,t,n.child,r);else if(s&32){let a=xs(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=bl(t,n);if(Array.isArray(a))r.push(...a);else{let u=Ts(t[We]);rn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Ll(e,t){for(let n=Ce;n{dn(e.lView)},consumerOnSignalRead(){this.lView[we]=this}}),$l="ngOriginalError";function Kn(e){return e[$l]}var ce=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Kn(t);for(;n&&Kn(n);)n=Kn(n);return n||null}};var Hs=!1,Ul=new w("",{providedIn:"root",factory:()=>Hs});var Dt={};function yn(e){$s(Qe(),H(),Vr()+e,!1)}function $s(e,t,n,r){if(!r)if((t[p]&3)===3){let i=e.preOrderCheckHooks;i!==null&&qt(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Zt(t,i,0,n)}Ie(n)}function Ae(e,t=g.Default){let n=H();if(n===null)return v(e,t);let r=xe();return ms(r,n,Q(e),t)}function Gl(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;rue&&$s(e,t,ue,!1),ee(s?2:0,o),n(r,o)}finally{Ie(i),ee(s?3:1,o)}}function Ws(e,t,n){if($i(t)){let r=V(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Jl(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fc()&&(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}}function gi(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=n===null?{}:n;let i=e[o];r===null?mi(n,t,o,i):r.hasOwnProperty(o)&&mi(n,t,r[o],i)}return n}function mi(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Xl(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function rd(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ui(n)&&ld(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ds(n,t),qe(r,t);let s=n.initialInputs;for(let a=o;a-1&&(hl(t,r),Ds(n,r))}this._attachedToViewContainer=!1}pl(this._lView[y],this._lView)}onDestroy(t){uc(this._lView,t)}markForCheck(){Qr(this._cdRefInjectingView||this._lView)}detach(){this._lView[p]&=-129}reattach(){ac(this._lView),this._lView[p]|=128}detectChanges(){yd(this._lView[y],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,dl(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}};function sa(e,t){return performance?.mark?.(e,t)}var wr=class extends le{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&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Jn(i),o&&(o=Jn(o)),s&&(s=Jn(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}};function Jn(e){return t=>{setTimeout(e,void 0,t)}}var $e=wr;function yi(...e){}function wd(){let e=typeof ot.requestAnimationFrame=="function",t=ot[e?"requestAnimationFrame":"setTimeout"],n=ot[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var F=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $e(!1),this.onMicrotaskEmpty=new $e(!1),this.onStable=new $e(!1),this.onError=new $e(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let 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=wd().nativeRequestAnimationFrame,_d(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Id,yi,yi);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)}},Id={};function Kr(e){if(e._nesting==0&&!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 bd(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ot,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ir(e),e.isCheckStableRunning=!0,Kr(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ir(e))}function _d(e){let t=()=>{bd(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Md(a))return n.invokeTask(o,i,s,a);try{return vi(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Di(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return vi(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Di(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ir(e),Kr(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ir(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function vi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Di(e){e._nesting--,Kr(e)}var aa=new w("",{providedIn:"root",factory:ua});function ua(){let e=O(F),t=!0,n=new M(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new M(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});let s=e.onUnstable.subscribe(()=>{F.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Hn(n,r.pipe(zt()))}function Md(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Sd=(()=>{let t=class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function xd(e,t){let n=yt(t,e),r=n[y];Td(r,n);let o=n[he];o!==null&&n[rr]===null&&(n[rr]=zr(o,n[Ge])),ca(r,n,n[ae])}function Td(e,t){for(let n=t.length;n0&&Ls(e,n,i.join(" "))}}function Ld(e,t,n){let r=e.projection=[];for(let o=0;o(ss(!0),Fs(r,o,bc()));var on="en-US";var Ud=on;function Gd(e){yu(e,"Expected localeId to be defined"),typeof e=="string"&&(Ud=e.toLowerCase().replace(/_/g,"-"))}function vn(e){return!!e&&typeof e.then=="function"}function da(e){return!!e&&typeof e.subscribe=="function"}function re(e,t,n,r){let o=H(),i=Qe(),s=xe();return zd(i,o,o[K],s,e,t,r),re}function Wd(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function zd(e,t,n,r,o,i,s){let a=Gi(r),c=e.firstCreatePass&&pd(e),l=t[ae],d=hd(t),f=!0;if(r.type&3||s){let E=ge(r,t),R=s?s(E):E,S=d.length,$=s?oe=>s(Se(oe[r.index])):r.index,P=null;if(!s&&a&&(P=Wd(e,t,o,r.index)),P!==null){let oe=P.__ngLastListenerFn__||P;oe.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,f=!1}else{i=Ii(r,t,l,i,!1);let oe=n.listen(R,o,i);d.push(i,oe),c&&c.push(o,$,S,S+1)}}else i=Ii(r,t,l,i,!1);let h=r.outputs,I;if(f&&h!==null&&(I=h[o])){let E=I.length;if(E)for(let R=0;R-1?yt(e.index,t):t;Qr(a);let u=wi(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=wi(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function qd(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function N(e,t=""){let n=H(),r=Qe(),o=e+ue,i=r.firstCreatePass?Yr(r,o,1,t,null):r.data[o],s=Zd(r,n,i,t,e);n[o]=s,is()&&ks(r,n,s,i),fn(i,!1)}var Zd=(e,t,n,r,o)=>(ss(!0),ul(t[K],r));function Ct(e,t,n){let r=H(),o=Bd(r,e,t,n);return o!==Dt&&gd(r,Vr(),o),Ct}var Ye=class{};var sn=class extends Ye{constructor(t){super(),this.componentFactoryResolver=new _r(this),this.instance=null;let n=new tn([...t.providers,{provide:Ye,useValue:this},{provide:qr,useValue:this.componentFactoryResolver}],t.parent||Hr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yd(e,t,n=null){return new sn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Qd=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Is(!1,r.type),i=o.length>0?Yd([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=_({token:t,providedIn:"environment",factory:()=>new t(v(be))});let e=t;return e})(),Kd={detail:{feature:"NgStandalone"}};function Dn(e){sa("mark_use_counter",Kd),e.getStandaloneInjector=t=>t.get(Qd).getOrCreateStandaloneInjector(e)}function Jd(e,t){let n=e[t];return n===Dt?void 0:n}function Xd(e,t,n,r,o,i){let s=t+n;return la(e,s,o)?jd(e,s+1,i?r.call(i,o):r(o)):Jd(e,s+1)}function Cn(e,t){let n=Qe(),r,o=e+ue;n.firstCreatePass?(r=ef(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ze(r.type,!0)),s,a=W(Ae);try{let u=Jt(!1),c=i();return Jt(u),qd(n,H(),o,c),c}finally{W(a)}}function ef(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function En(e,t,n){let r=e+ue,o=H(),i=ic(o,r);return tf(o,r)?Xd(o,yc(),t,i.transform,n,i):i.transform(n)}function tf(e,t){return e[y].data[t].pure}var nf=new w("Application Initializer"),fa=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=O(nf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(vn(s))r.push(s);else if(da(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function rf(){return typeof $localize<"u"&&$localize.locale||on}var Xr=new w("LocaleId",{providedIn:"root",factory:()=>O(Xr,g.Optional|g.SkipSelf)||rf()});var of=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nt(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ha=new w("");var Qt=null;var pa=new w("PlatformDestroyListeners"),sf=new w("appBootstrapListener");function af(){Eo(()=>{throw new C(600,!1)})}function uf(e){return e.isBoundToModule}function cf(e=[]){if(Qt)return Qt;let t=df(e);return Qt=t,af(),lf(t),t}function lf(e){e.get(Ur,null)?.forEach(n=>n())}function ga(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=cf(r),i=[yf(),...n||[]],a=new sn({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(F);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(ce,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(pa);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),hf(c,u,()=>{let h=a.get(fa);return h.runInitializers(),h.donePromise.then(()=>{let I=a.get(Xr,on);Gd(I||on);let E=a.get(eo);return t!==void 0&&E.bootstrap(t),E})})})}catch(t){return Promise.reject(t)}}function df(e=[],t){return vt.create({name:t,providers:[{provide:pn,useValue:"platform"},{provide:pa,useValue:new Set([()=>Qt=null])},...e]})}function ff(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function hf(e,t,n){try{let r=n();return vn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var eo=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=O(ma),this.zoneIsStable=O(aa),this.componentTypes=[],this.components=[],this.isStable=O(of).hasPendingTasks.pipe(Gn(r=>r?jn(!1):this.zoneIsStable),$n(),zt()),this._injector=O(be)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof nn;if(!this._injector.get(fa).done){let I="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&Wu(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new C(405,!1)}let a;i?a=r:a=this._injector.get(qr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=uf(a)?void 0:this._injector.get(Ye),c=o||a.selector,l=a.create(vt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ha,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Xn(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Xn(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(sf,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Xn(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ma=new w("",{providedIn:"root",factory:()=>O(ce).handleError.bind(void 0)});function pf(){let e=O(F),t=O(ce);return n=>e.runOutsideAngular(()=>t.handleError(n))}var gf=(()=>{let t=class t{constructor(){this.zone=O(F),this.applicationRef=O(eo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mf(e){return[{provide:F,useFactory:e},{provide:hn,multi:!0,useFactory:()=>{let t=O(gf,{optional:!0});return()=>t.initialize()}},{provide:ma,useFactory:pf},{provide:aa,useFactory:ua}]}function yf(e){let t=mf(()=>new F(ff(e)));return ws([[],t])}var to=null;function no(){return to}function va(e){to||(to=e)}var wn=class{},me=new w("DocumentToken");function Da(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ca=(()=>{let t=class t{transform(r){return JSON.stringify(r,null,2)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=Ri({name:"json",type:t,pure:!1,standalone:!0});let e=t;return e})();var ro=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Me({type:t}),t.\u0275inj=_e({});let e=t;return e})(),Ea="browser",wf="server";function oo(e){return e===wf}var In=class{};var ao=class extends wn{constructor(){super(...arguments),this.supportsDOMEvents=!0}},uo=class e extends ao{static makeCurrent(){va(new e)}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(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=_f();return n==null?null:Mf(n)}resetBaseElement(){Et=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Da(document.cookie,t)}},Et=null;function _f(){return Et=Et||document.querySelector("base"),Et?Et.getAttribute("href"):null}var bn;function Mf(e){bn=bn||document.createElement("a"),bn.setAttribute("href",e);let t=bn.pathname;return t.charAt(0)==="/"?t:`/${t}`}var Sf=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),co=new w("EventManagerPlugins"),_a=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(v(co),v(F))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),_n=class{constructor(t){this._doc=t}},io="ng-app-id",Ma=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=oo(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${io}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(io),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(io,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(v(me),v($r),v(Gr,8),v(Ke))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),so={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/"},fo=/%COMP%/g,Sa="%COMP%",xf=`_nghost-${Sa}`,Tf=`_ngcontent-${Sa}`,Af=!0,Nf=new w("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Af});function Of(e){return Tf.replace(fo,e)}function Ff(e){return xf.replace(fo,e)}function xa(e,t){return t.map(n=>n.replace(fo,e))}var wa=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=oo(u),this.defaultRenderer=new wt(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ne.ShadowDom&&(o=ie(J({},o),{encapsulation:ne.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Mn?i.applyToHost(r):i instanceof It&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ne.Emulated:s=new Mn(c,l,o,this.appId,d,a,u,f);break;case ne.ShadowDom:return new lo(c,l,r,o,a,u,this.nonce,f);default:s=new It(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(v(_a),v(Ma),v($r),v(Nf),v(me),v(Ke),v(F),v(Gr))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),wt=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(so[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Ia(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Ia(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new C(-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;let i=so[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=so[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&(Te.DashCase|Te.Important)?t.style.setProperty(n,r,o&Te.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Te.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(typeof t=="string"&&(t=no().getGlobalEventTarget(this.doc,t),!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(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Ia(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var lo=class extends wt{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);let c=xa(o.id,o.styles);for(let l of c){let 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)}},It=class extends wt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?xa(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Mn=class extends It{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=Of(c),this.hostAttr=Ff(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Rf=(()=>{let t=class t extends _n{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(v(me))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),ba=["alt","control","meta","shift"],Pf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},kf={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Lf=(()=>{let t=class t extends _n{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>no().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),ba.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=Pf[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ba.forEach(a=>{if(a!==i){let u=kf[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(v(me))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})();function Ta(e,t){return ga(J({rootComponent:e},Vf(t)))}function Vf(e){return{appProviders:[...Uf,...e?.providers??[]],platformProviders:$f}}function jf(){uo.makeCurrent()}function Bf(){return new ce}function Hf(){return Ms(document),document}var $f=[{provide:Ke,useValue:Ea},{provide:Ur,useValue:jf,multi:!0},{provide:me,useFactory:Hf,deps:[]}];var Uf=[{provide:pn,useValue:"root"},{provide:ce,useFactory:Bf,deps:[]},{provide:co,useClass:Rf,multi:!0,deps:[me,F,Ke]},{provide:co,useClass:Lf,multi:!0,deps:[me]},wa,Ma,_a,{provide:pt,useExisting:wa},{provide:In,useClass:Sf,deps:[]},[]];var Gf={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},ev=ie(J({},Gf),{"[class.ng-submitted]":"isSubmitted"});var Wf=new w("CallSetDisabledState",{providedIn:"root",factory:()=>Aa}),Aa="always";var zf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Me({type:t}),t.\u0275inj=_e({});let e=t;return e})();var qf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Me({type:t}),t.\u0275inj=_e({imports:[zf]});let e=t;return e})();var Na=(()=>{let t=class t{static withConfig(r){return{ngModule:t,providers:[{provide:Wf,useValue:r.callSetDisabledState??Aa}]}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Me({type:t}),t.\u0275inj=_e({imports:[qf]});let e=t;return e})();var Xe=typeof document=="object"&&!!document,L=class e{static get(t,n){if(t==null)return null;let r=e.parse(t.getItem(n)||"null")||null;return r===null?null:typeof r=="object"&&typeof r._expired<"u"&&r._expired!==0&&+new Date>r._expired?(e.remove(t,n),null):r._value||null}static set(t,n,r,o=0,i="t"){t?.setItem(n,e.stringify({_expired:e.getExpired(o,i),_value:r}))}static remove(t,n){t?.removeItem(n)}static key(t,n){return t==null?null:t.key(n)}static getExpired(t,n){if(t<=0)return 0;let r=+new Date;switch(n){case"s":return r+1e3*t;case"m":return r+1e3*60*t;case"h":return r+1e3*60*60*t;case"d":return r+1e3*60*60*24*t;case"w":return r+1e3*60*60*24*7*t;case"y":return r+1e3*60*60*24*365*t;case"t":return r+t;default:return 0}}static stringify(t){return JSON.stringify(t)}static parse(t){try{return JSON.parse(t)||null}catch{return t}}};var Oa={};function Fa(e,t,n=0,r="d"){return(o,i)=>{t=t||i,Object.defineProperty(o,i,{get:()=>L.get(e,t),set:s=>{if(!Oa[t]){L.get(e,t)===null&&L.set(e,t,s,n,r),Oa[t]=!0;return}L.set(e,t,s,n,r)},enumerable:!0,configurable:!0})}}function ho(e,t=0,n="t"){return Fa(Xe?localStorage:null,e,t,n)}function Ra(e,t=0,n="t"){return Fa(Xe?sessionStorage:null,e,t,n)}var Pa=(()=>{let t=class t{constructor(r){this.storage=r}get(r){return L.get(this.storage,r)}set(r,o,i=0,s="d"){return L.set(this.storage,r,o,i,s)}remove(r){if(typeof r=="string"){L.remove(this.storage,r);return}let o=0,i=L.key(this.storage,o),s=[];for(;i;)r.test(i)&&s.push(i),i=L.key(this.storage,++o);s.forEach(a=>L.remove(this.storage,a))}clear(){this.storage?.clear()}};t.\u0275fac=function(o){return new(o||t)(v(Storage))},t.\u0275prov=_({token:t,factory:t.\u0275fac});let e=t;return e})(),ka=(()=>{let t=class t extends Pa{constructor(){super(Xe?localStorage:null)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),La=(()=>{let t=class t extends Pa{constructor(){super(Xe?sessionStorage:null)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var et=class et{constructor(t,n){this.local=t,this.session=n,this.localValue={text:`Hello ${+new Date}`},this.localValue2={text:`Hello ${+new Date}`},this.sessionValue=`Hello ${+new Date}`,this.KEY="value",this.value=null}set(t=0){this.local.set(this.KEY,{a:1,now:+new Date},t,"s")}remove(){this.local.remove(this.KEY)}get(){this.value=this.local.get(this.KEY)}clear(){this.local.clear()}batchSet(){this.local.set("batch_1","a"),this.local.set("batch_2","b"),this.local.set("batch_c","c")}batchRemove(){this.local.remove(/batch_\w+/)}};et.\u0275fac=function(n){return new(n||et)(Ae(ka),Ae(La))},et.\u0275cmp=un({type:et,selectors:[["demo"]],standalone:!0,features:[Dn],decls:33,vars:9,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],[1,"mb-3"],["type","button",1,"btn","btn-primary","btn-sm",3,"click"]],template:function(n,r){n&1&&(x(0,"div",0)(1,"div",1),N(2,"LocalStorage Demo"),T(),x(3,"div",2)(4,"p"),N(5),Cn(6,"json"),T(),x(7,"p"),N(8),Cn(9,"json"),T(),x(10,"div",3)(11,"button",4),re("click",function(){return r.get()}),N(12," get "),T(),x(13,"button",4),re("click",function(){return r.set()}),N(14," set "),T(),x(15,"button",4),re("click",function(){return r.set(5)}),N(16," set in 5 second expired! "),T(),x(17,"button",4),re("click",function(){return r.remove()}),N(18," remove "),T(),x(19,"button",4),re("click",function(){return r.clear()}),N(20," clear "),T()(),x(21,"div",3)(22,"button",4),re("click",function(){return r.batchSet()}),N(23," batch set "),T(),x(24,"button",4),re("click",function(){return r.batchRemove()}),N(25," batch remove "),T()()()(),x(26,"div",0)(27,"div",1),N(28,"SessionStorage Demo"),T(),x(29,"div",2)(30,"p"),N(31),Cn(32,"json"),T()()()),n&2&&(yn(5),Ct("localValue: ",En(6,3,r.localValue),""),yn(3),Ct("value: ",En(9,5,r.value),""),yn(23),Ct("value: ",En(32,7,r.sessionValue),""))},dependencies:[Na,ro,Ca],encapsulation:2});var Ne=et;Ot([ho()],Ne.prototype,"localValue",void 0);Ot([ho("newKey",10,"h")],Ne.prototype,"localValue2",void 0);Ot([Ra()],Ne.prototype,"sessionValue",void 0);var Va=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=un({type:t,selectors:[["app-root"]],standalone:!0,features:[Dn],decls:7,vars:0,consts:[[1,"mb-3"],["href","https://github.com/cipchk/angular-web-storage/blob/master/README.md","target","_blank"]],template:function(o,i){o&1&&(x(0,"h1"),N(1,"angular-web-storage"),T(),x(2,"p",0),N(3," Angular decorator to save and restore of HTML5 Local&Session Storage\uFF0C\u6709\u5173\u66F4\u591A\u7EC6\u8282\u89C1 "),x(4,"a",1),N(5,"README.md"),T()(),Jr(6,"demo"))},dependencies:[Ne],encapsulation:2});let e=t;return e})();Ta(Va).catch(e=>console.error(e)); diff --git a/main-SQWV2CLT.js b/main-SQWV2CLT.js new file mode 100644 index 0000000..31d1d82 --- /dev/null +++ b/main-SQWV2CLT.js @@ -0,0 +1,7 @@ +var ba=Object.defineProperty,_a=Object.defineProperties;var Ma=Object.getOwnPropertyDescriptors;var to=Object.getOwnPropertySymbols;var Sa=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable;var no=(e,t,n)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||={})Sa.call(t,n)&&no(e,n,t[n]);if(to)for(var n of to(t))Ta.call(t,n)&&no(e,n,t[n]);return e},W=(e,t)=>_a(e,Ma(t));var dn=null;var ln=1,ro=Symbol("SIGNAL");function D(e){let t=dn;return dn=e,t}function oo(){return dn}var fn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function xa(e){if(!(yn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ln)){if(!e.producerMustRecompute(e)&&!pn(e)){e.dirty=!1,e.lastCleanEpoch=ln;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ln}}function hn(e){return e&&(e.nextProducerIndex=0),D(e)}function io(e,t){if(D(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(yn(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function pn(e){vn(e);for(let t=0;t0}function vn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Na(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Aa(e){return e.producerNode!==void 0}function Oa(){throw new Error}var Fa=Oa;function so(e){Fa=e}function F(e){return typeof e=="function"}function Ct(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Et=Ct(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var A=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(F(r))try{r()}catch(i){t=i instanceof Et?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ao(i)}catch(s){t=t??[],s instanceof Et?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Et(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ao(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&et(n,t)}remove(t){let{_finalizers:n}=this;n&&et(n,t),t instanceof e&&t._removeParent(this)}};A.EMPTY=(()=>{let e=new A;return e.closed=!0,e})();var Dn=A.EMPTY;function wt(e){return e instanceof A||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function ao(e){F(e)?e():e.unsubscribe()}var H={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xe={setTimeout(e,t,...n){let{delegate:r}=xe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=xe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function uo(e){xe.setTimeout(()=>{let{onUnhandledError:t}=H;if(t)t(e);else throw e})}function Cn(){}var co=En("C",void 0,void 0);function lo(e){return En("E",void 0,e)}function fo(e){return En("N",e,void 0)}function En(e,t,n){return{kind:e,value:t,error:n}}var me=null;function Ne(e){if(H.useDeprecatedSynchronousErrorHandling){let t=!me;if(t&&(me={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=me;if(me=null,n)throw r}}else e()}function ho(e){H.useDeprecatedSynchronousErrorHandling&&me&&(me.errorThrown=!0,me.error=e)}var ye=class extends A{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wt(t)&&t.add(this)):this.destination=ka}static create(t,n,r){return new Ae(t,n,r)}next(t){this.isStopped?In(fo(t),this):this._next(t)}error(t){this.isStopped?In(lo(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?In(co,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()}}},Ra=Function.prototype.bind;function wn(e,t){return Ra.call(e,t)}var bn=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){It(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){It(r)}else It(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){It(n)}}},Ae=class extends ye{constructor(t,n,r){super();let o;if(F(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&H.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&wn(t.next,i),error:t.error&&wn(t.error,i),complete:t.complete&&wn(t.complete,i)}):o=t}this.destination=new bn(o)}};function It(e){H.useDeprecatedSynchronousErrorHandling?ho(e):uo(e)}function Pa(e){throw e}function In(e,t){let{onStoppedNotification:n}=H;n&&xe.setTimeout(()=>n(e,t))}var ka={closed:!0,next:Cn,error:Pa,complete:Cn};var po=typeof Symbol=="function"&&Symbol.observable||"@@observable";function go(e){return e}function mo(e){return e.length===0?go:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _n=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Va(n)?n:new Ae(n,r,o);return Ne(()=>{let{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 r=yo(r),new r((o,i)=>{let s=new Ae({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[po](){return this}pipe(...n){return mo(n)(this)}toPromise(n){return n=yo(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function yo(e){var t;return(t=e??H.Promise)!==null&&t!==void 0?t:Promise}function La(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function Va(e){return e&&e instanceof ye||La(e)&&wt(e)}function ja(e){return F(e?.lift)}function vo(e){return t=>{if(ja(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 Do(e,t,n,r,o){return new Mn(e,t,n,r,o)}var Mn=class extends ye{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()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Co=Ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends _n{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new bt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Co}next(n){Ne(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ne(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ne(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Dn:(this.currentObservers=null,i.push(n),new A(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _n;return n.source=this,n}}return e.create=(t,n)=>new bt(t,n),e})(),bt=class extends ie{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Dn}};var tt=class extends ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function _t(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Sn(e,t){return vo((n,r)=>{let o=0;n.subscribe(Do(r,i=>{r.next(e.call(t,i,o++))}))})}var y=class extends Error{constructor(t,n){super(gr(t,n)),this.code=t}};function gr(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ti(e){return{toString:e}.toString()}var kn=globalThis;function I(e){for(let t in e)if(e[t]===I)return t;throw Error("Could not find renamed property on target object.")}function G(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(G).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Eo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Ba=I({__forward_ref__:I});function mr(e){return e.__forward_ref__=mr,e.toString=function(){return G(this())},e}function U(e){return Ha(e)?e():e}function Ha(e){return typeof e=="function"&&e.hasOwnProperty(Ba)&&e.__forward_ref__===mr}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function We(e){return{providers:e.providers||[],imports:e.imports||[]}}function yr(e){return wo(e,ni)||wo(e,ri)}function wo(e,t){return e.hasOwnProperty(t)?e[t]:null}function $a(e){let t=e&&(e[ni]||e[ri]);return t||null}function Io(e){return e&&(e.hasOwnProperty(bo)||e.hasOwnProperty(Ua))?e[bo]:null}var ni=I({\u0275prov:I}),bo=I({\u0275inj:I}),ri=I({ngInjectableDef:I}),Ua=I({ngInjectorDef:I}),C=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=b({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function oi(e){return e&&!!e.\u0275providers}var Ga=I({\u0275cmp:I}),za=I({\u0275dir:I}),Wa=I({\u0275pipe:I});var _o=I({\u0275fac:I}),nt=I({__NG_ELEMENT_ID__:I}),Mo=I({__NG_ENV_ID__:I});function ii(e){return typeof e=="string"?e:e==null?"":String(e)}function qa(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ii(e)}function Za(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function vr(e,t){throw new y(-201,!1)}var p=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}(p||{}),Ln;function si(){return Ln}function k(e){let t=Ln;return Ln=e,t}function ai(e,t,n){let r=yr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&p.Optional)return null;if(t!==void 0)return t;vr(e,"Injector")}var Ya={},rt=Ya,Qa="__NG_DI_FLAG__",Nt="ngTempTokenPath",Ka="ngTokenPath",Ja=/\n/gm,Xa="\u0275",So="__source",ke;function eu(){return ke}function Oe(e){let t=ke;return ke=e,t}function tu(e,t=p.Default){if(ke===void 0)throw new y(-203,!1);return ke===null?ai(e,void 0,t):ke.get(e,t&p.Optional?null:void 0,t)}function E(e,t=p.Default){return(si()||tu)(U(e),t)}function w(e,t=p.Default){return E(e,Ut(t))}function Ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vn(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):G(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ja,` + `)}`}function Ve(e,t){let n=e.hasOwnProperty(_o);return n?e[_o]:null}function Dr(e,t){e.forEach(n=>Array.isArray(n)?Dr(n,t):t(n))}function ui(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var ot={},q=[],it=new C(""),ci=new C("",-1),li=new C(""),At=class{get(t,n=rt){if(n===rt){let r=new Error(`NullInjectorError: No provider for ${G(t)}!`);throw r.name="NullInjectorError",r}return n}},di=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(di||{}),K=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(K||{}),je=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(je||{});function iu(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function jn(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if($(r))return!1;s=!0}}}}return $(r)||s}function $(e){return(e&1)===0}function du(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!$(s)&&(t+=xo(i,o),o=""),r=s,i=i||!$(r);n++}return o!==""&&(t+=xo(i,o)),t}function mu(e){return e.map(gu).join(",")}function yu(e){let t=[],n=[],r=1,o=2;for(;r{let t=Eu(e),n=W(B({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===di.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||K.Emulated,styles:e.styles||q,_:null,schemas:e.schemas||null,tView:null,id:""});wu(n);let r=e.dependencies;return n.directiveDefs=Ao(r,!1),n.pipeDefs=Ao(r,!0),n.id=Iu(n),n})}function vu(e){return zt(e)||pi(e)}function Du(e){return e!==null}function qe(e){return ti(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function No(e,t){if(e==null)return ot;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=je.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==je.None?[r,a]:r,t[i]=s):n[i]=r}return n}function hi(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function zt(e){return e[Ga]||null}function pi(e){return e[za]||null}function gi(e){return e[Wa]||null}function Cu(e){let t=zt(e)||pi(e)||gi(e);return t!==null?t.standalone:!1}function Eu(e){let 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||ot,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:No(e.inputs,t),outputs:No(e.outputs),debugInfo:null}}function wu(e){e.features?.forEach(t=>t(e))}function Ao(e,t){if(!e)return null;let n=t?gi:vu;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Du)}function Iu(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function bu(...e){return{\u0275providers:mi(!0,e),\u0275fromNgModule:!0}}function mi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Dr(t,s=>{let a=s;Bn(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yi(o,i),n}function yi(e,t){for(let n=0;n{t(i,r)})}}function Bn(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Io(e),s=!i&&zt(e);if(!i&&!s){let u=e.ngModule;if(i=Io(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Bn(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Dr(i.imports,l=>{Bn(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&yi(c,t)}if(!a){let c=Ve(o)||(()=>new o);t({provide:o,useFactory:c,deps:q},o),t({provide:li,useValue:o,multi:!0},o),t({provide:it,useValue:()=>E(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;wr(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function wr(e,t){for(let n of e)oi(n)&&(n=n.\u0275providers),Array.isArray(n)?wr(n,t):t(n)}var _u=I({provide:String,useValue:I});function vi(e){return e!==null&&typeof e=="object"&&_u in e}function Mu(e){return!!(e&&e.useExisting)}function Su(e){return!!(e&&e.useFactory)}function Hn(e){return typeof e=="function"}var Wt=new C(""),Mt={},Tu={},Tn;function Ir(){return Tn===void 0&&(Tn=new At),Tn}var Ee=class{},Ot=class extends Ee{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,Un(t,s=>this.processProvider(s)),this.records.set(ci,Fe(void 0,this)),o.has("environment")&&this.records.set(Ee,Fe(void 0,this));let i=this.records.get(Wt);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(li,q,p.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Oe(this),r=k(void 0),o;try{return t()}finally{Oe(n),k(r)}}get(t,n=rt,r=p.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mo))return t[Mo](this);r=Ut(r);let o,i=Oe(this),s=k(void 0);try{if(!(r&p.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ru(t)&&yr(t);c&&this.injectableDefInScope(c)?u=Fe($n(t),Mt):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&p.Self?Ir():this.parent;return n=r&p.Optional&&n===rt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Nt]=a[Nt]||[]).unshift(G(t)),i)throw a;return ru(a,t,"R3InjectorError",this.source)}else throw a}finally{k(s),Oe(i)}}resolveInjectorInitializers(){let t=D(null),n=Oe(this),r=k(void 0),o;try{let i=this.get(it,q,p.Self);for(let s of i)s()}finally{Oe(n),k(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(G(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=U(t);let n=Hn(t)?t:U(t&&t.provide),r=Nu(t);if(!Hn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Fe(void 0,Mt,!0),o.factory=()=>Vn(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=D(null);try{return n.value===Mt&&(n.value=Tu,n.value=n.factory()),typeof n.value=="object"&&n.value&&Fu(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function $n(e){let t=yr(e),n=t!==null?t.factory:Ve(e);if(n!==null)return n;if(e instanceof C)throw new y(204,!1);if(e instanceof Function)return xu(e);throw new y(204,!1)}function xu(e){if(e.length>0)throw new y(204,!1);let n=$a(e);return n!==null?()=>n.factory(e):()=>new e}function Nu(e){if(vi(e))return Fe(void 0,e.useValue);{let t=Au(e);return Fe(t,Mt)}}function Au(e,t,n){let r;if(Hn(e)){let o=U(e);return Ve(o)||$n(o)}else if(vi(e))r=()=>U(e.useValue);else if(Su(e))r=()=>e.useFactory(...Vn(e.deps||[]));else if(Mu(e))r=()=>E(U(e.useExisting));else{let o=U(e&&(e.useClass||e.provide));if(Ou(e))r=()=>new o(...Vn(e.deps));else return Ve(o)||$n(o)}return r}function Fe(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ou(e){return!!e.deps}function Fu(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ru(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Un(e,t){for(let n of e)Array.isArray(n)?Un(n,t):n&&oi(n)?Un(n.\u0275providers,t):t(n)}function Pu(){return si()!==void 0||eu()!=null}var ce=0,m=1,h=2,z=3,se=4,le=5,Gn=6,Ft=7,te=8,Be=9,ne=10,J=11,st=12,Oo=13,ft=14,ue=15,Rt=16,Re=17,br=18,qt=19,Di=20,ae=21,xn=22,L=23,re=25,Ci=1;var zn=7,ku=8,Pt=9,De=10,kt=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(kt||{});function Ce(e){return Array.isArray(e)&&typeof e[Ci]=="object"}function Ze(e){return Array.isArray(e)&&e[Ci]===!0}function Ei(e){return(e.flags&4)!==0}function wi(e){return e.componentOffset>-1}function Ii(e){return(e.flags&1)===1}function ht(e){return!!e.template}function Wn(e){return(e[h]&512)!==0}var qn=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function bi(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function _r(){return _i}function _i(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vu),Lu}_r.ngInherit=!0;function Lu(){let e=Si(this),t=e?.current;if(t){let n=e.previous;if(n===ot)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Vu(e,t,n,r,o){let i=this.declaredInputs[r],s=Si(e)||ju(e,{previous:ot,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new qn(c&&c.currentValue,n,u===ot),bi(e,t,o,n)}var Mi="__ngSimpleChanges__";function Si(e){return e[Mi]||null}function ju(e,t){return e[Mi]=t}var Fo=null;var Z=function(e,t,n){Fo?.(e,t,n)},Bu="svg",Hu="math";function Ie(e){for(;Array.isArray(e);)e=e[ce];return e}function $u(e,t){return Ie(t[e])}function de(e,t){return Ie(t[e.index])}function Uu(e,t){return e.data[t]}function Gu(e,t){return e[t]}function pt(e,t){let n=t[e];return Ce(n)?n:n[ce]}function Mr(e){return(e[h]&128)===128}function Ro(e,t){return t==null?null:e[t]}function Ti(e){e[Re]=0}function xi(e){e[h]&1024||(e[h]|=1024,Mr(e)&&Zt(e))}function at(e){return!!(e[h]&9216||e[L]?.dirty)}function Po(e){e[ne].changeDetectionScheduler?.notify(7),e[h]&64&&(e[h]|=1024),at(e)&&Zt(e)}function Zt(e){e[ne].changeDetectionScheduler?.notify(0);let t=He(e);for(;t!==null&&!(t[h]&8192||(t[h]|=8192,!Mr(t)));)t=He(t)}function Ni(e,t){if((e[h]&256)===256)throw new y(911,!1);e[ae]===null&&(e[ae]=[]),e[ae].push(t)}function zu(e,t){if(e[ae]===null)return;let n=e[ae].indexOf(t);n!==-1&&e[ae].splice(n,1)}function He(e){let t=e[z];return Ze(t)?t[z]:t}var v={lFrame:ji(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ai=!1;function Wu(){return v.lFrame.elementDepthCount}function qu(){v.lFrame.elementDepthCount++}function Zu(){v.lFrame.elementDepthCount--}function Oi(){return v.bindingsEnabled}function Yu(){return v.skipHydrationRootTNode!==null}function Qu(e){return v.skipHydrationRootTNode===e}function Ku(){v.skipHydrationRootTNode=null}function R(){return v.lFrame.lView}function Ye(){return v.lFrame.tView}function fe(){let e=Fi();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fi(){return v.lFrame.currentTNode}function Ju(){let e=v.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yt(e,t){let n=v.lFrame;n.currentTNode=e,n.isParent=t}function Ri(){return v.lFrame.isParent}function Xu(){v.lFrame.isParent=!1}function Pi(){return Ai}function ko(e){Ai=e}function ec(){let e=v.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tc(e){return v.lFrame.bindingIndex=e}function nc(){return v.lFrame.bindingIndex++}function rc(){return v.lFrame.inI18n}function oc(e,t){let n=v.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zn(t)}function ic(){return v.lFrame.currentDirectiveIndex}function Zn(e){v.lFrame.currentDirectiveIndex=e}function ki(e){v.lFrame.currentQueryIndex=e}function sc(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[le]:null}function Li(e,t,n){if(n&p.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&p.Host);)if(o=sc(i),o===null||(i=i[ft],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=v.lFrame=Vi();return r.currentTNode=t,r.lView=e,!0}function Sr(e){let t=Vi(),n=e[m];v.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vi(){let e=v.lFrame,t=e===null?null:e.child;return t===null?ji(e):t}function ji(e){let 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 e!==null&&(e.child=t),t}function Bi(){let e=v.lFrame;return v.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Hi=Bi;function Tr(){let e=Bi();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 xr(){return v.lFrame.selectedIndex}function we(e){v.lFrame.selectedIndex=e}function ac(){return v.lFrame.currentNamespace}var $i=!0;function Ui(){return $i}function Gi(e){$i=e}function uc(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_i(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))}function zi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Re]+=65536),(a>14>16&&(e[h]&3)===t&&(e[h]+=16384,Lo(a,i)):Lo(a,i)}var Le=-1,ut=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function lc(e){return e instanceof ut}function dc(e){return(e.flags&8)!==0}function fc(e){return(e.flags&16)!==0}function hc(e){return e!==Le}function Yn(e){return e&32767}function pc(e){return e>>16}function Qn(e,t){let n=pc(e),r=t;for(;n>0;)r=r[ft],n--;return r}var Kn=!0;function Lt(e){let t=Kn;return Kn=e,t}var gc=256,qi=gc-1,Zi=5,mc=0,Y={};function yc(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(nt)&&(r=n[nt]),r==null&&(r=n[nt]=mc++);let o=r&qi,i=1<>Zi)]|=i}function Yi(e,t){let n=Qi(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,An(r.data,e),An(t,null),An(r.blueprint,null));let o=Ki(e,t),i=e.injectorIndex;if(hc(o)){let s=Yn(o),a=Qn(o,t),u=a[m].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function An(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qi(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ki(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ns(o),r===null)return Le;if(n++,o=o[ft],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Le}function vc(e,t,n){yc(e,t,n)}function Ji(e,t,n){if(n&p.Optional||e!==void 0)return e;vr(t,"NodeInjector")}function Xi(e,t,n,r){if(n&p.Optional&&r===void 0&&(r=null),!(n&(p.Self|p.Host))){let o=e[Be],i=k(void 0);try{return o?o.get(t,r,n&p.Optional):ai(t,r,n&p.Optional)}finally{k(i)}}return Ji(r,t,n)}function es(e,t,n,r=p.Default,o){if(e!==null){if(t[h]&2048&&!(r&p.Self)){let s=Ic(e,t,n,r,Y);if(s!==Y)return s}let i=ts(e,t,n,r,Y);if(i!==Y)return i}return Xi(t,n,r,o)}function ts(e,t,n,r,o){let i=Ec(n);if(typeof i=="function"){if(!Li(t,e,r))return r&p.Host?Ji(o,n,r):Xi(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&p.Optional))vr(n);else return s}finally{Hi()}}else if(typeof i=="number"){let s=null,a=Qi(e,t),u=Le,c=r&p.Host?t[ue][le]:null;for((a===-1||r&p.SkipSelf)&&(u=a===-1?Ki(e,t):t[a+8],u===Le||!jo(r,!1)?a=-1:(s=t[m],a=Yn(u),t=Qn(u,t)));a!==-1;){let l=t[m];if(Vo(i,a,l.data)){let d=Dc(a,t,n,s,r,c);if(d!==Y)return d}u=t[a+8],u!==Le&&jo(r,t[m].data[a+8]===c)&&Vo(i,a,t)?(s=l,a=Yn(u),t=Qn(u,t)):a=-1}}return o}function Dc(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],u=r==null?wi(a)&&Kn:r!=s&&(a.type&3)!==0,c=o&p.Host&&i===a,l=Cc(a,s,n,u,c);return l!==null?ct(t,s,l,a):Y}function Cc(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,g=o?a+l:c;for(let f=d;f=u&&S.type===n)return f}if(o){let f=s[u];if(f&&ht(f)&&f.type===n)return u}return null}function ct(e,t,n,r){let o=e[n],i=t.data;if(lc(o)){let s=o;s.resolving&&Za(qa(i[n]));let a=Lt(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?k(s.injectImpl):null,l=Li(e,r,p.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&uc(n,i[n],t)}finally{c!==null&&k(c),Lt(a),s.resolving=!1,Hi()}}return o}function Ec(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(nt)?e[nt]:void 0;return typeof t=="number"?t>=0?t&qi:wc:t}function Vo(e,t,n){let r=1<>Zi)]&r)}function jo(e,t){return!(e&p.Self)&&!(e&p.Host&&t)}var Vt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return es(this._tNode,this._lView,t,Ut(r),n)}};function wc(){return new Vt(fe(),R())}function Ic(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[h]&2048&&!(s[h]&512);){let a=ts(i,s,n,r|p.Self,Y);if(a!==Y)return a;let u=i.parent;if(!u){let c=s[Di];if(c){let l=c.get(n,Y,r);if(l!==Y)return l}u=ns(s),s=s[ft]}i=u}return o}function ns(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[le]:null}function Bo(e,t=null,n=null,r){let o=bc(e,t,n,r);return o.resolveInjectorInitializers(),o}function bc(e,t=null,n=null,r,o=new Set){let i=[n||q,bu(e)];return r=r||(typeof e=="object"?void 0:G(e)),new Ot(i,t||Ir(),r||null,o)}var ve=class ve{static create(t,n){if(Array.isArray(t))return Bo({name:""},n,t,"");{let r=t.name??"";return Bo({name:r},t.parent,t.providers,r)}}};ve.THROW_IF_NOT_FOUND=rt,ve.NULL=new At,ve.\u0275prov=b({token:ve,providedIn:"any",factory:()=>E(ci)}),ve.__NG_ELEMENT_ID__=-1;var $e=ve;var _c=new C("");_c.__NG_ELEMENT_ID__=e=>{let t=fe();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&p.Optional)return null;throw new y(204,!1)};var Mc="ngOriginalError";function On(e){return e[Mc]}var oe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&On(t);for(;n&&On(n);)n=On(n);return n||null}},rs=new C("",{providedIn:"root",factory:()=>w(oe).handleError.bind(void 0)}),os=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Sc,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Jn=class extends os{constructor(t){super(),this._lView=t}onDestroy(t){return Ni(this._lView,t),()=>zu(this._lView,t)}};function Sc(){return new Jn(R())}function Tc(){return is(fe(),R())}function is(e,t){return new Qt(de(e,t))}var Qt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Tc;let e=t;return e})();var Kt=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Xn=class extends ie{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Pu()&&(this.destroyRef=w(os,{optional:!0})??void 0,this.pendingTasks=w(Kt,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof A&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Q=Xn;function xc(e){return(e.flags&128)===128}var ss=new Map,Nc=0;function Ac(){return Nc++}function Oc(e){ss.set(e[qt],e)}function Fc(e){ss.delete(e[qt])}var Ho="__ngContext__";function Ue(e,t){Ce(t)?(e[Ho]=t[qt],Oc(t)):e[Ho]=t}function as(e){return cs(e[st])}function us(e){return cs(e[se])}function cs(e){for(;e!==null&&!Ze(e);)e=e[se];return e}var er;function ls(e){er=e}function Rc(){if(er!==void 0)return er;if(typeof document<"u")return document;throw new y(210,!1)}var Nr=new C("",{providedIn:"root",factory:()=>Pc}),Pc="ng",Ar=new C(""),Qe=new C("",{providedIn:"platform",factory:()=>"unknown"});var Or=new C("",{providedIn:"root",factory:()=>Rc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kc="h",Lc="b";var Vc=()=>null;function Fr(e,t,n=!1){return Vc(e,t,n)}var ds=!1,jc=new C("",{providedIn:"root",factory:()=>ds});var be=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(be||{}),Bc;function fs(e,t){return Bc(e,t)}function Pe(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:Ce(r)&&(s=!0,r=r[ce]);let a=Ie(r);e===0&&n!==null?o==null?gs(t,n,a):tr(t,n,a,o||null,!0):e===1&&n!==null?tr(t,n,a,o||null,!0):e===2?ol(t,a,s):e===3&&t.destroyNode(a),i!=null&&sl(t,e,i,n,o)}}function Hc(e,t){return e.createText(t)}function $c(e,t,n){e.setValue(t,n)}function hs(e,t,n){return e.createElement(t,n)}function Uc(e,t){ps(e,t),t[ce]=null,t[le]=null}function ps(e,t){t[ne].changeDetectionScheduler?.notify(8),kr(e,t,t[J],2,null,null)}function Gc(e){let t=e[st];if(!t)return Fn(e[m],e);for(;t;){let n=null;if(Ce(t))n=t[st];else{let r=t[De];r&&(n=r)}if(!n){for(;t&&!t[se]&&t!==e;)Ce(t)&&Fn(t[m],t),t=t[z];t===null&&(t=e),Ce(t)&&Fn(t[m],t),n=t&&t[se]}t=n}}function zc(e,t){let n=e[Pt],r=t[z];if(Ce(r))e[h]|=kt.HasTransplantedViews;else{let o=r[z][ue];t[ue]!==o&&(e[h]|=kt.HasTransplantedViews)}n===null?e[Pt]=[t]:n.push(t)}function Rr(e,t){let n=e[Pt],r=n.indexOf(t);n.splice(r,1)}function Wc(e,t){if(e.length<=De)return;let n=De+t,r=e[n];if(r){let o=r[Rt];o!==null&&o!==e&&Rr(o,r),t>0&&(e[n-1][se]=r[se]);let i=ui(e,De+t);Uc(r[m],r);let s=i[br];s!==null&&s.detachView(i[m]),r[z]=null,r[se]=null,r[h]&=-129}return r}function qc(e,t){if(!(t[h]&256)){let n=t[J];n.destroyNode&&kr(e,t,n,3,null,null),Gc(t)}}function Fn(e,t){if(t[h]&256)return;let n=D(null);try{t[h]&=-129,t[h]|=256,t[L]&&gn(t[L]),Yc(e,t),Zc(e,t),t[m].type===1&&t[J].destroy();let r=t[Rt];if(r!==null&&Ze(t[z])){r!==t[z]&&Rr(r,t);let o=t[br];o!==null&&o.detachView(e)}Fc(t)}finally{D(n)}}function Zc(e,t){let n=e.cleanup,r=t[Ft];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Ft]=null);let o=t[ae];if(o!==null){t[ae]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===K.None||i===K.Emulated)return null}return de(r,n)}}function tr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gs(e,t,n){e.appendChild(t,n)}function $o(e,t,n,r,o){r!==null?tr(e,t,n,r,o):gs(e,t,n)}function Jc(e,t,n,r){e.removeChild(t,n,r)}function Xc(e,t){return e.parentNode(t)}function el(e,t,n){return nl(e,t,n)}function tl(e,t,n){return e.type&40?de(e,n):null}var nl=tl,Uo;function ms(e,t,n,r){let o=Qc(e,r,t),i=t[J],s=r.parent||t[le],a=el(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;ure&&Ds(e,t,re,!1),Z(s?2:0,o),n(r,o)}finally{we(i),Z(s?3:1,o)}}function Is(e,t,n){if(Ei(t)){let r=D(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function ml(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yu()&&(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}}function Go(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=je.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?zo(r,n,c,a,u):zo(r,n,c,a)}return r}function zo(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function yl(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function El(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;wi(n)&&Tl(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Yi(n,t),Ue(r,t);let s=n.initialInputs;for(let a=o;a{Zt(e.lView)},consumerOnSignalRead(){this.lView[L]=this}});function $l(e){let t=e[L]??Object.create(Ul);return t.lView=e,t}var Ul=W(B({},fn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=He(e.lView);for(;t&&!Rs(t[m]);)t=He(t);t&&xi(t)},consumerOnSignalRead(){this.lView[L]=this}});function Rs(e){return e.type!==2}var Gl=100;function Ps(e,t=!0,n=0){let r=e[ne],o=r.rendererFactory,i=!1;i||o.begin?.();try{zl(e,n)}catch(s){throw t&&Ns(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function zl(e,t){let n=Pi();try{ko(!0),or(e,t);let r=0;for(;at(e);){if(r===Gl)throw new y(103,!1);r++,or(e,1)}}finally{ko(n)}}function Wl(e,t,n,r){let o=t[h];if((o&256)===256)return;let i=!1,s=!1;!i&&t[ne].inlineEffectRunner?.flush(),Sr(t);let a=!0,u=null,c=null;i||(Rs(e)?(c=Vl(t),u=hn(c)):oo()===null?(a=!1,c=$l(t),u=hn(c)):t[L]&&(gn(t[L]),t[L]=null));try{Ti(t),tc(e.bindingStartIndex),n!==null&&ws(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&St(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Tt(t,f,0,null),Nn(t,0)}if(s||ql(t),ks(t,0),e.contentQueries!==null&&Ts(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&St(t,f)}else{let f=e.contentHooks;f!==null&&Tt(t,f,1),Nn(t,1)}ul(e,t);let d=e.components;d!==null&&Vs(t,d,0);let g=e.viewQuery;if(g!==null&&rr(2,g,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&St(t,f)}else{let f=e.viewHooks;f!==null&&Tt(t,f,2),Nn(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xn]){for(let f of t[xn])f();t[xn]=null}i||(t[h]&=-73)}catch(l){throw i||Zt(t),l}finally{c!==null&&(io(c,u),a&&Bl(c)),Tr()}}function ks(e,t){for(let n=as(e);n!==null;n=us(n))for(let r=De;r-1&&(Wc(t,r),ui(n,r))}this._attachedToViewContainer=!1}qc(this._lView[m],this._lView)}onDestroy(t){Ni(this._lView,t)}markForCheck(){jr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[h]&=-129}reattach(){Po(this._lView),this._lView[h]|=128}detectChanges(){this._lView[h]|=1024,Ps(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Wn(this._lView),n=this._lView[Rt];n!==null&&!t&&Rr(n,this._lView),ps(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Wn(this._lView),r=this._lView[Rt];r!==null&&!n&&zc(r,this._lView),Po(this._lView)}};var Wh=new RegExp(`^(\\d+)*(${Lc}|${kc})*(.*)`);var lt=class{},js=new C("",{providedIn:"root",factory:()=>!1});var Bs=new C(""),sr=class{},Bt=class{};function Yl(e){let t=Error(`No component factory found for ${G(e)}.`);return t[Ql]=e,t}var Ql="ngComponent";var ar=class{resolveComponentFactory(t){throw Yl(t)}},Ur=class Ur{};Ur.NULL=new ar;var dt=Ur,Ge=class{};var Kl=(()=>{let t=class t{};t.\u0275prov=b({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Rn={};var Wo=new Set;function Hs(e){Wo.has(e)||(Wo.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function $s(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof kn.requestAnimationFrame=="function"&&kn.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function qo(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Zo(...e){}var T=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let 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.callbackScheduled=!1,ed(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Jl,Zo,Zo);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)}},Jl={};function Br(e){if(e._nesting==0&&!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 Xl(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{$s(()=>{e.callbackScheduled=!1,ur(e),e.isCheckStableRunning=!0,Br(e),e.isCheckStableRunning=!1})}),ur(e))}function ed(e){let t=()=>{Xl(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(td(a))return n.invokeTask(o,i,s,a);try{return Yo(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Qo(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Yo(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!nd(a)&&t(),Qo(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ur(e),Br(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ur(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qo(e){e._nesting--,Br(e)}var cr=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}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)}};function td(e){return Us(e,"__ignore_ng_zone__")}function nd(e){return Us(e,"__scheduler_tick__")}function Us(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Gs=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function lr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&ys(e,n,i.join(" "))}}function cd(e,t,n){let r=e.projection=[];for(let o=0;o(Gi(!0),hs(r,o,ac()));var $t="en-US";var yd=$t;function vd(e){typeof e=="string"&&(yd=e.toLowerCase().replace(/_/g,"-"))}var Dd=(e,t,n)=>{};function X(e,t,n,r){let o=R(),i=Ye(),s=fe();return Ed(i,o,o[J],s,e,t,r),X}function Cd(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Ed(e,t,n,r,o,i,s){let a=Ii(r),c=e.firstCreatePass&&Ol(e),l=t[te],d=Al(t),g=!0;if(r.type&3||s){let _=de(r,t),V=s?s(_):_,pe=d.length,ge=s?ee=>s(Ie(ee[r.index])):r.index,O=null;if(!s&&a&&(O=Cd(e,t,o,r.index)),O!==null){let ee=O.__ngLastListenerFn__||O;ee.__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,g=!1}else{i=ei(r,t,l,i),Dd(_,o,i);let ee=n.listen(V,o,i);d.push(i,ee),c&&c.push(o,ge,pe,pe+1)}}else i=ei(r,t,l,i);let f=r.outputs,S;if(g&&f!==null&&(S=f[o])){let _=S.length;if(_)for(let V=0;V<_;V+=2){let pe=S[V],ge=S[V+1],Se=t[pe][ge].subscribe(i),j=d.length;d.push(i,Se),c&&c.push(o,r.index,j,-(j+1))}}}function Xo(e,t,n,r){let o=D(null);try{return Z(6,t,n),n(r)!==!1}catch(i){return Ns(e,i),!1}finally{Z(7,t,n),D(o)}}function ei(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?pt(e.index,t):t;jr(s,5);let a=Xo(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Xo(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function wd(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function N(e,t=""){let n=R(),r=Ye(),o=e+re,i=r.firstCreatePass?Vr(r,o,1,t,null):r.data[o],s=Id(r,n,i,t,e);n[o]=s,Ui()&&ms(r,n,s,i),Yt(i,!1)}var Id=(e,t,n,r,o)=>(Gi(!0),Hc(t[J],r));function mt(e,t,n){let r=R(),o=pd(r,e,t,n);return o!==gt&&Fl(r,xr(),o),mt}var bd=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=mi(!1,r.type),i=o.length>0?dd([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=b({token:t,providedIn:"environment",factory:()=>new t(E(Ee))});let e=t;return e})();function Xt(e){Hs("NgStandalone"),e.getStandaloneInjector=t=>t.get(bd).getOrCreateStandaloneInjector(e)}function _d(e,t){let n=e[t];return n===gt?void 0:n}function Md(e,t,n,r,o,i){let s=t+n;return zs(e,s,o)?fd(e,s+1,i?r.call(i,o):r(o)):_d(e,s+1)}function en(e,t){let n=Ye(),r,o=e+re;n.firstCreatePass?(r=Sd(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ve(r.type,!0)),s,a=k(_e);try{let u=Lt(!1),c=i();return Lt(u),wd(n,R(),o,c),c}finally{k(a)}}function Sd(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function tn(e,t,n){let r=e+re,o=R(),i=Gu(o,r);return Td(o,r)?Md(o,ec(),t,i.transform,n,i):i.transform(n)}function Td(e,t){return e[m].data[t].pure}var Ws=new C("");function nn(e){return!!e&&typeof e.then=="function"}function qs(e){return!!e&&typeof e.subscribe=="function"}var xd=new C(""),Zs=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=w(xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(nn(s))r.push(s);else if(qs(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Nd=new C("");function Ad(){so(()=>{throw new y(600,!1)})}function Od(e){return e.isBoundToModule}var Fd=10;function Rd(e,t,n){try{let r=n();return nn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var rn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(rs),this.afterRenderEffectManager=w(Gs),this.zonelessEnabled=w(js),this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=w(Kt).hasPendingTasks.pipe(Sn(r=>!r)),this._injector=w(Ee)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Bt;if(!this._injector.get(Zs).done){let f=!i&&Cu(r),S=!1;throw new y(405,S)}let a;i?a=r:a=this._injector.get(dt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Od(a)?void 0:this._injector.get(ze),c=o||a.selector,l=a.create($e.NULL,[],c,u),d=l.location.nativeElement,g=l.injector.get(Ws,null);return g?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Pn(this.components,l),g?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=D(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,D(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Ge,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iat(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>at(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Pn(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Nd,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Pn(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Pn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pd(e,t,n,r){if(!n&&!at(e))return;Ps(e,t,n&&!r?0:1)}var kd=(()=>{let t=class t{constructor(){this.zone=w(T),this.changeDetectionScheduler=w(lt),this.applicationRef=w(rn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ld({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new T(jd()),[{provide:T,useFactory:e},{provide:it,multi:!0,useFactory:()=>{let n=w(kd,{optional:!0});return()=>n.initialize()}},{provide:it,multi:!0,useFactory:()=>{let n=w(Bd);return()=>{n.initialize()}}},{provide:rs,useFactory:Vd},t===!0?{provide:Bs,useValue:!0}:[]]}function Vd(){let e=w(T),t=w(oe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function jd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Bd=(()=>{let t=class t{constructor(){this.subscription=new A,this.initialized=!1,this.zone=w(T),this.pendingTasks=w(Kt)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{T.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{T.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Hd=(()=>{let t=class t{constructor(){this.appRef=w(rn),this.taskService=w(Kt),this.ngZone=w(T),this.zonelessEnabled=w(js),this.disableScheduling=w(Bs,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new A,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof cr||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?qo:$s;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&T.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,qo(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $d(){return typeof $localize<"u"&&$localize.locale||$t}var $r=new C("",{providedIn:"root",factory:()=>w($r,p.Optional|p.SkipSelf)||$d()});var Ys=new C("");var xt=null;function Ud(e=[],t){return $e.create({name:t,providers:[{provide:Wt,useValue:"platform"},{provide:Ys,useValue:new Set([()=>xt=null])},...e]})}function Gd(e=[]){if(xt)return xt;let t=Ud(e);return xt=t,Ad(),zd(t),t}function zd(e){e.get(Ar,null)?.forEach(n=>n())}function Qs(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Gd(r),i=[Ld({}),{provide:lt,useExisting:Hd},...n||[]],a=new Ht({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(T);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(oe,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),g=o.get(Ys);return g.add(d),a.onDestroy(()=>{l.unsubscribe(),g.delete(d)}),Rd(c,u,()=>{let f=a.get(Zs);return f.runInitializers(),f.donePromise.then(()=>{let S=a.get($r,$t);vd(S||$t);let _=a.get(rn);return t!==void 0&&_.bootstrap(t),_})})})}catch(t){return Promise.reject(t)}}var ea=null;function Gr(){return ea}function ta(e){ea??=e}var on=class{};var he=new C("");function na(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var ra=(()=>{let t=class t{transform(r){return JSON.stringify(r,null,2)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=hi({name:"json",type:t,pure:!1,standalone:!0});let e=t;return e})();var zr=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=qe({type:t}),t.\u0275inj=We({});let e=t;return e})(),oa="browser",Yd="server";function Wr(e){return e===Yd}var sn=class{};var Yr=class extends on{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Qr=class e extends Yr{static makeCurrent(){ta(new e)}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(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Jd();return n==null?null:Xd(n)}resetBaseElement(){yt=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return na(document.cookie,t)}},yt=null;function Jd(){return yt=yt||document.querySelector("base"),yt?yt.getAttribute("href"):null}function Xd(e){return new URL(e,document.baseURI).pathname}var ef=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),Kr=new C(""),ua=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(E(Kr),E(T))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),an=class{constructor(t){this._doc=t}},qr="ng-app-id",ca=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Wr(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${qr}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(qr),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(qr,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(E(he),E(Nr),E(Or,8),E(Qe))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),Zr={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/Math/MathML"},Xr=/%COMP%/g,la="%COMP%",tf=`_nghost-${la}`,nf=`_ngcontent-${la}`,rf=!0,of=new C("",{providedIn:"root",factory:()=>rf});function sf(e){return nf.replace(Xr,e)}function af(e){return tf.replace(Xr,e)}function da(e,t){return t.map(n=>n.replace(Xr,e))}var ia=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Wr(u),this.defaultRenderer=new vt(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===K.ShadowDom&&(o=W(B({},o),{encapsulation:K.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof un?i.applyToHost(r):i instanceof Dt&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(o.encapsulation){case K.Emulated:s=new un(c,l,o,this.appId,d,a,u,g);break;case K.ShadowDom:return new Jr(c,l,r,o,a,u,this.nonce,g);default:s=new Dt(c,l,o,d,a,u,g);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(E(ua),E(ca),E(Nr),E(of),E(he),E(Qe),E(T),E(Or))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),vt=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Zr[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(sa(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(sa(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-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;let i=Zr[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Zr[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&(be.DashCase|be.Important)?t.style.setProperty(n,r,o&be.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&be.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Gr().getGlobalEventTarget(this.doc,t),!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(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function sa(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Jr=class extends vt{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);let c=da(o.id,o.styles);for(let l of c){let 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)}},Dt=class extends vt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?da(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},un=class extends Dt{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=sf(c),this.hostAttr=af(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},uf=(()=>{let t=class t extends an{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(E(he))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),aa=["alt","control","meta","shift"],cf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lf={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},df=(()=>{let t=class t extends an{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gr().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),aa.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=cf[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),aa.forEach(a=>{if(a!==i){let u=lf[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(E(he))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})();function fa(e,t){return Qs(B({rootComponent:e},ff(t)))}function ff(e){return{appProviders:[...yf,...e?.providers??[]],platformProviders:mf}}function hf(){Qr.makeCurrent()}function pf(){return new oe}function gf(){return ls(document),document}var mf=[{provide:Qe,useValue:oa},{provide:Ar,useValue:hf,multi:!0},{provide:he,useFactory:gf,deps:[]}];var yf=[{provide:Wt,useValue:"root"},{provide:oe,useFactory:pf,deps:[]},{provide:Kr,useClass:uf,multi:!0,deps:[he,T,Qe]},{provide:Kr,useClass:df,multi:!0,deps:[he]},ia,ca,ua,{provide:Ge,useExisting:ia},{provide:sn,useClass:ef,deps:[]},[]];var vf={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mg=W(B({},vf),{"[class.ng-submitted]":"isSubmitted"});var Df=new C("CallSetDisabledState",{providedIn:"root",factory:()=>ha}),ha="always";var Cf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=qe({type:t}),t.\u0275inj=We({});let e=t;return e})();var pa=(()=>{let t=class t{static withConfig(r){return{ngModule:t,providers:[{provide:Df,useValue:r.callSetDisabledState??ha}]}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=qe({type:t}),t.\u0275inj=We({imports:[Cf]});let e=t;return e})();var Je=typeof document=="object"&&!!document,P=class e{static get(t,n){if(t==null)return null;let r=e.parse(t.getItem(n)||"null")||null;return r===null?null:typeof r=="object"&&typeof r._expired<"u"&&r._expired!==0&&+new Date>r._expired?(e.remove(t,n),null):r._value||null}static set(t,n,r,o=0,i="t"){t?.setItem(n,e.stringify({_expired:e.getExpired(o,i),_value:r}))}static remove(t,n){t?.removeItem(n)}static key(t,n){return t==null?null:t.key(n)}static getExpired(t,n){if(t<=0)return 0;let r=+new Date;switch(n){case"s":return r+1e3*t;case"m":return r+1e3*60*t;case"h":return r+1e3*60*60*t;case"d":return r+1e3*60*60*24*t;case"w":return r+1e3*60*60*24*7*t;case"y":return r+1e3*60*60*24*365*t;case"t":return r+t;default:return 0}}static stringify(t){return JSON.stringify(t)}static parse(t){try{return JSON.parse(t)||null}catch{return t}}};var ga={};function ma(e,t,n=0,r="d"){return(o,i)=>{t=t||i,Object.defineProperty(o,i,{get:()=>P.get(e,t),set:s=>{if(!ga[t]){P.get(e,t)===null&&P.set(e,t,s,n,r),ga[t]=!0;return}P.set(e,t,s,n,r)},enumerable:!0,configurable:!0})}}function eo(e,t=0,n="t"){return ma(Je?localStorage:null,e,t,n)}function ya(e,t=0,n="t"){return ma(Je?sessionStorage:null,e,t,n)}var va=(()=>{let t=class t{constructor(r){this.storage=r}get(r){return P.get(this.storage,r)}set(r,o,i=0,s="d"){return P.set(this.storage,r,o,i,s)}remove(r){if(typeof r=="string"){P.remove(this.storage,r);return}let o=0,i=P.key(this.storage,o),s=[];for(;i;)r.test(i)&&s.push(i),i=P.key(this.storage,++o);s.forEach(a=>P.remove(this.storage,a))}clear(){this.storage?.clear()}};t.\u0275fac=function(o){return new(o||t)(E(Storage))},t.\u0275prov=b({token:t,factory:t.\u0275fac});let e=t;return e})(),Da=(()=>{let t=class t extends va{constructor(){super(Je?localStorage:null)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ca=(()=>{let t=class t extends va{constructor(){super(Je?sessionStorage:null)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Xe=class Xe{constructor(t,n){this.local=t,this.session=n,this.localValue={text:`Hello ${+new Date}`},this.localValue2={text:`Hello ${+new Date}`},this.sessionValue=`Hello ${+new Date}`,this.KEY="value",this.value=null}set(t=0){this.local.set(this.KEY,{a:1,now:+new Date},t,"s")}remove(){this.local.remove(this.KEY)}get(){this.value=this.local.get(this.KEY)}clear(){this.local.clear()}batchSet(){this.local.set("batch_1","a"),this.local.set("batch_2","b"),this.local.set("batch_c","c")}batchRemove(){this.local.remove(/batch_\w+/)}};Xe.\u0275fac=function(n){return new(n||Xe)(_e(Da),_e(Ca))},Xe.\u0275cmp=Gt({type:Xe,selectors:[["demo"]],standalone:!0,features:[Xt],decls:33,vars:9,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],[1,"mb-3"],["type","button",1,"btn","btn-primary","btn-sm",3,"click"]],template:function(n,r){n&1&&(M(0,"div",0)(1,"div",1),N(2,"LocalStorage Demo"),x(),M(3,"div",2)(4,"p"),N(5),en(6,"json"),x(),M(7,"p"),N(8),en(9,"json"),x(),M(10,"div",3)(11,"button",4),X("click",function(){return r.get()}),N(12," get "),x(),M(13,"button",4),X("click",function(){return r.set()}),N(14," set "),x(),M(15,"button",4),X("click",function(){return r.set(5)}),N(16," set in 5 second expired! "),x(),M(17,"button",4),X("click",function(){return r.remove()}),N(18," remove "),x(),M(19,"button",4),X("click",function(){return r.clear()}),N(20," clear "),x()(),M(21,"div",3)(22,"button",4),X("click",function(){return r.batchSet()}),N(23," batch set "),x(),M(24,"button",4),X("click",function(){return r.batchRemove()}),N(25," batch remove "),x()()()(),M(26,"div",0)(27,"div",1),N(28,"SessionStorage Demo"),x(),M(29,"div",2)(30,"p"),N(31),en(32,"json"),x()()()),n&2&&(Jt(5),mt("localValue: ",tn(6,3,r.localValue),""),Jt(3),mt("value: ",tn(9,5,r.value),""),Jt(23),mt("value: ",tn(32,7,r.sessionValue),""))},dependencies:[pa,zr,ra],encapsulation:2});var Me=Xe;_t([eo()],Me.prototype,"localValue",void 0);_t([eo("newKey",10,"h")],Me.prototype,"localValue2",void 0);_t([ya()],Me.prototype,"sessionValue",void 0);var Ea=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Gt({type:t,selectors:[["app-root"]],standalone:!0,features:[Xt],decls:7,vars:0,consts:[[1,"mb-3"],["href","https://github.com/cipchk/angular-web-storage/blob/master/README.md","target","_blank"]],template:function(o,i){o&1&&(M(0,"h1"),N(1,"angular-web-storage"),x(),M(2,"p",0),N(3," Angular decorator to save and restore of HTML5 Local&Session Storage\uFF0C\u6709\u5173\u66F4\u591A\u7EC6\u8282\u89C1 "),M(4,"a",1),N(5,"README.md"),x()(),Hr(6,"demo"))},dependencies:[Me],encapsulation:2});let e=t;return e})();fa(Ea).catch(e=>console.error(e)); diff --git a/polyfills-6EAL64PA.js b/polyfills-6EAL64PA.js new file mode 100644 index 0000000..f67a2da --- /dev/null +++ b/polyfills-6EAL64PA.js @@ -0,0 +1,2 @@ +var ie=globalThis;function Q(e){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+e}function ft(){let e=ie.performance;function n(j){e&&e.mark&&e.mark(j)}function a(j,r){e&&e.measure&&e.measure(j,r)}n("Zone");let $=class ${static assertZonePatched(){if(ie.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let r=$.current;for(;r.parent;)r=r.parent;return r}static get current(){return k.zone}static get currentTask(){return S}static __load_patch(r,i,s=!1){if(D.hasOwnProperty(r)){let b=ie[Q("forceDuplicateZoneCheck")]===!0;if(!s&&b)throw Error("Already loaded patch: "+r)}else if(!ie["__Zone_disable_"+r]){let b="Zone:"+r;n(b),D[r]=i(ie,$,w),a(b,b)}}get parent(){return this._parent}get name(){return this._name}constructor(r,i){this._parent=r,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(r){let i=this.getZoneWith(r);if(i)return i._properties[r]}getZoneWith(r){let i=this;for(;i;){if(i._properties.hasOwnProperty(r))return i;i=i._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,i){if(typeof r!="function")throw new Error("Expecting function got: "+r);let s=this._zoneDelegate.intercept(this,r,i),b=this;return function(){return b.runGuarded(s,this,arguments,i)}}run(r,i,s,b){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,r,i,s,b)}finally{k=k.parent}}runGuarded(r,i=null,s,b){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,r,i,s,b)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{k=k.parent}}runTask(r,i,s){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||te).name+"; Execution: "+this.name+")");if(r.state===X&&(r.type===U||r.type===g))return;let b=r.state!=F;b&&r._transitionTo(F,d),r.runCount++;let x=S;S=r,k={parent:k,zone:this};try{r.type==g&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,i,s)}catch(M){if(this._zoneDelegate.handleError(this,M))throw M}}finally{r.state!==X&&r.state!==Y&&(r.type==U||r.data&&r.data.isPeriodic?b&&r._transitionTo(d,F):(r.runCount=0,this._updateTaskCount(r,-1),b&&r._transitionTo(X,F,X))),k=k.parent,S=x}}scheduleTask(r){if(r.zone&&r.zone!==this){let s=this;for(;s;){if(s===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);s=s.parent}}r._transitionTo(v,X);let i=[];r._zoneDelegates=i,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(s){throw r._transitionTo(Y,v,X),this._zoneDelegate.handleError(this,s),s}return r._zoneDelegates===i&&this._updateTaskCount(r,1),r.state==v&&r._transitionTo(d,v),r}scheduleMicroTask(r,i,s,b){return this.scheduleTask(new _(B,r,i,s,b,void 0))}scheduleMacroTask(r,i,s,b,x){return this.scheduleTask(new _(g,r,i,s,b,x))}scheduleEventTask(r,i,s,b,x){return this.scheduleTask(new _(U,r,i,s,b,x))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||te).name+"; Execution: "+this.name+")");if(!(r.state!==d&&r.state!==F)){r._transitionTo(q,d,F);try{this._zoneDelegate.cancelTask(this,r)}catch(i){throw r._transitionTo(Y,q),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(r,-1),r._transitionTo(X,q),r.runCount=0,r}}_updateTaskCount(r,i){let s=r._zoneDelegates;i==-1&&(r._zoneDelegates=null);for(let b=0;bj.hasTask(i,s),onScheduleTask:(j,r,i,s)=>j.scheduleTask(i,s),onInvokeTask:(j,r,i,s,b,x)=>j.invokeTask(i,s,b,x),onCancelTask:(j,r,i,s)=>j.cancelTask(i,s)};class f{get zone(){return this._zone}constructor(r,i,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=r,this._parentDelegate=i,this._forkZS=s&&(s&&s.onFork?s:i._forkZS),this._forkDlgt=s&&(s.onFork?i:i._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:i._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:i._interceptZS),this._interceptDlgt=s&&(s.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:i._invokeZS),this._invokeDlgt=s&&(s.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:i._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:i._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:i._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:i._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let b=s&&s.onHasTask,x=i&&i._hasTaskZS;(b||x)&&(this._hasTaskZS=b?s:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(r,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,r,i):new t(r,i)}intercept(r,i,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,r,i,s):i}invoke(r,i,s,b,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,r,i,s,b,x):i.apply(s,b)}handleError(r,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,r,i):!0}scheduleTask(r,i){let s=i;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,r,i),s||(s=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==B)W(i);else throw new Error("Task is missing scheduleFn.");return s}invokeTask(r,i,s,b){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,r,i,s,b):i.callback.apply(s,b)}cancelTask(r,i){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,r,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");s=i.cancelFn(i)}return s}hasTask(r,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,r,i)}catch(s){this.handleError(r,s)}}_updateTaskCount(r,i){let s=this._taskCounts,b=s[r],x=s[r]=b+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(b==0||x==0){let M={microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:r};this.hasTask(this._zone,M)}}}class _{constructor(r,i,s,b,x,M){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=i,this.data=b,this.scheduleFn=x,this.cancelFn=M,!s)throw new Error("callback is not defined");this.callback=s;let de=this;r===U&&b&&b.useG?this.invoke=_.invokeTask:this.invoke=function(){return _.invokeTask.call(ie,de,this,arguments)}}static invokeTask(r,i,s){r||(r=this),K++;try{return r.runCount++,r.zone.runTask(r,i,s)}finally{K==1&&A(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,v)}_transitionTo(r,i,s){if(this._state===i||this._state===s)this._state=r,r==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${r}', expecting state '${i}'${s?" or '"+s+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let E=Q("setTimeout"),m=Q("Promise"),C=Q("then"),T=[],I=!1,P;function Z(j){if(P||ie[m]&&(P=ie[m].resolve(0)),P){let r=P[C];r||(r=P.then),r.call(P,j)}else ie[E](j,0)}function W(j){K===0&&T.length===0&&Z(A),j&&T.push(j)}function A(){if(!I){for(I=!0;T.length;){let j=T;T=[];for(let r=0;rk,onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:W,showUncaughtError:()=>!t[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:z,patchMethod:()=>z,bindArguments:()=>[],patchThen:()=>z,patchMacroTask:()=>z,patchEventPrototype:()=>z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>z,wrapWithCurrentZone:()=>z,filterProperties:()=>[],attachOriginToPatched:()=>z,_redefineProperty:()=>z,patchCallbacks:()=>z,nativeScheduleMicroTask:Z},k={parent:null,zone:new t(null,null)},S=null,K=0;function z(){}return a("Zone","Zone"),t}function ht(){let e=globalThis,n=e[Q("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ft(),e.Zone}var ve=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=Q(He),Ie=Q(xe),ce="true",ae="false",be=Q("");function Ge(e,n){return Zone.current.wrap(e,n)}function Ve(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var H=Q,Se=typeof window<"u",ye=Se?window:void 0,J=Se&&ye||globalThis,Et="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ge(e[a],n+"_"+a));return e}function Tt(e,n){let a=e.constructor.name;for(let t=0;t{let m=function(){return E.apply(this,Fe(arguments,a+"."+c))};return ue(m,E),m})(f)}}}function Qe(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Be=!De&&!et&&!!(Se&&ye.HTMLElement),tt=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!et&&!!(Se&&ye.HTMLElement),Ce={},Ye=function(e){if(e=e||J.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=H("ON_PROPERTY"+e.type));let a=this||e.target||J,t=a[n],c;if(Be&&a===ye&&e.type==="error"){let f=e;c=t&&t.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=ve(e,n);if(!t&&a&&ve(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=H("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,_=t.set,E=n.slice(2),m=Ce[E];m||(m=Ce[E]=H("ON_PROPERTY"+E)),t.set=function(C){let T=this;if(!T&&e===J&&(T=J),!T)return;typeof T[m]=="function"&&T.removeEventListener(E,Ye),_&&_.call(T,null),T[m]=C,typeof C=="function"&&T.addEventListener(E,Ye,!1)},t.get=function(){let C=this;if(!C&&e===J&&(C=J),!C)return null;let T=C[m];if(T)return T;if(f){let I=f.call(this);if(I)return t.set.call(this,I),typeof C[Et]=="function"&&C.removeAttribute(n),I}return null},Ae(e,n,t),e[c]=!0}function nt(e,n,a){if(n)for(let t=0;tfunction(_,E){let m=a(_,E);return m.cbIdx>=0&&typeof E[m.cbIdx]=="function"?Ve(m.name,E[m.cbIdx],m,c):f.apply(_,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}var Je=!1,Me=!1;function yt(){try{let e=ye.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function mt(){if(Je)return Me;Je=!0;try{let e=ye.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}var ge=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}var pt={useG:!0},ee={},rt={},ot=new RegExp("^"+be+"(\\w+)(true|false)$"),st=H("propagationStopped");function it(e,n){let a=(n?n(e):e)+ae,t=(n?n(e):e)+ce,c=be+a,f=be+t;ee[e]={},ee[e][ae]=c,ee[e][ce]=f}function kt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,_=t&&t.listeners||"eventListeners",E=t&&t.rmAll||"removeAllListeners",m=H(c),C="."+c+":",T="prependListener",I="."+T+":",P=function(v,d,F){if(v.isRemoved)return;let q=v.callback;typeof q=="object"&&q.handleEvent&&(v.callback=g=>q.handleEvent(g),v.originalDelegate=q);let Y;try{v.invoke(v,d,[F])}catch(g){Y=g}let B=v.options;if(B&&typeof B=="object"&&B.once){let g=v.originalDelegate?v.originalDelegate:v.callback;d[f].call(d,F.type,g,B)}return Y};function Z(v,d,F){if(d=d||e.event,!d)return;let q=v||d.target||e,Y=q[ee[d.type][F?ce:ae]];if(Y){let B=[];if(Y.length===1){let g=P(Y[0],q,d);g&&B.push(g)}else{let g=Y.slice();for(let U=0;U{throw U})}}}let W=function(v){return Z(this,v,!1)},A=function(v){return Z(this,v,!0)};function te(v,d){if(!v)return!1;let F=!0;d&&d.useG!==void 0&&(F=d.useG);let q=d&&d.vh,Y=!0;d&&d.chkDup!==void 0&&(Y=d.chkDup);let B=!1;d&&d.rt!==void 0&&(B=d.rt);let g=v;for(;g&&!g.hasOwnProperty(c);)g=je(g);if(!g&&v[c]&&(g=v),!g||g[m])return!1;let U=d&&d.eventNameToString,D={},w=g[m]=g[c],k=g[H(f)]=g[f],S=g[H(_)]=g[_],K=g[H(E)]=g[E],z;d&&d.prepend&&(z=g[H(d.prepend)]=g[d.prepend]);function $(o,u){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!u?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let j=function(o){if(!D.isExisting)return w.call(D.target,D.eventName,D.capture?A:W,D.options)},r=function(o){if(!o.isRemoved){let u=ee[o.eventName],p;u&&(p=u[o.capture?ce:ae]);let R=p&&o.target[p];if(R){for(let y=0;yne.zone.cancelTask(ne);o.call(_e,"abort",se,{once:!0}),ne.removeAbortListener=()=>_e.removeEventListener("abort",se)}if(D.target=null,pe&&(pe.taskData=null),Ue&&(D.options.once=!0),!ge&&typeof ne.options=="boolean"||(ne.options=oe),ne.target=N,ne.capture=Oe,ne.eventName=L,V&&(ne.originalDelegate=G),O?Ee.unshift(ne):Ee.push(ne),y)return N}};return g[c]=l(w,C,x,M,B),z&&(g[T]=l(z,I,s,M,B,!0)),g[f]=function(){let o=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let p=arguments[2],R=p?typeof p=="boolean"?!0:p.capture:!1,y=arguments[1];if(!y)return k.apply(this,arguments);if(q&&!q(k,y,o,arguments))return;let O=ee[u],N;O&&(N=O[R?ce:ae]);let L=N&&o[N];if(L)for(let G=0;Gfunction(c,f){c[st]=!0,t&&t.apply(c,f)})}function bt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=H("zoneTask");function Te(e,n,a,t){let c=null,f=null;n+=t,a+=t;let _={};function E(C){let T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=c.apply(e,T.args),C}function m(C){return f.call(e,C.data.handleId)}c=le(e,n,C=>function(T,I){if(typeof I[0]=="function"){let P={isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{P.isPeriodic||(typeof P.handleId=="number"?delete _[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};let W=Ve(n,I[0],P,E,m);if(!W)return W;let A=W.data.handleId;return typeof A=="number"?_[A]=W:A&&(A[Re]=W),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(W.ref=A.ref.bind(A),W.unref=A.unref.bind(A)),typeof A=="number"||A?A:W}else return C.apply(e,I)}),f=le(e,a,C=>function(T,I){let P=I[0],Z;typeof P=="number"?Z=_[P]:(Z=P&&P[Re],Z||(Z=P)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof P=="number"?delete _[P]:P&&(P[Re]=null),Z.zone.cancelTask(Z)):C.apply(e,I)})}function Pt(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function wt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:_}=n.getGlobalObjects();for(let m=0;mf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Ke(e,n,a,t){if(!e)return;let c=at(e,n,a);nt(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ct(e,n){if(De&&!tt||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Be){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=yt()?[{target:c,ignoreProperties:["error"]}]:[];Ke(c,Ze(c),a&&a.concat(f),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";Te(n,a,t,"Timeout"),Te(n,a,t,"Interval"),Te(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{Te(n,"request","cancel","AnimationFrame"),Te(n,"mozRequest","mozCancel","AnimationFrame"),Te(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,T){return a.current.run(_,n,T,m)})}}),e.__load_patch("EventTarget",(n,a,t)=>{Rt(n,t),wt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ke("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ke("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ct(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Pt(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=H("xhrTask"),c=H("xhrSync"),f=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),m=H("xhrErrorBeforeScheduled");function C(T){let I=T.XMLHttpRequest;if(!I)return;let P=I.prototype;function Z(w){return w[t]}let W=P[Le],A=P[Ie];if(!W){let w=T.XMLHttpRequestEventTarget;if(w){let k=w.prototype;W=k[Le],A=k[Ie]}}let te="readystatechange",X="scheduled";function v(w){let k=w.data,S=k.target;S[_]=!1,S[m]=!1;let K=S[f];W||(W=S[Le],A=S[Ie]),K&&A.call(S,te,K);let z=S[f]=()=>{if(S.readyState===S.DONE)if(!k.aborted&&S[_]&&w.state===X){let j=S[a.__symbol__("loadfalse")];if(S.status!==0&&j&&j.length>0){let r=w.invoke;w.invoke=function(){let i=S[a.__symbol__("loadfalse")];for(let s=0;sfunction(w,k){return w[c]=k[2]==!1,w[E]=k[1],q.apply(w,k)}),Y="XMLHttpRequest.send",B=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=le(P,"send",()=>function(w,k){if(a.current[g]===!0||w[c])return U.apply(w,k);{let S={target:w,url:w[E],isPeriodic:!1,args:k,aborted:!1},K=Ve(Y,d,S,v,F);w&&w[m]===!0&&!S.aborted&&K.state===X&&K.invoke()}}),D=le(P,"abort",()=>function(w,k){let S=Z(w);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(a.current[B]===!0)return D.apply(w,k)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&Tt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){ct(n,c).forEach(E=>{let m=n.PromiseRejectionEvent;if(m){let C=new m(c,{promise:f.promise,reason:f.rejection});E.invoke(C)}})}}n.PromiseRejectionEvent&&(a[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{bt(n,t)})}function Dt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function _(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let E=t.symbol,m=[],C=n[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=E("Promise"),I=E("then"),P="__creationTrace__";t.onUnhandledError=h=>{if(t.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;m.length;){let h=m.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){W(l)}}};let Z=E("unhandledPromiseRejectionHandler");function W(h){t.onUnhandledError(h);try{let l=a[Z];typeof l=="function"&&l.call(this,h)}catch{}}function A(h){return h&&h.then}function te(h){return h}function X(h){return M.reject(h)}let v=E("state"),d=E("value"),F=E("finally"),q=E("parentPromiseValue"),Y=E("parentPromiseState"),B="Promise.then",g=null,U=!0,D=!1,w=0;function k(h,l){return o=>{try{$(h,l,o)}catch(u){$(h,!1,u)}}}let S=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",z=E("currentTaskTrace");function $(h,l,o){let u=S();if(h===o)throw new TypeError(K);if(h[v]===g){let p=null;try{(typeof o=="object"||typeof o=="function")&&(p=o&&o.then)}catch(R){return u(()=>{$(h,!1,R)})(),h}if(l!==D&&o instanceof M&&o.hasOwnProperty(v)&&o.hasOwnProperty(d)&&o[v]!==g)r(o),$(h,o[v],o[d]);else if(l!==D&&typeof p=="function")try{p.call(o,u(k(h,l)),u(k(h,!1)))}catch(R){u(()=>{$(h,!1,R)})()}else{h[v]=l;let R=h[d];if(h[d]=o,h[F]===F&&l===U&&(h[v]=h[Y],h[d]=h[q]),l===D&&o instanceof Error){let y=a.currentTask&&a.currentTask.data&&a.currentTask.data[P];y&&f(o,z,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{let O=h[d],N=!!o&&F===o[F];N&&(o[q]=O,o[Y]=R);let L=l.run(y,void 0,N&&y!==X&&y!==te?[]:[O]);$(o,!0,L)}catch(O){$(o,!1,O)}},o)}let s="function ZoneAwarePromise() { [native code] }",b=function(){},x=n.AggregateError;class M{static toString(){return s}static resolve(l){return l instanceof M?l:$(new this(null),U,l)}static reject(l){return $(new this(null),D,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new x([],"All promises were rejected"));let o=[],u=0;try{for(let y of l)u++,o.push(M.resolve(y))}catch{return Promise.reject(new x([],"All promises were rejected"))}if(u===0)return Promise.reject(new x([],"All promises were rejected"));let p=!1,R=[];return new M((y,O)=>{for(let N=0;N{p||(p=!0,y(L))},L=>{R.push(L),u--,u===0&&(p=!0,O(new x(R,"All promises were rejected")))})})}static race(l){let o,u,p=new this((O,N)=>{o=O,u=N});function R(O){o(O)}function y(O){u(O)}for(let O of l)A(O)||(O=this.resolve(O)),O.then(R,y);return p}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,p,R=new this((L,G)=>{u=L,p=G}),y=2,O=0,N=[];for(let L of l){A(L)||(L=this.resolve(L));let G=O;try{L.then(V=>{N[G]=o?o.thenCallback(V):V,y--,y===0&&u(N)},V=>{o?(N[G]=o.errorCallback(V),y--,y===0&&u(N)):p(V)})}catch(V){p(V)}y++,O++}return y-=2,y===0&&u(N),R}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[v]=g,o[d]=[];try{let u=S();l&&l(u(k(o,U)),u(k(o,D)))}catch(u){$(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let p=new u(b),R=a.current;return this[v]==g?this[d].push(R,p,l,o):i(this,R,p,l,o),p}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(b);u[F]=F;let p=a.current;return this[v]==g?this[d].push(p,u,l,l):i(this,p,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let de=n[T]=n.Promise;n.Promise=M;let me=E("thenPatched");function he(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[I]=u,h.prototype.then=function(p,R){return new M((O,N)=>{u.call(this,O,N)}).then(p,R)},h[me]=!0}t.patchThen=he;function Pe(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let p=u.constructor;return p[me]||he(p),u}}return de&&(he(de),le(n,"fetch",h=>Pe(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=m,M})}function Ot(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=H("OriginalDelegate"),c=H("Promise"),f=H("Error"),_=function(){if(typeof this=="function"){let T=this[t];if(T)return typeof T=="function"?a.call(T):Object.prototype.toString.call(T);if(this===Promise){let I=n[c];if(I)return a.call(I)}if(this===Error){let I=n[f];if(I)return a.call(I)}}return a.call(this)};_[t]=a,Function.prototype.toString=_;let E=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:E.call(this)}})}function Nt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let _=n[f]=n[t];n[t]=function(E,m,C){return m&&m.prototype&&c.forEach(function(T){let I=`${a}.${t}::`+T,P=m.prototype;try{if(P.hasOwnProperty(T)){let Z=e.ObjectGetOwnPropertyDescriptor(P,T);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(m.prototype,T,Z)):P[T]&&(P[T]=e.wrapWithCurrentZone(P[T],I))}else P[T]&&(P[T]=e.wrapWithCurrentZone(P[T],I))}catch{}}),_.call(n,E,m,C)},e.attachOriginToPatched(n[t],_)}function Lt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=nt,t.patchMethod=le,t.bindArguments=Fe,t.patchMacroTask=gt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),_=a.__symbol__("UNPATCHED_EVENTS");n[_]&&(n[f]=n[_]),n[f]&&(a[f]=a[_]=n[f]),t.patchEventPrototype=vt,t.patchEventTarget=kt,t.isIEOrEdge=mt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=ve,t.ObjectCreate=dt,t.ArraySlice=_t,t.patchClass=ke,t.wrapWithCurrentZone=Ge,t.filterProperties=at,t.attachOriginToPatched=ue,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:rt,zoneSymbolEventNames:ee,eventNames:c,isBrowser:Be,isMix:tt,isNode:De,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function It(e){Dt(e),Ot(e),Lt(e)}var lt=ht();It(lt);St(lt); diff --git a/polyfills-LZBJRJJE.js b/polyfills-LZBJRJJE.js deleted file mode 100644 index 57d4c33..0000000 --- a/polyfills-LZBJRJJE.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)});