diff --git a/404.html b/404.html index a6a9dcc..1ddf5c0 100644 --- a/404.html +++ b/404.html @@ -10,5 +10,5 @@ - + diff --git a/assets/pdf/CV_LukasVarga.pdf b/assets/pdf/CV_LukasVarga.pdf index 249859e..f8128d2 100644 Binary files a/assets/pdf/CV_LukasVarga.pdf and b/assets/pdf/CV_LukasVarga.pdf differ diff --git a/index.html b/index.html index a6a9dcc..1ddf5c0 100644 --- a/index.html +++ b/index.html @@ -10,5 +10,5 @@ - + diff --git a/main-E6SEDBZ6.js b/main-E6SEDBZ6.js deleted file mode 100644 index 6bc1ef9..0000000 --- a/main-E6SEDBZ6.js +++ /dev/null @@ -1,19 +0,0 @@ -var gm=Object.defineProperty,$w=Object.defineProperties;var Uw=Object.getOwnPropertyDescriptors;var Rs=Object.getOwnPropertySymbols;var vm=Object.prototype.hasOwnProperty,ym=Object.prototype.propertyIsEnumerable;var mm=(t,e,r)=>e in t?gm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||={})vm.call(e,r)&&mm(t,r,e[r]);if(Rs)for(var r of Rs(e))ym.call(e,r)&&mm(t,r,e[r]);return t},pe=(t,e)=>$w(t,Uw(e));var _m=(t,e)=>{var r={};for(var n in t)vm.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Rs)for(var n of Rs(t))e.indexOf(n)<0&&ym.call(t,n)&&(r[n]=t[n]);return r};var Hw=(t,e)=>{for(var r in e)gm(t,r,{get:e[r],enumerable:!0})};var Ac=(t,e,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(c){i(c)}},s=l=>{try{a(r.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(t,e)).next())});var Oc=null;var Nc=1,bm=Symbol("SIGNAL");function Z(t){let e=Oc;return Oc=t,e}function Dm(){return Oc}var Rc={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 zw(t){if(!(Vc(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Nc)){if(!t.producerMustRecompute(t)&&!Pc(t)){t.dirty=!1,t.lastCleanEpoch=Nc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Nc}}function kc(t){return t&&(t.nextProducerIndex=0),Z(t)}function wm(t,e){if(Z(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vc(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Pc(t){jc(t);for(let e=0;e0}function jc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Gw(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function qw(t){return t.producerNode!==void 0}function Ww(){throw new Error}var Kw=Ww;function Em(t){Kw=t}function P(t){return typeof t=="function"}function $r(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ks=$r(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Zn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ue=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(P(n))try{n()}catch(o){e=o instanceof ks?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Cm(o)}catch(s){e=e??[],s instanceof ks?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ks(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Cm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Zn(r,e)}remove(e){let{_finalizers:r}=this;r&&Zn(r,e),e instanceof t&&e._removeParent(this)}};ue.EMPTY=(()=>{let t=new ue;return t.closed=!0,t})();var Bc=ue.EMPTY;function Ps(t){return t instanceof ue||t&&"closed"in t&&P(t.remove)&&P(t.add)&&P(t.unsubscribe)}function Cm(t){P(t)?t():t.unsubscribe()}var Et={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ur={setTimeout(t,e,...r){let{delegate:n}=Ur;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Ur;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fs(t){Ur.setTimeout(()=>{let{onUnhandledError:e}=Et;if(e)e(t);else throw t})}function Ki(){}var Im=$c("C",void 0,void 0);function Sm(t){return $c("E",void 0,t)}function Mm(t){return $c("N",t,void 0)}function $c(t,e,r){return{kind:t,value:e,error:r}}var Yn=null;function Hr(t){if(Et.useDeprecatedSynchronousErrorHandling){let e=!Yn;if(e&&(Yn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Yn;if(Yn=null,r)throw n}}else t()}function xm(t){Et.useDeprecatedSynchronousErrorHandling&&Yn&&(Yn.errorThrown=!0,Yn.error=t)}var Jn=class extends ue{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ps(e)&&e.add(this)):this.destination=Yw}static create(e,r,n){return new zr(e,r,n)}next(e){this.isStopped?Hc(Mm(e),this):this._next(e)}error(e){this.isStopped?Hc(Sm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Hc(Im,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Qw=Function.prototype.bind;function Uc(t,e){return Qw.call(t,e)}var zc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Ls(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Ls(n)}else Ls(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Ls(r)}}},zr=class extends Jn{constructor(e,r,n){super();let i;if(P(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&Et.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Uc(e.next,o),error:e.error&&Uc(e.error,o),complete:e.complete&&Uc(e.complete,o)}):i=e}this.destination=new zc(i)}};function Ls(t){Et.useDeprecatedSynchronousErrorHandling?xm(t):Fs(t)}function Zw(t){throw t}function Hc(t,e){let{onStoppedNotification:r}=Et;r&&Ur.setTimeout(()=>r(t,e))}var Yw={closed:!0,next:Ki,error:Zw,complete:Ki};var Gr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function rt(t){return t}function Gc(...t){return qc(t)}function qc(t){return t.length===0?rt:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var W=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Xw(r)?r:new zr(r,n,i);return Hr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Tm(n),new n((i,o)=>{let s=new zr({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Gr](){return this}pipe(...r){return qc(r)(this)}toPromise(r){return r=Tm(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Tm(t){var e;return(e=t??Et.Promise)!==null&&e!==void 0?e:Promise}function Jw(t){return t&&P(t.next)&&P(t.error)&&P(t.complete)}function Xw(t){return t&&t instanceof Jn||Jw(t)&&Ps(t)}function Wc(t){return P(t?.lift)}function H(t){return e=>{if(Wc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(t,e,r,n,i){return new Kc(t,e,r,n,i)}var Kc=class extends Jn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function qr(){return H((t,e)=>{let r=null;t._refCount++;let n=z(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Wr=class extends W{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Wc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ue;let r=this.getSubject();e.add(this.source.subscribe(z(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ue.EMPTY)}return e}refCount(){return qr()(this)}};var Am=$r(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Se=(()=>{class t extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Vs(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Am}next(r){Hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Bc:(this.currentObservers=null,o.push(r),new ue(()=>{this.currentObservers=null,Zn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new W;return r.source=this,r}}return t.create=(e,r)=>new Vs(e,r),t})(),Vs=class extends Se{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Bc}};var Ee=class extends Se{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Qc={now(){return(Qc.delegate||Date).now()},delegate:void 0};var js=class extends ue{constructor(e,r){super()}schedule(e,r=0){return this}};var Qi={setInterval(t,e,...r){let{delegate:n}=Qi;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Qi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Bs=class extends js{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,r),this}requestAsyncId(e,r,n=0){return Qi.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Qi.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Zn(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var Kr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};Kr.now=Qc.now;var $s=class extends Kr{constructor(e,r=Kr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Nm=new $s(Bs);var it=new W(t=>t.complete());function Om(t){return t&&P(t.schedule)}function Rm(t){return t[t.length-1]}function km(t){return P(Rm(t))?t.pop():void 0}function En(t){return Om(Rm(t))?t.pop():void 0}function Fm(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function Pm(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xn(t){return this instanceof Xn?(this.v=t,this):new Xn(t)}function Lm(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){n[f]&&(i[f]=function(v){return new Promise(function(S,O){o.push([f,v,S,O])>1||l(f,v)})},p&&(i[f]=p(i[f])))}function l(f,p){try{c(n[f](p))}catch(v){h(o[0][3],v)}}function c(f){f.value instanceof Xn?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Vm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Pm=="function"?Pm(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Us=t=>t&&typeof t.length=="number"&&typeof t!="function";function Hs(t){return P(t?.then)}function zs(t){return P(t[Gr])}function Gs(t){return Symbol.asyncIterator&&P(t?.[Symbol.asyncIterator])}function qs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function eE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ws=eE();function Ks(t){return P(t?.[Ws])}function Qs(t){return Lm(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Xn(r.read());if(i)return yield Xn(void 0);yield yield Xn(n)}}finally{r.releaseLock()}})}function Zs(t){return P(t?.getReader)}function Me(t){if(t instanceof W)return t;if(t!=null){if(zs(t))return tE(t);if(Us(t))return nE(t);if(Hs(t))return rE(t);if(Gs(t))return jm(t);if(Ks(t))return iE(t);if(Zs(t))return oE(t)}throw qs(t)}function tE(t){return new W(e=>{let r=t[Gr]();if(P(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nE(t){return new W(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Fs)})}function iE(t){return new W(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function jm(t){return new W(e=>{sE(t,e).catch(r=>e.error(r))})}function oE(t){return jm(Qs(t))}function sE(t,e){var r,n,i,o;return Fm(this,void 0,void 0,function*(){try{for(r=Vm(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function He(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Ys(t,e=0){return H((r,n)=>{r.subscribe(z(n,i=>He(n,t,()=>n.next(i),e),()=>He(n,t,()=>n.complete(),e),i=>He(n,t,()=>n.error(i),e)))})}function Js(t,e=0){return H((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Bm(t,e){return Me(t).pipe(Js(e),Ys(e))}function $m(t,e){return Me(t).pipe(Js(e),Ys(e))}function Um(t,e){return new W(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Hm(t,e){return new W(r=>{let n;return He(r,e,()=>{n=t[Ws](),He(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>P(n?.return)&&n.return()})}function Xs(t,e){if(!t)throw new Error("Iterable cannot be null");return new W(r=>{He(r,e,()=>{let n=t[Symbol.asyncIterator]();He(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function zm(t,e){return Xs(Qs(t),e)}function Gm(t,e){if(t!=null){if(zs(t))return Bm(t,e);if(Us(t))return Um(t,e);if(Hs(t))return $m(t,e);if(Gs(t))return Xs(t,e);if(Ks(t))return Hm(t,e);if(Zs(t))return zm(t,e)}throw qs(t)}function ye(t,e){return e?Gm(t,e):Me(t)}function T(...t){let e=En(t);return ye(t,e)}function Qr(t,e){let r=P(t)?t:()=>t,n=i=>i.error(r());return new W(e?i=>e.schedule(n,0,i):n)}function Zc(t){return!!t&&(t instanceof W||P(t.lift)&&P(t.subscribe))}var on=$r(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function $(t,e){return H((r,n)=>{let i=0;r.subscribe(z(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:aE}=Array;function lE(t,e){return aE(e)?t(...e):t(e)}function qm(t){return $(e=>lE(t,e))}var{isArray:cE}=Array,{getPrototypeOf:uE,prototype:dE,keys:fE}=Object;function Wm(t){if(t.length===1){let e=t[0];if(cE(e))return{args:e,keys:null};if(hE(e)){let r=fE(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function hE(t){return t&&typeof t=="object"&&uE(t)===dE}function Km(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function er(...t){let e=En(t),r=km(t),{args:n,keys:i}=Wm(t);if(n.length===0)return ye([],e);let o=new W(pE(n,e,i?s=>Km(i,s):rt));return r?o.pipe(qm(r)):o}function pE(t,e,r=rt){return n=>{Qm(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l{let c=ye(t[l],e),u=!1;c.subscribe(z(n,d=>{o[l]=d,u||(u=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Qm(t,e,r){t?He(r,t,e):e()}function Zm(t,e,r,n,i,o,s,a){let l=[],c=0,u=0,d=!1,h=()=>{d&&!l.length&&!c&&e.complete()},f=v=>c{o&&e.next(v),c++;let S=!1;Me(r(v,u++)).subscribe(z(e,O=>{i?.(O),o?f(O):e.next(O)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;l.length&&cp(O)):p(O)}h()}catch(O){e.error(O)}}))};return t.subscribe(z(e,f,()=>{d=!0,h()})),()=>{a?.()}}function De(t,e,r=1/0){return P(e)?De((n,i)=>$((o,s)=>e(n,o,i,s))(Me(t(n,i))),r):(typeof e=="number"&&(r=e),H((n,i)=>Zm(n,i,t,r)))}function Cn(t=1/0){return De(rt,t)}function Ym(){return Cn(1)}function In(...t){return Ym()(ye(t,En(t)))}function ea(t){return new W(e=>{Me(t()).subscribe(e)})}function ze(t,e){return H((r,n)=>{let i=0;r.subscribe(z(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Sn(t){return H((e,r)=>{let n=null,i=!1,o;n=e.subscribe(z(r,void 0,void 0,s=>{o=Me(t(s,Sn(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Jm(t,e,r,n,i){return(o,s)=>{let a=r,l=e,c=0;o.subscribe(z(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),n&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function tr(t,e){return P(e)?De(t,e,1):De(t,1)}function Yc(t,e=Nm){return H((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,u=e.now();if(u{o=c,s=e.now(),i||(i=e.schedule(l,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function Mn(t){return H((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Ct(t){return t<=0?()=>it:H((e,r)=>{let n=0;e.subscribe(z(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Jc(t){return $(()=>t)}function ta(t=mE){return H((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function mE(){return new on}function Zi(t){return H((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Bt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ze((i,o)=>t(i,o,n)):rt,Ct(1),r?Mn(e):ta(()=>new on))}function Zr(t){return t<=0?()=>it:H((e,r)=>{let n=[];e.subscribe(z(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Xc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ze((i,o)=>t(i,o,n)):rt,Zr(1),r?Mn(e):ta(()=>new on))}function eu(t,e){return H(Jm(t,e,arguments.length>=2,!0))}function tu(t){return ze((e,r)=>t<=r)}function Yi(...t){let e=En(t);return H((r,n)=>{(e?In(t,r,e):In(t,r)).subscribe(n)})}function ht(t,e){return H((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(z(n,l=>{i?.unsubscribe();let c=0,u=o++;Me(t(l,u)).subscribe(i=z(n,d=>n.next(e?e(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ji(t){return H((e,r)=>{Me(t).subscribe(z(r,()=>r.complete(),Ki)),!r.closed&&e.subscribe(r)})}function Ae(t,e,r){let n=P(t)||e||r?{next:t,error:e,complete:r}:t;return n?H((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(z(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):rt}var Ug="https://g.co/ng/security#xss",y=class extends Error{constructor(e,r){super(md(e,r)),this.code=e}};function md(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function co(t){return{toString:t}.toString()}var na="__parameters__";function gE(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Hg(t,e,r){return co(()=>{let n=gE(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(na)?l[na]:Object.defineProperty(l,na,{value:[]})[na];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Fe=globalThis;function ae(t){for(let e in t)if(t[e]===ae)return e;throw Error("Could not find renamed property on target object.")}function We(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(We).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function hu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var vE=ae({__forward_ref__:ae});function gd(t){return t.__forward_ref__=gd,t.toString=function(){return We(this())},t}function pt(t){return zg(t)?t():t}function zg(t){return typeof t=="function"&&t.hasOwnProperty(vE)&&t.__forward_ref__===gd}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function te(t){return{providers:t.providers||[],imports:t.imports||[]}}function ja(t){return Xm(t,qg)||Xm(t,Wg)}function Gg(t){return ja(t)!==null}function Xm(t,e){return t.hasOwnProperty(e)?t[e]:null}function yE(t){let e=t&&(t[qg]||t[Wg]);return e||null}function eg(t){return t&&(t.hasOwnProperty(tg)||t.hasOwnProperty(_E))?t[tg]:null}var qg=ae({\u0275prov:ae}),tg=ae({\u0275inj:ae}),Wg=ae({ngInjectableDef:ae}),_E=ae({ngInjectorDef:ae}),M=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Kg(t){return t&&!!t.\u0275providers}var bE=ae({\u0275cmp:ae}),DE=ae({\u0275dir:ae}),wE=ae({\u0275pipe:ae}),EE=ae({\u0275mod:ae}),pa=ae({\u0275fac:ae}),Xi=ae({__NG_ELEMENT_ID__:ae}),ng=ae({__NG_ENV_ID__:ae});function ni(t){return typeof t=="string"?t:t==null?"":String(t)}function CE(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ni(t)}function IE(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,t)}function vd(t,e){throw new y(-201,!1)}var j=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(j||{}),pu;function Qg(){return pu}function Ge(t){let e=pu;return pu=t,e}function Zg(t,e,r){let n=ja(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&j.Optional)return null;if(e!==void 0)return e;vd(t,"Injector")}var SE={},to=SE,mu="__NG_DI_FLAG__",ma="ngTempTokenPath",ME="ngTokenPath",xE=/\n/gm,TE="\u0275",rg="__source",ei;function AE(){return ei}function xn(t){let e=ei;return ei=t,e}function NE(t,e=j.Default){if(ei===void 0)throw new y(-203,!1);return ei===null?Zg(t,void 0,e):ei.get(t,e&j.Optional?null:void 0,e)}function C(t,e=j.Default){return(Qg()||NE)(pt(t),e)}function _(t,e=j.Default){return C(t,Ba(e))}function Ba(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function gu(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):We(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(xE,` - `)}`}var uo=Yg(Hg("Optional"),8);var $a=Yg(Hg("SkipSelf"),4);function ir(t,e){let r=t.hasOwnProperty(pa);return r?t[pa]:null}function PE(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?yd(r,e):e(r))}function Jg(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ga(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function LE(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function _d(t,e,r){let n=fo(t,e);return n>=0?t[n|1]=r:(n=~n,LE(t,n,e,r)),n}function nu(t,e){let r=fo(t,e);if(r>=0)return t[r|1]}function fo(t,e){return VE(t,e,1)}function VE(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),n&2&&c!==d){if(It(n))return!1;s=!0}}}}return It(n)||s}function It(t){return(t&1)===0}function zE(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!It(s)&&(e+=og(o,i),i=""),n=s,o=o||!It(n);r++}return i!==""&&(e+=og(o,i)),e}function QE(t){return t.map(KE).join(",")}function ZE(t){let e=[],r=[],n=1,i=2;for(;n{let e=lv(t),r=pe(w({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===tv.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ht.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""});cv(r);let n=t.dependencies;return r.directiveDefs=ag(n,!1),r.pipeDefs=ag(n,!0),r.id=XE(r),r})}function YE(t){return On(t)||iv(t)}function JE(t){return t!==null}function ne(t){return co(()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function sg(t,e){if(t==null)return no;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=Nn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Nn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function Le(t){return co(()=>{let e=lv(t);return cv(e),e})}function wd(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function On(t){return t[bE]||null}function iv(t){return t[DE]||null}function ov(t){return t[wE]||null}function sv(t){let e=On(t)||iv(t)||ov(t);return e!==null?e.standalone:!1}function av(t,e){let r=t[EE]||null;if(!r&&e===!0)throw new Error(`Type ${We(t)} does not have '\u0275mod' property.`);return r}function lv(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||no,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sg(t.inputs,e),outputs:sg(t.outputs),debugInfo:null}}function cv(t){t.features?.forEach(e=>e(t))}function ag(t,e){if(!t)return null;let r=e?ov:YE;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(JE)}function XE(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function e0(...t){return{\u0275providers:uv(!0,t),\u0275fromNgModule:!0}}function uv(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return yd(e,s=>{let a=s;yu(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&dv(i,o),r}function dv(t,e){for(let r=0;r{e(o,n)})}}function yu(t,e,r,n){if(t=pt(t),!t)return!1;let i=null,o=eg(t),s=!o&&On(t);if(!o&&!s){let l=t.ngModule;if(o=eg(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)yu(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{yd(o.imports,u=>{yu(u,e,r,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&dv(c,e)}if(!a){let c=ir(i)||(()=>new i);e({provide:i,useFactory:c,deps:ot},i),e({provide:ev,useValue:i,multi:!0},i),e({provide:ri,useValue:()=>C(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=t;Ed(l,u=>{e(u,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Ed(t,e){for(let r of t)Kg(r)&&(r=r.\u0275providers),Array.isArray(r)?Ed(r,e):e(r)}var t0=ae({provide:String,useValue:ae});function fv(t){return t!==null&&typeof t=="object"&&t0 in t}function n0(t){return!!(t&&t.useExisting)}function r0(t){return!!(t&&t.useFactory)}function _u(t){return typeof t=="function"}var Ua=new M(""),la={},i0={},ru;function Cd(){return ru===void 0&&(ru=new va),ru}var Ke=class{},ro=class extends Ke{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Du(e,s=>this.processProvider(s)),this.records.set(Xg,Yr(void 0,this)),i.has("environment")&&this.records.set(Ke,Yr(void 0,this));let o=this.records.get(Ua);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ev,ot,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Z(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=xn(this),n=Ge(void 0),i;try{return e()}finally{xn(r),Ge(n)}}get(e,r=to,n=j.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(ng))return e[ng](this);n=Ba(n);let i,o=xn(this),s=Ge(void 0);try{if(!(n&j.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=u0(e)&&ja(e);c&&this.injectableDefInScope(c)?l=Yr(bu(e),la):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&j.Self?Cd():this.parent;return r=n&j.Optional&&r===to?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ma]=a[ma]||[]).unshift(We(e)),o)throw a;return RE(a,e,"R3InjectorError",this.source)}else throw a}finally{Ge(s),xn(o)}}resolveInjectorInitializers(){let e=Z(null),r=xn(this),n=Ge(void 0),i;try{let o=this.get(ri,ot,j.Self);for(let s of o)s()}finally{xn(r),Ge(n),Z(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(We(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=pt(e);let r=_u(e)?e:pt(e&&e.provide),n=s0(e);if(!_u(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Yr(void 0,la,!0),i.factory=()=>gu(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=Z(null);try{return r.value===la&&(r.value=i0,r.value=r.factory()),typeof r.value=="object"&&r.value&&c0(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Z(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=pt(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function bu(t){let e=ja(t),r=e!==null?e.factory:ir(t);if(r!==null)return r;if(t instanceof M)throw new y(204,!1);if(t instanceof Function)return o0(t);throw new y(204,!1)}function o0(t){if(t.length>0)throw new y(204,!1);let r=yE(t);return r!==null?()=>r.factory(t):()=>new t}function s0(t){if(fv(t))return Yr(void 0,t.useValue);{let e=a0(t);return Yr(e,la)}}function a0(t,e,r){let n;if(_u(t)){let i=pt(t);return ir(i)||bu(i)}else if(fv(t))n=()=>pt(t.useValue);else if(r0(t))n=()=>t.useFactory(...gu(t.deps||[]));else if(n0(t))n=()=>C(pt(t.useExisting));else{let i=pt(t&&(t.useClass||t.provide));if(l0(t))n=()=>new i(...gu(t.deps));else return ir(i)||bu(i)}return n}function Yr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function l0(t){return!!t.deps}function c0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function u0(t){return typeof t=="function"||typeof t=="object"&&t instanceof M}function Du(t,e){for(let r of t)Array.isArray(r)?Du(r,e):r&&Kg(r)?Du(r.\u0275providers,e):e(r)}function At(t,e){t instanceof ro&&t.assertNotDestroyed();let r,n=xn(t),i=Ge(void 0);try{return e()}finally{xn(n),Ge(i)}}function hv(){return Qg()!==void 0||AE()!=null}function d0(t){if(!hv())throw new y(-203,!1)}function f0(t){let e=Fe.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function h0(t){return typeof t=="function"}var un=0,L=1,R=2,ke=3,Mt=4,Nt=5,ya=6,_a=7,xt=8,ii=9,zt=10,xe=11,io=12,lg=13,di=14,Gt=15,or=16,Jr=17,sn=18,Ha=19,pv=20,Tn=21,iu=22,mt=23,Tt=25,mv=1;var sr=7,ba=8,oi=9,st=10,Da=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Da||{});function An(t){return Array.isArray(t)&&typeof t[mv]=="object"}function dn(t){return Array.isArray(t)&&t[mv]===!0}function gv(t){return(t.flags&4)!==0}function za(t){return t.componentOffset>-1}function Id(t){return(t.flags&1)===1}function ho(t){return!!t.template}function wu(t){return(t[R]&512)!==0}var Eu=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function vv(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Pn(){return yv}function yv(t){return t.type.prototype.ngOnChanges&&(t.setInput=m0),p0}Pn.ngInherit=!0;function p0(){let t=bv(this),e=t?.current;if(e){let r=t.previous;if(r===no)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function m0(t,e,r,n,i){let o=this.declaredInputs[n],s=bv(t)||g0(t,{previous:no,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Eu(c&&c.currentValue,r,l===no),vv(t,e,i,r)}var _v="__ngSimpleChanges__";function bv(t){return t[_v]||null}function g0(t,e){return t[_v]=e}var cg=null;var $t=function(t,e,r){cg?.(t,e,r)},v0="svg",y0="math";function qt(t){for(;Array.isArray(t);)t=t[un];return t}function Dv(t,e){return qt(e[t])}function gt(t,e){return qt(e[t.index])}function wv(t,e){return t.data[e]}function Ev(t,e){return t[e]}function Fn(t,e){let r=e[t];return An(r)?r:r[un]}function _0(t){return(t[R]&4)===4}function Sd(t){return(t[R]&128)===128}function b0(t){return dn(t[ke])}function wa(t,e){return e==null?null:t[e]}function Cv(t){t[Jr]=0}function Iv(t){t[R]&1024||(t[R]|=1024,Sd(t)&&Ga(t))}function D0(t,e){for(;t>0;)e=e[di],t--;return e}function oo(t){return!!(t[R]&9216||t[mt]?.dirty)}function Cu(t){t[zt].changeDetectionScheduler?.notify(7),t[R]&64&&(t[R]|=1024),oo(t)&&Ga(t)}function Ga(t){t[zt].changeDetectionScheduler?.notify(0);let e=ar(t);for(;e!==null&&!(e[R]&8192||(e[R]|=8192,!Sd(e)));)e=ar(e)}function Sv(t,e){if((t[R]&256)===256)throw new y(911,!1);t[Tn]===null&&(t[Tn]=[]),t[Tn].push(e)}function w0(t,e){if(t[Tn]===null)return;let r=t[Tn].indexOf(e);r!==-1&&t[Tn].splice(r,1)}function ar(t){let e=t[ke];return dn(e)?e[ke]:e}var V={lFrame:Lv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Mv=!1;function E0(){return V.lFrame.elementDepthCount}function C0(){V.lFrame.elementDepthCount++}function I0(){V.lFrame.elementDepthCount--}function xv(){return V.bindingsEnabled}function S0(){return V.skipHydrationRootTNode!==null}function M0(t){return V.skipHydrationRootTNode===t}function x0(){V.skipHydrationRootTNode=null}function X(){return V.lFrame.lView}function Ze(){return V.lFrame.tView}function Ve(t){return V.lFrame.contextLView=t,t[xt]}function je(t){return V.lFrame.contextLView=null,t}function Ye(){let t=Tv();for(;t!==null&&t.type===64;)t=t.parent;return t}function Tv(){return V.lFrame.currentTNode}function T0(){let t=V.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function po(t,e){let r=V.lFrame;r.currentTNode=t,r.isParent=e}function Av(){return V.lFrame.isParent}function A0(){V.lFrame.isParent=!1}function N0(){return V.lFrame.contextLView}function Nv(){return Mv}function ug(t){Mv=t}function Ov(){let t=V.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function O0(){return V.lFrame.bindingIndex}function R0(t){return V.lFrame.bindingIndex=t}function Md(){return V.lFrame.bindingIndex++}function Rv(t){let e=V.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function k0(){return V.lFrame.inI18n}function P0(t,e){let r=V.lFrame;r.bindingIndex=r.bindingRootIndex=t,Iu(e)}function F0(){return V.lFrame.currentDirectiveIndex}function Iu(t){V.lFrame.currentDirectiveIndex=t}function L0(t){let e=V.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function kv(){return V.lFrame.currentQueryIndex}function xd(t){V.lFrame.currentQueryIndex=t}function V0(t){let e=t[L];return e.type===2?e.declTNode:e.type===1?t[Nt]:null}function Pv(t,e,r){if(r&j.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&j.Host);)if(i=V0(o),i===null||(o=o[di],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=V.lFrame=Fv();return n.currentTNode=e,n.lView=t,!0}function Td(t){let e=Fv(),r=t[L];V.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Fv(){let t=V.lFrame,e=t===null?null:t.child;return e===null?Lv(t):e}function Lv(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Vv(){let t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var jv=Vv;function Ad(){let t=Vv();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function j0(t){return(V.lFrame.contextLView=D0(t,V.lFrame.contextLView))[xt]}function hr(){return V.lFrame.selectedIndex}function lr(t){V.lFrame.selectedIndex=t}function Nd(){let t=V.lFrame;return wv(t.tView,t.selectedIndex)}function B0(){return V.lFrame.currentNamespace}var Bv=!0;function Od(){return Bv}function Rd(t){Bv=t}function $0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=yv(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function kd(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[Jr]+=65536),(a>14>16&&(t[R]&3)===e&&(t[R]+=16384,dg(a,o)):dg(a,o)}var ti=-1,so=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function H0(t){return t instanceof so}function z0(t){return(t.flags&8)!==0}function G0(t){return(t.flags&16)!==0}var su={},Su=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ba(n);let i=this.injector.get(e,su,n);return i!==su||r===su?i:this.parentInjector.get(e,r,n)}};function Uv(t){return t!==ti}function Ea(t){return t&32767}function q0(t){return t>>16}function Ca(t,e){let r=q0(t),n=e;for(;r>0;)n=n[di],r--;return n}var Mu=!0;function Ia(t){let e=Mu;return Mu=t,e}var W0=256,Hv=W0-1,zv=5,K0=0,Ut={};function Q0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Xi)&&(n=r[Xi]),n==null&&(n=r[Xi]=K0++);let i=n&Hv,o=1<>zv)]|=o}function Gv(t,e){let r=qv(t,e);if(r!==-1)return r;let n=e[L];n.firstCreatePass&&(t.injectorIndex=e.length,au(n.data,t),au(e,null),au(n.blueprint,null));let i=Pd(t,e),o=t.injectorIndex;if(Uv(i)){let s=Ea(i),a=Ca(i,e),l=a[L].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function au(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qv(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Pd(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Yv(i),n===null)return ti;if(r++,i=i[di],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ti}function Z0(t,e,r){Q0(t,e,r)}function Y0(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+u,h=i?a+u:c;for(let f=d;f=l&&p.type===r)return f}if(i){let f=s[l];if(f&&ho(f)&&f.type===r)return l}return null}function si(t,e,r,n){let i=t[r],o=e.data;if(H0(i)){let s=i;s.resolving&&IE(CE(o[r]));let a=Ia(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ge(s.injectImpl):null,u=Pv(t,n,j.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&$0(r,o[r],e)}finally{c!==null&&Ge(c),Ia(a),s.resolving=!1,jv()}}return i}function X0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Xi)?t[Xi]:void 0;return typeof e=="number"?e>=0?e&Hv:eC:e}function fg(t,e,r){let n=1<>zv)]&n)}function hg(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var rr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Qv(this._tNode,this._lView,e,Ba(n),r)}};function eC(){return new rr(Ye(),X())}function qa(t){return co(()=>{let e=t.prototype.constructor,r=e[pa]||xu(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[pa]||xu(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function xu(t){return zg(t)?()=>{let e=xu(pt(t));return e&&e()}:ir(t)}function tC(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[R]&2048&&!(s[R]&512);){let a=Zv(o,s,r,n|j.Self,Ut);if(a!==Ut)return a;let l=o.parent;if(!l){let c=s[pv];if(c){let u=c.get(r,Ut,n);if(u!==Ut)return u}l=Yv(s),s=s[di]}o=l}return i}function Yv(t){let e=t[L],r=e.type;return r===2?e.declTNode:r===1?t[Nt]:null}function Fd(t){return Y0(Ye(),t)}function pg(t,e=null,r=null,n){let i=Jv(t,e,r,n);return i.resolveInjectorInitializers(),i}function Jv(t,e=null,r=null,n,i=new Set){let o=[r||ot,e0(t)];return n=n||(typeof t=="object"?void 0:We(t)),new ro(o,e||Cd(),n||null,i)}var nr=class nr{static create(e,r){if(Array.isArray(e))return pg({name:""},r,e,"");{let n=e.name??"";return pg({name:n},e.parent,e.providers,n)}}};nr.THROW_IF_NOT_FOUND=to,nr.NULL=new va,nr.\u0275prov=D({token:nr,providedIn:"any",factory:()=>C(Xg)}),nr.__NG_ELEMENT_ID__=-1;var Qe=nr;var nC=new M("");nC.__NG_ELEMENT_ID__=t=>{let e=Ye();if(e===null)throw new y(204,!1);if(e.type&2)return e.value;if(t&j.Optional)return null;throw new y(204,!1)};var rC="ngOriginalError";function lu(t){return t[rC]}var Wt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&lu(e);for(;r&&lu(r);)r=lu(r);return r||null}},Xv=new M("",{providedIn:"root",factory:()=>_(Wt).handleError.bind(void 0)}),Ld=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iC,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Tu=class extends Ld{constructor(e){super(),this._lView=e}onDestroy(e){return Sv(this._lView,e),()=>w0(this._lView,e)}};function iC(){return new Tu(X())}function oC(){return fi(Ye(),X())}function fi(t,e){return new he(gt(t,e))}var he=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=oC;let t=e;return t})();function sC(t){return t instanceof he?t.nativeElement:t}var hi=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Au=class extends Se{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,hv()&&(this.destroyRef=_(Ld,{optional:!0})??void 0,this.pendingTasks=_(hi,{optional:!0})??void 0)}emit(e){let r=Z(null);try{super.next(e)}finally{Z(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ue&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},we=Au;function aC(){return this._results[Symbol.iterator]()}var Sa=class t{get changes(){return this._changes??=new we}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=aC)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=FE(e);(this._changesDetected=!PE(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ey(t){return(t.flags&128)===128}var ty=new Map,lC=0;function cC(){return lC++}function uC(t){ty.set(t[Ha],t)}function dC(t){ty.delete(t[Ha])}var mg="__ngContext__";function cr(t,e){An(e)?(t[mg]=e[Ha],uC(e)):t[mg]=e}function ny(t){return iy(t[io])}function ry(t){return iy(t[Mt])}function iy(t){for(;t!==null&&!dn(t);)t=t[Mt];return t}var Nu;function oy(t){Nu=t}function fC(){if(Nu!==void 0)return Nu;if(typeof document<"u")return document;throw new y(210,!1)}var mo=new M("",{providedIn:"root",factory:()=>hC}),hC="ng",Vd=new M(""),Kt=new M("",{providedIn:"platform",factory:()=>"unknown"});var Wa=new M(""),go=new M("",{providedIn:"root",factory:()=>fC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var pC="h",mC="b";var gC=()=>null;function jd(t,e,r=!1){return gC(t,e,r)}var sy=!1,vC=new M("",{providedIn:"root",factory:()=>sy});var ra;function yC(){if(ra===void 0&&(ra=null,Fe.trustedTypes))try{ra=Fe.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ra}function Ka(t){return yC()?.createHTML(t)||t}var ia;function _C(){if(ia===void 0&&(ia=null,Fe.trustedTypes))try{ia=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ia}function gg(t){return _C()?.createScriptURL(t)||t}var an=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ug})`}},Ou=class extends an{getTypeName(){return"HTML"}},Ru=class extends an{getTypeName(){return"Style"}},ku=class extends an{getTypeName(){return"Script"}},Pu=class extends an{getTypeName(){return"URL"}},Fu=class extends an{getTypeName(){return"ResourceURL"}};function Qt(t){return t instanceof an?t.changingThisBreaksApplicationSecurity:t}function Ln(t,e){let r=bC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Ug})`)}return r===e}function bC(t){return t instanceof an&&t.getTypeName()||null}function ay(t){return new Ou(t)}function ly(t){return new Ru(t)}function cy(t){return new ku(t)}function uy(t){return new Pu(t)}function dy(t){return new Fu(t)}function DC(t){let e=new Vu(t);return wC()?new Lu(e):e}var Lu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Ka(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Vu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ka(e),r}};function wC(){try{return!!new window.DOMParser().parseFromString(Ka(""),"text/html")}catch{return!1}}var EC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qa(t){return t=String(t),t.match(EC)?t:"unsafe:"+t}function fn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function vo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var fy=fn("area,br,col,hr,img,wbr"),hy=fn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),py=fn("rp,rt"),CC=vo(py,hy),IC=vo(hy,fn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),SC=vo(py,fn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vg=vo(fy,IC,SC,CC),my=fn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),MC=fn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xC=fn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),TC=vo(my,MC,xC),AC=fn("script,style,template"),ju=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=RC(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=OC(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=yg(e).toLowerCase();if(!vg.hasOwnProperty(r))return this.sanitizedSomething=!0,!AC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=yg(e).toLowerCase();vg.hasOwnProperty(r)&&!fy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(_g(e))}};function NC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function OC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw gy(e);return e}function RC(t){let e=t.firstChild;if(e&&NC(t,e))throw gy(e);return e}function yg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function gy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var kC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PC=/([^\#-~ |!])/g;function _g(t){return t.replace(/&/g,"&").replace(kC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(PC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var oa;function vy(t,e){let r=null;try{oa=oa||DC(t);let n=e?String(e):"";r=oa.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=oa.getInertBodyElement(n)}while(n!==o);let a=new ju().sanitizeChildren(bg(r)||r);return Ka(a)}finally{if(r){let n=bg(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function bg(t){return"content"in t&&FC(t)?t.content:null}function FC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var vt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(vt||{});function yo(t){let e=_y();return e?e.sanitize(vt.URL,t)||"":Ln(t,"URL")?Qt(t):Qa(ni(t))}function LC(t){let e=_y();if(e)return gg(e.sanitize(vt.RESOURCE_URL,t)||"");if(Ln(t,"ResourceURL"))return gg(Qt(t));throw new y(904,!1)}function VC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?LC:yo}function yy(t,e,r){return VC(e,r)(t)}function _y(){let t=X();return t&&t[zt].sanitizer}function by(t){return t instanceof Function?t():t}function jC(t){return(t??_(Qe)).get(Kt)==="browser"}var ln=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ln||{}),BC;function Bd(t,e){return BC(t,e)}function Xr(t,e,r,n,i){if(n!=null){let o,s=!1;dn(n)?o=n:An(n)&&(s=!0,n=n[un]);let a=qt(n);t===0&&r!==null?i==null?Iy(e,r,a):Ma(e,r,a,i||null,!0):t===1&&r!==null?Ma(e,r,a,i||null,!0):t===2?nI(e,a,s):t===3&&e.destroyNode(a),o!=null&&iI(e,t,o,r,i)}}function $C(t,e){return t.createText(e)}function UC(t,e,r){t.setValue(e,r)}function Dy(t,e,r){return t.createElement(e,r)}function HC(t,e){wy(t,e),e[un]=null,e[Nt]=null}function zC(t,e,r,n,i,o){n[un]=i,n[Nt]=e,Za(t,n,r,1,i,o)}function wy(t,e){e[zt].changeDetectionScheduler?.notify(8),Za(t,e,e[xe],2,null,null)}function GC(t){let e=t[io];if(!e)return cu(t[L],t);for(;e;){let r=null;if(An(e))r=e[io];else{let n=e[st];n&&(r=n)}if(!r){for(;e&&!e[Mt]&&e!==t;)An(e)&&cu(e[L],e),e=e[ke];e===null&&(e=t),An(e)&&cu(e[L],e),r=e&&e[Mt]}e=r}}function qC(t,e,r,n){let i=st+n,o=r.length;n>0&&(r[i-1][Mt]=e),n0&&(t[r-1][Mt]=n[Mt]);let o=ga(t,st+e);HC(n[L],n);let s=o[sn];s!==null&&s.detachView(o[L]),n[ke]=null,n[Mt]=null,n[R]&=-129}return n}function Cy(t,e){if(!(e[R]&256)){let r=e[xe];r.destroyNode&&Za(t,e,r,3,null,null),GC(e)}}function cu(t,e){if(e[R]&256)return;let r=Z(null);try{e[R]&=-129,e[R]|=256,e[mt]&&Fc(e[mt]),KC(t,e),WC(t,e),e[L].type===1&&e[xe].destroy();let n=e[or];if(n!==null&&dn(e[ke])){n!==e[ke]&&$d(n,e);let i=e[sn];i!==null&&i.detachView(t)}dC(e)}finally{Z(r)}}function WC(t,e){let r=t.cleanup,n=e[_a];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[_a]=null);let i=e[Tn];if(i!==null){e[Tn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Ht.None||o===Ht.Emulated)return null}return gt(n,r)}}function Ma(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Iy(t,e,r){t.appendChild(e,r)}function Dg(t,e,r,n,i){n!==null?Ma(t,e,r,n,i):Iy(t,e,r)}function YC(t,e,r,n){t.removeChild(e,r,n)}function Ud(t,e){return t.parentNode(e)}function JC(t,e){return t.nextSibling(e)}function XC(t,e,r){return tI(t,e,r)}function eI(t,e,r){return t.type&40?gt(t,r):null}var tI=eI,wg;function Hd(t,e,r,n){let i=QC(t,n,e),o=e[xe],s=n.parent||e[Nt],a=XC(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lTt&&Ty(t,e,Tt,!1),$t(s?2:0,i),r(n,i)}finally{lr(o),$t(s?3:1,i)}}function ky(t,e,r){if(gv(e)){let n=Z(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function hI(t,e,r,n){let i=zy(e);i.push(r),t.firstCreatePass&&Gy(t).push(n,i.length-1)}function pI(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return S0()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Eg(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=Nn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}t===0?Cg(n,r,c,a,l):Cg(n,r,c,a)}return n}function Cg(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function mI(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function bI(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;za(r)&&MI(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Gv(r,e),cr(n,e);let s=r.initialInputs;for(let a=i;a{Ga(t.lView)},consumerOnSignalRead(){this.lView[mt]=this}});function UI(t){let e=t[mt]??Object.create(HI);return e.lView=t,e}var HI=pe(w({},Rc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=ar(t.lView);for(;e&&!Qy(e[L]);)e=ar(e);e&&Iv(e)},consumerOnSignalRead(){this.lView[mt]=this}});function Qy(t){return t.type!==2}var zI=100;function Zy(t,e=!0,r=0){let n=t[zt],i=n.rendererFactory,o=!1;o||i.begin?.();try{GI(t,r)}catch(s){throw e&&qy(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function GI(t,e){let r=Nv();try{ug(!0),zu(t,e);let n=0;for(;oo(t);){if(n===zI)throw new y(103,!1);n++,zu(t,1)}}finally{ug(r)}}function qI(t,e,r,n){let i=e[R];if((i&256)===256)return;let o=!1,s=!1;!o&&e[zt].inlineEffectRunner?.flush(),Td(e);let a=!0,l=null,c=null;o||(Qy(t)?(c=VI(e),l=kc(c)):Dm()===null?(a=!1,c=UI(e),l=kc(c)):e[mt]&&(Fc(e[mt]),e[mt]=null));try{Cv(e),R0(t.bindingStartIndex),r!==null&&Ry(t,e,r,2,n);let u=(i&3)===3;if(!o)if(u){let f=t.preOrderCheckHooks;f!==null&&ca(e,f,null)}else{let f=t.preOrderHooks;f!==null&&ua(e,f,0,null),ou(e,0)}if(s||WI(e),Yy(e,0),t.contentQueries!==null&&Hy(t,e),!o)if(u){let f=t.contentCheckHooks;f!==null&&ca(e,f)}else{let f=t.contentHooks;f!==null&&ua(e,f,1),ou(e,1)}aI(t,e);let d=t.components;d!==null&&Xy(e,d,0);let h=t.viewQuery;if(h!==null&&Hu(2,h,n),!o)if(u){let f=t.viewCheckHooks;f!==null&&ca(e,f)}else{let f=t.viewHooks;f!==null&&ua(e,f,2),ou(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[iu]){for(let f of e[iu])f();e[iu]=null}o||(e[R]&=-73)}catch(u){throw o||Ga(e),u}finally{c!==null&&(wm(c,l),a&&BI(c)),Ad()}}function Yy(t,e){for(let r=ny(t);r!==null;r=ry(r))for(let n=st;n-1&&(Bu(e,n),ga(r,n))}this._attachedToViewContainer=!1}Cy(this._lView[L],this._lView)}onDestroy(e){Sv(this._lView,e)}markForCheck(){Kd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[R]&=-129}reattach(){Cu(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,Zy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=wu(this._lView),r=this._lView[or];r!==null&&!e&&$d(r,this._lView),wy(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e;let r=wu(this._lView),n=this._lView[or];n!==null&&!r&&Ey(n,this._lView),Cu(this._lView)}},cn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=YI;let t=e;return t})(),QI=cn,ZI=class extends QI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=PI(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new ur(i)}};function YI(){return Qd(Ye(),X())}function Qd(t,e){return t.type&4?new ZI(e,t,fi(t,e)):null}var fV=new RegExp(`^(\\d+)*(${mC}|${pC})*(.*)`);var JI=()=>null;function Sg(t,e){return JI(t,e)}var ai=class{},e_=new M("",{providedIn:"root",factory:()=>!1});var t_=new M(""),Gu=class{},Ta=class{};function XI(t){let e=Error(`No component factory found for ${We(t)}.`);return e[eS]=t,e}var eS="ngComponent";var qu=class{resolveComponentFactory(e){throw XI(e)}},hf=class hf{};hf.NULL=new qu;var li=hf,Rn=class{},pr=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>tS();let t=e;return t})();function tS(){let t=X(),e=Ye(),r=Fn(e.index,t);return(An(r)?r:t)[xe]}var nS=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Mg=new Set;function el(t){Mg.has(t)||(Mg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function n_(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof Fe.requestAnimationFrame=="function"&&Fe.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function xg(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Tg(...t){}var Y=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,oS(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,rS,Tg,Tg);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},rS={};function Zd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function iS(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{n_(()=>{t.callbackScheduled=!1,Wu(t),t.isCheckStableRunning=!0,Zd(t),t.isCheckStableRunning=!1})}),Wu(t))}function oS(t){let e=()=>{iS(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(sS(a))return r.invokeTask(i,o,s,a);try{return Ag(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Ng(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Ag(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!aS(a)&&e(),Ng(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Wu(t),Zd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Wu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ag(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ng(t){t._nesting--,Zd(t)}var Aa=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function sS(t){return r_(t,"__ignore_ng_zone__")}function aS(t){return r_(t,"__scheduler_tick__")}function r_(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function lS(t="zone.js",e){return t==="noop"?new Aa:t==="zone.js"?new Y(e):t}var qe=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(qe||{}),cS={destroy(){}};function _o(t,e){!e&&d0(_o);let r=e?.injector??_(Qe);return jC(r)?(el("NgAfterNextRender"),dS(t,r,!0,e?.phase??qe.MixedReadWrite)):cS}function uS(t,e){if(t instanceof Function)switch(e){case qe.EarlyRead:return{earlyRead:t};case qe.Write:return{write:t};case qe.MixedReadWrite:return{mixedReadWrite:t};case qe.Read:return{read:t}}return t}function dS(t,e,r,n){let i=uS(t,n),o=e.get(Yd),s=o.handler??=new Qu,a=[],l=[],c=()=>{for(let h of l)s.unregister(h);u()},u=e.get(Ld).onDestroy(c),d=(h,f)=>{if(!f)return;let p=r?(...S)=>{c(),f(...S)}:f,v=At(e,()=>new Ku(h,a,p));s.register(v),l.push(v)};return d(qe.EarlyRead,i.earlyRead),d(qe.Write,i.write),d(qe.MixedReadWrite,i.mixedReadWrite),d(qe.Read,i.read),{destroy:c}}var Ku=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=_(Y),this.errorHandler=_(Wt,{optional:!0}),_(ai,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},Qu=class{constructor(){this.executingCallbacks=!1,this.buckets={[qe.EarlyRead]:new Set,[qe.Write]:new Set,[qe.MixedReadWrite]:new Set,[qe.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Yd=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Zu(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&My(t,r,o.join(" "))}}function yS(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=bS;let t=e;return t})();function bS(){let t=Ye();return o_(t,X())}var DS=Zt,i_=class extends DS{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return fi(this._hostTNode,this._hostLView)}get injector(){return new rr(this._hostTNode,this._hostLView)}get parentInjector(){let e=Pd(this._hostTNode,this._hostLView);if(Uv(e)){let r=Ca(e,this._hostLView),n=Ea(e),i=r[L].data[n+8];return new rr(i,r)}else return new rr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Rg(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-st}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Sg(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Ig(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!h0(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let l=s?e:new ci(On(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let v=(s?c:this.parentInjector).get(Ke,null);v&&(o=v)}let u=On(l.componentType??{}),d=Sg(this._lContainer,u?.id??null),h=d?.firstChild??null,f=l.create(c,i,h,o);return this.insertImpl(f.hostView,a,Ig(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(b0(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[ke],c=new i_(l,l[Nt],l[ke]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return FI(s,i,o,n),e.attachToViewContainerRef(),Jg(uu(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Rg(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Bu(this._lContainer,r);n&&(ga(uu(this._lContainer),r),Cy(n[L],n))}detach(e){let r=this._adjustIndex(e,-1),n=Bu(this._lContainer,r);return n&&ga(uu(this._lContainer),r)!=null?new ur(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Rg(t){return t[ba]}function uu(t){return t[ba]||(t[ba]=[])}function o_(t,e){let r,n=e[t.index];return dn(n)?r=n:(r=Uy(n,e,null,t),e[t.index]=r,Xa(e,r)),ES(r,e,t,n),new i_(r,t,e)}function wS(t,e){let r=t[xe],n=r.createComment(""),i=gt(e,t),o=Ud(r,i);return Ma(r,o,n,JC(r,i),!1),n}var ES=SS,CS=()=>!1;function IS(t,e,r){return CS(t,e,r)}function SS(t,e,r,n){if(t[sr])return;let i;r.type&8?i=qt(n):i=wS(e,r),t[sr]=i}var Ju=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Xu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let c=o[a+1],u=e[-l];for(let d=st;de.trim())}function l_(t,e,r){t.queries===null&&(t.queries=new ed),t.queries.track(new td(e,r))}function PS(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Jd(t,e){return t.queries.getByIndex(e)}function FS(t,e){let r=t[L],n=Jd(r,e);return n.crossesNgTemplate?nd(r,t,e,[]):s_(r,t,n,e)}function LS(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then($S))}return o}return Ra.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,u=i.styleUrls;i.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[c+h]=f,u.splice(u.indexOf(d),1),u.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let l=Promise.all(s).then(()=>US(o));e.push(l)}),jS(),Promise.all(e).then(()=>{})}var Ra=new Map,VS=new Set;function jS(){let t=Ra;return Ra=new Map,t}function BS(){return Ra.size===0}function $S(t){return typeof t=="string"?t:t.text()}function US(t){VS.delete(t)}function bo(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var kn=class{},ao=class{};var ka=class extends kn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Na(this);let i=av(e);this._bootstrapComponents=by(i.bootstrap),this._r3Injector=Jv(e,r,[{provide:kn,useValue:this},{provide:li,useValue:this.componentFactoryResolver},...n],We(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Pa=class extends ao{constructor(e){super(),this.moduleType=e}create(e){return new ka(this.moduleType,e,[])}};function HS(t,e,r){return new ka(t,e,r)}var rd=class extends kn{constructor(e){super(),this.componentFactoryResolver=new Na(this),this.instance=null;let r=new ro([...e.providers,{provide:kn,useValue:this},{provide:li,useValue:this.componentFactoryResolver}],e.parent||Cd(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function tl(t,e,r=null){return new rd({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function c_(t){return Xd(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function zS(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function XS(t){return(t&2)==2}function eM(t,e){return t&131071|e<<17}function id(t){return t|2}function ui(t){return(t&131068)>>2}function du(t,e){return t&-131069|e<<2}function tM(t){return(t&1)===1}function od(t){return t|1}function nM(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=fr(s),l=ui(s);t[n]=r;let c=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||fo(d,u)>0)&&(c=!0)}else u=r;if(i)if(l!==0){let h=fr(t[a+1]);t[n+1]=sa(h,a),h!==0&&(t[h+1]=du(t[h+1],n)),t[a+1]=eM(t[a+1],n)}else t[n+1]=sa(a,0),a!==0&&(t[a+1]=du(t[a+1],n)),a=n;else t[n+1]=sa(l,0),a===0?a=n:t[l+1]=du(t[l+1],n),l=n;c&&(t[n+1]=id(t[n+1])),kg(t,u,n,!0),kg(t,u,n,!1),rM(e,u,t,n,o),s=sa(a,l),o?e.classBindings=s:e.styleBindings=s}function rM(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(r[n+1]=od(r[n+1]))}function kg(t,e,r,n){let i=t[r+1],o=e===null,s=n?fr(i):ui(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];iM(l,e)&&(a=!0,t[s+1]=n?od(c):id(c)),s=n?fr(c):ui(c)}a&&(t[r+1]=n?id(i):od(i))}function iM(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fo(t,e)>=0:!1}var St={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oM(t){return t.substring(St.key,St.keyEnd)}function sM(t){return aM(t),f_(t,h_(t,0,St.textEnd))}function f_(t,e){let r=St.textEnd;return r===e?-1:(e=St.keyEnd=lM(t,St.key=e,r),h_(t,e,r))}function aM(t){St.key=0,St.keyEnd=0,St.value=0,St.valueEnd=0,St.textEnd=t.length}function h_(t,e,r){for(;e32;)e++;return e}function ie(t,e,r){let n=X(),i=Md();if(dr(n,i,e)){let o=Ze(),s=Nd();Vy(o,s,n,t,e,n[xe],r,!1)}return ie}function sd(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";qd(t,r,o[s],s,n)}function ef(t){uM(vM,cM,t,!0)}function cM(t,e){for(let r=sM(e);r>=0;r=f_(e,r))_d(t,oM(e),!0)}function uM(t,e,r,n){let i=Ze(),o=Rv(2);i.firstUpdatePass&&dM(i,null,o,n);let s=X();if(r!==yt&&dr(s,o,r)){let a=i.data[hr()];if(m_(a,n)&&!p_(i,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=hu(l,r||"")),sd(i,a,s,r,n)}else yM(i,a,s,s[xe],s[o+1],s[o+1]=gM(t,e,r),n,o)}}function p_(t,e){return e>=t.expandoStartIndex}function dM(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[hr()],s=p_(t,r);m_(o,n)&&e===null&&!s&&(e=!1),e=fM(i,o,e,n),nM(i,o,e,r,s,n)}}function fM(t,e,r,n){let i=L0(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=fu(null,t,e,r,n),r=lo(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=fu(i,t,e,r,n),o===null){let l=hM(t,e,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,t,e,l[1],n),l=lo(l,e.attrs,n),pM(t,e,n,l))}else o=mM(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function hM(t,e,r){let n=r?e.classBindings:e.styleBindings;if(ui(n)!==0)return t[fr(n)]}function pM(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[fr(i)]=n}function mM(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=r[i+1];h===yt&&(h=d?ot:void 0);let f=d?nu(h,n):u===n?h:void 0;if(c&&!Fa(f)&&(f=nu(l,n)),Fa(f)&&(a=f,s))return a;let p=t[i+1];i=s?fr(p):ui(p)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=nu(l,n))}return a}function Fa(t){return t!==void 0}function m_(t,e){return(t.flags&(e?8:16))!==0}function bM(t,e,r,n,i,o){let s=e.consts,a=wa(s,i),l=Ja(e,t,2,n,a);return jy(e,r,l,wa(s,o)),l.attrs!==null&&Zu(l,l.attrs,!1),l.mergedAttrs!==null&&Zu(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(t,e,r,n){let i=X(),o=Ze(),s=Tt+t,a=i[xe],l=o.firstCreatePass?bM(s,o,i,e,r,n):o.data[s],c=DM(o,i,l,a,e,t);i[s]=c;let u=Id(l);return po(l,!0),xy(a,c,l),!WS(l)&&Od()&&Hd(o,i,c,l),E0()===0&&cr(c,i),C0(),u&&(Py(o,i,l),ky(o,l,i)),n!==null&&Fy(i,l),m}function g(){let t=Ye();Av()?A0():(t=t.parent,po(t,!1));let e=t;M0(e)&&x0(),I0();let r=Ze();return r.firstCreatePass&&(kd(r,t),gv(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&z0(e)&&sd(r,e,X(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&G0(e)&&sd(r,e,X(),e.stylesWithoutHost,!1),g}function b(t,e,r,n){return m(t,e,r,n),g(),b}var DM=(t,e,r,n,i,o)=>(Rd(!0),Dy(n,i,B0()));function tf(){return X()}var La="en-US";var wM=La;function EM(t){typeof t=="string"&&(wM=t.toLowerCase().replace(/_/g,"-"))}var CM=(t,e,r)=>{};function _e(t,e,r,n){let i=X(),o=Ze(),s=Ye();return SM(o,i,i[xe],s,t,e,n),_e}function IM(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function SM(t,e,r,n,i,o,s){let a=Id(n),c=t.firstCreatePass&&Gy(t),u=e[xt],d=zy(e),h=!0;if(n.type&3||s){let v=gt(n,e),S=s?s(v):v,O=d.length,K=s?se=>s(qt(se[n.index])):n.index,B=null;if(!s&&a&&(B=IM(t,e,i,n.index)),B!==null){let se=B.__ngLastListenerFn__||B;se.__ngNextListenerFn__=o,B.__ngLastListenerFn__=o,h=!1}else{o=Lg(n,e,u,o),CM(v,i,o);let se=r.listen(S,i,o);d.push(o,se),c&&c.push(i,K,O,O+1)}}else o=Lg(n,e,u,o);let f=n.outputs,p;if(h&&f!==null&&(p=f[i])){let v=p.length;if(v)for(let S=0;S-1?Fn(t.index,e):e;Kd(s,5);let a=Fg(e,r,n,o),l=i.__ngNextListenerFn__;for(;l;)a=Fg(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function mi(t=1){return j0(t)}function mr(t,e,r){return g_(t,"",e,"",r),mr}function g_(t,e,r,n,i){let o=X(),s=d_(o,e,r,n);if(s!==yt){let a=Ze(),l=Nd();Vy(a,l,o,t,s,o[xe],i,!1)}return g_}function nf(t,e,r,n){RS(t,e,r,n)}function rf(t,e,r){OS(t,e,r)}function gi(t){let e=X(),r=Ze(),n=kv();xd(n+1);let i=Jd(r,n);if(t.dirty&&_0(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=FS(e,n);t.reset(o,sC),t.notifyOnChanges()}return!0}return!1}function vi(){return NS(X(),kv())}function MM(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function nl(t){let e=N0();return Ev(e,Tt+t)}function E(t,e=""){let r=X(),n=Ze(),i=t+Tt,o=n.firstCreatePass?Ja(n,i,1,e,null):n.data[i],s=xM(n,r,o,e,t);r[i]=s,Od()&&Hd(n,r,s,o),po(o,!1)}var xM=(t,e,r,n,i)=>(Rd(!0),$C(e[xe],n));function Yt(t,e,r){let n=X(),i=d_(n,t,e,r);return i!==yt&&Wy(n,hr(),i),Yt}function of(t,e,r,n,i){let o=X(),s=JS(o,t,e,r,n,i);return s!==yt&&Wy(o,hr(),s),of}var TM=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=uv(!1,n.type),o=i.length>0?tl([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(C(Ke))});let t=e;return t})();function rl(t){el("NgStandalone"),t.getStandaloneInjector=e=>e.get(TM).getOrCreateStandaloneInjector(t)}function yi(t,e,r){let n=Ov()+t,i=X();return i[n]===yt?u_(i,n,r?e.call(r):e()):GS(i,n)}function AM(t,e){let r=t[e];return r===yt?void 0:r}function NM(t,e,r,n,i,o){let s=e+r;return dr(t,s,i)?u_(t,s+1,o?n.call(o,i):n(i)):AM(t,s+1)}function Do(t,e){let r=Ze(),n,i=t+Tt;r.firstCreatePass?(n=OM(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=ir(n.type,!0)),s,a=Ge(A);try{let l=Ia(!1),c=o();return Ia(l),MM(r,X(),i,c),c}finally{Ge(a)}}function OM(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function wo(t,e,r){let n=t+Tt,i=X(),o=Ev(i,n);return RM(i,n)?NM(i,Ov(),e,o.transform,r,o):o.transform(r)}function RM(t,e){return t[L].data[e].pure}var aa=null;function kM(t){aa!==null&&(t.defaultEncapsulation!==aa.defaultEncapsulation||t.preserveWhitespaces!==aa.preserveWhitespaces)||(aa=t)}var il=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var sf=new M(""),Eo=new M(""),ol=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,af||(PM(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(C(Y),C(sl),C(Eo))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),sl=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return af?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function PM(t){af=t}var af;function gr(t){return!!t&&typeof t.then=="function"}function lf(t){return!!t&&typeof t.subscribe=="function"}var al=new M(""),v_=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=_(al,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(gr(s))n.push(s);else if(lf(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cf=new M("");function FM(){Em(()=>{throw new y(600,!1)})}function LM(t){return t.isBoundToModule}var VM=10;function jM(t,e,r){try{let n=r();return gr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function y_(t,e){return Array.isArray(e)?e.reduce(y_,t):w(w({},t),e)}var vr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(Xv),this.afterRenderEffectManager=_(Yd),this.zonelessEnabled=_(e_),this.externalTestViews=new Set,this.beforeRender=new Se,this.afterTick=new Se,this.componentTypes=[],this.components=[],this.isStable=_(hi).hasPendingTasks.pipe($(n=>!n)),this._injector=_(Ke)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Ta;if(!this._injector.get(v_).done){let f=!o&&sv(n),p=!1;throw new y(405,p)}let a;o?a=n:a=this._injector.get(li).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=LM(a)?void 0:this._injector.get(kn),c=i||a.selector,u=a.create(Qe.NULL,[],c,l),d=u.location.nativeElement,h=u.injector.get(sf,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ha(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new y(101,!1);let i=Z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Z(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Rn,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;ooo(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>oo(l))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ha(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(cf,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ha(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ha(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function BM(t,e,r,n){if(!r&&!oo(t))return;Zy(t,e,r&&!n?0:1)}var ad=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ll=(()=>{let e=class e{compileModuleSync(n){return new Pa(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=av(n),s=by(o.declarations).reduce((a,l)=>{let c=On(l);return c&&a.push(new ci(c)),a},[]);return new ad(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$M=new M("");function UM(t,e,r){let n=new Pa(r);return Promise.resolve(n)}function Vg(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var HM=(()=>{let e=class e{constructor(){this.zone=_(Y),this.changeDetectionScheduler=_(ai),this.applicationRef=_(vr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zM({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new Y(__()),[{provide:Y,useFactory:t},{provide:ri,multi:!0,useFactory:()=>{let r=_(HM,{optional:!0});return()=>r.initialize()}},{provide:ri,multi:!0,useFactory:()=>{let r=_(qM);return()=>{r.initialize()}}},{provide:Xv,useFactory:GM},e===!0?{provide:t_,useValue:!0}:[]]}function GM(){let t=_(Y),e=_(Wt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function __(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var qM=(()=>{let e=class e{constructor(){this.subscription=new ue,this.initialized=!1,this.zone=_(Y),this.pendingTasks=_(hi)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var WM=(()=>{let e=class e{constructor(){this.appRef=_(vr),this.taskService=_(hi),this.ngZone=_(Y),this.zonelessEnabled=_(e_),this.disableScheduling=_(t_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ue,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 Aa||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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 i=this.useMicrotaskScheduler?xg:n_;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Y.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function KM(){return typeof $localize<"u"&&$localize.locale||La}var cl=new M("",{providedIn:"root",factory:()=>_(cl,j.Optional|j.SkipSelf)||KM()});var b_=new M(""),D_=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=lS(i?.ngZone,__({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=i?.ignoreChangesOutsideZone,a=HS(n.moduleType,this.injector,[...zM({ngZoneFactory:()=>o,ignoreChangesOutsideZone:s}),{provide:ai,useExisting:WM}]),l=a.injector.get(Wt,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ha(this._modules,a),c.unsubscribe()})}),jM(l,o,()=>{let c=a.injector.get(v_);return c.runInitializers(),c.donePromise.then(()=>{let u=a.injector.get(cl,La);return EM(u||La),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,i=[]){let o=y_({},i);return UM(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(vr);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new y(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(b_,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(C(Qe))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),eo=null,w_=new M("");function QM(t){if(eo&&!eo.get(w_,!1))throw new y(400,!1);FM(),eo=t;let e=t.get(D_);return JM(t),e}function uf(t,e,r=[]){let n=`Platform: ${e}`,i=new M(n);return(o=[])=>{let s=E_();if(!s||s.injector.get(w_,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):QM(ZM(a,n))}return YM(i)}}function ZM(t=[],e){return Qe.create({name:e,providers:[{provide:Ua,useValue:"platform"},{provide:b_,useValue:new Set([()=>eo=null])},...t]})}function YM(t){let e=E_();if(!e)throw new y(401,!1);return e}function E_(){return eo?.get(D_)??null}function JM(t){t.get(Vd,null)?.forEach(r=>r())}var hn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=XM;let t=e;return t})();function XM(t){return ex(Ye(),X(),(t&16)===16)}function ex(t,e,r){if(za(t)&&!r){let n=Fn(t.index,e);return new ur(n,n)}else if(t.type&175){let n=e[Gt];return new ur(n,e)}return null}var ld=class{constructor(){}supports(e){return c_(e)}create(e){return new cd(e)}},tx=(t,e)=>e,cd=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||tx}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new ud(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Va),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Va),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ud=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},dd=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Va=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new dd,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jg(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new pd(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},pd=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Bg(){return new df([new ld])}var df=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Bg()),deps:[[e,new $a,new uo]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new y(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:Bg});let t=e;return t})();function $g(){return new ff([new fd])}var ff=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||$g()),deps:[[e,new $a,new uo]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new y(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:$g});let t=e;return t})();var C_=uf(null,"core",[]),I_=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(C(vr))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();var S_=new M("");function Vn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ul(t){let e=Z(null);try{return t()}finally{Z(e)}}function M_(t){let e=On(t);if(!e)return null;let r=new ci(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var k_=null;function yr(){return k_}function P_(t){k_??=t}var dl=class{};var be=new M(""),Df=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_(nx),providedIn:"platform"});let t=e;return t})(),F_=new M(""),nx=(()=>{let e=class e extends Df{constructor(){super(),this._doc=_(be),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yr().getBaseHref(this._doc)}onPopState(n){let i=yr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=yr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function wf(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function x_(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function pn(t){return t&&t[0]!=="?"?"?"+t:t}var mn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_(Ef),providedIn:"root"});let t=e;return t})(),L_=new M(""),Ef=(()=>{let e=class e extends mn{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??_(be).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return wf(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+pn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+pn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+pn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(Df),C(L_,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),V_=(()=>{let e=class e extends mn{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=wf(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+pn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+pn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(Df),C(L_,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),_i=(()=>{let e=class e{constructor(n){this._subject=new we,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=ox(x_(T_(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+pn(i))}normalize(n){return e.stripTrailingSlash(ix(this._basePath,T_(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=pn,e.joinWithSlash=wf,e.stripTrailingSlash=x_,e.\u0275fac=function(i){return new(i||e)(C(mn))},e.\u0275prov=D({token:e,factory:()=>rx(),providedIn:"root"});let t=e;return t})();function rx(){return new _i(C(mn))}function ix(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function T_(t){return t.replace(/\/index.html$/,"")}function ox(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function j_(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var pf=/\s+/,A_=[],pl=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=A_,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(pf):A_}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(pf):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(pf).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(A(he),A(pr))},e.\u0275dir=Le({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var mf=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},B_=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new mf(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),N_(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);N_(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(A(Zt),A(cn),A(df))},e.\u0275dir=Le({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function N_(t,e){t.context.$implicit=e.item}var bi=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new gf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){O_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){O_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(A(Zt),A(cn))},e.\u0275dir=Le({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),gf=class{constructor(){this.$implicit=null,this.ngIf=null}};function O_(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${We(e)}'.`)}function sx(t,e){return new y(2100,!1)}var vf=class{createSubscription(e,r){return ul(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){ul(()=>e.unsubscribe())}},yf=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},ax=new yf,lx=new vf,ml=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(gr(n))return ax;if(lf(n))return lx;throw sx(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(A(hn,16))},e.\u0275pipe=wd({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();function cx(t,e){return{key:t,value:e}}var $_=(()=>{let e=class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=R_}transform(n,i=R_){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(cx(a.key,a.currentValue))})),(o||s)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}};e.\u0275fac=function(i){return new(i||e)(A(ff,16))},e.\u0275pipe=wd({name:"keyvalue",type:e,pure:!1,standalone:!0});let t=e;return t})();function R_(t,e){let r=t.key,n=e.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})(),Cf="browser",ux="server";function If(t){return t===Cf}function Sf(t){return t===ux}var U_=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>If(_(Kt))?new _f(_(be),window):new bf});let t=e;return t})(),_f=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=dx(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function dx(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var bf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},fl=class{};var Tf=class extends dl{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Af=class t extends Tf{static makeCurrent(){P_(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=hx();return r==null?null:px(r)}resetBaseElement(){Co=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return j_(document.cookie,e)}},Co=null;function hx(){return Co=Co||document.querySelector("base"),Co?Co.getAttribute("href"):null}function px(t){return new URL(t,document.baseURI).pathname}var Nf=class{addToWindow(e){Fe.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new y(5103,!1);return o},Fe.getAllAngularTestabilities=()=>e.getAllTestabilities(),Fe.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Fe.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?yr().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},mx=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),gl=new M(""),G_=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new y(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(C(gl),C(Y))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Io=class{constructor(e){this._doc=e}},Mf="ng-app-id",q_=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Sf(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Mf}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Mf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Mf,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(C(be),C(mo),C(go,8),C(Kt))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),xf={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"},Rf=/%COMP%/g,W_="%COMP%",gx=`_nghost-${W_}`,vx=`_ngcontent-${W_}`,yx=!0,_x=new M("",{providedIn:"root",factory:()=>yx});function bx(t){return vx.replace(Rf,t)}function Dx(t){return gx.replace(Rf,t)}function K_(t,e){return e.map(r=>r.replace(Rf,t))}var vl=(()=>{let e=class e{constructor(n,i,o,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Sf(l),this.defaultRenderer=new So(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ht.ShadowDom&&(i=pe(w({},i),{encapsulation:Ht.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof yl?o.applyToHost(n):o instanceof Mo&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case Ht.Emulated:s=new yl(c,u,i,this.appId,d,a,l,h);break;case Ht.ShadowDom:return new Of(c,u,n,i,a,l,this.nonce,h);default:s=new Mo(c,u,i,d,a,l,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(C(G_),C(q_),C(mo),C(_x),C(be),C(Kt),C(Y),C(go))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),So=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(xf[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(H_(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(H_(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=xf[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=xf[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(ln.DashCase|ln.Important)?e.style.setProperty(r,n,i&ln.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ln.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=yr().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function H_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Of=class extends So{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=K_(i.id,i.styles);for(let u of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Mo=class extends So{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?K_(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},yl=class extends Mo{constructor(e,r,n,i,o,s,a,l){let c=i+"-"+n.id;super(e,r,n,o,s,a,l,c),this.contentAttr=bx(c),this.hostAttr=Dx(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},wx=(()=>{let e=class e extends Io{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Ex=(()=>{let e=class e extends Io{constructor(n){super(n),this.delegate=_(S_,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,i,o){return this.delegate.addEventListener(n,i,o)}removeEventListener(n,i,o){return this.delegate.removeEventListener(n,i,o)}};e.\u0275fac=function(i){return new(i||e)(C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),z_=["alt","control","meta","shift"],Cx={"\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"},Ix={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Sx=(()=>{let e=class e extends Io{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yr().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),z_.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=Cx[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),z_.forEach(a=>{if(a!==o){let l=Ix[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function Mx(){Af.makeCurrent()}function xx(){return new Wt}function Tx(){return oy(document),document}var Ax=[{provide:Kt,useValue:Cf},{provide:Vd,useValue:Mx,multi:!0},{provide:be,useFactory:Tx,deps:[]}],Q_=uf(C_,"browser",Ax),Nx=new M(""),Ox=[{provide:Eo,useClass:Nf,deps:[]},{provide:sf,useClass:ol,deps:[Y,sl,Eo]},{provide:ol,useClass:ol,deps:[Y,sl,Eo]}],Rx=[{provide:Ua,useValue:"root"},{provide:Wt,useFactory:xx,deps:[]},{provide:gl,useClass:wx,multi:!0,deps:[be,Y,Kt]},{provide:gl,useClass:Sx,multi:!0,deps:[be]},{provide:gl,useClass:Ex,multi:!0},vl,q_,G_,{provide:Rn,useExisting:vl},{provide:fl,useClass:mx,deps:[]},[]],_l=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:mo,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(C(Nx,12))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({providers:[...Rx,...Ox],imports:[Di,I_]});let t=e;return t})();var Z_=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var kf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=C(kx),o},providedIn:"root"});let t=e;return t})(),kx=(()=>{let e=class e extends kf{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case vt.NONE:return i;case vt.HTML:return Ln(i,"HTML")?Qt(i):vy(this._doc,String(i)).toString();case vt.STYLE:return Ln(i,"Style")?Qt(i):i;case vt.SCRIPT:if(Ln(i,"Script"))return Qt(i);throw new y(5200,!1);case vt.URL:return Ln(i,"URL")?Qt(i):Qa(String(i));case vt.RESOURCE_URL:if(Ln(i,"ResourceURL"))return Qt(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return ay(n)}bypassSecurityTrustStyle(n){return ly(n)}bypassSecurityTrustScript(n){return cy(n)}bypassSecurityTrustUrl(n){return uy(n)}bypassSecurityTrustResourceUrl(n){return dy(n)}};e.\u0275fac=function(i){return new(i||e)(C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var U=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(U||{}),Jt="*";function Y_(t,e=null){return{type:U.Sequence,steps:t,options:e}}function Ff(t){return{type:U.Style,styles:t,offset:null}}var jn=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},xo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},bl="!";function J_(t){return new y(3e3,!1)}function Px(){return new y(3100,!1)}function Fx(){return new y(3101,!1)}function Lx(t){return new y(3001,!1)}function Vx(t){return new y(3003,!1)}function jx(t){return new y(3004,!1)}function Bx(t,e){return new y(3005,!1)}function $x(){return new y(3006,!1)}function Ux(){return new y(3007,!1)}function Hx(t,e){return new y(3008,!1)}function zx(t){return new y(3002,!1)}function Gx(t,e,r,n,i){return new y(3010,!1)}function qx(){return new y(3011,!1)}function Wx(){return new y(3012,!1)}function Kx(){return new y(3200,!1)}function Qx(){return new y(3202,!1)}function Zx(){return new y(3013,!1)}function Yx(t){return new y(3014,!1)}function Jx(t){return new y(3015,!1)}function Xx(t){return new y(3016,!1)}function eT(t,e){return new y(3404,!1)}function tT(t){return new y(3502,!1)}function nT(t){return new y(3503,!1)}function rT(){return new y(3300,!1)}function iT(t){return new y(3504,!1)}function oT(t){return new y(3301,!1)}function sT(t,e){return new y(3302,!1)}function aT(t){return new y(3303,!1)}function lT(t,e){return new y(3400,!1)}function cT(t){return new y(3401,!1)}function uT(t){return new y(3402,!1)}function dT(t,e){return new y(3505,!1)}function Bn(t){switch(t.length){case 0:return new jn;case 1:return t[0];default:return new xo(t)}}function fb(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let p=f,v=h;if(f!=="offset")switch(p=t.normalizePropertyName(p,i),v){case bl:v=r.get(f);break;case Jt:v=n.get(f);break;default:v=t.normalizeStyleValue(f,p,v,i);break}d.set(p,v)}),u||o.push(d),a=d,s=c}),i.length)throw tT(i);return o}function oh(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&Lf(r,"start",t)));break;case"done":t.onDone(()=>n(r&&Lf(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&Lf(r,"destroy",t)));break}}function Lf(t,e,r){let n=r.totalTime,i=!!r.disabled,o=sh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function sh(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function lt(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function X_(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var fT=typeof document>"u"?null:document.documentElement;function ah(t){let e=t.parentNode||t.host||null;return e===fT?null:e}function hT(t){return t.substring(1,6)=="ebkit"}var br=null,eb=!1;function pT(t){br||(br=mT()||{},eb=br.style?"WebkitAppearance"in br.style:!1);let e=!0;return br.style&&!hT(t)&&(e=t in br.style,!e&&eb&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in br.style)),e}function mT(){return typeof document<"u"?document.body:null}function hb(t,e){for(;e;){if(e===t)return!0;e=ah(e)}return!1}function pb(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var lh=(()=>{let e=class e{validateStyleProperty(n){return pT(n)}containsElement(n,i){return hb(n,i)}getParentElement(n){return ah(n)}query(n,i,o){return pb(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,l=[],c){return new jn(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),fh=class fh{};fh.NOOP=new lh;var Er=fh,Cr=class{};var gT=1e3,mb="{{",vT="}}",gb="ng-enter",Hf="ng-leave",Dl="ng-trigger",Sl=".ng-trigger",tb="ng-animating",zf=".ng-animating";function gn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Gf(parseFloat(e[1]),e[2])}function Gf(t,e){switch(e){case"s":return t*gT;default:return t}}function Ml(t,e,r){return t.hasOwnProperty("duration")?t:yT(t,e,r)}function yT(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(J_(t)),{duration:0,delay:0,easing:""};i=Gf(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Gf(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=t;if(!r){let a=!1,l=e.length;i<0&&(e.push(Px()),a=!0),o<0&&(e.push(Fx()),a=!0),a&&e.splice(l,0,J_(t))}return{duration:i,delay:o,easing:s}}function _T(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Xt(t,e,r){e.forEach((n,i)=>{let o=ch(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function wr(t,e){e.forEach((r,n)=>{let i=ch(n);t.style[i]=""})}function To(t){return Array.isArray(t)?t.length==1?t[0]:Y_(t):t}function bT(t,e,r){let n=e.params||{},i=vb(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(Lx(o))})}var qf=new RegExp(`${mb}\\s*(.+?)\\s*${vT}`,"g");function vb(t){let e=[];if(typeof t=="string"){let r;for(;r=qf.exec(t);)e.push(r[1]);qf.lastIndex=0}return e}function No(t,e,r){let n=`${t}`,i=n.replace(qf,(o,s)=>{let a=e[s];return a==null&&(r.push(Vx(s)),a=""),a.toString()});return i==n?t:i}var DT=/-+([a-z0-9])/g;function ch(t){return t.replace(DT,(...e)=>e[1].toUpperCase())}function wT(t,e){return t===0||e===0}function ET(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;os.set(a,uh(t,a)))}}return e}function at(t,e,r){switch(e.type){case U.Trigger:return t.visitTrigger(e,r);case U.State:return t.visitState(e,r);case U.Transition:return t.visitTransition(e,r);case U.Sequence:return t.visitSequence(e,r);case U.Group:return t.visitGroup(e,r);case U.Animate:return t.visitAnimate(e,r);case U.Keyframes:return t.visitKeyframes(e,r);case U.Style:return t.visitStyle(e,r);case U.Reference:return t.visitReference(e,r);case U.AnimateChild:return t.visitAnimateChild(e,r);case U.AnimateRef:return t.visitAnimateRef(e,r);case U.Query:return t.visitQuery(e,r);case U.Stagger:return t.visitStagger(e,r);default:throw jx(e.type)}}function uh(t,e){return window.getComputedStyle(t)[e]}var CT=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),xl=class extends Cr{normalizePropertyName(e,r){return ch(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(CT.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Bx(e,n))}return s+o}};var Tl="*";function IT(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>ST(n,r,e)):r.push(t),r}function ST(t,e,r){if(t[0]==":"){let l=MT(t,r);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(Jx(t)),e;let i=n[1],o=n[2],s=n[3];e.push(nb(i,s));let a=i==Tl&&s==Tl;o[0]=="<"&&!a&&e.push(nb(s,i))}function MT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n) *"}}var wl=new Set(["true","1"]),El=new Set(["false","0"]);function nb(t,e){let r=wl.has(t)||El.has(t),n=wl.has(e)||El.has(e);return(i,o)=>{let s=t==Tl||t==i,a=e==Tl||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?wl.has(t):El.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?wl.has(e):El.has(e)),s&&a}}var yb=":self",xT=new RegExp(`s*${yb}s*,?`,"g");function _b(t,e,r,n){return new Wf(t).build(e,r,n)}var rb="",Wf=class{constructor(e){this._driver=e}build(e,r,n){let i=new Kf(r);return this._resetContextStyleTimingState(i),at(this,To(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rb,e.collectedStyles=new Map,e.collectedStyles.set(rb,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push($x()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==U.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,r))}),l.name=c}else if(a.type==U.Transition){let l=this.visitTransition(a,r);n+=l.queryCount,i+=l.depCount,s.push(l)}else r.errors.push(Ux())}),{type:U.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{vb(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&r.errors.push(Hx(e.name,[...o.values()]))}return{type:U.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=at(this,To(e.animation),r),i=IT(e.expr,r.errors);return{type:U.Transition,matchers:i,animation:n,queryCount:r.queryCount,depCount:r.depCount,options:Dr(e.options)}}visitSequence(e,r){return{type:U.Sequence,steps:e.steps.map(n=>at(this,n,r)),options:Dr(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=at(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:U.Group,steps:o,options:Dr(e.options)}}visitAnimate(e,r){let n=OT(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:Ff({});if(o.type==U.Keyframes)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=Ff(c)}r.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,r);l.isEmptyStep=a,i=l}return r.currentAnimateTimings=null,{type:U.Animate,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Jt?n.push(a):r.errors.push(zx(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(mb)>=0){o=!0;break}}}),{type:U.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=r.collectedStyles.get(r.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(r.errors.push(Gx(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),r.options&&bT(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:U.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(qx()),n;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(O=>{let K=this._makeStyleAst(O,r),B=K.offset!=null?K.offset:NT(K.styles),se=0;return B!=null&&(o++,se=K.offset=B),l=l||se<0||se>1,a=a||se0&&o{let B=h>0?K==f?1:h*K:s[K],se=B*S;r.currentTime=p+v.delay+se,v.duration=se,this._validateStyleAst(O,r),O.offset=B,n.styles.push(O)}),n}visitReference(e,r){return{type:U.Reference,animation:at(this,To(e.animation),r),options:Dr(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:U.AnimateChild,options:Dr(e.options)}}visitAnimateRef(e,r){return{type:U.AnimateRef,animation:this.visitReference(e.animation,r),options:Dr(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=TT(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,lt(r.collectedStyles,r.currentQuerySelector,new Map);let a=at(this,To(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:U.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Dr(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(Zx());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ml(e.timings,r.errors,!0);return{type:U.Stagger,animation:at(this,To(e.animation),r),timings:n,options:null}}};function TT(t){let e=!!t.split(/\s*,\s*/).find(r=>r==yb);return e&&(t=t.replace(xT,"")),t=t.replace(/@\*/g,Sl).replace(/@\w+/g,r=>Sl+"-"+r.slice(1)).replace(/:animating/g,zf),[t,e]}function AT(t){return t?w({},t):null}var Kf=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function NT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function OT(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Ml(t,e).duration;return Vf(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Vf(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=Ml(r,e);return Vf(i.duration,i.delay,i.easing)}function Dr(t){return t?(t=w({},t),t.params&&(t.params=AT(t.params))):t={},t}function Vf(t,e,r){return{duration:t,delay:e,easing:r}}function dh(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Oo=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},RT=1,kT=":enter",PT=new RegExp(kT,"g"),FT=":leave",LT=new RegExp(FT,"g");function bb(t,e,r,n,i,o=new Map,s=new Map,a,l,c=[]){return new Qf().buildKeyframes(t,e,r,n,i,o,s,a,l,c)}var Qf=class{buildKeyframes(e,r,n,i,o,s,a,l,c,u=[]){c=c||new Oo;let d=new Zf(e,r,c,i,o,u,[]);d.options=l;let h=l.delay?gn(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),at(this,n,d);let f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let v=f.length-1;v>=0;v--){let S=f[v];if(S.element===r){p=S;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[dh(r,[],[],[],0,h,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:gn(No(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?gn(n.duration):null,a=n.delay!=null?gn(n.delay):null;return s!==0&&e.forEach(l=>{let c=r.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),at(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==U.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Al);let s=gn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>at(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?gn(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),at(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?No(n,r.params,r.errors):n;return Ml(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==U.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?gn(i.delay):0;o&&(r.previousNode.type===U.Style||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Al);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{r.currentQueryIndex=u;let d=r.createSubContext(e.options,c);o&&d.delayNextStep(o),c===r.element&&(l=d.currentTimeline),at(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),l&&(r.currentTimeline.mergeTimelineCollectedStyles(l),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),l=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let u=r.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;at(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},Al={},Zf=class t{constructor(e,r,n,i,o,s,a,l){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Al,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Nl(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=gn(n.duration)),n.delay!=null&&(i.delay=gn(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=No(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Al,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Yf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(PT,"."+this._enterClassName),e=e.replace(LT,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(Yx(r)),a}},Nl=class t{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new t(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=RT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Jt),this._currentKeyframe.set(r,Jt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=VT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=No(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Jt),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===bl?e.add(d):u===Jt&&r.add(d)}),n||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...r.values()];if(n){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return dh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Yf=class extends Nl{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",ib(a)),o.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),f=h.get("offset"),p=r+f*n;h.set("offset",ib(p/s)),o.push(h)}n=s,r=0,i="",e=o}return dh(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function ib(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function VT(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n??=e.keys();for(let o of n)r.set(o,Jt)}else for(let[o,s]of i)r.set(o,s)}),r}function ob(t,e,r,n,i,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var jf={},Ol=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return jT(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||jf,f=a&&a.params||jf,p=this.buildStyles(n,f,d),v=l&&l.params||jf,S=this.buildStyles(i,v,d),O=new Set,K=new Map,B=new Map,se=i==="void",tt={params:Db(v,h),delay:this.ast.options?.delay},ge=u?[]:bb(e,r,this.ast.animation,o,s,p,S,tt,c,d),ve=0;return ge.forEach(Ce=>{ve=Math.max(Ce.duration+Ce.delay,ve)}),d.length?ob(r,this._triggerName,n,i,se,p,S,[],[],K,B,ve,d):(ge.forEach(Ce=>{let rn=Ce.element,Dn=lt(K,rn,new Set);Ce.preStyleProps.forEach(Kn=>Dn.add(Kn));let dm=lt(B,rn,new Set);Ce.postStyleProps.forEach(Kn=>dm.add(Kn)),rn!==r&&O.add(rn)}),ob(r,this._triggerName,n,i,se,p,S,ge,[...O.values()],K,B,ve))}};function jT(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function Db(t,e){let r=w({},e);return Object.entries(t).forEach(([n,i])=>{i!=null&&(r[n]=i)}),r}var Jf=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=Db(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=No(s,i,r));let l=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,l,s,r),n.set(a,s)})}),n}};function BT(t,e,r){return new Xf(t,e,r)}var Xf=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Jf(i.style,o,n))}),sb(this.states,"true","1"),sb(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new Ol(e,i,this.states))}),this.fallbackTransition=$T(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function $T(t,e,r){let n=[(s,a)=>!0],i={type:U.Sequence,steps:[],options:null},o={type:U.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new Ol(t,o,e)}function sb(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var UT=new Oo,eh=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=_b(this._driver,r,n,i);if(n.length)throw nT(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=fb(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=bb(this._driver,r,o,gb,Hf,new Map,new Map,n,UT,i),s.forEach(u=>{let d=lt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(rT()),s=[]),i.length)throw iT(i);a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,Jt))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Bn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw oT(e);return r}listen(e,r,n,i){let o=sh(r,"","","");return oh(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},ab="ng-animate-queued",HT=".ng-animate-queued",Bf="ng-animate-disabled",zT=".ng-animate-disabled",GT="ng-star-inserted",qT=".ng-star-inserted",WT=[],wb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},KT={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ot="__ng_removed",Ro=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=ZT(i),n){let o=e,{value:s}=o,a=_m(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},Ao="void",$f=new Ro(Ao),th=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,_t(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw sT(n,r);if(n==null||n.length==0)throw aT(r);if(!YT(n))throw lT(n,r);let o=lt(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=lt(this._engine.statesByElement,e,new Map);return a.has(r)||(_t(e,Dl),_t(e,Dl+"-"+r),a.set(r,$f)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw cT(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new ko(this.id,r,e),a=this._engine.statesByElement.get(e);a||(_t(e,Dl),_t(e,Dl+"-"+r),this._engine.statesByElement.set(e,a=new Map));let l=a.get(r),c=new Ro(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(r,c),l||(l=$f),!(c.value===Ao)&&l.value===c.value){if(!eA(l.params,c.params)){let v=[],S=o.matchStyles(l.value,l.params,v),O=o.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{wr(e,S),Xt(e,O)})}return}let h=lt(this._engine.playersByElement,e,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==r&&v.queued&&v.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(_t(e,ab),s.onStart(()=>{wi(e,ab)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let S=this._engine.playersByElement.get(e);if(S){let O=S.indexOf(s);O>=0&&S.splice(O,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,Sl,!0);n.forEach(i=>{if(i[Ot])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Ao,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&Bn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||$f,u=new Ro(Ao),d=new ko(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[Ot];(!o||o===wb)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){_t(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=sh(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,oh(n.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},nh=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new th(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let l=i.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(Cl(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!Cl(r))return;let o=r[Ot];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),_t(e,Bf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),wi(e,Bf))}removeNode(e,r,n){if(Cl(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[Ot]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return Cl(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,Sl,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,zf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Bn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[Ot];if(r&&r.setForRemoval){if(e[Ot]=wb,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(Bf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,zT,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Bn(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw uT(e)}_flushAnimations(e,r){let n=new Oo,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(I=>{u.add(I);let x=this.driver.query(I,HT,!0);for(let N=0;N{let N=gb+v++;p.set(x,N),I.forEach(Q=>_t(Q,N))});let S=[],O=new Set,K=new Set;for(let I=0;IO.add(Q)):K.add(x))}let B=new Map,se=ub(h,Array.from(O));se.forEach((I,x)=>{let N=Hf+v++;B.set(x,N),I.forEach(Q=>_t(Q,N))}),e.push(()=>{f.forEach((I,x)=>{let N=p.get(x);I.forEach(Q=>wi(Q,N))}),se.forEach((I,x)=>{let N=B.get(x);I.forEach(Q=>wi(Q,N))}),S.forEach(I=>{this.processLeaveNode(I)})});let tt=[],ge=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(r).forEach(N=>{let Q=N.player,Ie=N.element;if(tt.push(Q),this.collectedEnterElements.length){let Re=Ie[Ot];if(Re&&Re.setForMove){if(Re.previousTriggersValues&&Re.previousTriggersValues.has(N.triggerName)){let Qn=Re.previousTriggersValues.get(N.triggerName),ft=this.statesByElement.get(N.element);if(ft&&ft.has(N.triggerName)){let Os=ft.get(N.triggerName);Os.value=Qn,ft.set(N.triggerName,Os)}}Q.destroy();return}}let jt=!d||!this.driver.containsElement(d,Ie),nt=B.get(Ie),wn=p.get(Ie),me=this._buildInstruction(N,n,wn,nt,jt);if(me.errors&&me.errors.length){ge.push(me);return}if(jt){Q.onStart(()=>wr(Ie,me.fromStyles)),Q.onDestroy(()=>Xt(Ie,me.toStyles)),i.push(Q);return}if(N.isFallbackTransition){Q.onStart(()=>wr(Ie,me.fromStyles)),Q.onDestroy(()=>Xt(Ie,me.toStyles)),i.push(Q);return}let pm=[];me.timelines.forEach(Re=>{Re.stretchStartingKeyframe=!0,this.disabledNodes.has(Re.element)||pm.push(Re)}),me.timelines=pm,n.append(Ie,me.timelines);let Bw={instruction:me,player:Q,element:Ie};s.push(Bw),me.queriedElements.forEach(Re=>lt(a,Re,[]).push(Q)),me.preStyleProps.forEach((Re,Qn)=>{if(Re.size){let ft=l.get(Qn);ft||l.set(Qn,ft=new Set),Re.forEach((Os,Tc)=>ft.add(Tc))}}),me.postStyleProps.forEach((Re,Qn)=>{let ft=c.get(Qn);ft||c.set(Qn,ft=new Set),Re.forEach((Os,Tc)=>ft.add(Tc))})});if(ge.length){let I=[];ge.forEach(x=>{I.push(dT(x.triggerName,x.errors))}),tt.forEach(x=>x.destroy()),this.reportError(I)}let ve=new Map,Ce=new Map;s.forEach(I=>{let x=I.element;n.has(x)&&(Ce.set(x,x),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,ve))}),i.forEach(I=>{let x=I.element;this._getPreviousPlayers(x,!1,I.namespaceId,I.triggerName,null).forEach(Q=>{lt(ve,x,[]).push(Q),Q.destroy()})});let rn=S.filter(I=>db(I,l,c)),Dn=new Map;cb(Dn,this.driver,K,c,Jt).forEach(I=>{db(I,l,c)&&rn.push(I)});let Kn=new Map;f.forEach((I,x)=>{cb(Kn,this.driver,new Set(I),l,bl)}),rn.forEach(I=>{let x=Dn.get(I),N=Kn.get(I);Dn.set(I,new Map([...x?.entries()??[],...N?.entries()??[]]))});let xc=[],fm=[],hm={};s.forEach(I=>{let{element:x,player:N,instruction:Q}=I;if(n.has(x)){if(u.has(x)){N.onDestroy(()=>Xt(x,Q.toStyles)),N.disabled=!0,N.overrideTotalTime(Q.totalTime),i.push(N);return}let Ie=hm;if(Ce.size>1){let nt=x,wn=[];for(;nt=nt.parentNode;){let me=Ce.get(nt);if(me){Ie=me;break}wn.push(nt)}wn.forEach(me=>Ce.set(me,Ie))}let jt=this._buildAnimation(N.namespaceId,Q,ve,o,Kn,Dn);if(N.setRealPlayer(jt),Ie===hm)xc.push(N);else{let nt=this.playersByElement.get(Ie);nt&&nt.length&&(N.parentPlayer=Bn(nt)),i.push(N)}}else wr(x,Q.fromStyles),N.onDestroy(()=>Xt(x,Q.toStyles)),fm.push(N),u.has(x)&&i.push(N)}),fm.forEach(I=>{let x=o.get(I.element);if(x&&x.length){let N=Bn(x);I.setRealPlayer(N)}}),i.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I!jt.destroyed);Ie.length?JT(this,x,Ie):this.processLeaveNode(x)}return S.length=0,xc.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let x=this.players.indexOf(I);this.players.splice(x,1)}),I.play()}),xc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==Ao;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let l of r.timelines){let c=l.element,u=c!==o,d=lt(n,c,[]);this._getPreviousPlayers(c,u,s,a,r.toState).forEach(f=>{let p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}wr(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,l=r.element,c=[],u=new Set,d=new Set,h=r.timelines.map(p=>{let v=p.element;u.add(v);let S=v[Ot];if(S&&S.removedBeforeQueried)return new jn(p.duration,p.delay);let O=v!==l,K=XT((n.get(v)||WT).map(ve=>ve.getRealPlayer())).filter(ve=>{let Ce=ve;return Ce.element?Ce.element===v:!1}),B=o.get(v),se=s.get(v),tt=fb(this._normalizer,p.keyframes,B,se),ge=this._buildPlayer(p,tt,K);if(p.subTimeline&&i&&d.add(v),O){let ve=new ko(e,a,v);ve.setRealPlayer(ge),c.push(ve)}return ge});c.forEach(p=>{lt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>QT(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>_t(p,tb));let f=Bn(h);return f.onDestroy(()=>{u.forEach(p=>wi(p,tb)),Xt(l,r.toStyles)}),d.forEach(p=>{lt(i,p,[]).push(f)}),f}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new jn(e.duration,e.delay)}},ko=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new jn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,n)=>{r.forEach(i=>oh(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){lt(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function QT(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function ZT(t){return t??null}function Cl(t){return t&&t.nodeType===1}function YT(t){return t=="start"||t=="done"}function lb(t,e){let r=t.style.display;return t.style.display=e??"none",r}function cb(t,e,r,n,i){let o=[];r.forEach(l=>o.push(lb(l)));let s=[];n.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=e.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[Ot]=KT,s.push(c))}),t.set(c,u)});let a=0;return r.forEach(l=>lb(l,o[a++])),s}function ub(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return r.has(c)?l=c:i.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&r.get(l).push(a)}),r}function _t(t,e){t.classList?.add(e)}function wi(t,e){t.classList?.remove(e)}function JT(t,e,r){Bn(r).onDone(()=>t.processLeaveNode(e))}function XT(t){let e=[];return Eb(t,e),e}function Eb(t,e){for(let r=0;ri.add(o)):e.set(t,n),r.delete(t),!0}var Ci=class{constructor(e,r,n){this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new nh(e.body,r,n),this._timelineEngine=new eh(e.body,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=_b(this._driver,o,l,c);if(l.length)throw eT(i,l);c.length&&void 0,a=BT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=X_(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=X_(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function tA(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=Uf(e[0]),e.length>1&&(n=Uf(e[e.length-1]))):e instanceof Map&&(r=Uf(e)),r||n?new rh(t,r,n):null}var Ei=class Ei{constructor(e,r,n){this._element=e,this._startStyles=r,this._endStyles=n,this._state=0;let i=Ei.initialStylesByElement.get(e);i||Ei.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xt(this._element,this._initialStyles),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ei.initialStylesByElement.delete(this._element),this._startStyles&&(wr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wr(this._element,this._endStyles),this._endStyles=null),Xt(this._element,this._initialStyles),this._state=3)}};Ei.initialStylesByElement=new WeakMap;var rh=Ei;function Uf(t){let e=null;return t.forEach((r,n)=>{nA(n)&&(e=e||new Map,e.set(n,r))}),e}function nA(t){return t==="display"||t==="position"}var Rl=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();this.domPlayer.addEventListener("finish",r),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",r)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:uh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},kl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return hb(e,r)}getParentElement(e){return ah(e)}query(e,r,n){return pb(e,r,n)}computeStyle(e,r,n){return uh(e,r)}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:n,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(f=>f instanceof Rl);wT(n,i)&&u.forEach(f=>{f.currentSnapshot.forEach((p,v)=>c.set(v,p))});let d=_T(r).map(f=>new Map(f));d=ET(e,d,c);let h=tA(e,d);return new Rl(e,d,l,h)}};var Il="@",Cb="@.disabled",Pl=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==Il&&r==Cb?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},ih=class extends Pl{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==Il?r.charAt(1)=="."&&r==Cb?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==Il){let i=rA(e),o=r.slice(1),s="";return o.charAt(0)!=Il&&([o,s]=iA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,r,n)}};function rA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function iA(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var Fl=class{constructor(e,r,n){this.delegate=e,this.engine=r,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(i,o)=>{let s=o?.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,r){let n="",i=this.delegate.createRenderer(e,r);if(!e||!r?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new Pl(n,i,this.engine,d),c.set(i,u)}return u}let o=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return r.data.animation.forEach(a),new ih(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,n){if(e>=0&&er(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([r,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var sA=(()=>{let e=class e extends Ci{constructor(n,i,o){super(n,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(C(be),C(Er),C(Cr))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function aA(){return new xl}function lA(t,e,r){return new Fl(t,e,r)}var Sb=[{provide:Cr,useFactory:aA},{provide:Ci,useClass:sA},{provide:Rn,useFactory:lA,deps:[vl,Ci,Y]}],Ib=[{provide:Er,useFactory:()=>new kl},{provide:Wa,useValue:"BrowserAnimations"},...Sb],cA=[{provide:Er,useClass:lh},{provide:Wa,useValue:"NoopAnimations"},...Sb],Mb=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?cA:Ib}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({providers:Ib,imports:[_l]});let t=e;return t})();var hh;try{hh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{hh=!1}var Fo=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?If(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||hh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(C(Kt))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Po;function uA(){if(Po==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Po=!0}))}finally{Po=Po||!1}return Po}function ph(t){return uA()?t:!!t.capture}function xb(t){return t.composedPath?t.composedPath()[0]:t.target}function Tb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function mh(t){return Array.isArray(t)?t:[t]}function gh(t){return t instanceof he?t.nativeElement:t}var Nb=new Set,Ir,dA=(()=>{let e=class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hA}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&fA(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(i){return new(i||e)(C(Fo),C(go,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function fA(t,e){if(!Nb.has(t))try{Ir||(Ir=document.createElement("style"),e&&Ir.setAttribute("nonce",e),Ir.setAttribute("type","text/css"),document.head.appendChild(Ir)),Ir.sheet&&(Ir.sheet.insertRule(`@media ${t} {body{ }}`,0),Nb.add(t))}catch(r){console.error(r)}}function hA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Rb=(()=>{let e=class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new Se}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Ob(mh(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=Ob(mh(n)).map(a=>this._registerQuery(a).observable),s=er(o);return s=In(s.pipe(Ct(1)),s.pipe(tu(1),Yc(0))),s.pipe($(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new W(a=>{let l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Yi(i),$(({matches:a})=>({query:n,matches:a})),Ji(this._destroySubject)),mql:i};return this._queries.set(n,s),s}};e.\u0275fac=function(i){return new(i||e)(C(dA),C(Y))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ob(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}function Fb(t){return t.buttons===0||t.detail===0}function Lb(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Sr=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Sr||{}),kb="cdk-high-contrast-black-on-white",Pb="cdk-high-contrast-white-on-black",vh="cdk-high-contrast-active",Vb=(()=>{let e=class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=_(Rb).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Sr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Sr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Sr.BLACK_ON_WHITE}return Sr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(vh,kb,Pb),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Sr.BLACK_ON_WHITE?n.add(vh,kb):i===Sr.WHITE_ON_BLACK&&n.add(vh,Pb)}}};e.\u0275fac=function(i){return new(i||e)(C(Fo),C(be))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();function vA(){return!0}var yA=new M("mat-sanity-checks",{providedIn:"root",factory:vA}),Dh=(()=>{let e=class e{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Tb()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(i){return new(i||e)(C(Vb),C(yA,8),C(be))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[yh,yh]});let t=e;return t})();var bt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(bt||{}),_h=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=bt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Bb=ph({passive:!0,capture:!0}),bh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=xb(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Bb)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Bb)))}},$b={enterDuration:225,exitDuration:150},_A=800,Ub=ph({passive:!0,capture:!0}),Hb=["mousedown","touchstart"],zb=["mouseup","mouseleave","touchend","touchcancel"],Lo=class Lo{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=gh(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},$b),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||bA(e,r,i),a=e-i.left,l=r-i.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${l-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),h=d.transitionProperty,f=d.transitionDuration,p=h==="none"||f==="0s"||f==="0s, 0s"||i.width===0&&i.height===0,v=new _h(this,u,n,p);u.style.transform="scale3d(1, 1, 1)",v.state=bt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=v);let S=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let O=()=>{S&&(S.fallbackTimer=null),clearTimeout(B),this._finishRippleTransition(v)},K=()=>this._destroyRipple(v),B=setTimeout(K,c+100);u.addEventListener("transitionend",O),u.addEventListener("transitioncancel",K),S={onTransitionEnd:O,onTransitionCancel:K,fallbackTimer:B}}),this._activeRipples.set(v,S),(p||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(e){if(e.state===bt.FADING_OUT||e.state===bt.HIDDEN)return;let r=e.element,n=w(w({},$b),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=bt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=gh(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Hb.forEach(n=>{Lo._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zb.forEach(r=>{this._triggerElement.addEventListener(r,this,Ub)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===bt.FADING_IN?this._startFadeOutTransition(e):e.state===bt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=bt.VISIBLE,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=bt.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=Fb(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===bt.VISIBLE||e.config.terminateOnPointerUp&&e.state===bt.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Hb.forEach(r=>Lo._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(zb.forEach(r=>e.removeEventListener(r,this,Ub)),this._pointerUpEventsRegistered=!1))}};Lo._eventManager=new bh;var Gb=Lo;function bA(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var Wb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[Dh,Dh]});let t=e;return t})();var F="primary",Yo=Symbol("RouteTitle"),Sh=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Ai(t){return new Sh(t)}function DA(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function oD(t){return t.length>0?t[t.length-1]:null}function Hn(t){return Zc(t)?t:gr(t)?ye(Promise.resolve(t)):T(t)}var EA={exact:aD,subset:lD},sD={exact:CA,subset:IA,ignored:()=>!0};function Kb(t,e,r){return EA[r.paths](t.root,e.root,r.matrixParams)&&sD[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function CA(t,e){return en(t,e)}function aD(t,e,r){if(!xr(t.segments,e.segments)||!jl(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!aD(t.children[n],e.children[n],r))return!1;return!0}function IA(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>iD(t[r],e[r]))}function lD(t,e,r){return cD(t,e,e.segments,r)}function cD(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!xr(i,r)||e.hasChildren()||!jl(i,r,n))}else if(t.segments.length===r.length){if(!xr(t.segments,r)||!jl(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!lD(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!xr(t.segments,i)||!jl(t.segments,i,n)||!t.children[F]?!1:cD(t.children[F],e,o,n)}}function jl(t,e,r){return e.every((n,i)=>sD[r](t[i].parameters,n.parameters))}var yn=class{constructor(e=new ee([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ai(this.queryParams),this._queryParamMap}toString(){return xA.serialize(this)}},ee=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bl(this)}},Mr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Ai(this.parameters),this._parameterMap}toString(){return dD(this)}};function SA(t,e){return xr(t,e)&&t.every((r,n)=>en(r.parameters,e[n].parameters))}function xr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function MA(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===F&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==F&&(r=r.concat(e(i,n)))}),r}var Jo=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>new Ni,providedIn:"root"});let t=e;return t})(),Ni=class{parse(e){let r=new Th(e);return new yn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Vo(e.root,!0)}`,n=NA(e.queryParams),i=typeof e.fragment=="string"?`#${TA(e.fragment)}`:"";return`${r}${n}${i}`}},xA=new Ni;function Bl(t){return t.segments.map(e=>dD(e)).join("/")}function Vo(t,e){if(!t.hasChildren())return Bl(t);if(e){let r=t.children[F]?Vo(t.children[F],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==F&&n.push(`${i}:${Vo(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=MA(t,(n,i)=>i===F?[Vo(t.children[F],!1)]:[`${i}:${Vo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[F]!=null?`${Bl(t)}/${r[0]}`:`${Bl(t)}/(${r.join("//")})`}}function uD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ll(t){return uD(t).replace(/%3B/gi,";")}function TA(t){return encodeURI(t)}function xh(t){return uD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $l(t){return decodeURIComponent(t)}function Qb(t){return $l(t.replace(/\+/g,"%20"))}function dD(t){return`${xh(t.path)}${AA(t.parameters)}`}function AA(t){return Object.entries(t).map(([e,r])=>`;${xh(e)}=${xh(r)}`).join("")}function NA(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Ll(r)}=${Ll(i)}`).join("&"):`${Ll(r)}=${Ll(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var OA=/^[^\/()?;#]+/;function wh(t){let e=t.match(OA);return e?e[0]:""}var RA=/^[^\/()?;=#]+/;function kA(t){let e=t.match(RA);return e?e[0]:""}var PA=/^[^=?&#]+/;function FA(t){let e=t.match(PA);return e?e[0]:""}var LA=/^[^&#]+/;function VA(t){let e=t.match(LA);return e?e[0]:""}var Th=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[F]=new ee(e,r)),n}parseSegment(){let e=wh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new Mr($l(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=kA(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=wh(this.remaining);i&&(n=i,this.capture(n))}e[$l(r)]=$l(n)}parseQueryParam(e){let r=FA(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=VA(this.remaining);s&&(n=s,this.capture(n))}let i=Qb(r),o=Qb(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=wh(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=F);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[F]:new ee([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function fD(t){return t.segments.length>0?new ee([],{[F]:t}):t}function hD(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=hD(i);if(n===F&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new ee(t.segments,e);return jA(r)}function jA(t){if(t.numberOfChildren===1&&t.children[F]){let e=t.children[F];return new ee(t.segments.concat(e.segments),e.children)}return t}function Tr(t){return t instanceof yn}function BA(t,e,r=null,n=null){let i=pD(t);return mD(i,e,r,n)}function pD(t){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new ee(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=fD(n);return e??i}function mD(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Eh(i,i,i,r,n);let o=$A(e);if(o.toRoot())return Eh(i,i,new ee([],{}),r,n);let s=UA(o,i,t),a=s.processChildren?$o(s.segmentGroup,s.index,o.commands):vD(s.segmentGroup,s.index,o.commands);return Eh(i,s.segmentGroup,a,r,n)}function Ul(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function zo(t){return typeof t=="object"&&t!=null&&t.outlets}function Eh(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=r:s=gD(t,e,r);let a=fD(hD(s));return new yn(a,o,i)}function gD(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=gD(o,e,r)}),new ee(t.segments,n)}var Hl=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ul(n[0]))throw new y(4003,!1);let i=n.find(zo);if(i&&i!==oD(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $A(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Hl(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Hl(r,e,n)}var Mi=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function UA(t,e,r){if(t.isAbsolute)return new Mi(e,!0,0);if(!r)return new Mi(e,!1,NaN);if(r.parent===null)return new Mi(r,!0,0);let n=Ul(t.commands[0])?0:1,i=r.segments.length-1+n;return HA(r,i,t.numberOfDoubleDots)}function HA(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new y(4005,!1);i=n.segments.length}return new Mi(n,!1,i-o)}function zA(t){return zo(t[0])?t[0].outlets:{[F]:t}}function vD(t,e,r){if(t??=new ee([],{}),t.segments.length===0&&t.hasChildren())return $o(t,e,r);let n=GA(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==F)&&t.children[F]&&t.numberOfChildren===1&&t.children[F].segments.length===0){let o=$o(t.children[F],e,r);return new ee(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=vD(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ee(t.segments,i)}}function GA(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(zo(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Yb(l,c,s))return o;n+=2}else{if(!Yb(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ah(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ah(new ee([],{}),0,n))}),e}function Zb(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Yb(t,e,r){return t==r.path&&en(e,r.parameters)}var Uo="imperative",Te=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Te||{}),Dt=class{constructor(e,r){this.id=e,this.url=r}},$n=class extends Dt{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Te.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},kt=class extends Dt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Te.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ut=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ut||{}),zl=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(zl||{}),vn=class extends Dt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Te.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Un=class extends Dt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Te.NavigationSkipped}},Go=class extends Dt{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Te.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Gl=class extends Dt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Te.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nh=class extends Dt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Te.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Oh=class extends Dt{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Te.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Rh=class extends Dt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Te.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kh=class extends Dt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Te.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ph=class{constructor(e){this.route=e,this.type=Te.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fh=class{constructor(e){this.route=e,this.type=Te.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Lh=class{constructor(e){this.snapshot=e,this.type=Te.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vh=class{constructor(e){this.snapshot=e,this.type=Te.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jh=class{constructor(e){this.snapshot=e,this.type=Te.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bh=class{constructor(e){this.snapshot=e,this.type=Te.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ql=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Te.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},qo=class{},Oi=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function WA(t,e){return t.providers&&!t._injector&&(t._injector=tl(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Rt(t){return t.outlet||F}function KA(t,e){let r=t.filter(n=>Rt(n)===e);return r.push(...t.filter(n=>Rt(n)!==e)),r}function Xo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var $h=class{get injector(){return Xo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new es(this.rootInjector),this.attachRef=null}},es=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new $h(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(C(Ke))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wl=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Uh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Uh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Hh(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Hh(e,this._root).map(r=>r.value)}};function Uh(t,e){if(t===e.value)return e;for(let r of e.children){let n=Uh(t,r);if(n)return n}return null}function Hh(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Hh(t,r);if(n.length)return n.unshift(e),n}return[]}var ct=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Si(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Kl=class extends Wl{constructor(e,r){super(e),this.snapshot=r,Jh(this,e)}toString(){return this.snapshot.toString()}};function yD(t){let e=QA(t),r=new Ee([new Mr("",{})]),n=new Ee({}),i=new Ee({}),o=new Ee({}),s=new Ee(""),a=new Ar(r,n,o,s,i,F,t,e.root);return a.snapshot=e.root,new Kl(new ct(a,[]),e)}function QA(t){let e={},r={},n={},i="",o=new xi([],e,n,i,r,F,t,null,{});return new Zl("",new ct(o,[]))}var Ar=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe($(c=>c[Yo]))??T(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe($(e=>Ai(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe($(e=>Ai(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ql(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:w(w({},e.params),t.params),data:w(w({},e.data),t.data),resolve:w(w(w(w({},t.data),e.data),i?.data),t._resolvedData)}:n={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},i&&bD(i)&&(n.resolve[Yo]=i.title),n}var xi=class{get title(){return this.data?.[Yo]}constructor(e,r,n,i,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ai(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ai(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Zl=class extends Wl{constructor(e,r){super(r),this.url=e,Jh(this,r)}toString(){return _D(this._root)}};function Jh(t,e){e.value._routerState=t,e.children.forEach(r=>Jh(t,r))}function _D(t){let e=t.children.length>0?` { ${t.children.map(_D).join(", ")} } `:"";return`${t.value}${e}`}function Ch(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,en(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),en(e.params,r.params)||t.paramsSubject.next(r.params),wA(e.url,r.url)||t.urlSubject.next(r.url),en(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function zh(t,e){let r=en(t.params,e.params)&&SA(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||zh(t.parent,e.parent))}function bD(t){return typeof t.title=="string"||t.title===null}var Xh=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=F,this.activateEvents=new we,this.deactivateEvents=new we,this.attachEvents=new we,this.detachEvents=new we,this.parentContexts=_(es),this.location=_(Zt),this.changeDetector=_(hn),this.inputBinder=_(nc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Gh(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Le({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Pn]});let t=e;return t})(),Gh=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Ar?this.route:e===es?this.childContexts:this.parent.get(e,r)}},nc=new M(""),Jb=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=er([i.queryParams,i.params,i.data]).pipe(ht(([s,a,l],c)=>(l=w(w(w({},s),a),l),c===0?T(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=M_(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function ZA(t,e,r){let n=Wo(t,e._root,r?r._root:void 0);return new Kl(n,e)}function Wo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=YA(t,e,r);return new ct(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Wo(t,a)),s}}let n=JA(e.value),i=e.children.map(o=>Wo(t,o));return new ct(n,i)}}function YA(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Wo(t,n,i);return Wo(t,n)})}function JA(t){return new Ar(new Ee(t.url),new Ee(t.params),new Ee(t.queryParams),new Ee(t.fragment),new Ee(t.data),t.outlet,t.component,t)}var Ko=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},DD="ngNavigationCancelingError";function Yl(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Tr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=wD(!1,ut.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function wD(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[DD]=!0,r.cancellationCode=e,r}function XA(t){return ED(t)&&Tr(t.url)}function ED(t){return!!t&&t[DD]}var eN=(t,e,r,n)=>$(i=>(new qh(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),qh=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Ch(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Si(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Si(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Si(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Si(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Bh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Vh(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Ch(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ch(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Jl=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ti=class{constructor(e,r){this.component=e,this.route=r}};function tN(t,e,r){let n=t._root,i=e?e._root:null;return jo(n,i,r,[n.value])}function nN(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ki(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Gg(t)?t:e.get(t):n}function jo(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Si(e);return t.children.forEach(s=>{rN(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ho(a,r.getContext(s),i)),i}function rN(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=iN(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Jl(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?jo(t,e,a?a.children:null,n,i):jo(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ti(a.outlet.component,s))}else s&&Ho(e,a,i),i.canActivateChecks.push(new Jl(n)),o.component?jo(t,null,a?a.children:null,n,i):jo(t,null,r,n,i);return i}function iN(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!xr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xr(t.url,e.url)||!en(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zh(t,e)||!en(t.queryParams,e.queryParams);case"paramsChange":default:return!zh(t,e)}}function Ho(t,e,r){let n=Si(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ho(s,e.children.getContext(o),r):Ho(s,null,r):Ho(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Ti(e.outlet.component,i)):r.canDeactivateChecks.push(new Ti(null,i)):r.canDeactivateChecks.push(new Ti(null,i))}function ts(t){return typeof t=="function"}function oN(t){return typeof t=="boolean"}function sN(t){return t&&ts(t.canLoad)}function aN(t){return t&&ts(t.canActivate)}function lN(t){return t&&ts(t.canActivateChild)}function cN(t){return t&&ts(t.canDeactivate)}function uN(t){return t&&ts(t.canMatch)}function CD(t){return t instanceof on||t?.name==="EmptyError"}var Vl=Symbol("INITIAL_VALUE");function Ri(){return ht(t=>er(t.map(e=>e.pipe(Ct(1),Yi(Vl)))).pipe($(e=>{for(let r of e)if(r!==!0){if(r===Vl)return Vl;if(r===!1||dN(r))return r}return!0}),ze(e=>e!==Vl),Ct(1)))}function dN(t){return Tr(t)||t instanceof Ko}function fN(t,e){return De(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?T(pe(w({},r),{guardsResult:!0})):hN(s,n,i,t).pipe(De(a=>a&&oN(a)?pN(n,o,t,e):T(a)),$(a=>pe(w({},r),{guardsResult:a})))})}function hN(t,e,r,n){return ye(t).pipe(De(i=>_N(i.component,i.route,r,e,n)),Bt(i=>i!==!0,!0))}function pN(t,e,r,n){return ye(e).pipe(tr(i=>In(gN(i.route.parent,n),mN(i.route,n),yN(t,i.path,r),vN(t,i.route,r))),Bt(i=>i!==!0,!0))}function mN(t,e){return t!==null&&e&&e(new jh(t)),T(!0)}function gN(t,e){return t!==null&&e&&e(new Lh(t)),T(!0)}function vN(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return T(!0);let i=n.map(o=>ea(()=>{let s=Xo(e)??r,a=ki(o,s),l=aN(a)?a.canActivate(e,t):At(s,()=>a(e,t));return Hn(l).pipe(Bt())}));return T(i).pipe(Ri())}function yN(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>nN(s)).filter(s=>s!==null).map(s=>ea(()=>{let a=s.guards.map(l=>{let c=Xo(s.node)??r,u=ki(l,c),d=lN(u)?u.canActivateChild(n,t):At(c,()=>u(n,t));return Hn(d).pipe(Bt())});return T(a).pipe(Ri())}));return T(o).pipe(Ri())}function _N(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let s=o.map(a=>{let l=Xo(e)??i,c=ki(a,l),u=cN(c)?c.canDeactivate(t,e,r,n):At(l,()=>c(t,e,r,n));return Hn(u).pipe(Bt())});return T(s).pipe(Ri())}function bN(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return T(!0);let o=i.map(s=>{let a=ki(s,t),l=sN(a)?a.canLoad(e,r):At(t,()=>a(e,r));return Hn(l)});return T(o).pipe(Ri(),ID(n))}function ID(t){return Gc(Ae(e=>{if(typeof e!="boolean")throw Yl(t,e)}),$(e=>e===!0))}function DN(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return T(!0);let o=i.map(s=>{let a=ki(s,t),l=uN(a)?a.canMatch(e,r):At(t,()=>a(e,r));return Hn(l)});return T(o).pipe(Ri(),ID(n))}var Qo=class{constructor(e){this.segmentGroup=e||null}},Zo=class extends Error{constructor(e){super(),this.urlTree=e}};function Ii(t){return Qr(new Qo(t))}function wN(t){return Qr(new y(4e3,!1))}function EN(t){return Qr(wD(!1,ut.GuardRejected))}var Wh=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return T(n);if(i.numberOfChildren>1||!i.children[F])return wN(`${e.redirectTo}`);i=i.children[F]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:f,data:p,title:v}=i,S=At(o,()=>a({params:f,data:p,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:v}));if(S instanceof yn)throw new Zo(S);r=S}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Zo(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new yn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new ee(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Kh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function CN(t,e,r,n,i){let o=ep(t,e,r);return o.matched?(n=WA(e,n),DN(n,e,r,i).pipe($(s=>s===!0?o:w({},Kh)))):T(o)}function ep(t,e,r){if(e.path==="**")return IN(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?w({},Kh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||DA)(r,t,e);if(!i)return w({},Kh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function IN(t){return{matched:!0,parameters:t.length>0?oD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Xb(t,e,r,n){return r.length>0&&xN(t,r,n)?{segmentGroup:new ee(e,MN(n,new ee(r,t.children))),slicedSegments:[]}:r.length===0&&TN(t,r,n)?{segmentGroup:new ee(t.segments,SN(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new ee(t.segments,t.children),slicedSegments:r}}function SN(t,e,r,n){let i={};for(let o of r)if(rc(t,e,o)&&!n[Rt(o)]){let s=new ee([],{});i[Rt(o)]=s}return w(w({},n),i)}function MN(t,e){let r={};r[F]=e;for(let n of t)if(n.path===""&&Rt(n)!==F){let i=new ee([],{});r[Rt(n)]=i}return r}function xN(t,e,r){return r.some(n=>rc(t,e,n)&&Rt(n)!==F)}function TN(t,e,r){return r.some(n=>rc(t,e,n))}function rc(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function AN(t,e,r,n){return Rt(t)!==n&&(n===F||!rc(e,r,t))?!1:ep(e,t,r).matched}function NN(t,e,r){return e.length===0&&!t.children[r]}var Qh=class{};function ON(t,e,r,n,i,o,s="emptyOnly"){return new Zh(t,e,r,n,i,s,o).recognize()}var RN=31,Zh=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Wh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new y(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xb(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe($(({children:r,rootSnapshot:n})=>{let i=new ct(n,r),o=new Zl("",i),s=BA(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new xi([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),F,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,F,r).pipe($(n=>({children:n,rootSnapshot:r})),Sn(n=>{if(n instanceof Zo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe($(s=>s instanceof ct?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ye(o).pipe(tr(s=>{let a=n.children[s],l=KA(r,s);return this.processSegmentGroup(e,l,a,s,i)}),eu((s,a)=>(s.push(...a),s)),Mn(null),Xc(),De(s=>{if(s===null)return Ii(n);let a=SD(s);return kN(a),T(a)}))}processSegment(e,r,n,i,o,s,a){return ye(r).pipe(tr(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Sn(c=>{if(c instanceof Qo)return T(null);throw c}))),Bt(l=>!!l),Sn(l=>{if(CD(l))return NN(n,i,o)?T(new Qh):Ii(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return AN(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Ii(i):Ii(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=ep(r,i,o);if(!l)return Ii(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>RN&&(this.allowRedirects=!1));let f=new xi(o,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,eD(i),Rt(i),i.component??i._loadedComponent??null,i,tD(i)),p=Ql(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let v=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,v).pipe(De(S=>this.processSegment(e,n,r,S.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=CN(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(ht(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ht(({routes:c})=>{let u=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=l,p=new xi(h,d,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,eD(n),Rt(n),n.component??n._loadedComponent??null,n,tD(n)),v=Ql(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);let{segmentGroup:S,slicedSegments:O}=Xb(r,h,f,c);if(O.length===0&&S.hasChildren())return this.processChildren(u,c,S,p).pipe($(B=>new ct(p,B)));if(c.length===0&&O.length===0)return T(new ct(p,[]));let K=Rt(n)===o;return this.processSegment(u,c,S,O,K?F:o,!0,p).pipe($(B=>new ct(p,B instanceof ct?[B]:[])))}))):Ii(r)))}getChildConfig(e,r,n){return r.children?T({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?T({routes:r._loadedRoutes,injector:r._loadedInjector}):bN(e,r,n,this.urlSerializer).pipe(De(i=>i?this.configLoader.loadChildren(e,r).pipe(Ae(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):EN(r))):T({routes:[],injector:e})}};function kN(t){t.sort((e,r)=>e.value.outlet===F?-1:r.value.outlet===F?1:e.value.outlet.localeCompare(r.value.outlet))}function PN(t){let e=t.value.routeConfig;return e&&e.path===""}function SD(t){let e=[],r=new Set;for(let n of t){if(!PN(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=SD(n.children);e.push(new ct(n.value,i))}return e.filter(n=>!r.has(n))}function eD(t){return t.data||{}}function tD(t){return t.resolve||{}}function FN(t,e,r,n,i,o){return De(s=>ON(t,e,r,n,s.extractedUrl,i,o).pipe($(({state:a,tree:l})=>pe(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function LN(t,e){return De(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return T(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of MD(l))s.add(c);let a=0;return ye(s).pipe(tr(l=>o.has(l)?VN(l,n,t,e):(l.data=Ql(l,l.parent,t).resolve,T(void 0))),Ae(()=>a++),Zr(1),De(l=>a===s.size?T(r):it))})}function MD(t){let e=t.children.map(r=>MD(r)).flat();return[t,...e]}function VN(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!bD(i)&&(o[Yo]=i.title),jN(o,t,e,n).pipe($(s=>(t._resolvedData=s,t.data=Ql(t,t.parent,r).resolve,null)))}function jN(t,e,r,n){let i=Mh(t);if(i.length===0)return T({});let o={};return ye(i).pipe(De(s=>BN(t[s],e,r,n).pipe(Bt(),Ae(a=>{if(a instanceof Ko)throw Yl(new Ni,a);o[s]=a}))),Zr(1),Jc(o),Sn(s=>CD(s)?it:Qr(s)))}function BN(t,e,r,n){let i=Xo(e)??n,o=ki(t,i),s=o.resolve?o.resolve(e,r):At(i,()=>o(e,r));return Hn(s)}function Ih(t){return ht(e=>{let r=t(e);return r?ye(r).pipe($(()=>e)):T(e)})}var xD=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===F);return i}getResolvedTitleForRoute(n){return n.data[Yo]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_($N),providedIn:"root"});let t=e;return t})(),$N=(()=>{let e=class e extends xD{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(C(Z_))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ns=new M("",{providedIn:"root",factory:()=>({})}),UN=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Pe({type:e,selectors:[["ng-component"]],standalone:!0,features:[rl],decls:1,vars:0,template:function(i,o){i&1&&b(0,"router-outlet")},dependencies:[Xh],encapsulation:2});let t=e;return t})();function tp(t){let e=t.children&&t.children.map(tp),r=e?pe(w({},t),{children:e}):w({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==F&&(r.component=UN),r}var Xl=new M(""),np=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(ll)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Hn(n.loadComponent()).pipe($(TD),Ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Zi(()=>{this.componentLoaders.delete(n)})),o=new Wr(i,()=>new Se).pipe(qr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return T({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=HN(i,this.compiler,n,this.onLoadEndListener).pipe(Zi(()=>{this.childrenLoaders.delete(i)})),a=new Wr(s,()=>new Se).pipe(qr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function HN(t,e,r,n){return Hn(t.loadChildren()).pipe($(TD),De(i=>i instanceof ao||Array.isArray(i)?T(i):ye(e.compileModuleAsync(i))),$(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Xl,[],{optional:!0,self:!0}).flat()),{routes:s.map(tp),injector:o}}))}function zN(t){return t&&typeof t=="object"&&"default"in t}function TD(t){return zN(t)?t.default:t}var rp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_(GN),providedIn:"root"});let t=e;return t})(),GN=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),AD=new M(""),ND=new M("");function qN(t,e,r){let n=t.get(ND),i=t.get(be);return t.get(Y).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),WN(t))),{onViewTransitionCreated:l}=n;return l&&At(t,()=>l({transition:a,from:e,to:r})),s})}function WN(t){return new Promise(e=>{_o({read:()=>setTimeout(e)},{injector:t})})}var KN=new M(""),ip=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Se,this.transitionAbortSubject=new Se,this.configLoader=_(np),this.environmentInjector=_(Ke),this.urlSerializer=_(Jo),this.rootContexts=_(es),this.location=_(_i),this.inputBindingEnabled=_(nc,{optional:!0})!==null,this.titleStrategy=_(xD),this.options=_(ns,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(rp),this.createViewTransition=_(AD,{optional:!0}),this.navigationErrorHandler=_(KN,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Ph(o)),i=o=>this.events.next(new Fh(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(pe(w(w({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ee({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Uo,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ze(s=>s.id!==0),$(s=>pe(w({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ht(s=>{let a=!1,l=!1;return T(s).pipe(ht(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),it;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?pe(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload"){let h="";return this.events.next(new Un(c.id,this.urlSerializer.serialize(c.rawUrl),h,zl.IgnoredSameUrlNavigation)),c.resolve(!1),it}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return T(c).pipe(ht(h=>{let f=this.transitions?.getValue();return this.events.next(new $n(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?it:Promise.resolve(h)}),FN(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Ae(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=pe(w({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Gl(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:h,extractedUrl:f,source:p,restoredState:v,extras:S}=c,O=new $n(h,this.urlSerializer.serialize(f),p,v);this.events.next(O);let K=yD(this.rootComponentType).snapshot;return this.currentTransition=s=pe(w({},c),{targetSnapshot:K,urlAfterRedirects:f,extras:pe(w({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,T(s)}else{let h="";return this.events.next(new Un(c.id,this.urlSerializer.serialize(c.extractedUrl),h,zl.IgnoredByUrlHandlingStrategy)),c.resolve(!1),it}}),Ae(c=>{let u=new Nh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),$(c=>(this.currentTransition=s=pe(w({},c),{guards:tN(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),fN(this.environmentInjector,c=>this.events.next(c)),Ae(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Yl(this.urlSerializer,c.guardsResult);let u=new Oh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ze(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",ut.GuardRejected),!1)),Ih(c=>{if(c.guards.canActivateChecks.length)return T(c).pipe(Ae(u=>{let d=new Rh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),ht(u=>{let d=!1;return T(u).pipe(LN(this.paramsInheritanceStrategy,this.environmentInjector),Ae({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",ut.NoDataFromResolver)}}))}),Ae(u=>{let d=new kh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Ih(c=>{let u=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(Ae(f=>{d.component=f}),$(()=>{})));for(let f of d.children)h.push(...u(f));return h};return er(u(c.targetSnapshot.root)).pipe(Mn(null),Ct(1))}),Ih(()=>this.afterPreactivation()),ht(()=>{let{currentSnapshot:c,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return d?ye(d).pipe($(()=>s)):T(s)}),$(c=>{let u=ZA(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=pe(w({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),Ae(()=>{this.events.next(new qo)}),eN(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ct(1),Ae({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new kt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ji(this.transitionAbortSubject.pipe(Ae(c=>{throw c}))),Zi(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Sn(c=>{if(l=!0,ED(c))this.events.next(new vn(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),XA(c)?this.events.next(new Oi(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let u=new Go(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0);try{let d=At(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof Ko){let{message:h,cancellationCode:f}=Yl(this.urlSerializer,d);this.events.next(new vn(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Oi(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(u);let h=n.errorHandler(c);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return it}))}))}cancelNavigationTransition(n,i,o){let s=new vn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function QN(t){return t!==Uo}var ZN=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_(YN),providedIn:"root"});let t=e;return t})(),Yh=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},YN=(()=>{let e=class e extends Yh{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=qa(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),OD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>_(JN),providedIn:"root"});let t=e;return t})(),JN=(()=>{let e=class e extends OD{constructor(){super(...arguments),this.location=_(_i),this.urlSerializer=_(Jo),this.options=_(ns,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(rp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof $n)this.stateMemento=this.createStateMemento();else if(n instanceof Un)this.rawUrlTree=i.initialUrl;else if(n instanceof Gl){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof qo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof vn&&(n.code===ut.GuardRejected||n.code===ut.NoDataFromResolver)?this.restoreHistory(i):n instanceof Go?this.restoreHistory(i,!0):n instanceof kt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof yn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=w(w({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=w(w({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=qa(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Bo||{});function RD(t,e){t.events.pipe(ze(r=>r instanceof kt||r instanceof vn||r instanceof Go||r instanceof Un),$(r=>r instanceof kt||r instanceof Un?Bo.COMPLETE:(r instanceof vn?r.code===ut.Redirect||r.code===ut.SupersededByNewNavigation:!1)?Bo.REDIRECTING:Bo.FAILED),ze(r=>r!==Bo.REDIRECTING),Ct(1)).subscribe(()=>{e()})}function XN(t){throw t}var eO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Pt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=_(il),this.stateManager=_(OD),this.options=_(ns,{optional:!0})||{},this.pendingTasks=_(hi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(ip),this.urlSerializer=_(Jo),this.location=_(_i),this.urlHandlingStrategy=_(rp),this._events=new Se,this.errorHandler=this.options.errorHandler||XN,this.navigated=!1,this.routeReuseStrategy=_(ZN),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Xl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(nc,{optional:!0}),this.eventsSubscription=new ue,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof vn&&i.code!==ut.Redirect&&i.code!==ut.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof kt)this.navigated=!0;else if(i instanceof Oi){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c=w({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||QN(o.source)},a);this.scheduleNavigation(l,Uo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}rO(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Uo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=w({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a,d=null;switch(l){case"merge":d=w(w({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=pD(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return mD(h,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Tr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Uo,null,i)}navigate(n,i={skipLocationChange:!1}){return nO(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=w({},eO):i===!1?o=w({},tO):o=i,Tr(n))return Kb(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Kb(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((h,f)=>{l=h,c=f});let d=this.pendingTasks.add();return RD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function nO(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.onChanges=new Se,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof kt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Tr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:yy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:Tr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(A(Pt),A(Ar),Fd("tabindex"),A(pr),A(he),A(mn))},e.\u0275dir=Le({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&_e("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&pi("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Vn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Vn],replaceUrl:[2,"replaceUrl","replaceUrl",Vn],routerLink:"routerLink"},standalone:!0,features:[bo,Pn]});let t=e;return t})(),kD=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new we,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof kt&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(Cn()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ye(n).pipe(Cn()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=iO(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(A(Pt),A(he),A(pr),A(hn),A(ec,8))},e.\u0275dir=Le({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&nf(s,ec,5),i&2){let a;gi(a=vi())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Pn]});let t=e;return t})();function iO(t){return!!t.paths}var tc=class{};var oO=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ze(n=>n instanceof kt),tr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=tl(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ye(o).pipe(Cn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=T(null);let s=o.pipe(De(a=>a===null?T(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ye([s,a]).pipe(Cn())}else return s})}};e.\u0275fac=function(i){return new(i||e)(C(Pt),C(ll),C(Ke),C(tc),C(np))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),PD=new M(""),sO=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=_(Ke),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof $n?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof kt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Un&&n.code===zl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ql&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Ac(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),_o(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ql(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Ay()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function aO(t){return t.routerState.root}function rs(t,e){return{\u0275kind:t,\u0275providers:e}}function lO(){let t=_(Qe);return e=>{let r=t.get(vr);if(e!==r.components[0])return;let n=t.get(Pt),i=t.get(FD);t.get(op)===1&&n.initialNavigation(),t.get(LD,null,j.Optional)?.setUpPreloading(),t.get(PD,null,j.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var FD=new M("",{factory:()=>new Se}),op=new M("",{providedIn:"root",factory:()=>1});function cO(){return rs(2,[{provide:op,useValue:0},{provide:al,multi:!0,deps:[Qe],useFactory:e=>{let r=e.get(F_,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Pt),o=e.get(FD);RD(i,()=>{n(!0)}),e.get(ip).afterPreactivation=()=>(n(!0),o.closed?T(void 0):o),i.initialNavigation()}))}}])}function uO(){return rs(3,[{provide:al,multi:!0,useFactory:()=>{let e=_(Pt);return()=>{e.setUpLocationChangeListener()}}},{provide:op,useValue:2}])}var LD=new M("");function dO(t){return rs(0,[{provide:LD,useExisting:oO},{provide:tc,useExisting:t}])}function fO(){return rs(8,[Jb,{provide:nc,useExisting:Jb}])}function hO(t){let e=[{provide:AD,useValue:qN},{provide:ND,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}];return rs(9,e)}var nD=new M("ROUTER_FORROOT_GUARD"),pO=[_i,{provide:Jo,useClass:Ni},Pt,es,{provide:Ar,useFactory:aO,deps:[Pt]},np,[]],sp=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[pO,[],{provide:Xl,multi:!0,useValue:n},{provide:nD,useFactory:yO,deps:[[Pt,new uo,new $a]]},{provide:ns,useValue:i||{}},i?.useHash?gO():vO(),mO(),i?.preloadingStrategy?dO(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?_O(i):[],i?.bindToComponentInputs?fO().\u0275providers:[],i?.enableViewTransitions?hO().\u0275providers:[],bO()]}}static forChild(n){return{ngModule:e,providers:[{provide:Xl,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(C(nD,8))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();function mO(){return{provide:PD,useFactory:()=>{let t=_(U_),e=_(Y),r=_(ns),n=_(ip),i=_(Jo);return r.scrollOffset&&t.setOffset(r.scrollOffset),new sO(i,n,t,e,r)}}}function gO(){return{provide:mn,useClass:V_}}function vO(){return{provide:mn,useClass:Ef}}function yO(t){return"guarded"}function _O(t){return[t.initialNavigation==="disabled"?uO().\u0275providers:[],t.initialNavigation==="enabledBlocking"?cO().\u0275providers:[]]}var rD=new M("");function bO(){return[{provide:rD,useFactory:lO},{provide:cf,multi:!0,useExisting:rD}]}var zn=(()=>{let e=class e{constructor(){this.sharedDataSubject=new Ee(""),this.sharedData$=this.sharedDataSubject.asObservable()}setSharedData(n){this.sharedDataSubject.next(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var VD=(()=>{let e=class e{set yqni13Var(n){this.context.$implicit=this.context.yqni13Var=n,this.hasView||(this.vcRef.createEmbeddedView(this.templateRef,this.context),this.hasView=!0)}constructor(n,i){this.templateRef=n,this.vcRef=i,this.context={$implicit:null,yqni13Var:null},this.hasView=!1}};e.\u0275fac=function(i){return new(i||e)(A(cn),A(Zt))},e.\u0275dir=Le({type:e,selectors:[["","yqni13Var",""]],inputs:{yqni13Var:"yqni13Var"}});let t=e;return t})();function EO(t,e){if(t&1&&(m(0,"section",1)(1,"div",2)(2,"video",3),b(3,"source",4),E(4," Your browser does not support the video file (mp4). "),g(),m(5,"div",5)(6,"h1",6)(7,"span"),E(8),g(),b(9,"br"),m(10,"span",7),E(11,"Frontend"),g(),m(12,"span"),E(13,"-Developer"),g()(),m(14,"p",8),E(15,` "When you take on a task, finding the best ways to achieve the desired result is always your responsibility." - Gilbert's Law `),g()()()()),t&2){let r=e.yqni13Var;G(2),ie("muted","muted"),G(6),Yt("Hi, I'm ",r.firstname,"!")}}var jD=(()=>{let e=class e{constructor(n,i){this.elementRef=n,this.sharedDataService=i,this.user$=new W,this.subscription$=new ue}ngOnInit(){this.subscription$=this.sharedDataService.sharedData$.subscribe(n=>{this.user$=T(n)})}ngOnDestroy(){this.elementRef.nativeElement.remove(),this.subscription$.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(A(he),A(zn))},e.\u0275cmp=Pe({type:e,selectors:[["app-home"]],decls:2,vars:3,consts:[["class","box home",4,"yqni13Var"],[1,"box","home"],[1,"home-wrapper"],["autoplay","","loop","",3,"muted"],["src","assets/landingpage_long_compressed.mp4","type","video/mp4"],[1,"column","introduction"],[1,"fading-header"],[1,"frontend"],[1,"fading-quote"]],template:function(i,o){i&1&&(Be(0,EO,16,2,"section",0),Do(1,"async")),i&2&&ie("yqni13Var",wo(1,1,o.user$))},dependencies:[VD,ml],styles:[".home[_ngcontent-%COMP%]{height:100vh;align-content:center;overflow:hidden;display:flex;flex-direction:row;flex-wrap:wrap;z-index:1;background-color:transparent}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.home-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:left}video[_ngcontent-%COMP%]{filter:grayscale(var(--home-grayscale));width:100%;height:100vh;opacity:var(--opacity-bg);object-fit:cover}.introduction[_ngcontent-%COMP%]{position:absolute;top:125px;left:var(--nav-size);align-self:center;text-align:left;animation:_ngcontent-%COMP%_appear 3s ease-in-out}.introduction[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.frontend){filter:brightness(var(--home-brightness))}.introduction[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{filter:brightness(var(--home-brightness));color:var(--header-color)}.frontend[_ngcontent-%COMP%]{background:var(--home-frontend);-webkit-background-clip:text;-webkit-text-fill-color:transparent}@keyframes _ngcontent-%COMP%_appear{0%{opacity:0}to{opacity:1}}"]});let t=e;return t})();var Pi=(()=>{let e=class e{getScrollMaxHeight(){let n=document.body,i=document.documentElement,o=Math.max(n.scrollHeight,n.clientHeight,i.clientHeight,i.scrollHeight,i.clientHeight),s=window.innerHeight;return o-s}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function CO(t,e){t&1&&b(0,"i",40)}var BD=(()=>{let e=class e{constructor(n,i){this.scrollService=n,this.elementRef=i,this.userAge=0,this.isBottomScrolled=!1}ngOnInit(){this.userAge=this.getAge(new Date("1993/06/03"))}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}getAge(n){let i=new Date,o=0;return(i.getMonth(){let e=class e{constructor(n,i){this.scrollService=n,this.elementRef=i,this.isBottomScrolled=!1}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}ngOnDestroy(){this.elementRef.nativeElement.remove()}};e.\u0275fac=function(i){return new(i||e)(A(Pi),A(he))},e.\u0275cmp=Pe({type:e,selectors:[["app-cv"]],decls:124,vars:1,consts:[[1,"box","cv"],["class","icon-ScrollArrow scroll-indication",4,"ngIf"],[1,"btn-action-extern","btn-cv"],["href","assets/pdf/CV_LukasVarga.pdf","download","CV_LukasVarga"],[1,"wrapper-cv","block"],[1,"column","experience-list"],[1,"experience-list-item"],[1,"column","education-list"],[1,"education-list-item"],[1,"wrapper-techstack","block"],[1,"techstack-list"],["title","HTML5","href","https://developer.mozilla.org/en-US/docs/Web/HTML","target","_blank"],[1,"icon-HTML5"],["title","CSS3","href","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","target","_blank"],[1,"icon-CSS3"],["title","Javascript","href","https://developer.mozilla.org/en-US/docs/Web/JavaScript","target","_blank"],[1,"icon-Javascript"],["title","Typescript","href","https://www.typescriptlang.org/","target","_blank"],[1,"icon-Typescript"],["title","Angular","href","https://angular.io/","target","_blank"],[1,"icon-Angular"],["title","Git","href","https://git-scm.com/","target","_blank"],[1,"icon-git"],["title","GitHub","href","https://github.com/","target","_blank"],[1,"icon-GitHub","black-fill"],["title","GitExtensions","href","https://gitextensions.github.io/","target","_blank"],[1,"icon-GitExtensions"],["title","Notion","href","https://www.notion.so/product","target","_blank"],[1,"icon-Notion"],["title","Atlassian","href","https://www.atlassian.com/","target","_blank"],[1,"icon-Atlassian"],["title","JSON","href","https://json.org/","target","_blank"],[1,"icon-JSON"],["title","i18n","href","https://json.org/","target","_blank"],[1,"icon-i18n"],["title","SaSS","href","https://sass-lang.com/","target","_blank"],[1,"icon-Sass"],["title","NodeJS","href","https://nodejs.org/en","target","_blank"],[1,"icon-NodeJS"],["title","NPM","href","https://www.npmjs.com/","target","_blank"],[1,"icon-npm"],["title","VSCode","href","https://code.visualstudio.com/","target","_blank"],[1,"icon-vscode"],["title","CI/CD","href","https://resources.github.com/devops/ci-cd/","target","_blank"],[1,"icon-CiCd"],["title","C#","href","https://dotnet.microsoft.com/en-us/languages/csharp","target","_blank"],[1,"icon-CSharp"],["title","Bootstrap","href","https://getbootstrap.com/","target","_blank"],[1,"icon-Bootstrap"],["title","GitLab","href","https://about.gitlab.com/","target","_blank"],[1,"icon-GitLab"],["title","RxJS","href","https://rxjs.dev","target","_blank"],[1,"icon-RxJS"],["title","Postman","href","https://www.postman.com/","target","_blank"],[1,"icon-Postman"],["title","Docker","href","https://www.docker.com/","target","_blank"],[1,"icon-Docker"],["title","MySQL","href","https://www.mysql.com/","target","_blank"],[1,"icon-MySQL","horizontal"],["title","PostgreSQL","href","https://www.postgresql.org/","target","_blank"],[1,"icon-PostgreSQL"],["title","Jenkins","href","https://www.jenkins.io/","target","_blank"],[1,"icon-Jenkins"],[1,"icon-ScrollArrow","scroll-indication"]],template:function(i,o){i&1&&(m(0,"section",0)(1,"h2"),E(2,"CV."),g(),Be(3,IO,1,0,"i",1),m(4,"div",2)(5,"a",3),E(6,"download - cv"),g()(),m(7,"div",4)(8,"div",5)(9,"h4"),E(10,"Experience"),g(),m(11,"div",6)(12,"p"),E(13," Evolit Consulting GmbH, Vienna"),b(14,"br"),E(15," 07/2022 - 12/2023"),b(16,"br"),E(17," Fullstack-Development "),g()()(),m(18,"div",7)(19,"h4"),E(20,"Education"),g(),m(21,"div",8)(22,"p"),E(23," UAS Technikum Vienna"),b(24,"br"),E(25," 09/2020 - 06/2023"),b(26,"br"),E(27," Computer Science, BSc "),g()(),m(28,"div",8)(29,"p"),E(30," Certificates.dev"),b(31,"br"),E(32," 09/2024 - currently"),b(33,"br"),E(34," Mid-Level Angular Developer"),b(35,"br"),E(36," online certificate "),g()()()(),m(37,"div",9)(38,"h4"),E(39,"Technical skills"),g(),m(40,"div",10)(41,"ul")(42,"li")(43,"a",11),b(44,"i",12),g()(),m(45,"li")(46,"a",13),b(47,"i",14),g()(),m(48,"li")(49,"a",15),b(50,"i",16),g()(),m(51,"li")(52,"a",17),b(53,"i",18),g()(),m(54,"li")(55,"a",19),b(56,"i",20),g()(),m(57,"li")(58,"a",21),b(59,"i",22),g()(),m(60,"li")(61,"a",23),b(62,"i",24),g()(),m(63,"li")(64,"a",25),b(65,"i",26),g()(),m(66,"li")(67,"a",27),b(68,"i",28),g()(),m(69,"li")(70,"a",29),b(71,"i",30),g()(),m(72,"li")(73,"a",31),b(74,"i",32),g()(),m(75,"li")(76,"a",33),b(77,"i",34),g()(),m(78,"li")(79,"a",35),b(80,"i",36),g()(),m(81,"li")(82,"a",37),b(83,"i",38),g()(),m(84,"li")(85,"a",39),b(86,"i",40),g()(),m(87,"li")(88,"a",41),b(89,"i",42),g()()()(),m(90,"h4"),E(91,"First Experiences"),g(),m(92,"div",10)(93,"ul")(94,"li")(95,"a",43),b(96,"i",44),g()(),m(97,"li")(98,"a",45),b(99,"i",46),g()(),m(100,"li")(101,"a",47),b(102,"i",48),g()(),m(103,"li")(104,"a",49),b(105,"i",50),g()(),m(106,"li")(107,"a",51),b(108,"i",52),g()(),m(109,"li")(110,"a",53),b(111,"i",54),g()(),m(112,"li")(113,"a",55),b(114,"i",56),g()(),m(115,"li")(116,"a",57),b(117,"i",58),g()(),m(118,"li")(119,"a",59),b(120,"i",60),g()(),m(121,"li")(122,"a",61),b(123,"i",62),g()()()()()()),i&2&&(G(3),ie("ngIf",!o.isBottomScrolled))},dependencies:[bi],styles:['.cv[_ngcontent-%COMP%]{overflow-y:auto}h2[_ngcontent-%COMP%]:after{content:"RESUME"}.btn-cv[_ngcontent-%COMP%]{margin-top:50px}.block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-style:italic;letter-spacing:3px}.block[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{opacity:.7}h4[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{padding:0;margin:0}.wrapper-cv[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:25px}.wrapper-cv[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%;margin:0 100px;padding-top:50px}.experience-list[_ngcontent-%COMP%]{margin-left:50px;text-align:left}.experience-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:left;padding-left:15px}.experience-list[_ngcontent-%COMP%] .experience-list-item[_ngcontent-%COMP%]{margin-bottom:25px}.experience-list[_ngcontent-%COMP%] .experience-list-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-left:15px;border-left-width:4px;border-left-color:var(--button-color);border-left-style:double}.education-list[_ngcontent-%COMP%]{margin-right:50px;text-align:right}.education-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:right;padding-right:15px}.education-list[_ngcontent-%COMP%] .education-list-item[_ngcontent-%COMP%]{margin-bottom:25px}.education-list[_ngcontent-%COMP%] .education-list-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-right:15px;border-right-width:4px;border-right-color:var(--button-color);border-right-style:double}.wrapper-techstack[_ngcontent-%COMP%]{margin:0 100px}.wrapper-techstack[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-top:100px;text-align:center}.techstack-list[_ngcontent-%COMP%]{text-align:-webkit-center}.techstack-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0}.techstack-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline}.techstack-list[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:60px;height:60px;margin:25px}.horizontal[_ngcontent-%COMP%]{height:60px;width:90px!important}.black-fill[_ngcontent-%COMP%]{background-color:var(--github-color)}']});let t=e;return t})();var Gn={all:"all",frontend:"frontend",fullstack:"fullstack",module:"module"};var UD={Clock:{type:"module",title:"Clock",version:"2.1.4",keywords:"live demo | english | ES6Modules | analog or digital time | multiple date formats | live changing settings | reducible navbar | responsive design | partly customizable",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_clock.jpg",githublink:"https://github.com/yqni13/WEB_clock",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},ToDo:{type:"module",title:"ToDo-List",version:"1.2.0",keywords:"to-do list | english | adding: single | removing: single/all | strikethrough done items | submit via enter-key | simple design | fixed style",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_todo.jpg",githublink:"https://github.com/yqni13/WEB_todo-list",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},Tourplanner:{type:"fullstack",title:"Tourplanner",version:"1.0.0",keywords:"Frontend: WPF | Backend: C# | DB: postgres | MapQuestAPI | WeatherAPI | english | layer-based architecture | create/display tours | logging | Import (JSON) | Export (PDF) | fixed style",technology:"C# | WPF | PostgreSQL | MapQuest | JSON",cardScreenPath:"assets/img/be_tourplanner.jpg",githublink:"https://github.com/yqni13/TourPlanner",techURLs:["https://dotnet.microsoft.com/en-us/languages/csharp","https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-wpf?view=vs-2022","https://www.postgresql.org/","https://developer.mapquest.com/","https://www.json.org/json-en.html"],techImgClasses:["icon-CSharp","icon-MicrosoftWPF","icon-PostgreSQL","icon-MapQuest","icon-JSON"]},MusicPlayer:{type:"frontend",title:"Music Player",version:"1.5.0",keywords:"live demo | music | music-player | english | responsive | customized | text-animation | meta-data | sliders | play-modes | pre-defined music | dblclick | fixed style",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_music.jpg",githublink:"https://github.com/yqni13/WEB_music",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},HeavensEdge:{type:"frontend",title:"Heavens Edge",version:"1.1.2",keywords:"live demo | clone | hotel representation | english | responsive | slideshow | carousel | animation | partly customized | fixed style",technology:"HTML5 | CSS3 | Javascript | Leaflet",cardScreenPath:"assets/img/web_heavensedge.jpg",githublink:"https://github.com/yqni13/WEB_HeavensEdge_clone",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript","https://leafletjs.com/"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript","icon-Leaflet"]},Portfolio:{type:"frontend",title:"Portfolio",version:"2.6.7",keywords:"live demo | portfolio | angular framework | english | responsive | custom design | dark/light theme | animation | custom search filter | single page application | ESLint | CI/CD workflow",technology:"Angular | RxJS | JSON",cardScreenPath:"assets/img/web_portfolio.jpg",githublink:"https://github.com/yqni13/portfolio",techURLs:["https://angular.dev/","https://rxjs.dev/","https://www.json.org/json-en.html"],techImgClasses:["icon-Angular","icon-RxJS","icon-JSON"]},ArtCreation:{type:"frontend",title:"Art-Gallery",version:"1.0.0-beta.7",keywords:"live demo | angular 18 | customer order | responsive | custom design | dark/light theme | custom lazy loading | i18n | gallery | custom form | http interception | services | pipes | directives | nested routing",technology:"Angular | RxJS | JSON | i18n | nodejs",cardScreenPath:"assets/img/web_artcreation.jpg",githublink:"https://github.com/yqni13/art-gallery-FE-only",techURLs:["https://angular.dev/","https://rxjs.dev/","https://www.json.org/json-en.html","https://www.i18next.com/","https://nodejs.org/en"],techImgClasses:["icon-Angular","icon-RxJS","icon-JSON","icon-i18n","icon-NodeJS"]}};var HD=(()=>{let e=class e{constructor(){this.source={},this.typeFilter="",this.resultKeys=[],this.exceptionKeys=[]}loopSource(n){if(this.clearResultsArray(),this.typeFilter===Gn.all&&(!n||n==null))return this.source;let i={};return n!=null&&(n=n.toLowerCase()),Object.entries(this.source).forEach(([o,s])=>{if(this.typeFilter===Gn.all&&!n)this.resultKeys.push(o);else{let a=!1;Object.entries(s).forEach(([l,c])=>{l==="type"&&(this.typeFilter===Gn.all||this.typeFilter===c?a=!0:a=!1),a&&!this.exceptionKeys.includes(l)&&c.toLowerCase().includes(n)&&!this.resultKeys.includes(o)&&(this.resultKeys.push(o),Object.assign(i,{[o]:s}))})}}),i}setSource(n){this.source=n}setTypeFilter(n){this.typeFilter=n}setExceptionKeys(n){this.exceptionKeys=n}clearResultsArray(){this.resultKeys=[]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zD=(()=>{let e=class e{constructor(){this.message=""}handle(n){n instanceof Error?this.message=n.message:typeof n=="string"?this.message=n:this.message="Unknown error.",console.log(this.message)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function TO(t,e){if(t&1&&(m(0,"a",10),b(1,"i"),g()),t&2){let r=e.$implicit,n=e.index,i=mi().$implicit;mr("href",r,yo),G(),ef(i.value.techImgClasses[n])}}function AO(t,e){if(t&1&&(m(0,"div",2),b(1,"img",3),m(2,"div",4)(3,"h4"),E(4),m(5,"a",5),b(6,"i",6),g()(),m(7,"p"),E(8," keywords:"),b(9,"br"),E(10),b(11,"br")(12,"br"),E(13),g(),m(14,"div",7),Be(15,TO,2,4,"a",8),g()(),b(16,"i",9),g()),t&2){let r=e.$implicit;G(),mr("src",r.value.cardScreenPath,yo),G(3),Yt("",r.value.title," "),G(),mr("href",r.value.githublink,yo),G(5),Yt(" ",r.value.keywords," "),G(3),Yt(" v",r.value.version," "),G(2),ie("ngForOf",r.value.techURLs)}}var GD=(()=>{let e=class e{constructor(n){this.sharedDataService=n,this.projectData$=new W,this.subscription$=new ue}ngOnInit(){this.subscription$=this.sharedDataService.sharedData$.subscribe(n=>{this.projectData$=T(n)})}ngOnDestroy(){this.subscription$.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(A(zn))},e.\u0275cmp=Pe({type:e,selectors:[["yqni13-template-portfolio-card"]],decls:4,vars:5,consts:[[1,"wrapper-portfolio"],["class","card",4,"ngFor","ngForOf"],[1,"card"],["alt","screenshot of project missing",3,"src"],[1,"card-text"],["target","_blank",1,"a-github",3,"href"],[1,"icon-GitHub"],[1,"card-technology"],["target","_blank",3,"href",4,"ngFor","ngForOf"],[1,"icon-HoverMe"],["target","_blank",3,"href"]],template:function(i,o){i&1&&(m(0,"div",0),Be(1,AO,17,6,"div",1),Do(2,"async"),Do(3,"keyvalue"),g()),i&2&&(G(),ie("ngForOf",wo(3,3,wo(2,1,o.projectData$))))},dependencies:[B_,ml,$_],styles:['h4[_ngcontent-%COMP%]{color:var(--alice-blue)!important}.wrapper-portfolio[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:50px 100px;justify-content:center}.card[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;text-align:left;align-items:center;justify-content:end;margin:4px;background-clip:padding-box;border:solid 2px transparent;border-radius:10px;overflow:hidden}.card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;z-index:-1;margin:-2px;border-radius:inherit;background:var(--portfolio-card)}.card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;margin:0 2px;color:var(--alice-blue);border-radius:10px}.card[_ngcontent-%COMP%]:hover .card-text[_ngcontent-%COMP%]{display:inline;transition-delay:.4s}.card-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{position:absolute;top:10%}.card-text[_ngcontent-%COMP%] a.a-github[_ngcontent-%COMP%]{margin-left:10px}.icon-HoverMe[_ngcontent-%COMP%]{position:absolute;top:5px;left:5px;background-image:var(--yqni13-gradient)}.card[_ngcontent-%COMP%]:hover .icon-HoverMe[_ngcontent-%COMP%]{display:none}.card-text[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;height:100%;align-content:end;backdrop-filter:blur(2px) brightness(.5);-webkit-backdrop-filter:blur(2px) brightness(.5);-moz-backdrop-filter:blur(2px) brightness(.5);-o-backdrop-filter:blur(2px) brightness(.5);border-radius:10px}.card-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--alice-blue);text-align:justify}.card-text[_ngcontent-%COMP%], img[_ngcontent-%COMP%]{transition:.6s all}.card-technology[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:10px 20px 10px 0}.card-technology[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{opacity:.4}.card[_ngcontent-%COMP%]:hover .icon-GitHub[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_github-animation 2s;-webkit-animation:_ngcontent-%COMP%_github-animation 2s;-moz-animation:github-animation 2s;-o-animation:github-animation 2s}@keyframes _ngcontent-%COMP%_github-animation{to{transform:scale(1.5)}to{transform:rotate(360deg)}}.icon-GitHub[_ngcontent-%COMP%]:hover{opacity:.4}.a-github[_ngcontent-%COMP%]{color:var(--alice-blue)}']});let t=e;return t})();var OO=["keywordInputField"];function RO(t,e){t&1&&b(0,"i",11)}function kO(t,e){if(t&1){let r=tf();m(0,"a",7),_e("click",function(){Ve(r);let i=mi();return je(i.removeKeyword())})("keydown.enter",function(){Ve(r);let i=mi();return je(i.removeKeyword())}),b(1,"i",12),g()}}function PO(t,e){t&1&&(m(0,"div",13)(1,"p"),E(2,"No data found for this parameter."),g()())}var qD=(()=>{let e=class e{constructor(n,i,o,s,a,l){this.sharedDataService=n,this.filterJsonService=i,this.scrollService=o,this.elementRef=s,this.errorService=a,this.domSanitizer=l,this.portfolioType=Gn;try{this.projectData=UD,this.hasOutput=!0}catch(c){this.projectData={},this.hasOutput=!1,this.errorService.handle(c)}this.hasInput=!1,this.isBottomScrolled=!1,this.keywordInput="",this.exceptionProperties=["githublink","cardScreenPath","techURLs","techImgClasses"],this.activeType=Gn.all}ngOnInit(){this.filterJsonService.setSource(this.projectData),this.filterJsonService.setExceptionKeys(this.exceptionProperties),this.projectData=this.filterJsonService.loopSource(""),this.checkForEmptyResults(),this.filterForType(Gn.all)}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}filterForKeyword(n){this.projectData=this.filterJsonService.loopSource(this.domSanitizer.sanitize(vt.HTML,n)),this.checkForEmptyResults(),this.setPortfolioCards()}setPortfolioCards(){this.sharedDataService.setSharedData(this.projectData)}filterForType(n){this.activeType=n,this.filterJsonService.setTypeFilter(n),this.projectData=this.filterJsonService.loopSource(this.keywordInput),this.checkForEmptyResults(),this.setPortfolioCards()}detectKeywordInput(n){n.target.value?this.hasInput=!0:(this.hasInput=!1,this.filterForKeyword("")),this.keywordInput=n.target.value}removeKeyword(){this.keywordInputField.nativeElement.value="",this.keywordInput="",this.hasInput=!1,this.filterForKeyword("")}checkForEmptyResults(){Object.keys(this.projectData).length?this.hasOutput=!0:this.hasOutput=!1}ngOnDestroy(){this.elementRef.nativeElement.remove()}};e.\u0275fac=function(i){return new(i||e)(A(zn),A(HD),A(Pi),A(he),A(zD),A(kf))},e.\u0275cmp=Pe({type:e,selectors:[["app-portfolio"]],viewQuery:function(i,o){if(i&1&&rf(OO,5),i&2){let s;gi(s=vi())&&(o.keywordInputField=s.first)}},decls:25,vars:7,consts:[["keywordInputField",""],[1,"box","portfolio"],["class","icon-ScrollArrow scroll-indication",4,"ngIf"],[1,"page-header"],[1,"portfolio-type",3,"click","keydown.enter","ngClass"],[1,"wrapper-keyword"],["type","text","name","keywords","placeholder","Search keywords",3,"input","keydown.enter"],[3,"click","keydown.enter"],[1,"icon-Search"],[3,"click","keydown.enter",4,"ngIf"],["class","wrapper-empty-search",4,"ngIf"],[1,"icon-ScrollArrow","scroll-indication"],[1,"icon-Close"],[1,"wrapper-empty-search"]],template:function(i,o){if(i&1){let s=tf();m(0,"section",1)(1,"h2"),E(2,"Portfolio."),g(),Be(3,RO,1,0,"i",2),m(4,"nav",3)(5,"a",4),_e("click",function(){return Ve(s),je(o.filterForType(o.portfolioType.all))})("keydown.enter",function(){return Ve(s),je(o.filterForType(o.portfolioType.all))}),m(6,"span"),E(7,"ALL"),g()(),m(8,"a",4),_e("click",function(){return Ve(s),je(o.filterForType(o.portfolioType.frontend))})("keydown.enter",function(){return Ve(s),je(o.filterForType(o.portfolioType.frontend))}),m(9,"span"),E(10,"FRONTEND"),g()(),m(11,"a",4),_e("click",function(){return Ve(s),je(o.filterForType(o.portfolioType.fullstack))})("keydown.enter",function(){return Ve(s),je(o.filterForType(o.portfolioType.fullstack))}),m(12,"span"),E(13,"FULLSTACK"),g()(),m(14,"a",4),_e("click",function(){return Ve(s),je(o.filterForType(o.portfolioType.module))})("keydown.enter",function(){return Ve(s),je(o.filterForType(o.portfolioType.module))}),m(15,"span"),E(16,"MODULES"),g()()(),m(17,"div",5)(18,"input",6,0),_e("input",function(l){return Ve(s),je(o.detectKeywordInput(l))})("keydown.enter",function(){Ve(s);let l=nl(19);return je(o.filterForKeyword(l.value))}),g(),m(20,"a",7),_e("click",function(){Ve(s);let l=nl(19);return je(o.filterForKeyword(l.value))})("keydown.enter",function(){Ve(s);let l=nl(19);return je(o.filterForKeyword(l.value))}),b(21,"i",8),g(),Be(22,kO,2,0,"a",9),g(),b(23,"yqni13-template-portfolio-card"),Be(24,PO,3,0,"div",10),g()}i&2&&(G(3),ie("ngIf",!o.isBottomScrolled),G(2),ie("ngClass",o.activeType===o.portfolioType.all?"active-route":""),G(3),ie("ngClass",o.activeType===o.portfolioType.frontend?"active-route":""),G(3),ie("ngClass",o.activeType===o.portfolioType.fullstack?"active-route":""),G(3),ie("ngClass",o.activeType===o.portfolioType.module?"active-route":""),G(8),ie("ngIf",o.hasInput),G(2),ie("ngIf",!o.hasOutput))},dependencies:[pl,bi,GD],styles:['.portfolio[_ngcontent-%COMP%]{overflow-y:auto}h2[_ngcontent-%COMP%]:after{content:"MY WORK"}h4[_ngcontent-%COMP%]{color:var(--alice-blue)!important}.wrapper-keyword[_ngcontent-%COMP%]{display:flex;justify-content:center}.wrapper-keyword[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:none;background-color:var(--lightopacity-grey);opacity:.7;color:var(--text-color);border-radius:5px;padding:5px 10px;font-size:18px}.wrapper-keyword[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:none;outline:var(--text-color) 1px solid}.icon-Search[_ngcontent-%COMP%]{color:var(--text-color);width:25px;height:25px;position:relative;top:.2em;right:1.3em}.icon-Close[_ngcontent-%COMP%]{color:var(--warning-red);position:relative;top:.1em;right:.9em}.page-header[_ngcontent-%COMP%]{display:inline-flex;margin:10px 0}.page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;font-size:20px}.page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background:var(--active-link);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.portfolio-type[_ngcontent-%COMP%]{padding:15px;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}span[_ngcontent-%COMP%]{color:var(--header-color)}.wrapper-empty-search[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:2em;opacity:.3;font-style:italic}']});let t=e;return t})();var FO=[{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:jD,title:"Home"},{path:"about",component:BD,title:"About"},{path:"cv",component:$D,title:"CV"},{path:"mywork",component:qD,title:"Portfolio"},{path:"**",redirectTo:"/home",title:"Home"}],WD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[sp.forRoot(FO),sp]});let t=e;return t})();var lm={};Hw(lm,{VERSION:()=>oc,after:()=>Gp,all:()=>Ec,allKeys:()=>Ft,any:()=>Cc,assign:()=>kr,before:()=>bs,bind:()=>yc,bindAll:()=>bw,chain:()=>Vp,chunk:()=>am,clone:()=>xp,collect:()=>et,compact:()=>nm,compose:()=>zp,constant:()=>ls,contains:()=>Ue,countBy:()=>Mw,create:()=>Mp,debounce:()=>Up,default:()=>Rw,defaults:()=>mc,defer:()=>Dw,delay:()=>_c,detect:()=>zi,difference:()=>Sc,drop:()=>Br,each:()=>Oe,escape:()=>gw,every:()=>Ec,extend:()=>pc,extendOwn:()=>kr,filter:()=>wt,find:()=>zi,findIndex:()=>Hi,findKey:()=>Ds,findLastIndex:()=>bc,findWhere:()=>qp,first:()=>As,flatten:()=>rm,foldl:()=>wc,foldr:()=>Wp,forEach:()=>Oe,functions:()=>Bi,get:()=>ms,groupBy:()=>Iw,has:()=>Ap,head:()=>As,identity:()=>Fr,include:()=>Ue,includes:()=>Ue,indexBy:()=>Sw,indexOf:()=>Dc,initial:()=>Ts,inject:()=>wc,intersection:()=>im,invert:()=>hs,invoke:()=>Cw,isArguments:()=>Vi,isArray:()=>Je,isArrayBuffer:()=>uc,isBoolean:()=>ss,isDataView:()=>Nr,isDate:()=>tw,isElement:()=>gp,isEmpty:()=>bp,isEqual:()=>wp,isError:()=>rw,isFinite:()=>_p,isFunction:()=>ce,isMap:()=>fw,isMatch:()=>fs,isNaN:()=>as,isNull:()=>mp,isNumber:()=>lc,isObject:()=>$e,isRegExp:()=>nw,isSet:()=>pw,isString:()=>Fi,isSymbol:()=>cc,isTypedArray:()=>fc,isUndefined:()=>os,isWeakMap:()=>hw,isWeakSet:()=>mw,iteratee:()=>$i,keys:()=>q,last:()=>tm,lastIndexOf:()=>Ew,map:()=>et,mapObject:()=>Np,matcher:()=>nn,matches:()=>nn,max:()=>Ss,memoize:()=>Bp,methods:()=>Bi,min:()=>Zp,mixin:()=>Ns,negate:()=>Vr,noop:()=>vs,now:()=>qn,object:()=>om,omit:()=>Tw,once:()=>ww,pairs:()=>Sp,partial:()=>Wn,partition:()=>xw,pick:()=>Ic,pluck:()=>jr,property:()=>Lr,propertyOf:()=>Op,random:()=>Ui,range:()=>sm,reduce:()=>wc,reduceRight:()=>Wp,reject:()=>Kp,rest:()=>Br,restArguments:()=>oe,result:()=>Fp,sample:()=>xs,select:()=>wt,shuffle:()=>Yp,size:()=>Xp,some:()=>Cc,sortBy:()=>Jp,sortedIndex:()=>Es,tail:()=>Br,take:()=>As,tap:()=>Tp,template:()=>Pp,templateSettings:()=>_w,throttle:()=>$p,times:()=>Rp,toArray:()=>Ms,toPath:()=>gc,transpose:()=>qi,unescape:()=>yw,union:()=>Nw,uniq:()=>Gi,unique:()=>Gi,uniqueId:()=>Lp,unzip:()=>qi,values:()=>dt,where:()=>Qp,without:()=>Aw,wrap:()=>Hp,zip:()=>Ow});var oc="1.13.6",lp=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},is=Array.prototype,sc=Object.prototype,cp=typeof Symbol<"u"?Symbol.prototype:null,KD=is.push,tn=is.slice,_n=sc.toString,QD=sc.hasOwnProperty,up=typeof ArrayBuffer<"u",ZD=typeof DataView<"u",YD=Array.isArray,dp=Object.keys,fp=Object.create,hp=up&&ArrayBuffer.isView,JD=isNaN,XD=isFinite,ac=!{toString:null}.propertyIsEnumerable("toString"),pp=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],ew=Math.pow(2,53)-1;function oe(t,e){return e=e==null?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),i=0;i=0&&r<=ew}}function us(t){return function(e){return e?.[t]}}var Or=us("byteLength");var ow=cs(Or);var BO=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function $O(t){return hp?hp(t)&&!Nr(t):ow(t)&&BO.test(_n.call(t))}var fc=up?$O:ls(!1);var de=us("length");function UO(t){for(var e={},r=t.length,n=0;n":">",'"':""","'":"'","`":"`"};var gw=ys(vc);var vw=hs(vc);var yw=ys(vw);var _w=k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var kp=/(.)^/,zO={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},GO=/\\|'|\r|\n|\u2028|\u2029/g;function qO(t){return"\\"+zO[t]}var WO=/^\s*(\w|\$)+\s*$/;function Pp(t,e,r){!e&&r&&(e=r),e=mc({},e,k.templateSettings);var n=RegExp([(e.escape||kp).source,(e.interpolate||kp).source,(e.evaluate||kp).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(n,function(c,u,d,h,f){return o+=t.slice(i,f).replace(GO,qO),i=f+c.length,u?o+=`'+ -((__t=(`+u+`))==null?'':_.escape(__t))+ -'`:d?o+=`'+ -((__t=(`+d+`))==null?'':__t)+ -'`:h&&(o+=`'; -`+h+` -__p+='`),c}),o+=`'; -`;var s=e.variable;if(s){if(!WO.test(s))throw new Error("variable is not a bare identifier: "+s)}else o=`with(obj||{}){ -`+o+`} -`,s="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; -`+o+`return __p; -`;var a;try{a=new Function(s,"_",o)}catch(c){throw c.source=o,c}var l=function(c){return a.call(this,c,k)};return l.source="function("+s+`){ -`+o+"}",l}function Fp(t,e,r){e=Lt(e);var n=e.length;if(!n)return ce(r)?r.call(t):r;for(var i=0;i1)Xe(a,e-1,r,n),i=n.length;else for(var l=0,c=a.length;le?(n&&(clearTimeout(n),n=null),a=u,s=t.apply(i,o),n||(i=o=null)):!n&&r.trailing!==!1&&(n=setTimeout(l,d)),s};return c.cancel=function(){clearTimeout(n),a=0,n=i=o=null},c}function Up(t,e,r){var n,i,o,s,a,l=function(){var u=qn()-i;e>u?n=setTimeout(l,e-u):(n=null,r||(s=t.apply(a,o)),n||(o=a=null))},c=oe(function(u){return a=this,o=u,i=qn(),n||(n=setTimeout(l,e),r&&(s=t.apply(a,o))),s});return c.cancel=function(){clearTimeout(n),n=o=a=null},c}function Hp(t,e){return Wn(e,t)}function Vr(t){return function(){return!t.apply(this,arguments)}}function zp(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Gp(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function bs(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}var ww=Wn(bs,2);function Ds(t,e,r){e=re(e,r);for(var n=q(t),i,o=0,s=n.length;o0?0:i-1;o>=0&&o0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(r&&o&&a)return o=r(n,i),n[o]===i?o:-1;if(i!==i)return o=e(tn.call(n,s,a),as),o>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o0?0:a-1;for(o||(i=r[s?s[l]:l],l+=t);l>=0&&l=3;return e(r,Vt(n,o,4),i,s)}}var wc=Is(1);var Wp=Is(-1);function wt(t,e,r){var n=[];return e=re(e,r),Oe(t,function(i,o,s){e(i,o,s)&&n.push(i)}),n}function Kp(t,e,r){return wt(t,Vr(re(e)),r)}function Ec(t,e,r){e=re(e,r);for(var n=!fe(t)&&q(t),i=(n||t).length,o=0;o=0}var Cw=oe(function(t,e,r){var n,i;return ce(e)?i=e:(e=Lt(e),n=e.slice(0,-1),e=e[e.length-1]),et(t,function(o){var s=i;if(!s){if(n&&n.length&&(o=Pr(o,n)),o==null)return;s=o[e]}return s==null?s:s.apply(o,r)})});function jr(t,e){return et(t,Lr(e))}function Qp(t,e){return wt(t,nn(e))}function Ss(t,e,r){var n=-1/0,i=-1/0,o,s;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=fe(t)?t:dt(t);for(var a=0,l=t.length;an&&(n=o)}else e=re(e,r),Oe(t,function(c,u,d){s=e(c,u,d),(s>i||s===-1/0&&n===-1/0)&&(n=c,i=s)});return n}function Zp(t,e,r){var n=1/0,i=1/0,o,s;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=fe(t)?t:dt(t);for(var a=0,l=t.length;aa||s===void 0)return 1;if(s1&&(n=Vt(n,e[1])),e=Ft(t)):(n=em,e=Xe(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i1&&(n=e[1])):(e=et(Xe(e,!1,!1),String),r=function(i,o){return!Ue(e,o)}),Ic(t,r,n)});function Ts(t,e,r){return tn.call(t,0,Math.max(0,t.length-(e==null||r?1:e)))}function As(t,e,r){return t==null||t.length<1?e==null||r?void 0:[]:e==null||r?t[0]:Ts(t,t.length-e)}function Br(t,e,r){return tn.call(t,e==null||r?1:e)}function tm(t,e,r){return t==null||t.length<1?e==null||r?void 0:[]:e==null||r?t[t.length-1]:Br(t,Math.max(0,t.length-e))}function nm(t){return wt(t,Boolean)}function rm(t,e){return Xe(t,e,!1)}var Sc=oe(function(t,e){return e=Xe(e,!0,!0),wt(t,function(r){return!Ue(e,r)})});var Aw=oe(function(t,e){return Sc(t,e)});function Gi(t,e,r,n){ss(e)||(n=r,r=e,e=!1),r!=null&&(r=re(r,n));for(var i=[],o=[],s=0,a=de(t);s["home"],ZO=()=>["about"],YO=()=>["cv"],JO=()=>["mywork"],Pw=(()=>{let e=class e{constructor(n,i){this.router=n,this.sharedDataService=i,n.events.subscribe(o=>{o instanceof $n&&window.scrollTo(0,0)}),this.version="2.6.7",this.darkMode="",this.lightMode="",this.copyrightYear=new Date().getFullYear(),this.author={firstname:"Lukas",lastname:"Varga",alias:"yqni13"},this.OWNER=`${this.author.firstname} ${this.author.lastname}`,this.mobileNavExpanded=!1,this.collapseNavbarWidth=768}ngOnInit(){this.checkThemeCookie(),this.setNavWidthDynamically(window.screen.width),this.setNavWidthDynamically(document.body.clientWidth);let n=Mc.debounce(()=>{this.setNavWidthDynamically(window.screen.width)},250);window.addEventListener("resize",n,!1);let i=Mc.debounce(()=>{this.setNavWidthDynamically(document.body.clientWidth)},250);window.addEventListener("resize",i,!1),this.shareDataWithHomeComp()}shareDataWithHomeComp(){this.sharedDataService.setSharedData(this.author)}setDarkMode(){this.darkMode="setVisible",this.lightMode="setHidden",localStorage.setItem("theme","dark"),document.body.setAttribute("data-theme","dark")}setLightMode(){this.darkMode="setHidden",this.lightMode="setVisible",localStorage.setItem("theme","light"),document.body.setAttribute("data-theme","light")}setNavWidthDynamically(n){n>this.collapseNavbarWidth?document.body.setAttribute("data-nav","navDesktop"):document.body.setAttribute("data-nav","navMobileCollapsed")}expandNavMobile(n=!1){let i=window.screen.width;i<=this.collapseNavbarWidth&&n&&(this.mobileNavExpanded=!0),!(i>this.collapseNavbarWidth&&!n)&&i<=this.collapseNavbarWidth&&(this.mobileNavExpanded?(document.body.setAttribute("data-nav","navMobileCollapsed"),this.mobileNavExpanded=!1):(document.body.setAttribute("data-nav","navMobileExpanded"),this.mobileNavExpanded=!0))}checkThemeCookie(){let n=localStorage.getItem("theme");if(!n){this.setDarkMode();return}n==="dark"?this.setDarkMode():n==="light"&&this.setLightMode()}};e.\u0275fac=function(i){return new(i||e)(A(Pt),A(zn))},e.\u0275cmp=Pe({type:e,selectors:[["app-root"]],decls:38,vars:15,consts:[["data-media","mobile",1,"nav-bar"],[1,"nav-collapse","nav-unfold"],[1,"icon-BurgerMenu","nav-mobile",3,"click","keydown.enter"],[1,"nav-full"],["src","assets/img/yqni13-small.png","alt","no logo",1,"nav-logo",3,"click","keydown.enter","routerLink"],["routerLinkActive","active-route",3,"click","keydown.enter","routerLink"],[3,"click","keydown.enter","ngClass"],[1,"icon-DarkMode","nav-darkmode"],[1,"icon-LightMode","nav-lightmode"],[1,"link-icons"],["href","https://github.com/yqni13","target","_blank"],[1,"icon-GitHub"],["href","https://app.daily.dev/yqni13","target","_blank"],[1,"icon-DailyDev3"],["href","https://www.xing.com/profile/Lukas_Varga2","target","_blank"],[1,"icon-Xing"],[1,"footer-verification"],[1,"icon-CopyRight","nav-copyright"]],template:function(i,o){i&1&&(m(0,"nav",0)(1,"ul")(2,"li",1)(3,"i",2),_e("click",function(){return o.expandNavMobile()})("keydown.enter",function(){return o.expandNavMobile()}),g()(),m(4,"li",3)(5,"img",4),_e("click",function(){return o.expandNavMobile(!0),o.shareDataWithHomeComp()})("keydown.enter",function(){return o.expandNavMobile(!0),o.shareDataWithHomeComp()}),g()(),m(6,"li",3)(7,"span",5),_e("click",function(){return o.expandNavMobile(!0),o.shareDataWithHomeComp()})("keydown.enter",function(){return o.expandNavMobile(!0),o.shareDataWithHomeComp()}),E(8,"Home"),g()(),m(9,"li",3)(10,"span",5),_e("click",function(){return o.expandNavMobile(!0)})("keydown.enter",function(){return o.expandNavMobile(!0)}),E(11,"About"),g()(),m(12,"li",3)(13,"span",5),_e("click",function(){return o.expandNavMobile(!0)})("keydown.enter",function(){return o.expandNavMobile(!0)}),E(14,"CV"),g()(),m(15,"li",3)(16,"span",5),_e("click",function(){return o.expandNavMobile(!0)})("keydown.enter",function(){return o.expandNavMobile(!0)}),E(17,"Portfolio"),g()(),m(18,"li")(19,"div",6),_e("click",function(){return o.setLightMode()})("keydown.enter",function(){return o.setLightMode()}),b(20,"i",7),g(),m(21,"div",6),_e("click",function(){return o.setDarkMode()})("keydown.enter",function(){return o.setDarkMode()}),b(22,"i",8),g()(),m(23,"li")(24,"div",9)(25,"a",10),b(26,"i",11),g(),m(27,"a",12),b(28,"i",13),g(),m(29,"a",14),b(30,"i",15),g()(),m(31,"p",16),b(32,"i",17),E(33),b(34,"br"),E(35),g()()()(),m(36,"router-outlet"),b(37,"router-outlet"),g()),i&2&&(G(5),ie("routerLink",yi(10,kw)),G(2),ie("routerLink",yi(11,kw)),G(3),ie("routerLink",yi(12,ZO)),G(3),ie("routerLink",yi(13,YO)),G(3),ie("routerLink",yi(14,JO)),G(3),ie("ngClass",o.darkMode),G(2),ie("ngClass",o.lightMode),G(12),of(" ",o.copyrightYear,", ",o.OWNER,""),G(2),Yt("v",o.version,""))},dependencies:[pl,Xh,ec,kD],styles:["span[_ngcontent-%COMP%]{padding:0 10px;font-size:1.5rem;color:var(--navbar-text);opacity:.8}span[_ngcontent-%COMP%]:hover{background:var(--active-link);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.nav-bar[_ngcontent-%COMP%]{justify-content:left;display:block}.nav-bar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{height:100%;overflow:auto;position:fixed;margin:0;padding:0;scrollbar-width:none;background-color:var(--navbar-bg);border-right:solid var(--navbar-border) 3px;display:flex;flex-direction:column}.nav-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:right}.nav-bar[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block;text-decoration:none;cursor:pointer;padding:30px 0 0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.nav-collapse[_ngcontent-%COMP%]{align-self:center;padding-top:0;color:var(--navbar-text)}.nav-darkmode[_ngcontent-%COMP%]{color:var(--darktext-grey);padding-left:5px}.nav-lightmode[_ngcontent-%COMP%]{color:var(--lightmode-yellow)}nav-lightmode[_ngcontent-%COMP%], nav-darkmode[_ngcontent-%COMP%]{width:var(--linkicons-size)!important;height:var(--linkicons-size)!important}ul[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-top:auto;margin-bottom:5%;text-align:center}li[_ngcontent-%COMP%]:nth-child(2){cursor:default!important}li[_ngcontent-%COMP%]:nth-child(2) .nav-logo[_ngcontent-%COMP%]{cursor:pointer}.nav-issues[_ngcontent-%COMP%]{font-size:.75rem!important;font-style:italic}.nav-issues[_ngcontent-%COMP%]:hover{color:var(--warning-red)!important;opacity:.7!important}.setVisible[_ngcontent-%COMP%]{display:inline}.setHidden[_ngcontent-%COMP%]{display:none}.link-icons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--navbar-content);width:var(--linkicons-size);height:var(--linkicons-size);margin:5px 8.5px}.link-icons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{opacity:.4}.nav-copyright[_ngcontent-%COMP%]{width:12px;height:12px;color:var(--navbar-content);margin-right:5px;vertical-align:top;height:16px}ul[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child p[_ngcontent-%COMP%]{color:var(--navbar-content);font-size:12px}.footer-verification[_ngcontent-%COMP%]{cursor:default}.error-msg-box[_ngcontent-%COMP%]{width:calc(100% - 4.5px);height:calc(100% - 4.5px);border:solid 2px var(--alice-blue);position:fixed;top:0;align-content:center;z-index:100;text-align:-webkit-center;text-align:-moz-center;overflow:scroll;scrollbar-width:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%]{border:solid 2px var(--alice-blue);border-radius:10px;padding-bottom:50px;width:50vw;background-color:var(--navbar-bg)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--alice-blue);font-size:2em;padding:0 25px;margin-bottom:50px}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.5em;background-color:var(--accept-green);color:var(--alice-blue);padding:10px 20px;border-radius:5px;cursor:pointer}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.7;border:solid 1px var(--alice-blue)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{pointer-events:none}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .red-msg[_ngcontent-%COMP%]{text-transform:uppercase;color:var(--warning-red);font-weight:bolder}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .green-msg[_ngcontent-%COMP%]{color:var(--accept-green);font-weight:bolder}"]});let t=e;return t})();var XO={"[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"},mW=pe(w({},XO),{"[class.ng-submitted]":"isSubmitted"});var eR=new M("CallSetDisabledState",{providedIn:"root",factory:()=>Fw}),Fw="always";var tR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();var Lw=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:eR,useValue:n.callSetDisabledState??Fw}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[tR]});let t=e;return t})();var um=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[Di]});let t=e;return t})();var Vw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[Di,Lw,um,um]});let t=e;return t})();var jw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ne({type:e,bootstrap:[Pw]}),e.\u0275inj=te({imports:[_l,WD,Mb,Wb,Vw]});let t=e;return t})();Q_().bootstrapModule(jw).catch(t=>console.error(t)); diff --git a/main-QKIOJUAA.js b/main-QKIOJUAA.js new file mode 100644 index 0000000..06b1b7e --- /dev/null +++ b/main-QKIOJUAA.js @@ -0,0 +1,19 @@ +var pm=Object.defineProperty,jw=Object.defineProperties;var Bw=Object.getOwnPropertyDescriptors;var xs=Object.getOwnPropertySymbols;var mm=Object.prototype.hasOwnProperty,gm=Object.prototype.propertyIsEnumerable;var hm=(e,t,n)=>t in e?pm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||={})mm.call(t,n)&&hm(e,n,t[n]);if(xs)for(var n of xs(t))gm.call(t,n)&&hm(e,n,t[n]);return e},ue=(e,t)=>jw(e,Bw(t));var ym=(e,t)=>{var n={};for(var r in e)mm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&xs)for(var r of xs(e))t.indexOf(r)<0&&gm.call(e,r)&&(n[r]=e[r]);return n};var $w=(e,t)=>{for(var n in t)pm(e,n,{get:t[n],enumerable:!0})};var Ac=null;var Tc=1,vm=Symbol("SIGNAL");function Q(e){let t=Ac;return Ac=e,t}function _m(){return Ac}var Nc={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 Uw(e){if(!(Fc(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Tc)){if(!e.producerMustRecompute(e)&&!Rc(e)){e.dirty=!1,e.lastCleanEpoch=Tc;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Tc}}function Oc(e){return e&&(e.nextProducerIndex=0),Q(e)}function bm(e,t){if(Q(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fc(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Rc(e){Lc(e);for(let t=0;t0}function Lc(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Hw(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zw(e){return e.producerNode!==void 0}function Gw(){throw new Error}var qw=Gw;function Dm(e){qw=e}function P(e){return typeof e=="function"}function jr(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 Ts=jr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Zn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var de=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 o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(P(r))try{r()}catch(o){t=o instanceof Ts?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{wm(o)}catch(s){t=t??[],s instanceof Ts?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ts(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wm(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)&&Zn(n,t)}remove(t){let{_finalizers:n}=this;n&&Zn(n,t),t instanceof e&&t._removeParent(this)}};de.EMPTY=(()=>{let e=new de;return e.closed=!0,e})();var Vc=de.EMPTY;function As(e){return e instanceof de||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function wm(e){P(e)?e():e.unsubscribe()}var wt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Br={setTimeout(e,t,...n){let{delegate:r}=Br;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Br;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ns(e){Br.setTimeout(()=>{let{onUnhandledError:t}=wt;if(t)t(e);else throw e})}function qi(){}var Cm=jc("C",void 0,void 0);function Em(e){return jc("E",void 0,e)}function Im(e){return jc("N",e,void 0)}function jc(e,t,n){return{kind:e,value:t,error:n}}var Qn=null;function $r(e){if(wt.useDeprecatedSynchronousErrorHandling){let t=!Qn;if(t&&(Qn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qn;if(Qn=null,n)throw r}}else e()}function Mm(e){wt.useDeprecatedSynchronousErrorHandling&&Qn&&(Qn.errorThrown=!0,Qn.error=e)}var Yn=class extends de{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,As(t)&&t.add(this)):this.destination=Zw}static create(t,n,r){return new Ur(t,n,r)}next(t){this.isStopped?$c(Im(t),this):this._next(t)}error(t){this.isStopped?$c(Em(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$c(Cm,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()}}},Ww=Function.prototype.bind;function Bc(e,t){return Ww.call(e,t)}var Uc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Os(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Os(r)}else Os(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Os(n)}}},Ur=class extends Yn{constructor(t,n,r){super();let i;if(P(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&wt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Bc(t.next,o),error:t.error&&Bc(t.error,o),complete:t.complete&&Bc(t.complete,o)}):i=t}this.destination=new Uc(i)}};function Os(e){wt.useDeprecatedSynchronousErrorHandling?Mm(e):Ns(e)}function Kw(e){throw e}function $c(e,t){let{onStoppedNotification:n}=wt;n&&Br.setTimeout(()=>n(e,t))}var Zw={closed:!0,next:qi,error:Kw,complete:qi};var Hr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function et(e){return e}function Hc(...e){return zc(e)}function zc(e){return e.length===0?et:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var W=(()=>{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,i){let o=Yw(n)?n:new Ur(n,r,i);return $r(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Sm(r),new r((i,o)=>{let s=new Ur({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Hr](){return this}pipe(...n){return zc(n)(this)}toPromise(n){return n=Sm(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Sm(e){var t;return(t=e??wt.Promise)!==null&&t!==void 0?t:Promise}function Qw(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function Yw(e){return e&&e instanceof Yn||Qw(e)&&As(e)}function Gc(e){return P(e?.lift)}function H(e){return t=>{if(Gc(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 z(e,t,n,r,i){return new qc(e,t,n,r,i)}var qc=class extends Yn{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}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))}}};function zr(){return H((e,t)=>{let n=null;e._refCount++;let r=z(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Gr=class extends W{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Gc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new de;let n=this.getSubject();t.add(this.source.subscribe(z(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=de.EMPTY)}return t}refCount(){return zr()(this)}};var xm=jr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Me=(()=>{class e extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Rs(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new xm}next(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$r(()=>{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(){$r(()=>{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:i,observers:o}=this;return r||i?Vc:(this.currentObservers=null,o.push(n),new de(()=>{this.currentObservers=null,Zn(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new W;return n.source=this,n}}return e.create=(t,n)=>new Rs(t,n),e})(),Rs=class extends Me{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:Vc}};var Ce=class extends Me{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 Wc={now(){return(Wc.delegate||Date).now()},delegate:void 0};var ks=class extends de{constructor(t,n){super()}schedule(t,n=0){return this}};var Wi={setInterval(e,t,...n){let{delegate:r}=Wi;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wi;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ps=class extends ks{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return Wi.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Wi.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,i;try{this.work(t)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Zn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var qr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};qr.now=Wc.now;var Fs=class extends qr{constructor(t,n=qr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Tm=new Fs(Ps);var tt=new W(e=>e.complete());function Am(e){return e&&P(e.schedule)}function Nm(e){return e[e.length-1]}function Om(e){return P(Nm(e))?e.pop():void 0}function Dn(e){return Am(Nm(e))?e.pop():void 0}function km(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function Rm(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 Jn(e){return this instanceof Jn?(this.v=e,this):new Jn(e)}function Pm(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(i[f]=function(y){return new Promise(function(M,O){o.push([f,y,M,O])>1||l(f,y)})},p&&(i[f]=p(i[f])))}function l(f,p){try{c(r[f](p))}catch(y){h(o[0][3],y)}}function c(f){f.value instanceof Jn?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Fm(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 Rm=="function"?Rm(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){s=e[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Ls=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vs(e){return P(e?.then)}function js(e){return P(e[Hr])}function Bs(e){return Symbol.asyncIterator&&P(e?.[Symbol.asyncIterator])}function $s(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 Jw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Us=Jw();function Hs(e){return P(e?.[Us])}function zs(e){return Pm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield Jn(n.read());if(i)return yield Jn(void 0);yield yield Jn(r)}}finally{n.releaseLock()}})}function Gs(e){return P(e?.getReader)}function Se(e){if(e instanceof W)return e;if(e!=null){if(js(e))return Xw(e);if(Ls(e))return eC(e);if(Vs(e))return tC(e);if(Bs(e))return Lm(e);if(Hs(e))return nC(e);if(Gs(e))return rC(e)}throw $s(e)}function Xw(e){return new W(t=>{let n=e[Hr]();if(P(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function eC(e){return new W(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ns)})}function nC(e){return new W(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Lm(e){return new W(t=>{iC(e,t).catch(n=>t.error(n))})}function rC(e){return Lm(zs(e))}function iC(e,t){var n,r,i,o;return km(this,void 0,void 0,function*(){try{for(n=Fm(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})}function Ue(e,t,n,r=0,i=!1){let o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function qs(e,t=0){return H((n,r)=>{n.subscribe(z(r,i=>Ue(r,e,()=>r.next(i),t),()=>Ue(r,e,()=>r.complete(),t),i=>Ue(r,e,()=>r.error(i),t)))})}function Ws(e,t=0){return H((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Vm(e,t){return Se(e).pipe(Ws(t),qs(t))}function jm(e,t){return Se(e).pipe(Ws(t),qs(t))}function Bm(e,t){return new W(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function $m(e,t){return new W(n=>{let r;return Ue(n,t,()=>{r=e[Us](),Ue(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>P(r?.return)&&r.return()})}function Ks(e,t){if(!e)throw new Error("Iterable cannot be null");return new W(n=>{Ue(n,t,()=>{let r=e[Symbol.asyncIterator]();Ue(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Um(e,t){return Ks(zs(e),t)}function Hm(e,t){if(e!=null){if(js(e))return Vm(e,t);if(Ls(e))return Bm(e,t);if(Vs(e))return jm(e,t);if(Bs(e))return Ks(e,t);if(Hs(e))return $m(e,t);if(Gs(e))return Um(e,t)}throw $s(e)}function ve(e,t){return t?Hm(e,t):Se(e)}function T(...e){let t=Dn(e);return ve(e,t)}function Wr(e,t){let n=P(e)?e:()=>e,r=i=>i.error(n());return new W(t?i=>t.schedule(r,0,i):r)}function Kc(e){return!!e&&(e instanceof W||P(e.lift)&&P(e.subscribe))}var nn=jr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function B(e,t){return H((n,r)=>{let i=0;n.subscribe(z(r,o=>{r.next(e.call(t,o,i++))}))})}var{isArray:oC}=Array;function sC(e,t){return oC(t)?e(...t):e(t)}function zm(e){return B(t=>sC(e,t))}var{isArray:aC}=Array,{getPrototypeOf:lC,prototype:cC,keys:uC}=Object;function Gm(e){if(e.length===1){let t=e[0];if(aC(t))return{args:t,keys:null};if(dC(t)){let n=uC(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function dC(e){return e&&typeof e=="object"&&lC(e)===cC}function qm(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function Xn(...e){let t=Dn(e),n=Om(e),{args:r,keys:i}=Gm(e);if(r.length===0)return ve([],t);let o=new W(fC(r,t,i?s=>qm(i,s):et));return n?o.pipe(zm(n)):o}function fC(e,t,n=et){return r=>{Wm(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let l=0;l{let c=ve(e[l],t),u=!1;c.subscribe(z(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Wm(e,t,n){e?Ue(n,e,t):t()}function Km(e,t,n,r,i,o,s,a){let l=[],c=0,u=0,d=!1,h=()=>{d&&!l.length&&!c&&t.complete()},f=y=>c{o&&t.next(y),c++;let M=!1;Se(n(y,u++)).subscribe(z(t,O=>{i?.(O),o?f(O):t.next(O)},()=>{M=!0},void 0,()=>{if(M)try{for(c--;l.length&&cp(O)):p(O)}h()}catch(O){t.error(O)}}))};return e.subscribe(z(t,f,()=>{d=!0,h()})),()=>{a?.()}}function De(e,t,n=1/0){return P(t)?De((r,i)=>B((o,s)=>t(r,o,i,s))(Se(e(r,i))),n):(typeof t=="number"&&(n=t),H((r,i)=>Km(r,i,e,n)))}function wn(e=1/0){return De(et,e)}function Zm(){return wn(1)}function Cn(...e){return Zm()(ve(e,Dn(e)))}function Zs(e){return new W(t=>{Se(e()).subscribe(t)})}function He(e,t){return H((n,r)=>{let i=0;n.subscribe(z(r,o=>e.call(t,o,i++)&&r.next(o)))})}function En(e){return H((t,n)=>{let r=null,i=!1,o;r=t.subscribe(z(n,void 0,void 0,s=>{o=Se(e(s,En(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Qm(e,t,n,r,i){return(o,s)=>{let a=n,l=t,c=0;o.subscribe(z(s,u=>{let d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function er(e,t){return P(t)?De(e,t,1):De(e,1)}function Zc(e,t=Tm){return H((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=s+e,u=t.now();if(u{o=c,s=t.now(),i||(i=t.schedule(l,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function In(e){return H((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function Ct(e){return e<=0?()=>tt:H((t,n)=>{let r=0;t.subscribe(z(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Qc(e){return B(()=>e)}function Qs(e=hC){return H((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function hC(){return new nn}function Ki(e){return H((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Vt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He((i,o)=>e(i,o,r)):et,Ct(1),n?In(t):Qs(()=>new nn))}function Kr(e){return e<=0?()=>tt:H((t,n)=>{let r=[];t.subscribe(z(n,i=>{r.push(i),e{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Yc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He((i,o)=>e(i,o,r)):et,Kr(1),n?In(t):Qs(()=>new nn))}function Jc(e,t){return H(Qm(e,t,arguments.length>=2,!0))}function Xc(e){return He((t,n)=>e<=n)}function Zi(...e){let t=Dn(e);return H((n,r)=>{(t?Cn(e,n,t):Cn(e,n)).subscribe(r)})}function ft(e,t){return H((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(z(r,l=>{i?.unsubscribe();let c=0,u=o++;Se(e(l,u)).subscribe(i=z(r,d=>r.next(t?t(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Qi(e){return H((t,n)=>{Se(e).subscribe(z(n,()=>n.complete(),qi)),!n.closed&&t.subscribe(n)})}function Ae(e,t,n){let r=P(e)||t||n?{next:e,error:t,complete:n}:e;return r?H((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(z(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):et}var jg="https://g.co/ng/security#xss",v=class extends Error{constructor(t,n){super(pd(t,n)),this.code=t}};function pd(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ao(e){return{toString:e}.toString()}var Ys="__parameters__";function pC(e){return function(...n){if(e){let r=e(...n);for(let i in r)this[i]=r[i]}}}function Bg(e,t,n){return ao(()=>{let r=pC(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(Ys)?l[Ys]:Object.defineProperty(l,Ys,{value:[]})[Ys];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var it=globalThis;function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}function Ge(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Ge).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 du(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var mC=ae({__forward_ref__:ae});function md(e){return e.__forward_ref__=md,e.toString=function(){return Ge(this())},e}function ht(e){return $g(e)?e():e}function $g(e){return typeof e=="function"&&e.hasOwnProperty(mC)&&e.__forward_ref__===md}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ne(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fa(e){return Ym(e,Hg)||Ym(e,zg)}function Ug(e){return Fa(e)!==null}function Ym(e,t){return e.hasOwnProperty(t)?e[t]:null}function gC(e){let t=e&&(e[Hg]||e[zg]);return t||null}function Jm(e){return e&&(e.hasOwnProperty(Xm)||e.hasOwnProperty(yC))?e[Xm]:null}var Hg=ae({\u0275prov:ae}),Xm=ae({\u0275inj:ae}),zg=ae({ngInjectableDef:ae}),yC=ae({ngInjectorDef:ae}),S=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=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Gg(e){return e&&!!e.\u0275providers}var vC=ae({\u0275cmp:ae}),_C=ae({\u0275dir:ae}),bC=ae({\u0275pipe:ae}),DC=ae({\u0275mod:ae}),ca=ae({\u0275fac:ae}),Ji=ae({__NG_ELEMENT_ID__:ae}),eg=ae({__NG_ENV_ID__:ae});function ti(e){return typeof e=="string"?e:e==null?"":String(e)}function wC(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ti(e)}function CC(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function gd(e,t){throw new v(-201,!1)}var j=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}(j||{}),fu;function qg(){return fu}function ze(e){let t=fu;return fu=e,t}function Wg(e,t,n){let r=Fa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&j.Optional)return null;if(t!==void 0)return t;gd(e,"Injector")}var EC={},eo=EC,hu="__NG_DI_FLAG__",ua="ngTempTokenPath",IC="ngTokenPath",MC=/\n/gm,SC="\u0275",tg="__source",Xr;function xC(){return Xr}function Mn(e){let t=Xr;return Xr=e,t}function TC(e,t=j.Default){if(Xr===void 0)throw new v(-203,!1);return Xr===null?Wg(e,void 0,t):Xr.get(e,t&j.Optional?null:void 0,t)}function E(e,t=j.Default){return(qg()||TC)(ht(e),t)}function _(e,t=j.Default){return E(e,La(t))}function La(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pu(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ge(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(MC,` + `)}`}var lo=Kg(Bg("Optional"),8);var Va=Kg(Bg("SkipSelf"),4);function nr(e,t){let n=e.hasOwnProperty(ca);return n?e[ca]:null}function RC(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?yd(n,t):t(n))}function Zg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function da(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function PC(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function vd(e,t,n){let r=co(e,t);return r>=0?e[r|1]=n:(r=~r,PC(e,r,t,n)),r}function eu(e,t){let n=co(e,t);if(n>=0)return e[n|1]}function co(e,t){return FC(e,t,1)}function FC(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&c!==d){if(Et(r))return!1;s=!0}}}}return Et(r)||s}function Et(e){return(e&1)===0}function UC(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Et(s)&&(t+=rg(o,i),i=""),r=s,o=o||!Et(r);n++}return i!==""&&(t+=rg(o,i)),t}function WC(e){return e.map(qC).join(",")}function KC(e){let t=[],n=[],r=1,i=2;for(;r{let t=oy(e),n=ue(w({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Jg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$t.Emulated,styles:e.styles||nt,_:null,schemas:e.schemas||null,tView:null,id:""});sy(n);let r=e.dependencies;return n.directiveDefs=og(r,!1),n.pipeDefs=og(r,!0),n.id=YC(n),n})}function ZC(e){return An(e)||ty(e)}function QC(e){return e!==null}function re(e){return ao(()=>({type:e.type,bootstrap:e.bootstrap||nt,declarations:e.declarations||nt,imports:e.imports||nt,exports:e.exports||nt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ig(e,t){if(e==null)return to;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=Tn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==Tn.None?[r,a]:r,t[o]=s):n[o]=r}return n}function Fe(e){return ao(()=>{let t=oy(e);return sy(t),t})}function Dd(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 An(e){return e[vC]||null}function ty(e){return e[_C]||null}function ny(e){return e[bC]||null}function ry(e){let t=An(e)||ty(e)||ny(e);return t!==null?t.standalone:!1}function iy(e,t){let n=e[DC]||null;if(!n&&t===!0)throw new Error(`Type ${Ge(e)} does not have '\u0275mod' property.`);return n}function oy(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||to,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||nt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ig(e.inputs,t),outputs:ig(e.outputs),debugInfo:null}}function sy(e){e.features?.forEach(t=>t(e))}function og(e,t){if(!e)return null;let n=t?ny:ZC;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(QC)}function YC(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function JC(...e){return{\u0275providers:ay(!0,e),\u0275fromNgModule:!0}}function ay(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return yd(t,s=>{let a=s;gu(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ly(i,o),n}function ly(e,t){for(let n=0;n{t(o,r)})}}function gu(e,t,n,r){if(e=ht(e),!e)return!1;let i=null,o=Jm(e),s=!o&&An(e);if(!o&&!s){let l=e.ngModule;if(o=Jm(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)gu(c,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{yd(o.imports,u=>{gu(u,t,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&ly(c,t)}if(!a){let c=nr(i)||(()=>new i);t({provide:i,useFactory:c,deps:nt},i),t({provide:Yg,useValue:i,multi:!0},i),t({provide:ni,useValue:()=>E(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=e;wd(l,u=>{t(u,c)})}}else return!1;return i!==e&&e.providers!==void 0}function wd(e,t){for(let n of e)Gg(n)&&(n=n.\u0275providers),Array.isArray(n)?wd(n,t):t(n)}var XC=ae({provide:String,useValue:ae});function cy(e){return e!==null&&typeof e=="object"&&XC in e}function eE(e){return!!(e&&e.useExisting)}function tE(e){return!!(e&&e.useFactory)}function yu(e){return typeof e=="function"}var ja=new S(""),ia={},nE={},tu;function Cd(){return tu===void 0&&(tu=new fa),tu}var ot=class{},no=class extends ot{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_u(t,s=>this.processProvider(s)),this.records.set(Qg,Zr(void 0,this)),i.has("environment")&&this.records.set(ot,Zr(void 0,this));let o=this.records.get(ja);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Yg,nt,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=Q(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(),Q(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Mn(this),r=ze(void 0),i;try{return t()}finally{Mn(n),ze(r)}}get(t,n=eo,r=j.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(eg))return t[eg](this);r=La(r);let i,o=Mn(this),s=ze(void 0);try{if(!(r&j.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=lE(t)&&Fa(t);c&&this.injectableDefInScope(c)?l=Zr(vu(t),ia):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l)}let a=r&j.Self?Cd():this.parent;return n=r&j.Optional&&n===eo?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ua]=a[ua]||[]).unshift(Ge(t)),o)throw a;return NC(a,t,"R3InjectorError",this.source)}else throw a}finally{ze(s),Mn(o)}}resolveInjectorInitializers(){let t=Q(null),n=Mn(this),r=ze(void 0),i;try{let o=this.get(ni,nt,j.Self);for(let s of o)s()}finally{Mn(n),ze(r),Q(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=ht(t);let n=yu(t)?t:ht(t&&t.provide),r=iE(t);if(!yu(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Zr(void 0,ia,!0),i.factory=()=>pu(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=Q(null);try{return n.value===ia&&(n.value=nE,n.value=n.factory()),typeof n.value=="object"&&n.value&&aE(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Q(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ht(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 vu(e){let t=Fa(e),n=t!==null?t.factory:nr(e);if(n!==null)return n;if(e instanceof S)throw new v(204,!1);if(e instanceof Function)return rE(e);throw new v(204,!1)}function rE(e){if(e.length>0)throw new v(204,!1);let n=gC(e);return n!==null?()=>n.factory(e):()=>new e}function iE(e){if(cy(e))return Zr(void 0,e.useValue);{let t=oE(e);return Zr(t,ia)}}function oE(e,t,n){let r;if(yu(e)){let i=ht(e);return nr(i)||vu(i)}else if(cy(e))r=()=>ht(e.useValue);else if(tE(e))r=()=>e.useFactory(...pu(e.deps||[]));else if(eE(e))r=()=>E(ht(e.useExisting));else{let i=ht(e&&(e.useClass||e.provide));if(sE(e))r=()=>new i(...pu(e.deps));else return nr(i)||vu(i)}return r}function Zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sE(e){return!!e.deps}function aE(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function lE(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function _u(e,t){for(let n of e)Array.isArray(n)?_u(n,t):n&&Gg(n)?_u(n.\u0275providers,t):t(n)}function Gt(e,t){e instanceof no&&e.assertNotDestroyed();let n,r=Mn(e),i=ze(void 0);try{return t()}finally{Mn(r),ze(i)}}function uy(){return qg()!==void 0||xC()!=null}function cE(e){if(!uy())throw new v(-203,!1)}function uE(e){let t=it.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function dE(e){return typeof e=="function"}var cn=0,L=1,R=2,ke=3,Mt=4,Tt=5,ha=6,pa=7,St=8,ri=9,Ut=10,xe=11,ro=12,sg=13,ui=14,Ht=15,rr=16,Qr=17,rn=18,Ba=19,dy=20,Sn=21,nu=22,pt=23,xt=25,fy=1;var ir=7,ma=8,ii=9,rt=10,ga=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ga||{});function xn(e){return Array.isArray(e)&&typeof e[fy]=="object"}function un(e){return Array.isArray(e)&&e[fy]===!0}function hy(e){return(e.flags&4)!==0}function $a(e){return e.componentOffset>-1}function Ed(e){return(e.flags&1)===1}function uo(e){return!!e.template}function bu(e){return(e[R]&512)!==0}var Du=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function py(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Rn(){return my}function my(e){return e.type.prototype.ngOnChanges&&(e.setInput=hE),fE}Rn.ngInherit=!0;function fE(){let e=yy(this),t=e?.current;if(t){let n=e.previous;if(n===to)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hE(e,t,n,r,i){let o=this.declaredInputs[r],s=yy(e)||pE(e,{previous:to,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Du(c&&c.currentValue,n,l===to),py(e,t,i,n)}var gy="__ngSimpleChanges__";function yy(e){return e[gy]||null}function pE(e,t){return e[gy]=t}var ag=null;var jt=function(e,t,n){ag?.(e,t,n)},mE="svg",gE="math";function zt(e){for(;Array.isArray(e);)e=e[cn];return e}function vy(e,t){return zt(t[e])}function mt(e,t){return zt(t[e.index])}function _y(e,t){return e.data[t]}function by(e,t){return e[t]}function kn(e,t){let n=t[e];return xn(n)?n:n[cn]}function yE(e){return(e[R]&4)===4}function Id(e){return(e[R]&128)===128}function vE(e){return un(e[ke])}function ya(e,t){return t==null?null:e[t]}function Dy(e){e[Qr]=0}function wy(e){e[R]&1024||(e[R]|=1024,Id(e)&&Ha(e))}function _E(e,t){for(;e>0;)t=t[ui],e--;return t}function Ua(e){return!!(e[R]&9216||e[pt]?.dirty)}function wu(e){e[Ut].changeDetectionScheduler?.notify(8),e[R]&64&&(e[R]|=1024),Ua(e)&&Ha(e)}function Ha(e){e[Ut].changeDetectionScheduler?.notify(0);let t=or(e);for(;t!==null&&!(t[R]&8192||(t[R]|=8192,!Id(t)));)t=or(t)}function Cy(e,t){if((e[R]&256)===256)throw new v(911,!1);e[Sn]===null&&(e[Sn]=[]),e[Sn].push(t)}function bE(e,t){if(e[Sn]===null)return;let n=e[Sn].indexOf(t);n!==-1&&e[Sn].splice(n,1)}function or(e){let t=e[ke];return un(t)?t[ke]:t}var V={lFrame:ky(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ey=!1;function DE(){return V.lFrame.elementDepthCount}function wE(){V.lFrame.elementDepthCount++}function CE(){V.lFrame.elementDepthCount--}function Iy(){return V.bindingsEnabled}function EE(){return V.skipHydrationRootTNode!==null}function IE(e){return V.skipHydrationRootTNode===e}function ME(){V.skipHydrationRootTNode=null}function X(){return V.lFrame.lView}function We(){return V.lFrame.tView}function Le(e){return V.lFrame.contextLView=e,e[St]}function Ve(e){return V.lFrame.contextLView=null,e}function Ke(){let e=My();for(;e!==null&&e.type===64;)e=e.parent;return e}function My(){return V.lFrame.currentTNode}function SE(){let e=V.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fo(e,t){let n=V.lFrame;n.currentTNode=e,n.isParent=t}function Sy(){return V.lFrame.isParent}function xE(){V.lFrame.isParent=!1}function TE(){return V.lFrame.contextLView}function xy(){return Ey}function lg(e){Ey=e}function Ty(){let e=V.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function AE(){return V.lFrame.bindingIndex}function NE(e){return V.lFrame.bindingIndex=e}function Md(){return V.lFrame.bindingIndex++}function Ay(e){let t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function OE(){return V.lFrame.inI18n}function RE(e,t){let n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,Cu(t)}function kE(){return V.lFrame.currentDirectiveIndex}function Cu(e){V.lFrame.currentDirectiveIndex=e}function PE(e){let t=V.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ny(){return V.lFrame.currentQueryIndex}function Sd(e){V.lFrame.currentQueryIndex=e}function FE(e){let t=e[L];return t.type===2?t.declTNode:t.type===1?e[Tt]:null}function Oy(e,t,n){if(n&j.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&j.Host);)if(i=FE(o),i===null||(o=o[ui],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=V.lFrame=Ry();return r.currentTNode=t,r.lView=e,!0}function xd(e){let t=Ry(),n=e[L];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ry(){let e=V.lFrame,t=e===null?null:e.child;return t===null?ky(e):t}function ky(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 Py(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fy=Py;function Td(){let e=Py();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 LE(e){return(V.lFrame.contextLView=_E(e,V.lFrame.contextLView))[St]}function dr(){return V.lFrame.selectedIndex}function sr(e){V.lFrame.selectedIndex=e}function Ad(){let e=V.lFrame;return _y(e.tView,e.selectedIndex)}function VE(){return V.lFrame.currentNamespace}var Ly=!0;function Nd(){return Ly}function Od(e){Ly=e}function jE(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=my(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function Rd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Qr]+=65536),(a>14>16&&(e[R]&3)===t&&(e[R]+=16384,cg(a,o)):cg(a,o)}var ei=-1,io=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function $E(e){return e instanceof io}function UE(e){return(e.flags&8)!==0}function HE(e){return(e.flags&16)!==0}var iu={},Eu=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=La(r);let i=this.injector.get(t,iu,r);return i!==iu||n===iu?i:this.parentInjector.get(t,n,r)}};function jy(e){return e!==ei}function va(e){return e&32767}function zE(e){return e>>16}function _a(e,t){let n=zE(e),r=t;for(;n>0;)r=r[ui],n--;return r}var Iu=!0;function ba(e){let t=Iu;return Iu=e,t}var GE=256,By=GE-1,$y=5,qE=0,Bt={};function WE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ji)&&(r=n[Ji]),r==null&&(r=n[Ji]=qE++);let i=r&By,o=1<>$y)]|=o}function Uy(e,t){let n=Hy(e,t);if(n!==-1)return n;let r=t[L];r.firstCreatePass&&(e.injectorIndex=t.length,ou(r.data,e),ou(t,null),ou(r.blueprint,null));let i=kd(e,t),o=e.injectorIndex;if(jy(i)){let s=va(i),a=_a(i,t),l=a[L].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=i,o}function ou(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hy(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function kd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=Ky(i),r===null)return ei;if(n++,i=i[ui],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ei}function KE(e,t,n){WE(e,t,n)}function ZE(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,i=0;for(;i>20,d=r?a:a+u,h=i?a+u:c;for(let f=d;f=l&&p.type===n)return f}if(i){let f=s[l];if(f&&uo(f)&&f.type===n)return l}return null}function oi(e,t,n,r){let i=e[n],o=t.data;if($E(i)){let s=i;s.resolving&&CC(wC(o[n]));let a=ba(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?ze(s.injectImpl):null,u=Oy(e,r,j.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&jE(n,o[n],t)}finally{c!==null&&ze(c),ba(a),s.resolving=!1,Fy()}}return i}function YE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ji)?e[Ji]:void 0;return typeof t=="number"?t>=0?t&By:JE:t}function ug(e,t,n){let r=1<>$y)]&r)}function dg(e,t){return!(e&j.Self)&&!(e&j.Host&&t)}var tr=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return qy(this._tNode,this._lView,t,La(r),n)}};function JE(){return new tr(Ke(),X())}function za(e){return ao(()=>{let t=e.prototype.constructor,n=t[ca]||Mu(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[ca]||Mu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Mu(e){return $g(e)?()=>{let t=Mu(ht(e));return t&&t()}:nr(e)}function XE(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[R]&2048&&!(s[R]&512);){let a=Wy(o,s,n,r|j.Self,Bt);if(a!==Bt)return a;let l=o.parent;if(!l){let c=s[dy];if(c){let u=c.get(n,Bt,r);if(u!==Bt)return u}l=Ky(s),s=s[ui]}o=l}return i}function Ky(e){let t=e[L],n=t.type;return n===2?t.declTNode:n===1?e[Tt]:null}function Pd(e){return ZE(Ke(),e)}function fg(e,t=null,n=null,r){let i=Zy(e,t,n,r);return i.resolveInjectorInitializers(),i}function Zy(e,t=null,n=null,r,i=new Set){let o=[n||nt,JC(e)];return r=r||(typeof e=="object"?void 0:Ge(e)),new no(o,t||Cd(),r||null,i)}var qe=class e{static{this.THROW_IF_NOT_FOUND=eo}static{this.NULL=new fa}static create(t,n){if(Array.isArray(t))return fg({name:""},n,t,"");{let r=t.name??"";return fg({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=D({token:e,providedIn:"any",factory:()=>E(Qg)})}static{this.__NG_ELEMENT_ID__=-1}};var e0=new S("");e0.__NG_ELEMENT_ID__=e=>{let t=Ke();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&j.Optional)return null;throw new v(204,!1)};var t0="ngOriginalError";function su(e){return e[t0]}var Qy=!0,Fd=(()=>{class e{static{this.__NG_ELEMENT_ID__=n0}static{this.__NG_ENV_ID__=n=>n}}return e})(),Su=class extends Fd{constructor(t){super(),this._lView=t}onDestroy(t){return Cy(this._lView,t),()=>bE(this._lView,t)}};function n0(){return new Su(X())}var di=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ce(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})();var xu=class extends Me{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,uy()&&(this.destroyRef=_(Fd,{optional:!0})??void 0,this.pendingTasks=_(di,{optional:!0})??void 0)}emit(t){let n=Q(null);try{super.next(t)}finally{Q(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let l=t;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof de&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=xu;function Da(...e){}function Yy(e){let t,n;function r(){e=Da;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function hg(e){return queueMicrotask(()=>e()),()=>{e=Da}}var Ld="isAngularZone",wa=Ld+"_ID",r0=0,Y=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Qy}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,s0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ld)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,i0,Da,Da);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},i0={};function Vd(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 o0(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Yy(()=>{e.callbackScheduled=!1,Tu(e),e.isCheckStableRunning=!0,Vd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Tu(e)}function s0(e){let t=()=>{o0(e)},n=r0++;e._inner=e._inner.fork({name:"angular",properties:{[Ld]:!0,[wa]:n,[wa+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(a0(l))return r.invokeTask(o,s,a,l);try{return pg(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),mg(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return pg(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!l0(l)&&t(),mg(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Tu(e),Vd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Tu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function pg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mg(e){e._nesting--,Vd(e)}var Ca=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}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,i){return t.apply(n,r)}};function a0(e){return Jy(e,"__ignore_ng_zone__")}function l0(e){return Jy(e,"__scheduler_tick__")}function Jy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function c0(e="zone.js",t){return e==="noop"?new Ca:e==="zone.js"?new Y(t):e}var on=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&&su(t);for(;n&&su(n);)n=su(n);return n||null}},u0=new S("",{providedIn:"root",factory:()=>{let e=_(Y),t=_(on);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function d0(){return fi(Ke(),X())}function fi(e,t){return new pe(mt(e,t))}var pe=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=d0}}return e})();function f0(e){return e instanceof pe?e.nativeElement:e}function h0(){return this._results[Symbol.iterator]()}var Ea=class e{get changes(){return this._changes??=new we}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=h0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=kC(t);(this._changesDetected=!RC(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Xy(e){return(e.flags&128)===128}var ev=new Map,p0=0;function m0(){return p0++}function g0(e){ev.set(e[Ba],e)}function Au(e){ev.delete(e[Ba])}var gg="__ngContext__";function ar(e,t){xn(t)?(e[gg]=t[Ba],g0(t)):e[gg]=t}function tv(e){return rv(e[ro])}function nv(e){return rv(e[Mt])}function rv(e){for(;e!==null&&!un(e);)e=e[Mt];return e}var Nu;function iv(e){Nu=e}function y0(){if(Nu!==void 0)return Nu;if(typeof document<"u")return document;throw new v(210,!1)}var ho=new S("",{providedIn:"root",factory:()=>v0}),v0="ng",jd=new S(""),qt=new S("",{providedIn:"platform",factory:()=>"unknown"});var Ga=new S(""),po=new S("",{providedIn:"root",factory:()=>y0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var _0="h",b0="b";var D0=()=>null;function Bd(e,t,n=!1){return D0(e,t,n)}var ov=!1,w0=new S("",{providedIn:"root",factory:()=>ov});var Js;function C0(){if(Js===void 0&&(Js=null,it.trustedTypes))try{Js=it.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Js}function qa(e){return C0()?.createHTML(e)||e}var Xs;function E0(){if(Xs===void 0&&(Xs=null,it.trustedTypes))try{Xs=it.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xs}function yg(e){return E0()?.createScriptURL(e)||e}var sn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jg})`}},Ou=class extends sn{getTypeName(){return"HTML"}},Ru=class extends sn{getTypeName(){return"Style"}},ku=class extends sn{getTypeName(){return"Script"}},Pu=class extends sn{getTypeName(){return"URL"}},Fu=class extends sn{getTypeName(){return"ResourceURL"}};function Wt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Pn(e,t){let n=I0(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${jg})`)}return n===t}function I0(e){return e instanceof sn&&e.getTypeName()||null}function sv(e){return new Ou(e)}function av(e){return new Ru(e)}function lv(e){return new ku(e)}function cv(e){return new Pu(e)}function uv(e){return new Fu(e)}function M0(e){let t=new Vu(e);return S0()?new Lu(t):t}var Lu=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(qa(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Vu=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=qa(t),n}};function S0(){try{return!!new window.DOMParser().parseFromString(qa(""),"text/html")}catch{return!1}}var x0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return e=String(e),e.match(x0)?e:"unsafe:"+e}function dn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function mo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dv=dn("area,br,col,hr,img,wbr"),fv=dn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hv=dn("rp,rt"),T0=mo(hv,fv),A0=mo(fv,dn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),N0=mo(hv,dn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vg=mo(dv,A0,N0,T0),pv=dn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),O0=dn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),R0=dn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),k0=mo(pv,O0,R0),P0=dn("script,style,template"),ju=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=V0(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=L0(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(t){let n=_g(t).toLowerCase();if(!vg.hasOwnProperty(n))return this.sanitizedSomething=!0,!P0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let i=0;i"),!0}endElement(t){let n=_g(t).toLowerCase();vg.hasOwnProperty(n)&&!dv.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(bg(t))}};function F0(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function L0(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mv(t);return t}function V0(e){let t=e.firstChild;if(t&&F0(e,t))throw mv(t);return t}function _g(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var j0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B0=/([^\#-~ |!])/g;function bg(e){return e.replace(/&/g,"&").replace(j0,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(B0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var ea;function gv(e,t){let n=null;try{ea=ea||M0(e);let r=t?String(t):"";n=ea.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ea.getInertBodyElement(r)}while(r!==o);let a=new ju().sanitizeChildren(Dg(n)||n);return qa(a)}finally{if(n){let r=Dg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Dg(e){return"content"in e&&$0(e)?e.content:null}function $0(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var gt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(gt||{});function go(e){let t=vv();return t?t.sanitize(gt.URL,e)||"":Pn(e,"URL")?Wt(e):Wa(ti(e))}function U0(e){let t=vv();if(t)return yg(t.sanitize(gt.RESOURCE_URL,e)||"");if(Pn(e,"ResourceURL"))return yg(Wt(e));throw new v(904,!1)}function H0(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?U0:go}function yv(e,t,n){return H0(t,n)(e)}function vv(){let e=X();return e&&e[Ut].sanitizer}function _v(e){return e instanceof Function?e():e}function z0(e){return(e??_(qe)).get(qt)==="browser"}var an=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(an||{}),G0;function $d(e,t){return G0(e,t)}function Yr(e,t,n,r,i){if(r!=null){let o,s=!1;un(r)?o=r:xn(r)&&(s=!0,r=r[cn]);let a=zt(r);e===0&&n!==null?i==null?Ev(t,n,a):Ia(t,n,a,i||null,!0):e===1&&n!==null?Ia(t,n,a,i||null,!0):e===2?sI(t,a,s):e===3&&t.destroyNode(a),o!=null&&lI(t,e,o,n,i)}}function q0(e,t){return e.createText(t)}function W0(e,t,n){e.setValue(t,n)}function bv(e,t,n){return e.createElement(t,n)}function K0(e,t){Dv(e,t),t[cn]=null,t[Tt]=null}function Z0(e,t,n,r,i,o){r[cn]=i,r[Tt]=t,Ka(e,r,n,1,i,o)}function Dv(e,t){t[Ut].changeDetectionScheduler?.notify(9),Ka(e,t,t[xe],2,null,null)}function Q0(e){let t=e[ro];if(!t)return au(e[L],e);for(;t;){let n=null;if(xn(t))n=t[ro];else{let r=t[rt];r&&(n=r)}if(!n){for(;t&&!t[Mt]&&t!==e;)xn(t)&&au(t[L],t),t=t[ke];t===null&&(t=e),xn(t)&&au(t[L],t),n=t&&t[Mt]}t=n}}function Y0(e,t,n,r){let i=rt+r,o=n.length;r>0&&(n[i-1][Mt]=t),r0&&(e[n-1][Mt]=r[Mt]);let o=da(e,rt+t);K0(r[L],r);let s=o[rn];s!==null&&s.detachView(o[L]),r[ke]=null,r[Mt]=null,r[R]&=-129}return r}function Cv(e,t){if(!(t[R]&256)){let n=t[xe];n.destroyNode&&Ka(e,t,n,3,null,null),Q0(t)}}function au(e,t){if(t[R]&256)return;let n=Q(null);try{t[R]&=-129,t[R]|=256,t[pt]&&kc(t[pt]),X0(e,t),J0(e,t),t[L].type===1&&t[xe].destroy();let r=t[rr];if(r!==null&&un(t[ke])){r!==t[ke]&&Ud(r,t);let i=t[rn];i!==null&&i.detachView(e)}Au(t)}finally{Q(n)}}function J0(e,t){let n=e.cleanup,r=t[pa];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[pa]=null);let i=t[Sn];if(i!==null){t[Sn]=null;for(let o=0;o-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===$t.None||o===$t.Emulated)return null}return mt(r,n)}}function Ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Ev(e,t,n){e.appendChild(t,n)}function wg(e,t,n,r,i){r!==null?Ia(e,t,n,r,i):Ev(e,t,n)}function Iv(e,t){return e.parentNode(t)}function nI(e,t){return e.nextSibling(t)}function rI(e,t,n){return oI(e,t,n)}function iI(e,t,n){return e.type&40?mt(e,n):null}var oI=iI,Cg;function Hd(e,t,n,r){let i=eI(e,r,t),o=t[xe],s=r.parent||t[Tt],a=rI(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;lxt&&Tv(e,t,xt,!1),jt(s?2:0,i),n(r,i)}finally{sr(o),jt(s?3:1,i)}}function kv(e,t,n){if(hy(t)){let r=Q(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function yI(e,t,n,r){let i=zv(t);i.push(n),e.firstCreatePass&&Gv(e).push(r,i.length-1)}function vI(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return EE()&&(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:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Eg(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,l=Tn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}e===0?Ig(r,n,c,a,l):Ig(r,n,c,a)}return r}function Ig(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function _I(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],l=null,c=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function EI(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;$a(n)&&NI(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Uy(n,t),ar(r,t);let s=n.initialInputs;for(let a=i;a{Ha(e.lView)},consumerOnSignalRead(){this.lView[pt]=this}});function qI(e){let t=e[pt]??Object.create(WI);return t.lView=e,t}var WI=ue(w({},Nc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=or(e.lView);for(;t&&!Zv(t[L]);)t=or(t);t&&wy(t)},consumerOnSignalRead(){this.lView[pt]=this}});function Zv(e){return e.type!==2}var KI=100;function Qv(e,t=!0,n=0){let r=e[Ut],i=r.rendererFactory,o=!1;o||i.begin?.();try{ZI(e,n)}catch(s){throw t&&qv(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function ZI(e,t){let n=xy();try{lg(!0),zu(e,t);let r=0;for(;Ua(e);){if(r===KI)throw new v(103,!1);r++,zu(e,1)}}finally{lg(n)}}function QI(e,t,n,r){let i=t[R];if((i&256)===256)return;let o=!1,s=!1;!o&&t[Ut].inlineEffectRunner?.flush(),xd(t);let a=!0,l=null,c=null;o||(Zv(e)?(c=UI(t),l=Oc(c)):_m()===null?(a=!1,c=qI(t),l=Oc(c)):t[pt]&&(kc(t[pt]),t[pt]=null));try{Dy(t),NE(e.bindingStartIndex),n!==null&&Rv(e,t,n,2,r);let u=(i&3)===3;if(!o)if(u){let f=e.preOrderCheckHooks;f!==null&&oa(t,f,null)}else{let f=e.preOrderHooks;f!==null&&sa(t,f,0,null),ru(t,0)}if(s||YI(t),Yv(t,0),e.contentQueries!==null&&Hv(e,t),!o)if(u){let f=e.contentCheckHooks;f!==null&&oa(t,f)}else{let f=e.contentHooks;f!==null&&sa(t,f,1),ru(t,1)}dI(e,t);let d=e.components;d!==null&&Xv(t,d,0);let h=e.viewQuery;if(h!==null&&Hu(2,h,r),!o)if(u){let f=e.viewCheckHooks;f!==null&&oa(t,f)}else{let f=e.viewHooks;f!==null&&sa(t,f,2),ru(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[nu]){for(let f of t[nu])f();t[nu]=null}o||(t[R]&=-73)}catch(u){throw o||Ha(t),u}finally{c!==null&&(bm(c,l),a&&zI(c)),Td()}}function Yv(e,t){for(let n=tv(e);n!==null;n=nv(n))for(let r=rt;r-1&&(Bu(t,r),da(n,r))}this._attachedToViewContainer=!1}Cv(this._lView[L],this._lView)}onDestroy(t){Cy(this._lView,t)}markForCheck(){Kd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[R]&=-129}reattach(){wu(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,Qv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bu(this._lView),n=this._lView[rr];n!==null&&!t&&Ud(n,this._lView),Dv(this._lView[L],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=bu(this._lView),r=this._lView[rr];r!==null&&!n&&wv(r,this._lView),wu(this._lView)}},ln=(()=>{class e{static{this.__NG_ELEMENT_ID__=tM}}return e})(),XI=ln,eM=class extends XI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let i=jI(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new lr(i)}};function tM(){return Zd(Ke(),X())}function Zd(e,t){return e.type&4?new eM(t,e,fi(e,t)):null}var cV=new RegExp(`^(\\d+)*(${b0}|${_0})*(.*)`);var nM=()=>null;function Sg(e,t){return nM(e,t)}var si=class{},Qd=new S("",{providedIn:"root",factory:()=>!1});var e_=new S(""),t_=new S(""),Gu=class{},Sa=class{};function rM(e){let t=Error(`No component factory found for ${Ge(e)}.`);return t[iM]=e,t}var iM="ngComponent";var qu=class{resolveComponentFactory(t){throw rM(t)}},ai=class{static{this.NULL=new qu}},Nn=class{},fr=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>oM()}}return e})();function oM(){let e=X(),t=Ke(),n=kn(t.index,e);return(xn(n)?n:e)[xe]}var sM=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>null})}}return e})();function Wu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&Sv(e,n,o.join(" "))}}function hM(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static{this.__NG_ELEMENT_ID__=mM}}return e})();function mM(){let e=Ke();return r_(e,X())}var gM=Kt,n_=class extends gM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return fi(this._hostTNode,this._hostLView)}get injector(){return new tr(this._hostTNode,this._hostLView)}get parentInjector(){let t=kd(this._hostTNode,this._hostLView);if(jy(t)){let n=_a(t,this._hostLView),r=va(t),i=n[L].data[r+8];return new tr(i,n)}else return new tr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-rt}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Sg(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Mg(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!dE(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let l=s?t:new li(An(t)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(ot,null);y&&(o=y)}let u=An(l.componentType??{}),d=Sg(this._lContainer,u?.id??null),h=d?.firstChild??null,f=l.create(c,i,h,o);return this.insertImpl(f.hostView,a,Mg(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(vE(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=i[ke],c=new n_(l,l[Tt],l[ke]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return BI(s,i,o,r),t.attachToViewContainerRef(),Zg(lu(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Bu(this._lContainer,n);r&&(da(lu(this._lContainer),n),Cv(r[L],r))}detach(t){let n=this._adjustIndex(t,-1),r=Bu(this._lContainer,n);return r&&da(lu(this._lContainer),n)!=null?new lr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tg(e){return e[ma]}function lu(e){return e[ma]||(e[ma]=[])}function r_(e,t){let n,r=t[e.index];return un(r)?n=r:(n=Uv(r,t,null,e),t[e.index]=n,Ya(t,n)),vM(n,t,e,r),new n_(n,e,t)}function yM(e,t){let n=e[xe],r=n.createComment(""),i=mt(t,e),o=Iv(n,i);return Ia(n,o,r,nI(n,i),!1),r}var vM=DM,_M=()=>!1;function bM(e,t,n){return _M(e,t,n)}function DM(e,t,n,r){if(e[ir])return;let i;n.type&8?i=zt(r):i=yM(t,n),e[ir]=i}var Zu=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qu=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let c=o[a+1],u=t[-l];for(let d=rt;dt.trim())}function s_(e,t,n){e.queries===null&&(e.queries=new Yu),e.queries.track(new Ju(t,n))}function AM(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Yd(e,t){return e.queries.getByIndex(t)}function NM(e,t){let n=e[L],r=Yd(n,t);return r.crossesNgTemplate?Xu(n,e,t,[]):i_(n,e,r,t)}var Ag=new Set;function Ja(e){Ag.has(e)||(Ag.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function OM(e){let t=[],n=new Map;function r(i){let o=n.get(i);if(!o){let s=e(i);n.set(i,o=s.then(FM))}return o}return Aa.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(r(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,u=i.styleUrls;i.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[c+h]=f,u.splice(u.indexOf(d),1),u.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(r(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let l=Promise.all(s).then(()=>LM(o));t.push(l)}),kM(),Promise.all(t).then(()=>{})}var Aa=new Map,RM=new Set;function kM(){let e=Aa;return Aa=new Map,e}function PM(){return Aa.size===0}function FM(e){return typeof e=="string"?e:e.text()}function LM(e){RM.delete(e)}function yo(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}var On=class{},oo=class{};var Na=class extends On{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xa(this);let o=iy(t);this._bootstrapComponents=_v(o.bootstrap),this._r3Injector=Zy(t,n,[{provide:On,useValue:this},{provide:ai,useValue:this.componentFactoryResolver},...r],Ge(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Oa=class extends oo{constructor(t){super(),this.moduleType=t}create(t){return new Na(this.moduleType,t,[])}};function VM(e,t,n){return new Na(e,t,n,!1)}var ed=class extends On{constructor(t){super(),this.componentFactoryResolver=new xa(this),this.instance=null;let n=new no([...t.providers,{provide:On,useValue:this},{provide:ai,useValue:this.componentFactoryResolver}],t.parent||Cd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Xa(e,t,n=null){return new ed({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function a_(e){return Jd(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function jM(e,t){if(Array.isArray(e))for(let n=0;n{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})(),td=class e{constructor(){this.ngZone=_(Y),this.scheduler=_(si),this.errorHandler=_(on,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Jr.EarlyRead,Jr.Write,Jr.MixedReadWrite,Jr.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}},nd=class{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function el(e,t){!t?.injector&&cE(el);let n=t?.injector??_(qe);return z0(n)?(Ja("NgAfterNextRender"),KM(e,n,t,!0)):ZM}function WM(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function KM(e,t,n,r){let i=t.get(c_);i.impl??=t.get(td);let o=n?.phase??Jr.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Fd):null,a=new nd(i.impl,WM(e,o),r,s);return i.impl.register(a),a}var ZM={destroy(){}};function hi(e,t,n,r){let i=X(),o=Md();if(cr(i,o,t)){let s=We(),a=Ad();OI(a,i,e,t,n,r)}return hi}function u_(e,t,n,r){return cr(e,Md(),n)?t+ti(n)+r:yt}function QM(e,t,n,r,i,o){let s=AE(),a=$M(e,s,n,i);return Ay(2),a?t+ti(n)+r+ti(i)+o:yt}function ta(e,t){return e<<17|t<<2}function ur(e){return e>>17&32767}function YM(e){return(e&2)==2}function JM(e,t){return e&131071|t<<17}function rd(e){return e|2}function ci(e){return(e&131068)>>2}function cu(e,t){return e&-131069|t<<2}function XM(e){return(e&1)===1}function id(e){return e|1}function eS(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=ur(s),l=ci(s);e[r]=n;let c=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||co(d,u)>0)&&(c=!0)}else u=n;if(i)if(l!==0){let h=ur(e[a+1]);e[r+1]=ta(h,a),h!==0&&(e[h+1]=cu(e[h+1],r)),e[a+1]=JM(e[a+1],r)}else e[r+1]=ta(a,0),a!==0&&(e[a+1]=cu(e[a+1],r)),a=r;else e[r+1]=ta(l,0),a===0?a=r:e[l+1]=cu(e[l+1],r),l=r;c&&(e[r+1]=rd(e[r+1])),Ng(e,u,r,!0),Ng(e,u,r,!1),tS(t,u,e,r,o),s=ta(a,l),o?t.classBindings=s:t.styleBindings=s}function tS(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&co(o,t)>=0&&(n[r+1]=id(n[r+1]))}function Ng(e,t,n,r){let i=e[n+1],o=t===null,s=r?ur(i):ci(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],c=e[s+1];nS(l,t)&&(a=!0,e[s+1]=r?id(c):rd(c)),s=r?ur(c):ci(c)}a&&(e[n+1]=r?rd(i):id(i))}function nS(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?co(e,t)>=0:!1}var It={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rS(e){return e.substring(It.key,It.keyEnd)}function iS(e){return oS(e),d_(e,f_(e,0,It.textEnd))}function d_(e,t){let n=It.textEnd;return n===t?-1:(t=It.keyEnd=sS(e,It.key=t,n),f_(e,t,n))}function oS(e){It.key=0,It.keyEnd=0,It.value=0,It.valueEnd=0,It.textEnd=e.length}function f_(e,t,n){for(;t32;)t++;return t}function oe(e,t,n){let r=X(),i=Md();if(cr(r,i,t)){let o=We(),s=Ad();Vv(o,s,r,e,t,r[xe],n,!1)}return oe}function od(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";qd(e,n,o[s],s,r)}function Xd(e){lS(mS,aS,e,!0)}function aS(e,t){for(let n=iS(t);n>=0;n=d_(t,n))vd(e,rS(t),!0)}function lS(e,t,n,r){let i=We(),o=Ay(2);i.firstUpdatePass&&cS(i,null,o,r);let s=X();if(n!==yt&&cr(s,o,n)){let a=i.data[dr()];if(p_(a,r)&&!h_(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=du(l,n||"")),od(i,a,s,n,r)}else gS(i,a,s,s[xe],s[o+1],s[o+1]=pS(e,t,n),r,o)}}function h_(e,t){return t>=e.expandoStartIndex}function cS(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[dr()],s=h_(e,n);p_(o,r)&&t===null&&!s&&(t=!1),t=uS(i,o,t,r),eS(i,o,t,n,s,r)}}function uS(e,t,n,r){let i=PE(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=uu(null,e,t,n,r),n=so(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=uu(i,e,t,n,r),o===null){let l=dS(e,t,r);l!==void 0&&Array.isArray(l)&&(l=uu(null,e,t,l[1],r),l=so(l,t.attrs,r),fS(e,t,r,l))}else o=hS(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function dS(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ci(r)!==0)return e[ur(r)]}function fS(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[ur(i)]=r}function hS(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=n[i+1];h===yt&&(h=d?nt:void 0);let f=d?eu(h,r):u===r?h:void 0;if(c&&!Ra(f)&&(f=eu(l,r)),Ra(f)&&(a=f,s))return a;let p=e[i+1];i=s?ur(p):ci(p)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=eu(l,r))}return a}function Ra(e){return e!==void 0}function p_(e,t){return(e.flags&(t?8:16))!==0}function vS(e,t,n,r,i,o){let s=t.consts,a=ya(s,i),l=Qa(t,e,2,r,a);return jv(t,n,l,ya(s,o)),l.attrs!==null&&Wu(l,l.attrs,!1),l.mergedAttrs!==null&&Wu(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function m(e,t,n,r){let i=X(),o=We(),s=xt+e,a=i[xe],l=o.firstCreatePass?vS(s,o,i,t,n,r):o.data[s],c=_S(o,i,l,a,t,e);i[s]=c;let u=Ed(l);return fo(l,!0),xv(a,c,l),!UM(l)&&Nd()&&Hd(o,i,c,l),DE()===0&&ar(c,i),wE(),u&&(Pv(o,i,l),kv(o,l,i)),r!==null&&Fv(i,l),m}function g(){let e=Ke();Sy()?xE():(e=e.parent,fo(e,!1));let t=e;IE(t)&&ME(),CE();let n=We();return n.firstCreatePass&&(Rd(n,e),hy(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&UE(t)&&od(n,t,X(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&HE(t)&&od(n,t,X(),t.stylesWithoutHost,!1),g}function b(e,t,n,r){return m(e,t,n,r),g(),b}var _S=(e,t,n,r,i,o)=>(Od(!0),bv(r,i,VE()));function ef(){return X()}var ka="en-US";var bS=ka;function DS(e){typeof e=="string"&&(bS=e.toLowerCase().replace(/_/g,"-"))}var wS=(e,t,n)=>{};function _e(e,t,n,r){let i=X(),o=We(),s=Ke();return ES(o,i,i[xe],s,e,t,r),_e}function CS(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function ES(e,t,n,r,i,o,s){let a=Ed(r),c=e.firstCreatePass&&Gv(e),u=t[St],d=zv(t),h=!0;if(r.type&3||s){let y=mt(r,t),M=s?s(y):y,O=d.length,U=s?te=>s(zt(te[r.index])):r.index,K=null;if(!s&&a&&(K=CS(e,t,i,r.index)),K!==null){let te=K.__ngLastListenerFn__||K;te.__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,h=!1}else{o=kg(r,t,u,o),wS(y,i,o);let te=n.listen(M,i,o);d.push(o,te),c&&c.push(i,U,O,O+1)}}else o=kg(r,t,u,o);let f=r.outputs,p;if(h&&f!==null&&(p=f[i])){let y=p.length;if(y)for(let M=0;M-1?kn(e.index,t):t;Kd(s,5);let a=Rg(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Rg(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function pi(e=1){return LE(e)}function hr(e,t,n){return m_(e,"",t,"",n),hr}function m_(e,t,n,r,i){let o=X(),s=u_(o,t,n,r);if(s!==yt){let a=We(),l=Ad();Vv(a,l,o,e,s,o[xe],i,!1)}return m_}function tf(e,t,n,r){xM(e,t,n,r)}function nf(e,t,n){SM(e,t,n)}function mi(e){let t=X(),n=We(),r=Ny();Sd(r+1);let i=Yd(n,r);if(e.dirty&&yE(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let o=NM(t,r);e.reset(o,f0),e.notifyOnChanges()}return!0}return!1}function gi(){return MM(X(),Ny())}function IS(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function tl(e){let t=TE();return by(t,xt+e)}function C(e,t=""){let n=X(),r=We(),i=e+xt,o=r.firstCreatePass?Qa(r,i,1,t,null):r.data[i],s=MS(r,n,o,t,e);n[i]=s,Nd()&&Hd(r,n,s,o),fo(o,!1)}var MS=(e,t,n,r,i)=>(Od(!0),q0(t[xe],r));function Zt(e,t,n){let r=X(),i=u_(r,e,t,n);return i!==yt&&Wv(r,dr(),i),Zt}function rf(e,t,n,r,i){let o=X(),s=QM(o,e,t,n,r,i);return s!==yt&&Wv(o,dr(),s),rf}var SS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ay(!1,n.type),i=r.length>0?Xa([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(E(ot))})}}return e})();function nl(e){Ja("NgStandalone"),e.getStandaloneInjector=t=>t.get(SS).getOrCreateStandaloneInjector(e)}function yi(e,t,n){let r=Ty()+e,i=X();return i[r]===yt?l_(i,r,n?t.call(n):t()):BM(i,r)}function xS(e,t){let n=e[t];return n===yt?void 0:n}function TS(e,t,n,r,i,o){let s=t+n;return cr(e,s,i)?l_(e,s+1,o?r.call(o,i):r(i)):xS(e,s+1)}function vo(e,t){let n=We(),r,i=e+xt;n.firstCreatePass?(r=AS(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=nr(r.type,!0)),s,a=ze(A);try{let l=ba(!1),c=o();return ba(l),IS(n,X(),i,c),c}finally{ze(a)}}function AS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function _o(e,t,n){let r=e+xt,i=X(),o=by(i,r);return NS(i,r)?TS(i,Ty(),t,o.transform,n,o):o.transform(n)}function NS(e,t){return e[L].data[t].pure}var na=null;function OS(e){na!==null&&(e.defaultEncapsulation!==na.defaultEncapsulation||e.preserveWhitespaces!==na.preserveWhitespaces)||(na=e)}var rl=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var of=new S(""),bo=new S(""),il=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,sf||(RS(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(E(Y),E(ol),E(bo))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),ol=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sf?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function RS(e){sf=e}var sf;function pr(e){return!!e&&typeof e.then=="function"}function af(e){return!!e&&typeof e.subscribe=="function"}var sl=new S(""),g_=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=_(sl,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(pr(o))n.push(o);else if(af(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lf=new S("");function kS(){Dm(()=>{throw new v(600,!1)})}function PS(e){return e.isBoundToModule}var FS=10;function LS(e,t,n){try{let r=n();return pr(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function y_(e,t){return Array.isArray(t)?t.reduce(y_,e):w(w({},e),t)}var Fn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(u0),this.afterRenderManager=_(c_),this.zonelessEnabled=_(Qd),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Me,this.afterTick=new Me,this.componentTypes=[],this.components=[],this.isStable=_(di).hasPendingTasks.pipe(B(n=>!n)),this._injector=_(ot)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Sa;if(!this._injector.get(g_).done){let h=!i&&ry(n),f=!1;throw new v(405,f)}let s;i?s=n:s=this._injector.get(ai).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=PS(s)?void 0:this._injector.get(On),l=r||s.selector,c=s.create(qe.NULL,[],l,a),u=c.location.nativeElement,d=c.injector.get(of,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),la(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new v(101,!1);let n=Q(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,Q(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Nn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++Ua(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;la(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(lf,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>la(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function la(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function VS(e,t,n,r){if(!n&&!Ua(e))return;Qv(e,t,n&&!r?0:1)}var sd=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},al=(()=>{class e{compileModuleSync(n){return new Oa(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=iy(n),o=_v(i.declarations).reduce((s,a)=>{let l=An(a);return l&&s.push(new li(l)),s},[]);return new sd(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),jS=new S("");function BS(e,t,n){let r=new Oa(n);return Promise.resolve(r)}function Pg(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var $S=(()=>{class e{constructor(){this.zone=_(Y),this.changeDetectionScheduler=_(si),this.applicationRef=_(Fn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function US({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Y(ue(w({},v_()),{scheduleInRootZone:n})),[{provide:Y,useFactory:e},{provide:ni,multi:!0,useFactory:()=>{let r=_($S,{optional:!0});return()=>r.initialize()}},{provide:ni,multi:!0,useFactory:()=>{let r=_(HS);return()=>{r.initialize()}}},t===!0?{provide:e_,useValue:!0}:[],{provide:t_,useValue:n??Qy}]}function v_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var HS=(()=>{class e{constructor(){this.subscription=new de,this.initialized=!1,this.zone=_(Y),this.pendingTasks=_(di)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var zS=(()=>{class e{constructor(){this.appRef=_(Fn),this.taskService=_(di),this.ngZone=_(Y),this.zonelessEnabled=_(Qd),this.disableScheduling=_(e_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new de,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(wa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(t_,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Ca||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?hg:Yy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(wa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,hg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function GS(){return typeof $localize<"u"&&$localize.locale||ka}var ll=new S("",{providedIn:"root",factory:()=>_(ll,j.Optional|j.SkipSelf)||GS()});var cf=new S("");function ra(e){return!!e.platformInjector}function qS(e){let t=ra(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{ra(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(on,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),ra(e)){let o=()=>t.destroy(),s=e.platformInjector.get(cf);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{la(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return LS(r,n,()=>{let o=t.get(g_);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(ll,ka);if(DS(s||ka),ra(e)){let a=t.get(Fn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return WS(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function WS(e,t){let n=e.injector.get(Fn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var __=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){let i=r?.scheduleInRootZone,o=()=>c0(r?.ngZone,ue(w({},v_({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:i})),s=r?.ignoreChangesOutsideZone,a=[US({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:si,useExisting:zS}],l=VM(n.moduleType,this.injector,a);return qS({moduleRef:l,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){let i=y_({},r);return BS(this.injector,i,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(cf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(E(qe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Xi=null,b_=new S("");function KS(e){if(Xi&&!Xi.get(b_,!1))throw new v(400,!1);kS(),Xi=e;let t=e.get(__);return YS(e),t}function uf(e,t,n=[]){let r=`Platform: ${t}`,i=new S(r);return(o=[])=>{let s=D_();if(!s||s.injector.get(b_,!1)){let a=[...n,...o,{provide:i,useValue:!0}];e?e(a):KS(ZS(a,r))}return QS(i)}}function ZS(e=[],t){return qe.create({name:t,providers:[{provide:ja,useValue:"platform"},{provide:cf,useValue:new Set([()=>Xi=null])},...e]})}function QS(e){let t=D_();if(!t)throw new v(401,!1);return t}function D_(){return Xi?.get(__)??null}function YS(e){e.get(jd,null)?.forEach(n=>n())}var fn=(()=>{class e{static{this.__NG_ELEMENT_ID__=JS}}return e})();function JS(e){return XS(Ke(),X(),(e&16)===16)}function XS(e,t,n){if($a(e)&&!n){let r=kn(e.index,t);return new lr(r,r)}else if(e.type&175){let r=t[Ht];return new lr(r,t)}return null}var ad=class{constructor(){}supports(t){return a_(t)}create(t){return new ld(t)}},ex=(e,t)=>t,ld=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ex}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(i,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,i),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,i),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new cd(n,r),o,i)),t}_verifyReinsertion(t,n,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let i=t._prevRemoved,o=t._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let i=n===null?this._itHead:n._next;return t._next=i,t._prev=n,i===null?this._itTail=t:i._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Pa),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},cd=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ud=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Pa=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ud,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,i=this.map.get(r);return i?i.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Fg(e,t,n){let r=e.previousIndex;if(r===null)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let i=this._records.get(t);this._maybeAddToChanges(i,n);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let r=new hd(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},hd=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Lg(){return new df([new ad])}var df=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:Lg})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Lg()),deps:[[e,new Va,new lo]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function Vg(){return new ff([new dd])}var ff=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:Vg})}constructor(n){this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Vg()),deps:[[e,new Va,new lo]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var w_=uf(null,"core",[]),C_=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(E(Fn))}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({})}}return e})();function Ln(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function cl(e){let t=Q(null);try{return e()}finally{Q(t)}}function E_(e){let t=An(e);if(!t)return null;let n=new li(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var N_=null;function mr(){return N_}function O_(e){N_??=e}var ul=class{};var be=new S(""),bf=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(tx),providedIn:"platform"})}}return e})(),R_=new S(""),tx=(()=>{class e extends bf{constructor(){super(),this._doc=_(be),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mr().getBaseHref(this._doc)}onPopState(n){let r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Df(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function I_(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function hn(e){return e&&e[0]!=="?"?"?"+e:e}var pn=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(wf),providedIn:"root"})}}return e})(),k_=new S(""),wf=(()=>{class e extends pn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??_(be).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Df(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+hn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+hn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+hn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(E(bf),E(k_,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),P_=(()=>{class e extends pn{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Df(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+hn(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+hn(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(E(bf),E(k_,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),vi=(()=>{class e{constructor(n){this._subject=new we,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ix(I_(M_(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+hn(r))}normalize(n){return e.stripTrailingSlash(rx(this._basePath,M_(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=hn}static{this.joinWithSlash=Df}static{this.stripTrailingSlash=I_}static{this.\u0275fac=function(r){return new(r||e)(E(pn))}}static{this.\u0275prov=D({token:e,factory:()=>nx(),providedIn:"root"})}}return e})();function nx(){return new vi(E(pn))}function rx(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function M_(e){return e.replace(/\/index.html$/,"")}function ix(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function F_(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var hf=/\s+/,S_=[],hl=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=S_,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(hf):S_}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(hf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(hf).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static{this.\u0275fac=function(r){return new(r||e)(A(pe),A(fr))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var pf=class{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},L_=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new pf(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),x_(a,i)}});for(let i=0,o=r.length;i{let o=r.get(i.currentIndex);x_(o,i)})}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(A(Kt),A(ln),A(df))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function x_(e,t){e.context.$implicit=t.item}var _i=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new mf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){T_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){T_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(A(Kt),A(ln))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),mf=class{constructor(){this.$implicit=null,this.ngIf=null}};function T_(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Ge(t)}'.`)}function ox(e,t){return new v(2100,!1)}var gf=class{createSubscription(t,n){return cl(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){cl(()=>t.unsubscribe())}},yf=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},sx=new yf,ax=new gf,pl=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(pr(n))return sx;if(af(n))return ax;throw ox(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(A(fn,16))}}static{this.\u0275pipe=Dd({name:"async",type:e,pure:!1,standalone:!0})}}return e})();function lx(e,t){return{key:e,value:t}}var V_=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=A_}transform(n,r=A_){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let i=this.differ.diff(n),o=r!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(s=>{this.keyValues.push(lx(s.key,s.currentValue))})),(i||o)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}static{this.\u0275fac=function(r){return new(r||e)(A(ff,16))}}static{this.\u0275pipe=Dd({name:"keyvalue",type:e,pure:!1,standalone:!0})}}return e})();function A_(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(n===null)return 1;if(r===null)return-1;if(typeof n=="string"&&typeof r=="string")return n{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({})}}return e})(),Cf="browser",cx="server";function Ef(e){return e===Cf}function If(e){return e===cx}var j_=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>Ef(_(qt))?new vf(_(be),window):new _f})}}return e})(),vf=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=ux(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function ux(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}var _f=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},dl=class{};var xf=class extends ul{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Tf=class e extends xf{static makeCurrent(){O_(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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=fx();return n==null?null:hx(n)}resetBaseElement(){Do=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return F_(document.cookie,t)}},Do=null;function fx(){return Do=Do||document.querySelector("base"),Do?Do.getAttribute("href"):null}function hx(e){return new URL(e,document.baseURI).pathname}var Af=class{addToWindow(t){it.getAngularTestability=(r,i=!0)=>{let o=t.findTestabilityInTree(r,i);if(o==null)throw new v(5103,!1);return o},it.getAllAngularTestabilities=()=>t.getAllTestabilities(),it.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let i=it.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};it.frameworkStabilizers||(it.frameworkStabilizers=[]),it.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let i=t.getTestability(n);return i??(r?mr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},px=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Nf=new S(""),U_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(E(Nf),E(Y))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),ml=class{constructor(t){this._doc=t}},Mf="ng-app-id",H_=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=If(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Mf}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(Mf),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Mf,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(E(be),E(ho),E(po,8),E(qt))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Sf={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"},Rf=/%COMP%/g,z_="%COMP%",mx=`_nghost-${z_}`,gx=`_ngcontent-${z_}`,yx=!0,vx=new S("",{providedIn:"root",factory:()=>yx});function _x(e){return gx.replace(Rf,e)}function bx(e){return mx.replace(Rf,e)}function G_(e,t){return t.map(n=>n.replace(Rf,e))}var gl=(()=>{class e{constructor(n,r,i,o,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=If(a),this.defaultRenderer=new wo(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===$t.ShadowDom&&(r=ue(w({},r),{encapsulation:$t.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof yl?i.applyToHost(n):i instanceof Co&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case $t.Emulated:o=new yl(l,c,r,this.appId,u,s,a,d);break;case $t.ShadowDom:return new Of(l,c,n,r,s,a,this.nonce,d);default:o=new Co(l,c,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(E(U_),E(H_),E(ho),E(vx),E(be),E(qt),E(Y),E(po))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),wo=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Sf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(B_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(B_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=Sf[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=Sf[r];i?t.removeAttributeNS(i,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,i){i&(an.DashCase|an.Important)?t.style.setProperty(n,r,i&an.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&an.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=mr().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 B_(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Of=class extends wo{constructor(t,n,r,i,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=G_(i.id,i.styles);for(let u of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Co=class extends wo{constructor(t,n,r,i,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?G_(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},yl=class extends Co{constructor(t,n,r,i,o,s,a,l){let c=i+"-"+r.id;super(t,n,r,o,s,a,l,c),this.contentAttr=_x(c),this.hostAttr=bx(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}},Dx=(()=>{class e extends ml{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(E(be))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),$_=["alt","control","meta","shift"],wx={"\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"},Cx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ex=(()=>{class e extends ml{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mr().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),$_.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=wx[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),$_.forEach(s=>{if(s!==i){let a=Cx[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(E(be))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function Ix(){Tf.makeCurrent()}function Mx(){return new on}function Sx(){return iv(document),document}var xx=[{provide:qt,useValue:Cf},{provide:jd,useValue:Ix,multi:!0},{provide:be,useFactory:Sx,deps:[]}],q_=uf(w_,"browser",xx),Tx=new S(""),Ax=[{provide:bo,useClass:Af,deps:[]},{provide:of,useClass:il,deps:[Y,ol,bo]},{provide:il,useClass:il,deps:[Y,ol,bo]}],Nx=[{provide:ja,useValue:"root"},{provide:on,useFactory:Mx,deps:[]},{provide:Nf,useClass:Dx,multi:!0,deps:[be,Y,qt]},{provide:Nf,useClass:Ex,multi:!0,deps:[be]},gl,H_,U_,{provide:Nn,useExisting:gl},{provide:dl,useClass:px,deps:[]},[]],vl=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ho,useValue:n.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(E(Tx,12))}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({providers:[...Nx,...Ax],imports:[bi,C_]})}}return e})();var W_=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(E(be))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var kf=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=E(Ox),i},providedIn:"root"})}}return e})(),Ox=(()=>{class e extends kf{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case gt.NONE:return r;case gt.HTML:return Pn(r,"HTML")?Wt(r):gv(this._doc,String(r)).toString();case gt.STYLE:return Pn(r,"Style")?Wt(r):r;case gt.SCRIPT:if(Pn(r,"Script"))return Wt(r);throw new v(5200,!1);case gt.URL:return Pn(r,"URL")?Wt(r):Wa(String(r));case gt.RESOURCE_URL:if(Pn(r,"ResourceURL"))return Wt(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return sv(n)}bypassSecurityTrustStyle(n){return av(n)}bypassSecurityTrustScript(n){return lv(n)}bypassSecurityTrustUrl(n){return cv(n)}bypassSecurityTrustResourceUrl(n){return uv(n)}static{this.\u0275fac=function(r){return new(r||e)(E(be))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var $=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}($||{}),Qt="*";function K_(e,t=null){return{type:$.Sequence,steps:e,options:t}}function Ff(e){return{type:$.Style,styles:e,offset:null}}var Vn=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Eo=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},_l="!";function Z_(e){return new v(3e3,!1)}function Rx(){return new v(3100,!1)}function kx(){return new v(3101,!1)}function Px(e){return new v(3001,!1)}function Fx(e){return new v(3003,!1)}function Lx(e){return new v(3004,!1)}function Vx(e,t){return new v(3005,!1)}function jx(){return new v(3006,!1)}function Bx(){return new v(3007,!1)}function $x(e,t){return new v(3008,!1)}function Ux(e){return new v(3002,!1)}function Hx(e,t,n,r,i){return new v(3010,!1)}function zx(){return new v(3011,!1)}function Gx(){return new v(3012,!1)}function qx(){return new v(3200,!1)}function Wx(){return new v(3202,!1)}function Kx(){return new v(3013,!1)}function Zx(e){return new v(3014,!1)}function Qx(e){return new v(3015,!1)}function Yx(e){return new v(3016,!1)}function Jx(e,t){return new v(3404,!1)}function Xx(e){return new v(3502,!1)}function eT(e){return new v(3503,!1)}function tT(){return new v(3300,!1)}function nT(e){return new v(3504,!1)}function rT(e){return new v(3301,!1)}function iT(e,t){return new v(3302,!1)}function oT(e){return new v(3303,!1)}function sT(e,t){return new v(3400,!1)}function aT(e){return new v(3401,!1)}function lT(e){return new v(3402,!1)}function cT(e,t){return new v(3505,!1)}function jn(e){switch(e.length){case 0:return new Vn;case 1:return e[0];default:return new Eo(e)}}function cb(e,t,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let p=f,y=h;if(f!=="offset")switch(p=e.normalizePropertyName(p,i),y){case _l:y=n.get(f);break;case Qt:y=r.get(f);break;default:y=e.normalizeStyleValue(f,p,y,i);break}d.set(p,y)}),u||o.push(d),a=d,s=c}),i.length)throw Xx(i);return o}function oh(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&Lf(n,"start",e)));break;case"done":e.onDone(()=>r(n&&Lf(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&Lf(n,"destroy",e)));break}}function Lf(e,t,n){let r=n.totalTime,i=!!n.disabled,o=sh(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,r??e.totalTime,i),s=e._data;return s!=null&&(o._data=s),o}function sh(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function at(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function Q_(e){let t=e.indexOf(":"),n=e.substring(1,t),r=e.slice(t+1);return[n,r]}var uT=typeof document>"u"?null:document.documentElement;function ah(e){let t=e.parentNode||e.host||null;return t===uT?null:t}function dT(e){return e.substring(1,6)=="ebkit"}var yr=null,Y_=!1;function fT(e){yr||(yr=hT()||{},Y_=yr.style?"WebkitAppearance"in yr.style:!1);let t=!0;return yr.style&&!dT(e)&&(t=e in yr.style,!t&&Y_&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in yr.style)),t}function hT(){return typeof document<"u"?document.body:null}function ub(e,t){for(;t;){if(t===e)return!0;t=ah(t)}return!1}function db(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let r=e.querySelector(t);return r?[r]:[]}var lh=(()=>{class e{validateStyleProperty(n){return fT(n)}containsElement(n,r){return ub(n,r)}getParentElement(n){return ah(n)}query(n,r,i){return db(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Vn(i,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),br=class{static{this.NOOP=new lh}},Dr=class{};var pT=1e3,fb="{{",mT="}}",hb="ng-enter",Hf="ng-leave",bl="ng-trigger",Il=".ng-trigger",J_="ng-animating",zf=".ng-animating";function mn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Gf(parseFloat(t[1]),t[2])}function Gf(e,t){switch(t){case"s":return e*pT;default:return e}}function Ml(e,t,n){return e.hasOwnProperty("duration")?e:gT(e,t,n)}function gT(e,t,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof e=="string"){let a=e.match(r);if(a===null)return t.push(Z_(e)),{duration:0,delay:0,easing:""};i=Gf(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Gf(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=e;if(!n){let a=!1,l=t.length;i<0&&(t.push(Rx()),a=!0),o<0&&(t.push(kx()),a=!0),a&&t.splice(l,0,Z_(e))}return{duration:i,delay:o,easing:s}}function yT(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Yt(e,t,n){t.forEach((r,i)=>{let o=ch(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function _r(e,t){t.forEach((n,r)=>{let i=ch(r);e.style[i]=""})}function Io(e){return Array.isArray(e)?e.length==1?e[0]:K_(e):e}function vT(e,t,n){let r=t.params||{},i=pb(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(Px(o))})}var qf=new RegExp(`${fb}\\s*(.+?)\\s*${mT}`,"g");function pb(e){let t=[];if(typeof e=="string"){let n;for(;n=qf.exec(e);)t.push(n[1]);qf.lastIndex=0}return t}function So(e,t,n){let r=`${e}`,i=r.replace(qf,(o,s)=>{let a=t[s];return a==null&&(n.push(Fx(s)),a=""),a.toString()});return i==r?e:i}var _T=/-+([a-z0-9])/g;function ch(e){return e.replace(_T,(...t)=>t[1].toUpperCase())}function bT(e,t){return e===0||t===0}function DT(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,uh(e,a)))}}return t}function st(e,t,n){switch(t.type){case $.Trigger:return e.visitTrigger(t,n);case $.State:return e.visitState(t,n);case $.Transition:return e.visitTransition(t,n);case $.Sequence:return e.visitSequence(t,n);case $.Group:return e.visitGroup(t,n);case $.Animate:return e.visitAnimate(t,n);case $.Keyframes:return e.visitKeyframes(t,n);case $.Style:return e.visitStyle(t,n);case $.Reference:return e.visitReference(t,n);case $.AnimateChild:return e.visitAnimateChild(t,n);case $.AnimateRef:return e.visitAnimateRef(t,n);case $.Query:return e.visitQuery(t,n);case $.Stagger:return e.visitStagger(t,n);default:throw Lx(t.type)}}function uh(e,t){return window.getComputedStyle(e)[t]}var wT=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Sl=class extends Dr{normalizePropertyName(t,n){return ch(t)}normalizeStyleValue(t,n,r,i){let o="",s=r.toString().trim();if(wT.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Vx(t,r))}return s+o}};var xl="*";function CT(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(r=>ET(r,n,t)):n.push(e),n}function ET(e,t,n){if(e[0]==":"){let l=IT(e,n);if(typeof l=="function"){t.push(l);return}e=l}let r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(Qx(e)),t;let i=r[1],o=r[2],s=r[3];t.push(X_(i,s));let a=i==xl&&s==xl;o[0]=="<"&&!a&&t.push(X_(s,i))}function IT(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var Dl=new Set(["true","1"]),wl=new Set(["false","0"]);function X_(e,t){let n=Dl.has(e)||wl.has(e),r=Dl.has(t)||wl.has(t);return(i,o)=>{let s=e==xl||e==i,a=t==xl||t==o;return!s&&n&&typeof i=="boolean"&&(s=i?Dl.has(e):wl.has(e)),!a&&r&&typeof o=="boolean"&&(a=o?Dl.has(t):wl.has(t)),s&&a}}var mb=":self",MT=new RegExp(`s*${mb}s*,?`,"g");function gb(e,t,n,r){return new Wf(e).build(t,n,r)}var eb="",Wf=class{constructor(t){this._driver=t}build(t,n,r){let i=new Kf(n);return this._resetContextStyleTimingState(i),st(this,Io(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector=eb,t.collectedStyles=new Map,t.collectedStyles.set(eb,new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&n.errors.push(jx()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==$.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==$.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(Bx())}),{type:$.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,n){let r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{pb(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push($x(t.name,[...o.values()]))}return{type:$.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;let r=st(this,Io(t.animation),n),i=CT(t.expr,n.errors);return{type:$.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:vr(t.options)}}visitSequence(t,n){return{type:$.Sequence,steps:t.steps.map(r=>st(this,r,n)),options:vr(t.options)}}visitGroup(t,n){let r=n.currentTime,i=0,o=t.steps.map(s=>{n.currentTime=r;let a=st(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:$.Group,steps:o,options:vr(t.options)}}visitAnimate(t,n){let r=AT(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:Ff({});if(o.type==$.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=Ff(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:$.Animate,timings:r,style:i,options:null}}visitStyle(t,n){let r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){let r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)typeof a=="string"?a===Qt?r.push(a):n.errors.push(Ux(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(fb)>=0){o=!0;break}}}),{type:$.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(Hx(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&vT(a,n.options,n.errors)})})}visitKeyframes(t,n){let r={type:$.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(zx()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=t.steps.map(O=>{let U=this._makeStyleAst(O,n),K=U.offset!=null?U.offset:TT(U.styles),te=0;return K!=null&&(o++,te=U.offset=K),l=l||te<0||te>1,a=a||te0&&o{let K=h>0?U==f?1:h*U:s[U],te=K*M;n.currentTime=p+y.delay+te,y.duration=te,this._validateStyleAst(O,n),O.offset=K,r.styles.push(O)}),r}visitReference(t,n){return{type:$.Reference,animation:st(this,Io(t.animation),n),options:vr(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:$.AnimateChild,options:vr(t.options)}}visitAnimateRef(t,n){return{type:$.AnimateRef,animation:this.visitReference(t.animation,n),options:vr(t.options)}}visitQuery(t,n){let r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;let[o,s]=ST(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,at(n.collectedStyles,n.currentQuerySelector,new Map);let a=st(this,Io(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:$.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:vr(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(Kx());let r=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Ml(t.timings,n.errors,!0);return{type:$.Stagger,animation:st(this,Io(t.animation),n),timings:r,options:null}}};function ST(e){let t=!!e.split(/\s*,\s*/).find(n=>n==mb);return t&&(e=e.replace(MT,"")),e=e.replace(/@\*/g,Il).replace(/@\w+/g,n=>Il+"-"+n.slice(1)).replace(/:animating/g,zf),[e,t]}function xT(e){return e?w({},e):null}var Kf=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function TT(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function AT(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let o=Ml(e,t).duration;return Vf(o,0,"")}let n=e;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Vf(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Ml(n,t);return Vf(i.duration,i.delay,i.easing)}function vr(e){return e?(e=w({},e),e.params&&(e.params=xT(e.params))):e={},e}function Vf(e,t,n){return{duration:e,delay:t,easing:n}}function dh(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var xo=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}},NT=1,OT=":enter",RT=new RegExp(OT,"g"),kT=":leave",PT=new RegExp(kT,"g");function yb(e,t,n,r,i,o=new Map,s=new Map,a,l,c=[]){return new Zf().buildKeyframes(e,t,n,r,i,o,s,a,l,c)}var Zf=class{buildKeyframes(t,n,r,i,o,s,a,l,c,u=[]){c=c||new xo;let d=new Qf(t,n,c,i,o,u,[]);d.options=l;let h=l.delay?mn(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),st(this,r,d);let f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let y=f.length-1;y>=0;y--){let M=f[y];if(M.element===n){p=M;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[dh(n,[],[],[],0,h,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){let r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(let i of t){let o=i?.delay;if(o){let s=typeof o=="number"?o:mn(So(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?mn(r.duration):null,a=r.delay!=null?mn(r.delay):null;return s!==0&&t.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),st(this,t.animation,n),n.previousNode=t}visitSequence(t,n){let r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==$.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Tl);let s=mn(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>st(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){let r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?mn(t.options.delay):0;t.steps.forEach(s=>{let a=n.createSubContext(t.options);o&&a.delayNextStep(o),st(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){let r=t.strValue,i=n.params?So(r,n.params,n.errors):r;return Ml(i,n.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){let r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=t.style;o.type==$.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){let r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?mn(i.delay):0;o&&(n.previousNode.type===$.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Tl);let s=r,a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(t.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),st(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){let r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;st(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Tl={},Qf=class e{constructor(t,n,r,i,o,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Al(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let r=t,i=this.options;r.duration!=null&&(i.duration=mn(r.duration)),r.delay!=null&&(i.delay=mn(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=So(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){let i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Tl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){let i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new Yf(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=t.replace(RT,"."+this._enterClassName),t=t.replace(PT,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,t,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(Zx(n)),a}},Al=class e{constructor(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=NT,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||Qt),this._currentKeyframe.set(n,Qt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=FT(t,this._globalTimelineStyles);for(let[a,l]of s){let c=So(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Qt),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===_l?t.add(d):u===Qt&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...t.values()],s=[...n.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return dh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Yf=class extends Al{constructor(t,n,r,i,o,s,a=!1){super(t,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=r+n,a=n/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",tb(a)),o.push(c);let u=t.length-1;for(let d=1;d<=u;d++){let h=new Map(t[d]),f=h.get("offset"),p=n+f*r;h.set("offset",tb(p/s)),o.push(h)}r=s,n=0,i="",t=o}return dh(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function tb(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function FT(e,t){let n=new Map,r;return e.forEach(i=>{if(i==="*"){r??=t.keys();for(let o of r)n.set(o,Qt)}else for(let[o,s]of i)n.set(o,s)}),n}function nb(e,t,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var jf={},Nl=class{constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return LT(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return t!==void 0&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||jf,f=a&&a.params||jf,p=this.buildStyles(r,f,d),y=l&&l.params||jf,M=this.buildStyles(i,y,d),O=new Set,U=new Map,K=new Map,te=i==="void",Je={params:vb(y,h),delay:this.ast.options?.delay},me=u?[]:yb(t,n,this.ast.animation,o,s,p,M,Je,c,d),ye=0;return me.forEach(Ee=>{ye=Math.max(Ee.duration+Ee.delay,ye)}),d.length?nb(n,this._triggerName,r,i,te,p,M,[],[],U,K,ye,d):(me.forEach(Ee=>{let tn=Ee.element,Vr=at(U,tn,new Set);Ee.preStyleProps.forEach(Wn=>Vr.add(Wn));let cm=at(K,tn,new Set);Ee.postStyleProps.forEach(Wn=>cm.add(Wn)),tn!==n&&O.add(tn)}),nb(n,this._triggerName,r,i,te,p,M,me,[...O.values()],U,K,ye))}};function LT(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}function vb(e,t){let n=w({},t);return Object.entries(e).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Jf=class{constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){let r=new Map,i=vb(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=So(s,i,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function VT(e,t,n){return new Xf(e,t,n)}var Xf=class{constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Jf(i.style,o,r))}),rb(this.states,"true","1"),rb(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Nl(t,i,this.states))}),this.fallbackTransition=jT(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}};function jT(e,t,n){let r=[(s,a)=>!0],i={type:$.Sequence,steps:[],options:null},o={type:$.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Nl(e,o,t)}function rb(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var BT=new xo,eh=class{constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,n){let r=[],i=[],o=gb(this._driver,n,r,i);if(r.length)throw eT(r);i.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,n,r){let i=t.element,o=cb(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){let i=[],o=this._animations.get(t),s,a=new Map;if(o?(s=yb(this._driver,n,o,hb,Hf,new Map,new Map,r,BT,i),s.forEach(u=>{let d=at(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(tT()),s=[]),i.length)throw nT(i);a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,Qt))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=jn(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){let n=this._playersById.get(t);if(!n)throw rT(t);return n}listen(t,n,r,i){let o=sh(n,"","","");return oh(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if(r=="register"){this.register(t,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(t,n,s);return}let o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t);break}}},ib="ng-animate-queued",$T=".ng-animate-queued",Bf="ng-animate-disabled",UT=".ng-animate-disabled",HT="ng-star-inserted",zT=".ng-star-inserted",GT=[],_b={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qT={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},At="__ng_removed",To=class{get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;let r=t&&t.hasOwnProperty("value"),i=r?t.value:t;if(this.value=KT(i),r){let o=t,{value:s}=o,a=ym(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let n=t.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Mo="void",$f=new To(Mo),th=class{constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,vt(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw iT(r,n);if(r==null||r.length==0)throw oT(n);if(!ZT(r))throw sT(r,n);let o=at(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);let a=at(this._engine.statesByElement,t,new Map);return a.has(n)||(vt(t,bl),vt(t,bl+"-"+n),a.set(n,$f)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return this._triggers.has(t)?!1:(this._triggers.set(t,n),!0)}_getTrigger(t){let n=this._triggers.get(t);if(!n)throw aT(t);return n}trigger(t,n,r,i=!0){let o=this._getTrigger(n),s=new Ao(this.id,n,t),a=this._engine.statesByElement.get(t);a||(vt(t,bl),vt(t,bl+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n),c=new To(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=$f),!(c.value===Mo)&&l.value===c.value){if(!JT(l.params,c.params)){let y=[],M=o.matchStyles(l.value,l.params,y),O=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{_r(t,M),Yt(t,O)})}return}let h=at(this._engine.playersByElement,t,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==n&&y.queued&&y.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(vt(t,ib),s.onStart(()=>{Di(t,ib)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let M=this._engine.playersByElement.get(t);if(M){let O=M.indexOf(s);O>=0&&M.splice(O,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){let r=this._engine.driver.query(t,Il,!0);r.forEach(i=>{if(i[At])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(t,c,Mo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&jn(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||$f,u=new To(Mo),d=new Ao(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,n){let r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{let o=t[At];(!o||o===_b)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){vt(t,this._hostClassName)}drainQueuedTransitions(t){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=sh(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,oh(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},nh=class{_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){let r=new th(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let n=new Set,r=this.statesByElement.get(t);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(t,n,r,i){if(Cl(n)){let o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!Cl(n))return;let o=n[At];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),vt(t,Bf)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Di(t,Bf))}removeNode(t,n,r){if(Cl(n)){let i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[At]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return Cl(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,Il,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(t,zf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){let n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){let n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return jn(this.players).onDone(()=>t());t()})}processLeaveNode(t){let n=t[At];if(n&&n.setForRemoval){if(t[At]=_b,n.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(Bf)&&this.markElementAsDisabled(t,!1),this.driver.query(t,UT,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?jn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw lT(t)}_flushAnimations(t,n){let r=new xo,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(I=>{u.add(I);let x=this.driver.query(I,$T,!0);for(let N=0;N{let N=hb+y++;p.set(x,N),I.forEach(Z=>vt(Z,N))});let M=[],O=new Set,U=new Set;for(let I=0;IO.add(Z)):U.add(x))}let K=new Map,te=ab(h,Array.from(O));te.forEach((I,x)=>{let N=Hf+y++;K.set(x,N),I.forEach(Z=>vt(Z,N))}),t.push(()=>{f.forEach((I,x)=>{let N=p.get(x);I.forEach(Z=>Di(Z,N))}),te.forEach((I,x)=>{let N=K.get(x);I.forEach(Z=>Di(Z,N))}),M.forEach(I=>{this.processLeaveNode(I)})});let Je=[],me=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(n).forEach(N=>{let Z=N.player,Ie=N.element;if(Je.push(Z),this.collectedEnterElements.length){let Re=Ie[At];if(Re&&Re.setForMove){if(Re.previousTriggersValues&&Re.previousTriggersValues.has(N.triggerName)){let Kn=Re.previousTriggersValues.get(N.triggerName),dt=this.statesByElement.get(N.element);if(dt&&dt.has(N.triggerName)){let Ss=dt.get(N.triggerName);Ss.value=Kn,dt.set(N.triggerName,Ss)}}Z.destroy();return}}let Lt=!d||!this.driver.containsElement(d,Ie),Xe=K.get(Ie),bn=p.get(Ie),ge=this._buildInstruction(N,r,bn,Xe,Lt);if(ge.errors&&ge.errors.length){me.push(ge);return}if(Lt){Z.onStart(()=>_r(Ie,ge.fromStyles)),Z.onDestroy(()=>Yt(Ie,ge.toStyles)),i.push(Z);return}if(N.isFallbackTransition){Z.onStart(()=>_r(Ie,ge.fromStyles)),Z.onDestroy(()=>Yt(Ie,ge.toStyles)),i.push(Z);return}let fm=[];ge.timelines.forEach(Re=>{Re.stretchStartingKeyframe=!0,this.disabledNodes.has(Re.element)||fm.push(Re)}),ge.timelines=fm,r.append(Ie,ge.timelines);let Vw={instruction:ge,player:Z,element:Ie};s.push(Vw),ge.queriedElements.forEach(Re=>at(a,Re,[]).push(Z)),ge.preStyleProps.forEach((Re,Kn)=>{if(Re.size){let dt=l.get(Kn);dt||l.set(Kn,dt=new Set),Re.forEach((Ss,xc)=>dt.add(xc))}}),ge.postStyleProps.forEach((Re,Kn)=>{let dt=c.get(Kn);dt||c.set(Kn,dt=new Set),Re.forEach((Ss,xc)=>dt.add(xc))})});if(me.length){let I=[];me.forEach(x=>{I.push(cT(x.triggerName,x.errors))}),Je.forEach(x=>x.destroy()),this.reportError(I)}let ye=new Map,Ee=new Map;s.forEach(I=>{let x=I.element;r.has(x)&&(Ee.set(x,x),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,ye))}),i.forEach(I=>{let x=I.element;this._getPreviousPlayers(x,!1,I.namespaceId,I.triggerName,null).forEach(Z=>{at(ye,x,[]).push(Z),Z.destroy()})});let tn=M.filter(I=>lb(I,l,c)),Vr=new Map;sb(Vr,this.driver,U,c,Qt).forEach(I=>{lb(I,l,c)&&tn.push(I)});let Wn=new Map;f.forEach((I,x)=>{sb(Wn,this.driver,new Set(I),l,_l)}),tn.forEach(I=>{let x=Vr.get(I),N=Wn.get(I);Vr.set(I,new Map([...x?.entries()??[],...N?.entries()??[]]))});let Sc=[],um=[],dm={};s.forEach(I=>{let{element:x,player:N,instruction:Z}=I;if(r.has(x)){if(u.has(x)){N.onDestroy(()=>Yt(x,Z.toStyles)),N.disabled=!0,N.overrideTotalTime(Z.totalTime),i.push(N);return}let Ie=dm;if(Ee.size>1){let Xe=x,bn=[];for(;Xe=Xe.parentNode;){let ge=Ee.get(Xe);if(ge){Ie=ge;break}bn.push(Xe)}bn.forEach(ge=>Ee.set(ge,Ie))}let Lt=this._buildAnimation(N.namespaceId,Z,ye,o,Wn,Vr);if(N.setRealPlayer(Lt),Ie===dm)Sc.push(N);else{let Xe=this.playersByElement.get(Ie);Xe&&Xe.length&&(N.parentPlayer=jn(Xe)),i.push(N)}}else _r(x,Z.fromStyles),N.onDestroy(()=>Yt(x,Z.toStyles)),um.push(N),u.has(x)&&i.push(N)}),um.forEach(I=>{let x=o.get(I.element);if(x&&x.length){let N=jn(x);I.setRealPlayer(N)}}),i.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I!Lt.destroyed);Ie.length?QT(this,x,Ie):this.processLeaveNode(x)}return M.length=0,Sc.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let x=this.players.indexOf(I);this.players.splice(x,1)}),I.play()}),Sc}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==Mo;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(t,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,u=c!==o,d=at(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(f=>{let p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}_r(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,h=n.timelines.map(p=>{let y=p.element;u.add(y);let M=y[At];if(M&&M.removedBeforeQueried)return new Vn(p.duration,p.delay);let O=y!==l,U=YT((r.get(y)||GT).map(ye=>ye.getRealPlayer())).filter(ye=>{let Ee=ye;return Ee.element?Ee.element===y:!1}),K=o.get(y),te=s.get(y),Je=cb(this._normalizer,p.keyframes,K,te),me=this._buildPlayer(p,Je,U);if(p.subTimeline&&i&&d.add(y),O){let ye=new Ao(t,a,y);ye.setRealPlayer(me),c.push(ye)}return me});c.forEach(p=>{at(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>WT(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>vt(p,J_));let f=jn(h);return f.onDestroy(()=>{u.forEach(p=>Di(p,J_)),Yt(l,n.toStyles)}),d.forEach(p=>{at(i,p,[]).push(f)}),f}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Vn(t.duration,t.delay)}},Ao=class{constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Vn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>oh(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){at(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let n=this._player;n.triggerCallback&&n.triggerCallback(t)}};function WT(e,t,n){let r=e.get(t);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&e.delete(t)}return r}function KT(e){return e??null}function Cl(e){return e&&e.nodeType===1}function ZT(e){return e=="start"||e=="done"}function ob(e,t){let n=e.style.display;return e.style.display=t??"none",n}function sb(e,t,n,r,i){let o=[];n.forEach(l=>o.push(ob(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=t.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[At]=qT,s.push(c))}),e.set(c,u)});let a=0;return n.forEach(l=>ob(l,o[a++])),s}function ab(e,t){let n=new Map;if(e.forEach(a=>n.set(a,[])),t.length==0)return n;let r=1,i=new Set(t),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function vt(e,t){e.classList?.add(t)}function Di(e,t){e.classList?.remove(t)}function QT(e,t,n){jn(n).onDone(()=>e.processLeaveNode(t))}function YT(e){let t=[];return bb(e,t),t}function bb(e,t){for(let n=0;ni.add(o)):t.set(e,r),n.delete(e),!0}var wi=class{constructor(t,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new nh(t.body,n,r),this._timelineEngine=new eh(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){let s=t+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=gb(this._driver,o,l,c);if(l.length)throw Jx(i,l);c.length&&void 0,a=VT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if(r.charAt(0)=="@"){let[o,s]=Q_(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=Q_(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function XT(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=Uf(t[0]),t.length>1&&(r=Uf(t[t.length-1]))):t instanceof Map&&(n=Uf(t)),n||r?new rh(e,n,r):null}var rh=class e{static{this.initialStylesByElement=new WeakMap}constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Yt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yt(this._element,this._initialStyles),this._endStyles&&(Yt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(_r(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_r(this._element,this._endStyles),this._endStyles=null),Yt(this._element,this._initialStyles),this._state=3)}};function Uf(e){let t=null;return e.forEach((n,r)=>{eA(r)&&(t=t||new Map,t.set(r,n))}),t}function eA(e){return e==="display"||e==="position"}var Ol=class{constructor(t,n,r,i){this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){return t.animate(this._convertKeyframesToObject(n),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&t.set(i,this._finished?r:uh(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){let n=t==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Rl=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return ub(t,n)}getParentElement(t){return ah(t)}query(t,n,r){return db(t,n,r)}computeStyle(t,n,r){return uh(t,n)}animate(t,n,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(f=>f instanceof Ol);bT(r,i)&&u.forEach(f=>{f.currentSnapshot.forEach((p,y)=>c.set(y,p))});let d=yT(n).map(f=>new Map(f));d=DT(t,d,c);let h=XT(t,d);return new Ol(t,d,l,h)}};var El="@",Db="@.disabled",kl=class{constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){n.charAt(0)==El&&n==Db?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r){return this.delegate.listen(t,n,r)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}},ih=class extends kl{constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){n.charAt(0)==El?n.charAt(1)=="."&&n==Db?(r=r===void 0?!0:!!r,this.disableAnimations(t,r)):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r){if(n.charAt(0)==El){let i=tA(t),o=n.slice(1),s="";return o.charAt(0)!=El&&([o,s]=nA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(t,n,r)}};function tA(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function nA(e){let t=e.indexOf("."),n=e.substring(0,t),r=e.slice(t+1);return[n,r]}var Pl=class{constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){let r="",i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new kl(r,i,this.engine,d),c.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return n.data.animation.forEach(a),new ih(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&tn(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var iA=(()=>{class e extends wi{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(r){return new(r||e)(E(be),E(br),E(Dr))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function oA(){return new Sl}function sA(e,t,n){return new Pl(e,t,n)}var Cb=[{provide:Dr,useFactory:oA},{provide:wi,useClass:iA},{provide:Nn,useFactory:sA,deps:[gl,wi,Y]}],wb=[{provide:br,useFactory:()=>new Rl},{provide:Ga,useValue:"BrowserAnimations"},...Cb],aA=[{provide:br,useClass:lh},{provide:Ga,useValue:"NoopAnimations"},...Cb],Eb=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?aA:wb}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({providers:wb,imports:[vl]})}}return e})();var fh;try{fh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{fh=!1}var Oo=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Ef(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||fh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(r){return new(r||e)(E(qt))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var No;function lA(){if(No==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>No=!0}))}finally{No=No||!1}return No}function hh(e){return lA()?e:!!e.capture}function Ib(e){return e.composedPath?e.composedPath()[0]:e.target}function Mb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ph(e){return Array.isArray(e)?e:[e]}function mh(e){return e instanceof pe?e.nativeElement:e}var xb=new Set,wr,cA=(()=>{class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dA}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&uA(n,this._nonce),this._matchMedia(n)}static{this.\u0275fac=function(r){return new(r||e)(E(Oo),E(po,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function uA(e,t){if(!xb.has(e))try{wr||(wr=document.createElement("style"),t&&wr.setAttribute("nonce",t),wr.setAttribute("type","text/css"),document.head.appendChild(wr)),wr.sheet&&(wr.sheet.insertRule(`@media ${e} {body{ }}`,0),xb.add(e))}catch(n){console.error(n)}}function dA(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Ab=(()=>{class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new Me}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Tb(ph(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let i=Tb(ph(n)).map(s=>this._registerQuery(s).observable),o=Xn(i);return o=Cn(o.pipe(Ct(1)),o.pipe(Xc(1),Zc(0))),o.pipe(B(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),o={observable:new W(s=>{let a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Zi(r),B(({matches:s})=>({query:n,matches:s})),Qi(this._destroySubject)),mql:r};return this._queries.set(n,o),o}static{this.\u0275fac=function(r){return new(r||e)(E(cA),E(Y))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Tb(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function Rb(e){return e.buttons===0||e.detail===0}function kb(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Cr=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Cr||{}),Nb="cdk-high-contrast-black-on-white",Ob="cdk-high-contrast-white-on-black",gh="cdk-high-contrast-active",Pb=(()=>{class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=_(Ab).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Cr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Cr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Cr.BLACK_ON_WHITE}return Cr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(gh,Nb,Ob),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Cr.BLACK_ON_WHITE?n.add(gh,Nb):r===Cr.WHITE_ON_BLACK&&n.add(gh,Ob)}}static{this.\u0275fac=function(r){return new(r||e)(E(Oo),E(be))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var yh=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({})}}return e})();function mA(){return!0}var gA=new S("mat-sanity-checks",{providedIn:"root",factory:mA}),bh=(()=>{class e{constructor(n,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Mb()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}static{this.\u0275fac=function(r){return new(r||e)(E(Pb),E(gA,8),E(be))}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[yh,yh]})}}return e})();var _t=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(_t||{}),vh=class{constructor(t,n,r,i=!1){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=_t.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Lb=hh({passive:!0,capture:!0}),_h=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let n=Ib(t);n&&this._events.get(t.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(t))})}}addHandler(t,n,r,i){let o=this._events.get(n);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(n,new Map([[r,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,Lb)})}removeHandler(t,n,r){let i=this._events.get(t);if(!i)return;let o=i.get(n);o&&(o.delete(r),o.size===0&&i.delete(n),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Lb)))}},Vb={enterDuration:225,exitDuration:150},yA=800,jb=hh({passive:!0,capture:!0}),Bb=["mousedown","touchstart"],$b=["mouseup","mouseleave","touchend","touchcancel"],Ub=class e{static{this._eventManager=new _h}constructor(t,n,r,i){this._target=t,this._ngZone=n,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=mh(r))}fadeInRipple(t,n,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},Vb),r.animation);r.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);let s=r.radius||vA(t,n,i),a=t-i.left,l=n-i.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${l-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),h=d.transitionProperty,f=d.transitionDuration,p=h==="none"||f==="0s"||f==="0s, 0s"||i.width===0&&i.height===0,y=new vh(this,u,r,p);u.style.transform="scale3d(1, 1, 1)",y.state=_t.FADING_IN,r.persistent||(this._mostRecentTransientRipple=y);let M=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let O=()=>{M&&(M.fallbackTimer=null),clearTimeout(K),this._finishRippleTransition(y)},U=()=>this._destroyRipple(y),K=setTimeout(U,c+100);u.addEventListener("transitionend",O),u.addEventListener("transitioncancel",U),M={onTransitionEnd:O,onTransitionCancel:U,fallbackTimer:K}}),this._activeRipples.set(y,M),(p||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===_t.FADING_OUT||t.state===_t.HIDDEN)return;let n=t.element,r=w(w({},Vb),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=_t.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=mh(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Bb.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$b.forEach(n=>{this._triggerElement.addEventListener(n,this,jb)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===_t.FADING_IN?this._startFadeOutTransition(t):t.state===_t.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=_t.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=_t.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=Rb(t),r=this._lastTouchStartEvent&&Date.now(){let n=t.state===_t.VISIBLE||t.config.terminateOnPointerUp&&t.state===_t.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Bb.forEach(n=>e._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&($b.forEach(n=>t.removeEventListener(n,this,jb)),this._pointerUpEventsRegistered=!1))}};function vA(e,t,n){let r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}var zb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[bh,bh]})}}return e})();var F="primary",qo=Symbol("RouteTitle"),Ih=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function xi(e){return new Ih(e)}function _A(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return e===t}function nD(e){return e.length>0?e[e.length-1]:null}function Un(e){return Kc(e)?e:pr(e)?ve(Promise.resolve(e)):T(e)}var DA={exact:iD,subset:oD},rD={exact:wA,subset:CA,ignored:()=>!0};function Gb(e,t,n){return DA[n.paths](e.root,t.root,n.matrixParams)&&rD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function wA(e,t){return Jt(e,t)}function iD(e,t,n){if(!Ir(e.segments,t.segments)||!Vl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!iD(e.children[r],t.children[r],n))return!1;return!0}function CA(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>tD(e[n],t[n]))}function oD(e,t,n){return sD(e,t,t.segments,n)}function sD(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Ir(i,n)||t.hasChildren()||!Vl(i,n,r))}else if(e.segments.length===n.length){if(!Ir(e.segments,n)||!Vl(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!oD(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Ir(e.segments,i)||!Vl(e.segments,i,r)||!e.children[F]?!1:sD(e.children[F],t,o,r)}}function Vl(e,t,n){return t.every((r,i)=>rD[n](e[i].parameters,r.parameters))}var yn=class{constructor(t=new ee([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=xi(this.queryParams),this._queryParamMap}toString(){return MA.serialize(this)}},ee=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jl(this)}},Er=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=xi(this.parameters),this._parameterMap}toString(){return lD(this)}};function EA(e,t){return Ir(e,t)&&e.every((n,r)=>Jt(n.parameters,t[r].parameters))}function Ir(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function IA(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===F&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==F&&(n=n.concat(t(i,r)))}),n}var Wo=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new Ti,providedIn:"root"})}}return e})(),Ti=class{parse(t){let n=new xh(t);return new yn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Ro(t.root,!0)}`,r=TA(t.queryParams),i=typeof t.fragment=="string"?`#${SA(t.fragment)}`:"";return`${n}${r}${i}`}},MA=new Ti;function jl(e){return e.segments.map(t=>lD(t)).join("/")}function Ro(e,t){if(!e.hasChildren())return jl(e);if(t){let n=e.children[F]?Ro(e.children[F],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==F&&r.push(`${i}:${Ro(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=IA(e,(r,i)=>i===F?[Ro(e.children[F],!1)]:[`${i}:${Ro(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[F]!=null?`${jl(e)}/${n[0]}`:`${jl(e)}/(${n.join("//")})`}}function aD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fl(e){return aD(e).replace(/%3B/gi,";")}function SA(e){return encodeURI(e)}function Sh(e){return aD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bl(e){return decodeURIComponent(e)}function qb(e){return Bl(e.replace(/\+/g,"%20"))}function lD(e){return`${Sh(e.path)}${xA(e.parameters)}`}function xA(e){return Object.entries(e).map(([t,n])=>`;${Sh(t)}=${Sh(n)}`).join("")}function TA(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Fl(n)}=${Fl(i)}`).join("&"):`${Fl(n)}=${Fl(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var AA=/^[^\/()?;#]+/;function Dh(e){let t=e.match(AA);return t?t[0]:""}var NA=/^[^\/()?;=#]+/;function OA(e){let t=e.match(NA);return t?t[0]:""}var RA=/^[^=?&#]+/;function kA(e){let t=e.match(RA);return t?t[0]:""}var PA=/^[^&#]+/;function FA(e){let t=e.match(PA);return t?t[0]:""}var xh=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[F]=new ee(t,n)),r}parseSegment(){let t=Dh(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new Er(Bl(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=OA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=Dh(this.remaining);i&&(r=i,this.capture(r))}t[Bl(n)]=Bl(r)}parseQueryParam(t){let n=kA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=FA(this.remaining);s&&(r=s,this.capture(r))}let i=qb(n),o=qb(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Dh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=F);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[F]:new ee([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function cD(e){return e.segments.length>0?new ee([],{[F]:e}):e}function uD(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=uD(i);if(r===F&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new ee(e.segments,t);return LA(n)}function LA(e){if(e.numberOfChildren===1&&e.children[F]){let t=e.children[F];return new ee(e.segments.concat(t.segments),t.children)}return e}function Mr(e){return e instanceof yn}function VA(e,t,n=null,r=null){let i=dD(e);return fD(i,t,n,r)}function dD(e){let t;function n(o){let s={};for(let l of o.children){let c=n(l);s[l.outlet]=c}let a=new ee(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=cD(r);return t??i}function fD(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return wh(i,i,i,n,r);let o=jA(t);if(o.toRoot())return wh(i,i,new ee([],{}),n,r);let s=BA(o,i,e),a=s.processChildren?Fo(s.segmentGroup,s.index,o.commands):pD(s.segmentGroup,s.index,o.commands);return wh(i,s.segmentGroup,a,n,r)}function $l(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function jo(e){return typeof e=="object"&&e!=null&&e.outlets}function wh(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;e===t?s=n:s=hD(e,t,n);let a=cD(uD(s));return new yn(a,o,i)}function hD(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=hD(o,t,n)}),new ee(e.segments,r)}var Ul=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&$l(r[0]))throw new v(4003,!1);let i=r.find(jo);if(i&&i!==nD(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jA(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ul(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ul(n,t,r)}var Ii=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function BA(e,t,n){if(e.isAbsolute)return new Ii(t,!0,0);if(!n)return new Ii(t,!1,NaN);if(n.parent===null)return new Ii(n,!0,0);let r=$l(e.commands[0])?0:1,i=n.segments.length-1+r;return $A(n,i,e.numberOfDoubleDots)}function $A(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new Ii(r,!1,i-o)}function UA(e){return jo(e[0])?e[0].outlets:{[F]:e}}function pD(e,t,n){if(e??=new ee([],{}),e.segments.length===0&&e.hasChildren())return Fo(e,t,n);let r=HA(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==F)&&e.children[F]&&e.numberOfChildren===1&&e.children[F].segments.length===0){let o=Fo(e.children[F],t,n);return new ee(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=pD(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new ee(e.segments,i)}}function HA(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=e.segments[i],a=n[r];if(jo(a))break;let l=`${a}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Kb(l,c,s))return o;r+=2}else{if(!Kb(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Th(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Th(new ee([],{}),0,r))}),t}function Wb(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Kb(e,t,n){return e==n.path&&Jt(t,n.parameters)}var Lo="imperative",Te=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Te||{}),bt=class{constructor(t,n){this.id=t,this.url=n}},Bn=class extends bt{constructor(t,n,r="imperative",i=null){super(t,n),this.type=Te.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ot=class extends bt{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Te.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ct=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ct||{}),Hl=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Hl||{}),gn=class extends bt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Te.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},$n=class extends bt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Te.NavigationSkipped}},Bo=class extends bt{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=Te.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zl=class extends bt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Te.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ah=class extends bt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Te.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nh=class extends bt{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=Te.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Oh=class extends bt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Te.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rh=class extends bt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Te.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kh=class{constructor(t){this.route=t,this.type=Te.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ph=class{constructor(t){this.route=t,this.type=Te.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Fh=class{constructor(t){this.snapshot=t,this.type=Te.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lh=class{constructor(t){this.snapshot=t,this.type=Te.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vh=class{constructor(t){this.snapshot=t,this.type=Te.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jh=class{constructor(t){this.snapshot=t,this.type=Te.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gl=class{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=Te.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},$o=class{},Ai=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function GA(e,t){return e.providers&&!e._injector&&(e._injector=Xa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Nt(e){return e.outlet||F}function qA(e,t){let n=e.filter(r=>Nt(r)===t);return n.push(...e.filter(r=>Nt(r)!==t)),n}function Ko(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Bh=class{get injector(){return Ko(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Zo(this.rootInjector),this.attachRef=null}},Zo=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Bh(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(E(ot))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ql=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=$h(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=$h(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Uh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return Uh(t,this._root).map(n=>n.value)}};function $h(e,t){if(e===t.value)return t;for(let n of t.children){let r=$h(e,n);if(r)return r}return null}function Uh(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Uh(e,n);if(r.length)return r.unshift(t),r}return[]}var lt=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Ei(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Wl=class extends ql{constructor(t,n){super(t),this.snapshot=n,Yh(this,t)}toString(){return this.snapshot.toString()}};function mD(e){let t=WA(e),n=new Ce([new Er("",{})]),r=new Ce({}),i=new Ce({}),o=new Ce({}),s=new Ce(""),a=new Sr(n,r,o,s,i,F,e,t.root);return a.snapshot=t.root,new Wl(new lt(a,[]),t)}function WA(e){let t={},n={},r={},i="",o=new Mi([],t,r,i,n,F,e,null,{});return new Zl("",new lt(o,[]))}var Sr=class{constructor(t,n,r,i,o,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(B(c=>c[qo]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(B(t=>xi(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(t=>xi(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Kl(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:w(w({},t.params),e.params),data:w(w({},t.data),e.data),resolve:w(w(w(w({},e.data),t.data),i?.data),e._resolvedData)}:r={params:w({},e.params),data:w({},e.data),resolve:w(w({},e.data),e._resolvedData??{})},i&&yD(i)&&(r.resolve[qo]=i.title),r}var Mi=class{get title(){return this.data?.[qo]}constructor(t,n,r,i,o,s,a,l,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=xi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=xi(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Zl=class extends ql{constructor(t,n){super(n),this.url=t,Yh(this,n)}toString(){return gD(this._root)}};function Yh(e,t){t.value._routerState=e,t.children.forEach(n=>Yh(e,n))}function gD(e){let t=e.children.length>0?` { ${e.children.map(gD).join(", ")} } `:"";return`${e.value}${t}`}function Ch(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Jt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Jt(t.params,n.params)||e.paramsSubject.next(n.params),bA(t.url,n.url)||e.urlSubject.next(n.url),Jt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Hh(e,t){let n=Jt(e.params,t.params)&&EA(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Hh(e.parent,t.parent))}function yD(e){return typeof e.title=="string"||e.title===null}var Jh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=F,this.activateEvents=new we,this.deactivateEvents=new we,this.attachEvents=new we,this.detachEvents=new we,this.parentContexts=_(Zo),this.location=_(Kt),this.changeDetector=_(fn),this.inputBinder=_(tc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new zh(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Rn]})}}return e})(),zh=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Sr?this.route:t===Zo?this.childContexts:this.parent.get(t,n)}},tc=new S(""),Zb=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=Xn([r.queryParams,r.params,r.data]).pipe(ft(([o,s,a],l)=>(a=w(w(w({},o),s),a),l===0?T(a):Promise.resolve(a)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=E_(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(n,i)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function KA(e,t,n){let r=Uo(e,t._root,n?n._root:void 0);return new Wl(r,t)}function Uo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=ZA(e,t,n);return new lt(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Uo(e,a)),s}}let r=QA(t.value),i=t.children.map(o=>Uo(e,o));return new lt(r,i)}}function ZA(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Uo(e,r,i);return Uo(e,r)})}function QA(e){return new Sr(new Ce(e.url),new Ce(e.params),new Ce(e.queryParams),new Ce(e.fragment),new Ce(e.data),e.outlet,e.component,e)}var Ho=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},vD="ngNavigationCancelingError";function Ql(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Mr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=_D(!1,ct.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function _D(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[vD]=!0,n.cancellationCode=t,n}function YA(e){return bD(e)&&Mr(e.url)}function bD(e){return!!e&&e[vD]}var JA=(e,t,n,r)=>B(i=>(new Gh(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),Gh=class{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Ch(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=Ei(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Ei(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Ei(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=Ei(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new jh(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Lh(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(Ch(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ch(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Yl=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Si=class{constructor(t,n){this.component=t,this.route=n}};function XA(e,t,n){let r=e._root,i=t?t._root:null;return ko(r,i,n,[r.value])}function eN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Oi(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Ug(e)?e:t.get(e):r}function ko(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ei(t);return e.children.forEach(s=>{tN(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Vo(a,n.getContext(s),i)),i}function tN(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=nN(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Yl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ko(e,t,a?a.children:null,r,i):ko(e,t,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Si(a.outlet.component,s))}else s&&Vo(t,a,i),i.canActivateChecks.push(new Yl(r)),o.component?ko(e,null,a?a.children:null,r,i):ko(e,null,n,r,i);return i}function nN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Ir(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ir(e.url,t.url)||!Jt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Hh(e,t)||!Jt(e.queryParams,t.queryParams);case"paramsChange":default:return!Hh(e,t)}}function Vo(e,t,n){let r=Ei(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?Vo(s,t.children.getContext(o),n):Vo(s,null,n):Vo(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Si(t.outlet.component,i)):n.canDeactivateChecks.push(new Si(null,i)):n.canDeactivateChecks.push(new Si(null,i))}function Qo(e){return typeof e=="function"}function rN(e){return typeof e=="boolean"}function iN(e){return e&&Qo(e.canLoad)}function oN(e){return e&&Qo(e.canActivate)}function sN(e){return e&&Qo(e.canActivateChild)}function aN(e){return e&&Qo(e.canDeactivate)}function lN(e){return e&&Qo(e.canMatch)}function DD(e){return e instanceof nn||e?.name==="EmptyError"}var Ll=Symbol("INITIAL_VALUE");function Ni(){return ft(e=>Xn(e.map(t=>t.pipe(Ct(1),Zi(Ll)))).pipe(B(t=>{for(let n of t)if(n!==!0){if(n===Ll)return Ll;if(n===!1||cN(n))return n}return!0}),He(t=>t!==Ll),Ct(1)))}function cN(e){return Mr(e)||e instanceof Ho}function uN(e,t){return De(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?T(ue(w({},n),{guardsResult:!0})):dN(s,r,i,e).pipe(De(a=>a&&rN(a)?fN(r,o,e,t):T(a)),B(a=>ue(w({},n),{guardsResult:a})))})}function dN(e,t,n,r){return ve(e).pipe(De(i=>yN(i.component,i.route,n,t,r)),Vt(i=>i!==!0,!0))}function fN(e,t,n,r){return ve(t).pipe(er(i=>Cn(pN(i.route.parent,r),hN(i.route,r),gN(e,i.path,n),mN(e,i.route,n))),Vt(i=>i!==!0,!0))}function hN(e,t){return e!==null&&t&&t(new Vh(e)),T(!0)}function pN(e,t){return e!==null&&t&&t(new Fh(e)),T(!0)}function mN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return T(!0);let i=r.map(o=>Zs(()=>{let s=Ko(t)??n,a=Oi(o,s),l=oN(a)?a.canActivate(t,e):Gt(s,()=>a(t,e));return Un(l).pipe(Vt())}));return T(i).pipe(Ni())}function gN(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>eN(s)).filter(s=>s!==null).map(s=>Zs(()=>{let a=s.guards.map(l=>{let c=Ko(s.node)??n,u=Oi(l,c),d=sN(u)?u.canActivateChild(r,e):Gt(c,()=>u(r,e));return Un(d).pipe(Vt())});return T(a).pipe(Ni())}));return T(o).pipe(Ni())}function yN(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let s=o.map(a=>{let l=Ko(t)??i,c=Oi(a,l),u=aN(c)?c.canDeactivate(e,t,n,r):Gt(l,()=>c(e,t,n,r));return Un(u).pipe(Vt())});return T(s).pipe(Ni())}function vN(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return T(!0);let o=i.map(s=>{let a=Oi(s,e),l=iN(a)?a.canLoad(t,n):Gt(e,()=>a(t,n));return Un(l)});return T(o).pipe(Ni(),wD(r))}function wD(e){return Hc(Ae(t=>{if(typeof t!="boolean")throw Ql(e,t)}),B(t=>t===!0))}function _N(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return T(!0);let o=i.map(s=>{let a=Oi(s,e),l=lN(a)?a.canMatch(t,n):Gt(e,()=>a(t,n));return Un(l)});return T(o).pipe(Ni(),wD(r))}var zo=class{constructor(t){this.segmentGroup=t||null}},Go=class extends Error{constructor(t){super(),this.urlTree=t}};function Ci(e){return Wr(new zo(e))}function bN(e){return Wr(new v(4e3,!1))}function DN(e){return Wr(_D(!1,ct.GuardRejected))}var qh=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return T(r);if(i.numberOfChildren>1||!i.children[F])return bN(`${t.redirectTo}`);i=i.children[F]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:f,data:p,title:y}=i,M=Gt(o,()=>a({params:f,data:p,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:y}));if(M instanceof yn)throw new Go(M);n=M}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Go(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new yn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,i)}),new ee(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}},Wh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wN(e,t,n,r,i){let o=CD(e,t,n);return o.matched?(r=GA(t,r),_N(r,t,n,i).pipe(B(s=>s===!0?o:w({},Wh)))):T(o)}function CD(e,t,n){if(t.path==="**")return CN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?w({},Wh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||_A)(n,e,t);if(!i)return w({},Wh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function CN(e){return{matched:!0,parameters:e.length>0?nD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Qb(e,t,n,r){return n.length>0&&MN(e,n,r)?{segmentGroup:new ee(t,IN(r,new ee(n,e.children))),slicedSegments:[]}:n.length===0&&SN(e,n,r)?{segmentGroup:new ee(e.segments,EN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new ee(e.segments,e.children),slicedSegments:n}}function EN(e,t,n,r){let i={};for(let o of n)if(nc(e,t,o)&&!r[Nt(o)]){let s=new ee([],{});i[Nt(o)]=s}return w(w({},r),i)}function IN(e,t){let n={};n[F]=t;for(let r of e)if(r.path===""&&Nt(r)!==F){let i=new ee([],{});n[Nt(r)]=i}return n}function MN(e,t,n){return n.some(r=>nc(e,t,r)&&Nt(r)!==F)}function SN(e,t,n){return n.some(r=>nc(e,t,r))}function nc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function xN(e,t,n){return t.length===0&&!e.children[n]}var Kh=class{};function TN(e,t,n,r,i,o,s="emptyOnly"){return new Zh(e,t,n,r,i,s,o).recognize()}var AN=31,Zh=class{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new qh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Qb(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(B(({children:n,rootSnapshot:r})=>{let i=new lt(r,n),o=new Zl("",i),s=VA(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new Mi([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),F,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,F,n).pipe(B(r=>({children:r,rootSnapshot:n})),En(r=>{if(r instanceof Go)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof zo?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(B(s=>s instanceof lt?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return ve(o).pipe(er(s=>{let a=r.children[s],l=qA(n,s);return this.processSegmentGroup(t,l,a,s,i)}),Jc((s,a)=>(s.push(...a),s)),In(null),Yc(),De(s=>{if(s===null)return Ci(r);let a=ED(s);return NN(a),T(a)}))}processSegment(t,n,r,i,o,s,a){return ve(n).pipe(er(l=>this.processSegmentAgainstRoute(l._injector??t,n,l,r,i,o,s,a).pipe(En(c=>{if(c instanceof zo)return T(null);throw c}))),Vt(l=>!!l),En(l=>{if(DD(l))return xN(r,i,o)?T(new Kh):Ci(r);throw l}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,l){return Nt(r)!==s&&(s===F||!nc(i,o,r))?Ci(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,l):Ci(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=CD(n,i,o);if(!l)return Ci(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>AN&&(this.allowRedirects=!1));let f=new Mi(o,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Yb(i),Nt(i),i.component??i._loadedComponent??null,i,Jb(i)),p=Kl(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,y).pipe(De(M=>this.processSegment(t,r,n,M.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=wN(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(ft(l=>l.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(ft(({routes:c})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=l,p=new Mi(h,d,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Yb(r),Nt(r),r.component??r._loadedComponent??null,r,Jb(r)),y=Kl(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(y.params),p.data=Object.freeze(y.data);let{segmentGroup:M,slicedSegments:O}=Qb(n,h,f,c);if(O.length===0&&M.hasChildren())return this.processChildren(u,c,M,p).pipe(B(K=>new lt(p,K)));if(c.length===0&&O.length===0)return T(new lt(p,[]));let U=Nt(r)===o;return this.processSegment(u,c,M,O,U?F:o,!0,p).pipe(B(K=>new lt(p,K instanceof lt?[K]:[])))}))):Ci(n)))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):vN(t,n,r,this.urlSerializer).pipe(De(i=>i?this.configLoader.loadChildren(t,n).pipe(Ae(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):DN(n))):T({routes:[],injector:t})}};function NN(e){e.sort((t,n)=>t.value.outlet===F?-1:n.value.outlet===F?1:t.value.outlet.localeCompare(n.value.outlet))}function ON(e){let t=e.value.routeConfig;return t&&t.path===""}function ED(e){let t=[],n=new Set;for(let r of e){if(!ON(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=ED(r.children);t.push(new lt(r.value,i))}return t.filter(r=>!n.has(r))}function Yb(e){return e.data||{}}function Jb(e){return e.resolve||{}}function RN(e,t,n,r,i,o){return De(s=>TN(e,t,n,r,s.extractedUrl,i,o).pipe(B(({state:a,tree:l})=>ue(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function kN(e,t){return De(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return T(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of ID(l))s.add(c);let a=0;return ve(s).pipe(er(l=>o.has(l)?PN(l,r,e,t):(l.data=Kl(l,l.parent,e).resolve,T(void 0))),Ae(()=>a++),Kr(1),De(l=>a===s.size?T(n):tt))})}function ID(e){let t=e.children.map(n=>ID(n)).flat();return[e,...t]}function PN(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!yD(i)&&(o[qo]=i.title),FN(o,e,t,r).pipe(B(s=>(e._resolvedData=s,e.data=Kl(e,e.parent,n).resolve,null)))}function FN(e,t,n,r){let i=Mh(e);if(i.length===0)return T({});let o={};return ve(i).pipe(De(s=>LN(e[s],t,n,r).pipe(Vt(),Ae(a=>{if(a instanceof Ho)throw Ql(new Ti,a);o[s]=a}))),Kr(1),Qc(o),En(s=>DD(s)?tt:Wr(s)))}function LN(e,t,n,r){let i=Ko(t)??r,o=Oi(e,i),s=o.resolve?o.resolve(t,n):Gt(i,()=>o(t,n));return Un(s)}function Eh(e){return ft(t=>{let n=e(t);return n?ve(n).pipe(B(()=>t)):T(t)})}var MD=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===F);return r}getResolvedTitleForRoute(n){return n.data[qo]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(VN),providedIn:"root"})}}return e})(),VN=(()=>{class e extends MD{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(E(W_))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Yo=new S("",{providedIn:"root",factory:()=>({})}),jN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Pe({type:e,selectors:[["ng-component"]],standalone:!0,features:[nl],decls:1,vars:0,template:function(r,i){r&1&&b(0,"router-outlet")},dependencies:[Jh],encapsulation:2})}}return e})();function Xh(e){let t=e.children&&e.children.map(Xh),n=t?ue(w({},e),{children:t}):w({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==F&&(n.component=jN),n}var Jl=new S(""),ep=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(al)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Un(n.loadComponent()).pipe(B(SD),Ae(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Ki(()=>{this.componentLoaders.delete(n)})),i=new Gr(r,()=>new Me).pipe(zr());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=BN(r,this.compiler,n,this.onLoadEndListener).pipe(Ki(()=>{this.childrenLoaders.delete(r)})),s=new Gr(o,()=>new Me).pipe(zr());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function BN(e,t,n,r){return Un(e.loadChildren()).pipe(B(SD),De(i=>i instanceof oo||Array.isArray(i)?T(i):ve(t.compileModuleAsync(i))),B(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Jl,[],{optional:!0,self:!0}).flat()),{routes:s.map(Xh),injector:o}}))}function $N(e){return e&&typeof e=="object"&&"default"in e}function SD(e){return $N(e)?e.default:e}var tp=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(UN),providedIn:"root"})}}return e})(),UN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),xD=new S(""),TD=new S("");function HN(e,t,n){let r=e.get(TD),i=e.get(be);return e.get(Y).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),zN(e))),{onViewTransitionCreated:l}=r;return l&&Gt(e,()=>l({transition:a,from:t,to:n})),s})}function zN(e){return new Promise(t=>{el({read:()=>setTimeout(t)},{injector:e})})}var GN=new S(""),np=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Me,this.transitionAbortSubject=new Me,this.configLoader=_(ep),this.environmentInjector=_(ot),this.urlSerializer=_(Wo),this.rootContexts=_(Zo),this.location=_(vi),this.inputBindingEnabled=_(tc,{optional:!0})!==null,this.titleStrategy=_(MD),this.options=_(Yo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(tp),this.createViewTransition=_(xD,{optional:!0}),this.navigationErrorHandler=_(GN,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let n=i=>this.events.next(new kh(i)),r=i=>this.events.next(new Ph(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(ue(w(w({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new Ce({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Lo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(He(o=>o.id!==0),B(o=>ue(w({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),ft(o=>{let s=!1,a=!1;return T(o).pipe(ft(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ct.SupersededByNewNavigation),tt;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ue(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&u!=="reload"){let d="";return this.events.next(new $n(l.id,this.urlSerializer.serialize(l.rawUrl),d,Hl.IgnoredSameUrlNavigation)),l.resolve(!1),tt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return T(l).pipe(ft(d=>{let h=this.transitions?.getValue();return this.events.next(new Bn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?tt:Promise.resolve(d)}),RN(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Ae(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=ue(w({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new zl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:p,extras:y}=l,M=new Bn(d,this.urlSerializer.serialize(h),f,p);this.events.next(M);let O=mD(this.rootComponentType).snapshot;return this.currentTransition=o=ue(w({},l),{targetSnapshot:O,urlAfterRedirects:h,extras:ue(w({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,T(o)}else{let d="";return this.events.next(new $n(l.id,this.urlSerializer.serialize(l.extractedUrl),d,Hl.IgnoredByUrlHandlingStrategy)),l.resolve(!1),tt}}),Ae(l=>{let c=new Ah(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),B(l=>(this.currentTransition=o=ue(w({},l),{guards:XA(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),uN(this.environmentInjector,l=>this.events.next(l)),Ae(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Ql(this.urlSerializer,l.guardsResult);let c=new Nh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),He(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ct.GuardRejected),!1)),Eh(l=>{if(l.guards.canActivateChecks.length)return T(l).pipe(Ae(c=>{let u=new Oh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),ft(c=>{let u=!1;return T(c).pipe(kN(this.paramsInheritanceStrategy,this.environmentInjector),Ae({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",ct.NoDataFromResolver)}}))}),Ae(c=>{let u=new Rh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Eh(l=>{let c=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(Ae(h=>{u.component=h}),B(()=>{})));for(let h of u.children)d.push(...c(h));return d};return Xn(c(l.targetSnapshot.root)).pipe(In(null),Ct(1))}),Eh(()=>this.afterPreactivation()),ft(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?ve(u).pipe(B(()=>o)):T(o)}),B(l=>{let c=KA(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=ue(w({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Ae(()=>{this.events.next(new $o)}),JA(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ct(1),Ae({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ot(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Qi(this.transitionAbortSubject.pipe(Ae(l=>{throw l}))),Ki(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ct.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),En(l=>{if(a=!0,bD(l))this.events.next(new gn(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),YA(l)?this.events.next(new Ai(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Bo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let u=Gt(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Ho){let{message:d,cancellationCode:h}=Ql(this.urlSerializer,u);this.events.next(new gn(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Ai(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(c);let d=n.errorHandler(l);o.resolve(!!d)}}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return tt}))}))}cancelNavigationTransition(n,r,i){let o=new gn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function qN(e){return e!==Lo}var WN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(KN),providedIn:"root"})}}return e})(),Qh=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},KN=(()=>{class e extends Qh{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=za(e)))(i||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AD=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>_(ZN),providedIn:"root"})}}return e})(),ZN=(()=>{class e extends AD{constructor(){super(...arguments),this.location=_(vi),this.urlSerializer=_(Wo),this.options=_(Yo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(tp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Bn)this.stateMemento=this.createStateMemento();else if(n instanceof $n)this.rawUrlTree=r.initialUrl;else if(n instanceof zl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof $o?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof gn&&(n.code===ct.GuardRejected||n.code===ct.NoDataFromResolver)?this.restoreHistory(r):n instanceof Bo?this.restoreHistory(r,!0):n instanceof Ot&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof yn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=w(w({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=w(w({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=za(e)))(i||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Po=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Po||{});function ND(e,t){e.events.pipe(He(n=>n instanceof Ot||n instanceof gn||n instanceof Bo||n instanceof $n),B(n=>n instanceof Ot||n instanceof $n?Po.COMPLETE:(n instanceof gn?n.code===ct.Redirect||n.code===ct.SupersededByNewNavigation:!1)?Po.REDIRECTING:Po.FAILED),He(n=>n!==Po.REDIRECTING),Ct(1)).subscribe(()=>{t()})}function QN(e){throw e}var YN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},JN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Rt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=_(rl),this.stateManager=_(AD),this.options=_(Yo,{optional:!0})||{},this.pendingTasks=_(di),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(np),this.urlSerializer=_(Wo),this.location=_(vi),this.urlHandlingStrategy=_(tp),this._events=new Me,this.errorHandler=this.options.errorHandler||QN,this.navigated=!1,this.routeReuseStrategy=_(WN),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Jl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(tc,{optional:!0}),this.eventsSubscription=new de,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof gn&&r.code!==ct.Redirect&&r.code!==ct.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ot)this.navigated=!0;else if(r instanceof Ai){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=w({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||qN(i.source)},s);this.scheduleNavigation(a,Lo,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}eO(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Lo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=w({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Xh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=dD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return fD(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Mr(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Lo,null,r)}navigate(n,r={skipLocationChange:!1}){return XN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=w({},YN):r===!1?i=w({},JN):i=r,Mr(n))return Gb(this.currentUrlTree,n,i);let o=this.parseUrl(n);return Gb(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return ND(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function XN(e){for(let t=0;t{class e{constructor(n,r,i,o,s,a){this.router=n,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new Me,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof Ot&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Mr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:yv(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,n,r):i.removeAttribute(o,n)}get urlTree(){return this.routerLinkInput===null?null:Mr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(A(Rt),A(Sr),Pd("tabindex"),A(fr),A(pe),A(pn))}}static{this.\u0275dir=Fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&_e("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&hi("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ln],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ln],replaceUrl:[2,"replaceUrl","replaceUrl",Ln],routerLink:"routerLink"},standalone:!0,features:[yo,Rn]})}}return e})(),OD=(()=>{class e{get isActive(){return this._isActive}constructor(n,r,i,o,s){this.router=n,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new we,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Ot&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(wn()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ve(n).pipe(wn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=tO(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?n.isActive(o,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static{this.\u0275fac=function(r){return new(r||e)(A(Rt),A(pe),A(fr),A(fn),A(Xl,8))}}static{this.\u0275dir=Fe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&tf(o,Xl,5),r&2){let s;mi(s=gi())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Rn]})}}return e})();function tO(e){return!!e.paths}var ec=class{};var nO=(()=>{class e{constructor(n,r,i,o,s){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(He(n=>n instanceof Ot),er(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Xa(o.providers,n,`Route: ${o.path}`));let s=o._injector??n,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return ve(i).pipe(wn())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(n,r):i=T(null);let o=i.pipe(De(s=>s===null?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return ve([o,s]).pipe(wn())}else return o})}static{this.\u0275fac=function(r){return new(r||e)(E(Rt),E(al),E(ot),E(ec),E(ep))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),RD=new S(""),rO=(()=>{class e{constructor(n,r,i,o,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ot?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof $n&&n.code===Hl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Gl&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gl(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){Av()}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function iO(e){return e.routerState.root}function Jo(e,t){return{\u0275kind:e,\u0275providers:t}}function oO(){let e=_(qe);return t=>{let n=e.get(Fn);if(t!==n.components[0])return;let r=e.get(Rt),i=e.get(kD);e.get(rp)===1&&r.initialNavigation(),e.get(PD,null,j.Optional)?.setUpPreloading(),e.get(RD,null,j.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var kD=new S("",{factory:()=>new Me}),rp=new S("",{providedIn:"root",factory:()=>1});function sO(){return Jo(2,[{provide:rp,useValue:0},{provide:sl,multi:!0,deps:[qe],useFactory:t=>{let n=t.get(R_,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let i=t.get(Rt),o=t.get(kD);ND(i,()=>{r(!0)}),t.get(np).afterPreactivation=()=>(r(!0),o.closed?T(void 0):o),i.initialNavigation()}))}}])}function aO(){return Jo(3,[{provide:sl,multi:!0,useFactory:()=>{let t=_(Rt);return()=>{t.setUpLocationChangeListener()}}},{provide:rp,useValue:2}])}var PD=new S("");function lO(e){return Jo(0,[{provide:PD,useExisting:nO},{provide:ec,useExisting:e}])}function cO(){return Jo(8,[Zb,{provide:tc,useExisting:Zb}])}function uO(e){let t=[{provide:xD,useValue:HN},{provide:TD,useValue:w({skipNextTransition:!!e?.skipInitialTransition},e)}];return Jo(9,t)}var Xb=new S("ROUTER_FORROOT_GUARD"),dO=[vi,{provide:Wo,useClass:Ti},Rt,Zo,{provide:Sr,useFactory:iO,deps:[Rt]},ep,[]],ip=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[dO,[],{provide:Jl,multi:!0,useValue:n},{provide:Xb,useFactory:mO,deps:[[Rt,new lo,new Va]]},{provide:Yo,useValue:r||{}},r?.useHash?hO():pO(),fO(),r?.preloadingStrategy?lO(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?gO(r):[],r?.bindToComponentInputs?cO().\u0275providers:[],r?.enableViewTransitions?uO().\u0275providers:[],yO()]}}static forChild(n){return{ngModule:e,providers:[{provide:Jl,multi:!0,useValue:n}]}}static{this.\u0275fac=function(r){return new(r||e)(E(Xb,8))}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({})}}return e})();function fO(){return{provide:RD,useFactory:()=>{let e=_(j_),t=_(Y),n=_(Yo),r=_(np),i=_(Wo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new rO(i,r,e,t,n)}}}function hO(){return{provide:pn,useClass:P_}}function pO(){return{provide:pn,useClass:wf}}function mO(e){return"guarded"}function gO(e){return[e.initialNavigation==="disabled"?aO().\u0275providers:[],e.initialNavigation==="enabledBlocking"?sO().\u0275providers:[]]}var eD=new S("");function yO(){return[{provide:eD,useFactory:oO},{provide:lf,multi:!0,useExisting:eD}]}var Hn=(()=>{class e{constructor(){this.sharedDataSubject=new Ce(""),this.sharedData$=this.sharedDataSubject.asObservable()}setSharedData(n){this.sharedDataSubject.next(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var FD=(()=>{class e{set yqni13Var(n){this.context.$implicit=this.context.yqni13Var=n,this.hasView||(this.vcRef.createEmbeddedView(this.templateRef,this.context),this.hasView=!0)}constructor(n,r){this.templateRef=n,this.vcRef=r,this.context={$implicit:null,yqni13Var:null},this.hasView=!1}static{this.\u0275fac=function(r){return new(r||e)(A(ln),A(Kt))}}static{this.\u0275dir=Fe({type:e,selectors:[["","yqni13Var",""]],inputs:{yqni13Var:"yqni13Var"}})}}return e})();function bO(e,t){if(e&1&&(m(0,"section",1)(1,"div",2)(2,"video",3),b(3,"source",4),C(4," Your browser does not support the video file (mp4). "),g(),m(5,"div",5)(6,"h1",6)(7,"span"),C(8),g(),b(9,"br"),m(10,"span",7),C(11,"Frontend"),g(),m(12,"span"),C(13,"-Developer"),g()(),m(14,"p",8),C(15,` "When you take on a task, finding the best ways to achieve the desired result is always your responsibility." - Gilbert's Law `),g()()()()),e&2){let n=t.yqni13Var;G(2),oe("muted","muted"),G(6),Zt("Hi, I'm ",n.firstname,"!")}}var LD=(()=>{class e{constructor(n,r){this.elementRef=n,this.sharedDataService=r,this.user$=new W,this.subscription$=new de}ngOnInit(){this.subscription$=this.sharedDataService.sharedData$.subscribe(n=>{this.user$=T(n)})}ngOnDestroy(){this.elementRef.nativeElement.remove(),this.subscription$.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)(A(pe),A(Hn))}}static{this.\u0275cmp=Pe({type:e,selectors:[["app-home"]],decls:2,vars:3,consts:[["class","box home",4,"yqni13Var"],[1,"box","home"],[1,"home-wrapper"],["autoplay","","loop","",3,"muted"],["src","assets/landingpage_long_compressed.mp4","type","video/mp4"],[1,"column","introduction"],[1,"fading-header"],[1,"frontend"],[1,"fading-quote"]],template:function(r,i){r&1&&(je(0,bO,16,2,"section",0),vo(1,"async")),r&2&&oe("yqni13Var",_o(1,1,i.user$))},dependencies:[FD,pl],styles:[".home[_ngcontent-%COMP%]{height:100vh;align-content:center;overflow:hidden;display:flex;flex-direction:row;flex-wrap:wrap;z-index:1;background-color:transparent}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.home-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:left}video[_ngcontent-%COMP%]{filter:grayscale(var(--home-grayscale));width:100%;height:100vh;opacity:var(--opacity-bg);object-fit:cover}.introduction[_ngcontent-%COMP%]{position:absolute;top:125px;left:var(--nav-size);align-self:center;text-align:left;animation:_ngcontent-%COMP%_appear 3s ease-in-out}.introduction[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.frontend){filter:brightness(var(--home-brightness))}.introduction[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{filter:brightness(var(--home-brightness));color:var(--header-color)}.frontend[_ngcontent-%COMP%]{background:var(--home-frontend);-webkit-background-clip:text;-webkit-text-fill-color:transparent}@keyframes _ngcontent-%COMP%_appear{0%{opacity:0}to{opacity:1}}"]})}}return e})();var Ri=(()=>{class e{getScrollMaxHeight(){let n=document.body,r=document.documentElement,i=Math.max(n.scrollHeight,n.clientHeight,r.clientHeight,r.scrollHeight,r.clientHeight),o=window.innerHeight;return i-o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function DO(e,t){e&1&&b(0,"i",40)}var VD=(()=>{class e{constructor(n,r){this.scrollService=n,this.elementRef=r,this.userAge=0,this.isBottomScrolled=!1}ngOnInit(){this.userAge=this.getAge(new Date("1993/06/03"))}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}getAge(n){let r=new Date,i=0;return(r.getMonth(){class e{constructor(n,r){this.scrollService=n,this.elementRef=r,this.isBottomScrolled=!1}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}ngOnDestroy(){this.elementRef.nativeElement.remove()}static{this.\u0275fac=function(r){return new(r||e)(A(Ri),A(pe))}}static{this.\u0275cmp=Pe({type:e,selectors:[["app-cv"]],decls:124,vars:1,consts:[[1,"box","cv"],["class","icon-ScrollArrow scroll-indication",4,"ngIf"],[1,"btn-action-extern","btn-cv"],["href","assets/pdf/CV_LukasVarga.pdf","download","CV_LukasVarga"],[1,"wrapper-cv","block"],[1,"column","experience-list"],[1,"experience-list-item"],[1,"column","education-list"],[1,"education-list-item"],[1,"wrapper-techstack","block"],[1,"techstack-list"],["title","HTML5","href","https://developer.mozilla.org/en-US/docs/Web/HTML","target","_blank"],[1,"icon-HTML5"],["title","CSS3","href","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","target","_blank"],[1,"icon-CSS3"],["title","Javascript","href","https://developer.mozilla.org/en-US/docs/Web/JavaScript","target","_blank"],[1,"icon-Javascript"],["title","Typescript","href","https://www.typescriptlang.org/","target","_blank"],[1,"icon-Typescript"],["title","Angular","href","https://angular.io/","target","_blank"],[1,"icon-Angular"],["title","Git","href","https://git-scm.com/","target","_blank"],[1,"icon-git"],["title","GitHub","href","https://github.com/","target","_blank"],[1,"icon-GitHub","black-fill"],["title","GitExtensions","href","https://gitextensions.github.io/","target","_blank"],[1,"icon-GitExtensions"],["title","Notion","href","https://www.notion.so/product","target","_blank"],[1,"icon-Notion"],["title","Atlassian","href","https://www.atlassian.com/","target","_blank"],[1,"icon-Atlassian"],["title","JSON","href","https://json.org/","target","_blank"],[1,"icon-JSON"],["title","i18n","href","https://json.org/","target","_blank"],[1,"icon-i18n"],["title","SaSS","href","https://sass-lang.com/","target","_blank"],[1,"icon-Sass"],["title","NodeJS","href","https://nodejs.org/en","target","_blank"],[1,"icon-NodeJS"],["title","NPM","href","https://www.npmjs.com/","target","_blank"],[1,"icon-npm"],["title","VSCode","href","https://code.visualstudio.com/","target","_blank"],[1,"icon-vscode"],["title","CI/CD","href","https://resources.github.com/devops/ci-cd/","target","_blank"],[1,"icon-CiCd"],["title","C#","href","https://dotnet.microsoft.com/en-us/languages/csharp","target","_blank"],[1,"icon-CSharp"],["title","Bootstrap","href","https://getbootstrap.com/","target","_blank"],[1,"icon-Bootstrap"],["title","GitLab","href","https://about.gitlab.com/","target","_blank"],[1,"icon-GitLab"],["title","RxJS","href","https://rxjs.dev","target","_blank"],[1,"icon-RxJS"],["title","Postman","href","https://www.postman.com/","target","_blank"],[1,"icon-Postman"],["title","Docker","href","https://www.docker.com/","target","_blank"],[1,"icon-Docker"],["title","MySQL","href","https://www.mysql.com/","target","_blank"],[1,"icon-MySQL","horizontal"],["title","PostgreSQL","href","https://www.postgresql.org/","target","_blank"],[1,"icon-PostgreSQL"],["title","Jenkins","href","https://www.jenkins.io/","target","_blank"],[1,"icon-Jenkins"],[1,"icon-ScrollArrow","scroll-indication"]],template:function(r,i){r&1&&(m(0,"section",0)(1,"h2"),C(2,"CV."),g(),je(3,wO,1,0,"i",1),m(4,"div",2)(5,"a",3),C(6,"download - cv"),g()(),m(7,"div",4)(8,"div",5)(9,"h4"),C(10,"Experience"),g(),m(11,"div",6)(12,"p"),C(13," Evolit Consulting GmbH, Vienna"),b(14,"br"),C(15," 07/2022 - 12/2023"),b(16,"br"),C(17," Fullstack-Development "),g()()(),m(18,"div",7)(19,"h4"),C(20,"Education"),g(),m(21,"div",8)(22,"p"),C(23," UAS Technikum Vienna"),b(24,"br"),C(25," 09/2020 - 06/2023"),b(26,"br"),C(27," Computer Science, BSc "),g()(),m(28,"div",8)(29,"p"),C(30," Certificates.dev"),b(31,"br"),C(32," 09/2024 - currently"),b(33,"br"),C(34," Mid-Level Angular Developer"),b(35,"br"),C(36," online certificate "),g()()()(),m(37,"div",9)(38,"h4"),C(39,"Technical skills"),g(),m(40,"div",10)(41,"ul")(42,"li")(43,"a",11),b(44,"i",12),g()(),m(45,"li")(46,"a",13),b(47,"i",14),g()(),m(48,"li")(49,"a",15),b(50,"i",16),g()(),m(51,"li")(52,"a",17),b(53,"i",18),g()(),m(54,"li")(55,"a",19),b(56,"i",20),g()(),m(57,"li")(58,"a",21),b(59,"i",22),g()(),m(60,"li")(61,"a",23),b(62,"i",24),g()(),m(63,"li")(64,"a",25),b(65,"i",26),g()(),m(66,"li")(67,"a",27),b(68,"i",28),g()(),m(69,"li")(70,"a",29),b(71,"i",30),g()(),m(72,"li")(73,"a",31),b(74,"i",32),g()(),m(75,"li")(76,"a",33),b(77,"i",34),g()(),m(78,"li")(79,"a",35),b(80,"i",36),g()(),m(81,"li")(82,"a",37),b(83,"i",38),g()(),m(84,"li")(85,"a",39),b(86,"i",40),g()(),m(87,"li")(88,"a",41),b(89,"i",42),g()()()(),m(90,"h4"),C(91,"First Experiences"),g(),m(92,"div",10)(93,"ul")(94,"li")(95,"a",43),b(96,"i",44),g()(),m(97,"li")(98,"a",45),b(99,"i",46),g()(),m(100,"li")(101,"a",47),b(102,"i",48),g()(),m(103,"li")(104,"a",49),b(105,"i",50),g()(),m(106,"li")(107,"a",51),b(108,"i",52),g()(),m(109,"li")(110,"a",53),b(111,"i",54),g()(),m(112,"li")(113,"a",55),b(114,"i",56),g()(),m(115,"li")(116,"a",57),b(117,"i",58),g()(),m(118,"li")(119,"a",59),b(120,"i",60),g()(),m(121,"li")(122,"a",61),b(123,"i",62),g()()()()()()),r&2&&(G(3),oe("ngIf",!i.isBottomScrolled))},dependencies:[_i],styles:['.cv[_ngcontent-%COMP%]{overflow-y:auto}h2[_ngcontent-%COMP%]:after{content:"RESUME"}.btn-cv[_ngcontent-%COMP%]{margin-top:50px}.block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-style:italic;letter-spacing:3px}.block[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{opacity:.7}h4[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{padding:0;margin:0}.wrapper-cv[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:25px}.wrapper-cv[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%;margin:0 100px;padding-top:50px}.experience-list[_ngcontent-%COMP%]{margin-left:50px;text-align:left}.experience-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:left;padding-left:15px}.experience-list[_ngcontent-%COMP%] .experience-list-item[_ngcontent-%COMP%]{margin-bottom:25px}.experience-list[_ngcontent-%COMP%] .experience-list-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-left:15px;border-left-width:4px;border-left-color:var(--button-color);border-left-style:double}.education-list[_ngcontent-%COMP%]{margin-right:50px;text-align:right}.education-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:right;padding-right:15px}.education-list[_ngcontent-%COMP%] .education-list-item[_ngcontent-%COMP%]{margin-bottom:25px}.education-list[_ngcontent-%COMP%] .education-list-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-right:15px;border-right-width:4px;border-right-color:var(--button-color);border-right-style:double}.wrapper-techstack[_ngcontent-%COMP%]{margin:0 100px}.wrapper-techstack[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-top:100px;text-align:center}.techstack-list[_ngcontent-%COMP%]{text-align:-webkit-center}.techstack-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0}.techstack-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline}.techstack-list[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:60px;height:60px;margin:25px}.horizontal[_ngcontent-%COMP%]{height:60px;width:90px!important}.black-fill[_ngcontent-%COMP%]{background-color:var(--github-color)}']})}}return e})();var zn={all:"all",frontend:"frontend",fullstack:"fullstack",module:"module"};var BD={Clock:{type:"module",title:"Clock",version:"2.1.4",keywords:"live demo | english | ES6Modules | analog or digital time | multiple date formats | live changing settings | reducible navbar | responsive design | partly customizable",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_clock.jpg",githublink:"https://github.com/yqni13/WEB_clock",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},ToDo:{type:"module",title:"ToDo-List",version:"1.2.0",keywords:"to-do list | english | adding: single | removing: single/all | strikethrough done items | submit via enter-key | simple design | fixed style",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_todo.jpg",githublink:"https://github.com/yqni13/WEB_todo-list",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},Tourplanner:{type:"fullstack",title:"Tourplanner",version:"1.0.0",keywords:"Frontend: WPF | Backend: C# | DB: postgres | MapQuestAPI | WeatherAPI | english | layer-based architecture | create/display tours | logging | Import (JSON) | Export (PDF) | fixed style",technology:"C# | WPF | PostgreSQL | MapQuest | JSON",cardScreenPath:"assets/img/be_tourplanner.jpg",githublink:"https://github.com/yqni13/TourPlanner",techURLs:["https://dotnet.microsoft.com/en-us/languages/csharp","https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-wpf?view=vs-2022","https://www.postgresql.org/","https://developer.mapquest.com/","https://www.json.org/json-en.html"],techImgClasses:["icon-CSharp","icon-MicrosoftWPF","icon-PostgreSQL","icon-MapQuest","icon-JSON"]},MusicPlayer:{type:"frontend",title:"Music Player",version:"1.5.0",keywords:"live demo | music | music-player | english | responsive | customized | text-animation | meta-data | sliders | play-modes | pre-defined music | dblclick | fixed style",technology:"HTML5 | CSS3 | Javascript",cardScreenPath:"assets/img/web_music.jpg",githublink:"https://github.com/yqni13/WEB_music",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript"]},HeavensEdge:{type:"frontend",title:"Heavens Edge",version:"1.1.2",keywords:"live demo | clone | hotel representation | english | responsive | slideshow | carousel | animation | partly customized | fixed style",technology:"HTML5 | CSS3 | Javascript | Leaflet",cardScreenPath:"assets/img/web_heavensedge.jpg",githublink:"https://github.com/yqni13/WEB_HeavensEdge_clone",techURLs:["https://developer.mozilla.org/en-US/docs/Web/HTML","https://developer.mozilla.org/en-US/docs/Web/CSS?retiredLocale=de","https://developer.mozilla.org/en-US/docs/Web/JavaScript","https://leafletjs.com/"],techImgClasses:["icon-HTML5","icon-CSS3","icon-Javascript","icon-Leaflet"]},Portfolio:{type:"frontend",title:"Portfolio",version:"2.6.8",keywords:"live demo | portfolio | angular framework | english | responsive | custom design | dark/light theme | animation | custom search filter | single page application | ESLint | CI/CD workflow",technology:"Angular | RxJS | JSON",cardScreenPath:"assets/img/web_portfolio.jpg",githublink:"https://github.com/yqni13/portfolio",techURLs:["https://angular.dev/","https://rxjs.dev/","https://www.json.org/json-en.html"],techImgClasses:["icon-Angular","icon-RxJS","icon-JSON"]},ArtCreation:{type:"frontend",title:"Art-Gallery",version:"1.0.0-beta.7",keywords:"live demo | angular 18 | customer order | responsive | custom design | dark/light theme | custom lazy loading | i18n | gallery | custom form | http interception | services | pipes | directives | nested routing",technology:"Angular | RxJS | JSON | i18n | nodejs",cardScreenPath:"assets/img/web_artcreation.jpg",githublink:"https://github.com/yqni13/art-gallery-FE-only",techURLs:["https://angular.dev/","https://rxjs.dev/","https://www.json.org/json-en.html","https://www.i18next.com/","https://nodejs.org/en"],techImgClasses:["icon-Angular","icon-RxJS","icon-JSON","icon-i18n","icon-NodeJS"]}};var $D=(()=>{class e{constructor(){this.source={},this.typeFilter="",this.resultKeys=[],this.exceptionKeys=[]}loopSource(n){if(this.clearResultsArray(),this.typeFilter===zn.all&&(!n||n==null))return this.source;let r={};return n!=null&&(n=n.toLowerCase()),Object.entries(this.source).forEach(([i,o])=>{if(this.typeFilter===zn.all&&!n)this.resultKeys.push(i);else{let s=!1;Object.entries(o).forEach(([a,l])=>{a==="type"&&(this.typeFilter===zn.all||this.typeFilter===l?s=!0:s=!1),s&&!this.exceptionKeys.includes(a)&&l.toLowerCase().includes(n)&&!this.resultKeys.includes(i)&&(this.resultKeys.push(i),Object.assign(r,{[i]:o}))})}}),r}setSource(n){this.source=n}setTypeFilter(n){this.typeFilter=n}setExceptionKeys(n){this.exceptionKeys=n}clearResultsArray(){this.resultKeys=[]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var UD=(()=>{class e{constructor(){this.message=""}handle(n){n instanceof Error?this.message=n.message:typeof n=="string"?this.message=n:this.message="Unknown error.",console.log(this.message)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function MO(e,t){if(e&1&&(m(0,"a",10),b(1,"i"),g()),e&2){let n=t.$implicit,r=t.index,i=pi().$implicit;hr("href",n,go),G(),Xd(i.value.techImgClasses[r])}}function SO(e,t){if(e&1&&(m(0,"div",2),b(1,"img",3),m(2,"div",4)(3,"h4"),C(4),m(5,"a",5),b(6,"i",6),g()(),m(7,"p"),C(8," keywords:"),b(9,"br"),C(10),b(11,"br")(12,"br"),C(13),g(),m(14,"div",7),je(15,MO,2,4,"a",8),g()(),b(16,"i",9),g()),e&2){let n=t.$implicit;G(),hr("src",n.value.cardScreenPath,go),G(3),Zt("",n.value.title," "),G(),hr("href",n.value.githublink,go),G(5),Zt(" ",n.value.keywords," "),G(3),Zt(" v",n.value.version," "),G(2),oe("ngForOf",n.value.techURLs)}}var HD=(()=>{class e{constructor(n){this.sharedDataService=n,this.projectData$=new W,this.subscription$=new de}ngOnInit(){this.subscription$=this.sharedDataService.sharedData$.subscribe(n=>{this.projectData$=T(n)})}ngOnDestroy(){this.subscription$.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)(A(Hn))}}static{this.\u0275cmp=Pe({type:e,selectors:[["yqni13-template-portfolio-card"]],decls:4,vars:5,consts:[[1,"wrapper-portfolio"],["class","card",4,"ngFor","ngForOf"],[1,"card"],["alt","screenshot of project missing",3,"src"],[1,"card-text"],["target","_blank",1,"a-github",3,"href"],[1,"icon-GitHub"],[1,"card-technology"],["target","_blank",3,"href",4,"ngFor","ngForOf"],[1,"icon-HoverMe"],["target","_blank",3,"href"]],template:function(r,i){r&1&&(m(0,"div",0),je(1,SO,17,6,"div",1),vo(2,"async"),vo(3,"keyvalue"),g()),r&2&&(G(),oe("ngForOf",_o(3,3,_o(2,1,i.projectData$))))},dependencies:[L_,pl,V_],styles:['h4[_ngcontent-%COMP%]{color:var(--alice-blue)!important}.wrapper-portfolio[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:50px 100px;justify-content:center}.card[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;text-align:left;align-items:center;justify-content:end;margin:4px;background-clip:padding-box;border:solid 2px transparent;border-radius:10px;overflow:hidden}.card[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;z-index:-1;margin:-2px;border-radius:inherit;background:var(--portfolio-card)}.card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;margin:0 2px;color:var(--alice-blue);border-radius:10px}.card[_ngcontent-%COMP%]:hover .card-text[_ngcontent-%COMP%]{display:inline;transition-delay:.4s}.card-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{position:absolute;top:10%}.card-text[_ngcontent-%COMP%] a.a-github[_ngcontent-%COMP%]{margin-left:10px}.icon-HoverMe[_ngcontent-%COMP%]{position:absolute;top:5px;left:5px;background-image:var(--yqni13-gradient)}.card[_ngcontent-%COMP%]:hover .icon-HoverMe[_ngcontent-%COMP%]{display:none}.card-text[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;height:100%;align-content:end;backdrop-filter:blur(2px) brightness(.5);-webkit-backdrop-filter:blur(2px) brightness(.5);-moz-backdrop-filter:blur(2px) brightness(.5);-o-backdrop-filter:blur(2px) brightness(.5);border-radius:10px}.card-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--alice-blue);text-align:justify}.card-text[_ngcontent-%COMP%], img[_ngcontent-%COMP%]{transition:.6s all}.card-technology[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:10px 20px 10px 0}.card-technology[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{opacity:.4}.card[_ngcontent-%COMP%]:hover .icon-GitHub[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_github-animation 2s;-webkit-animation:_ngcontent-%COMP%_github-animation 2s;-moz-animation:github-animation 2s;-o-animation:github-animation 2s}@keyframes _ngcontent-%COMP%_github-animation{to{transform:scale(1.5)}to{transform:rotate(360deg)}}.icon-GitHub[_ngcontent-%COMP%]:hover{opacity:.4}.a-github[_ngcontent-%COMP%]{color:var(--alice-blue)}']})}}return e})();var TO=["keywordInputField"];function AO(e,t){e&1&&b(0,"i",11)}function NO(e,t){if(e&1){let n=ef();m(0,"a",7),_e("click",function(){Le(n);let i=pi();return Ve(i.removeKeyword())})("keydown.enter",function(){Le(n);let i=pi();return Ve(i.removeKeyword())}),b(1,"i",12),g()}}function OO(e,t){e&1&&(m(0,"div",13)(1,"p"),C(2,"No data found for this parameter."),g()())}var zD=(()=>{class e{constructor(n,r,i,o,s,a){this.sharedDataService=n,this.filterJsonService=r,this.scrollService=i,this.elementRef=o,this.errorService=s,this.domSanitizer=a,this.portfolioType=zn;try{this.projectData=BD,this.hasOutput=!0}catch(l){this.projectData={},this.hasOutput=!1,this.errorService.handle(l)}this.hasInput=!1,this.isBottomScrolled=!1,this.keywordInput="",this.exceptionProperties=["githublink","cardScreenPath","techURLs","techImgClasses"],this.activeType=zn.all}ngOnInit(){this.filterJsonService.setSource(this.projectData),this.filterJsonService.setExceptionKeys(this.exceptionProperties),this.projectData=this.filterJsonService.loopSource(""),this.checkForEmptyResults(),this.filterForType(zn.all)}ngAfterViewInit(){let n=this.scrollService.getScrollMaxHeight();window.onscroll=()=>{Math.ceil(document.documentElement.scrollTop)>=n||Math.ceil(document.body.scrollTop)>=n?this.isBottomScrolled=!0:this.isBottomScrolled=!1}}filterForKeyword(n){this.projectData=this.filterJsonService.loopSource(this.domSanitizer.sanitize(gt.HTML,n)),this.checkForEmptyResults(),this.setPortfolioCards()}setPortfolioCards(){this.sharedDataService.setSharedData(this.projectData)}filterForType(n){this.activeType=n,this.filterJsonService.setTypeFilter(n),this.projectData=this.filterJsonService.loopSource(this.keywordInput),this.checkForEmptyResults(),this.setPortfolioCards()}detectKeywordInput(n){n.target.value?this.hasInput=!0:(this.hasInput=!1,this.filterForKeyword("")),this.keywordInput=n.target.value}removeKeyword(){this.keywordInputField.nativeElement.value="",this.keywordInput="",this.hasInput=!1,this.filterForKeyword("")}checkForEmptyResults(){Object.keys(this.projectData).length?this.hasOutput=!0:this.hasOutput=!1}ngOnDestroy(){this.elementRef.nativeElement.remove()}static{this.\u0275fac=function(r){return new(r||e)(A(Hn),A($D),A(Ri),A(pe),A(UD),A(kf))}}static{this.\u0275cmp=Pe({type:e,selectors:[["app-portfolio"]],viewQuery:function(r,i){if(r&1&&nf(TO,5),r&2){let o;mi(o=gi())&&(i.keywordInputField=o.first)}},decls:25,vars:7,consts:[["keywordInputField",""],[1,"box","portfolio"],["class","icon-ScrollArrow scroll-indication",4,"ngIf"],[1,"page-header"],[1,"portfolio-type",3,"click","keydown.enter","ngClass"],[1,"wrapper-keyword"],["type","text","name","keywords","placeholder","Search keywords",3,"input","keydown.enter"],[3,"click","keydown.enter"],[1,"icon-Search"],[3,"click","keydown.enter",4,"ngIf"],["class","wrapper-empty-search",4,"ngIf"],[1,"icon-ScrollArrow","scroll-indication"],[1,"icon-Close"],[1,"wrapper-empty-search"]],template:function(r,i){if(r&1){let o=ef();m(0,"section",1)(1,"h2"),C(2,"Portfolio."),g(),je(3,AO,1,0,"i",2),m(4,"nav",3)(5,"a",4),_e("click",function(){return Le(o),Ve(i.filterForType(i.portfolioType.all))})("keydown.enter",function(){return Le(o),Ve(i.filterForType(i.portfolioType.all))}),m(6,"span"),C(7,"ALL"),g()(),m(8,"a",4),_e("click",function(){return Le(o),Ve(i.filterForType(i.portfolioType.frontend))})("keydown.enter",function(){return Le(o),Ve(i.filterForType(i.portfolioType.frontend))}),m(9,"span"),C(10,"FRONTEND"),g()(),m(11,"a",4),_e("click",function(){return Le(o),Ve(i.filterForType(i.portfolioType.fullstack))})("keydown.enter",function(){return Le(o),Ve(i.filterForType(i.portfolioType.fullstack))}),m(12,"span"),C(13,"FULLSTACK"),g()(),m(14,"a",4),_e("click",function(){return Le(o),Ve(i.filterForType(i.portfolioType.module))})("keydown.enter",function(){return Le(o),Ve(i.filterForType(i.portfolioType.module))}),m(15,"span"),C(16,"MODULES"),g()()(),m(17,"div",5)(18,"input",6,0),_e("input",function(a){return Le(o),Ve(i.detectKeywordInput(a))})("keydown.enter",function(){Le(o);let a=tl(19);return Ve(i.filterForKeyword(a.value))}),g(),m(20,"a",7),_e("click",function(){Le(o);let a=tl(19);return Ve(i.filterForKeyword(a.value))})("keydown.enter",function(){Le(o);let a=tl(19);return Ve(i.filterForKeyword(a.value))}),b(21,"i",8),g(),je(22,NO,2,0,"a",9),g(),b(23,"yqni13-template-portfolio-card"),je(24,OO,3,0,"div",10),g()}r&2&&(G(3),oe("ngIf",!i.isBottomScrolled),G(2),oe("ngClass",i.activeType===i.portfolioType.all?"active-route":""),G(3),oe("ngClass",i.activeType===i.portfolioType.frontend?"active-route":""),G(3),oe("ngClass",i.activeType===i.portfolioType.fullstack?"active-route":""),G(3),oe("ngClass",i.activeType===i.portfolioType.module?"active-route":""),G(8),oe("ngIf",i.hasInput),G(2),oe("ngIf",!i.hasOutput))},dependencies:[hl,_i,HD],styles:['.portfolio[_ngcontent-%COMP%]{overflow-y:auto}h2[_ngcontent-%COMP%]:after{content:"MY WORK"}h4[_ngcontent-%COMP%]{color:var(--alice-blue)!important}.wrapper-keyword[_ngcontent-%COMP%]{display:flex;justify-content:center}.wrapper-keyword[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:none;background-color:var(--lightopacity-grey);opacity:.7;color:var(--text-color);border-radius:5px;padding:5px 10px;font-size:18px}.wrapper-keyword[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:none;outline:var(--text-color) 1px solid}.icon-Search[_ngcontent-%COMP%]{color:var(--text-color);width:25px;height:25px;position:relative;top:.2em;right:1.3em}.icon-Close[_ngcontent-%COMP%]{color:var(--warning-red);position:relative;top:.1em;right:.9em}.page-header[_ngcontent-%COMP%]{display:inline-flex;margin:10px 0}.page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;font-size:20px}.page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background:var(--active-link);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.portfolio-type[_ngcontent-%COMP%]{padding:15px;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}span[_ngcontent-%COMP%]{color:var(--header-color)}.wrapper-empty-search[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:2em;opacity:.3;font-style:italic}']})}}return e})();var RO=[{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:LD,title:"Home"},{path:"about",component:VD,title:"About"},{path:"cv",component:jD,title:"CV"},{path:"mywork",component:zD,title:"Portfolio"},{path:"**",redirectTo:"/home",title:"Home"}],GD=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[ip.forRoot(RO),ip]})}}return e})();var sm={};$w(sm,{VERSION:()=>ic,after:()=>Hp,all:()=>wc,allKeys:()=>kt,any:()=>Cc,assign:()=>Nr,before:()=>ms,bind:()=>yc,bindAll:()=>vw,chain:()=>Fp,chunk:()=>om,clone:()=>Mp,collect:()=>Ye,compact:()=>em,compose:()=>Up,constant:()=>rs,contains:()=>$e,countBy:()=>Iw,create:()=>Ip,debounce:()=>Bp,default:()=>Nw,defaults:()=>pc,defer:()=>_w,delay:()=>vc,detect:()=>Ui,difference:()=>Ic,drop:()=>Lr,each:()=>Oe,escape:()=>pw,every:()=>wc,extend:()=>hc,extendOwn:()=>Nr,filter:()=>Dt,find:()=>Ui,findIndex:()=>$i,findKey:()=>gs,findLastIndex:()=>_c,findWhere:()=>zp,first:()=>Is,flatten:()=>tm,foldl:()=>Dc,foldr:()=>Gp,forEach:()=>Oe,functions:()=>Vi,get:()=>us,groupBy:()=>Cw,has:()=>xp,head:()=>Is,identity:()=>Rr,include:()=>$e,includes:()=>$e,indexBy:()=>Ew,indexOf:()=>bc,initial:()=>Es,inject:()=>Dc,intersection:()=>nm,invert:()=>ls,invoke:()=>ww,isArguments:()=>Fi,isArray:()=>Ze,isArrayBuffer:()=>cc,isBoolean:()=>ts,isDataView:()=>xr,isDate:()=>XD,isElement:()=>pp,isEmpty:()=>vp,isEqual:()=>bp,isError:()=>tw,isFinite:()=>yp,isFunction:()=>ce,isMap:()=>uw,isMatch:()=>as,isNaN:()=>ns,isNull:()=>hp,isNumber:()=>ac,isObject:()=>Be,isRegExp:()=>ew,isSet:()=>fw,isString:()=>ki,isSymbol:()=>lc,isTypedArray:()=>dc,isUndefined:()=>es,isWeakMap:()=>dw,isWeakSet:()=>hw,iteratee:()=>ji,keys:()=>q,last:()=>Xp,lastIndexOf:()=>Dw,map:()=>Ye,mapObject:()=>Tp,matcher:()=>en,matches:()=>en,max:()=>Ds,memoize:()=>Vp,methods:()=>Vi,min:()=>Kp,mixin:()=>Ms,negate:()=>Pr,noop:()=>fs,now:()=>Gn,object:()=>rm,omit:()=>Sw,once:()=>bw,pairs:()=>Ep,partial:()=>qn,partition:()=>Mw,pick:()=>Ec,pluck:()=>Fr,property:()=>kr,propertyOf:()=>Ap,random:()=>Bi,range:()=>im,reduce:()=>Dc,reduceRight:()=>Gp,reject:()=>qp,rest:()=>Lr,restArguments:()=>se,result:()=>kp,sample:()=>Cs,select:()=>Dt,shuffle:()=>Zp,size:()=>Yp,some:()=>Cc,sortBy:()=>Qp,sortedIndex:()=>vs,tail:()=>Lr,take:()=>Is,tap:()=>Sp,template:()=>Rp,templateSettings:()=>yw,throttle:()=>jp,times:()=>Np,toArray:()=>ws,toPath:()=>mc,transpose:()=>zi,unescape:()=>gw,union:()=>Tw,uniq:()=>Hi,unique:()=>Hi,uniqueId:()=>Pp,unzip:()=>zi,values:()=>ut,where:()=>Wp,without:()=>xw,wrap:()=>$p,zip:()=>Aw});var ic="1.13.7",sp=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Xo=Array.prototype,oc=Object.prototype,ap=typeof Symbol<"u"?Symbol.prototype:null,qD=Xo.push,Xt=Xo.slice,vn=oc.toString,WD=oc.hasOwnProperty,lp=typeof ArrayBuffer<"u",KD=typeof DataView<"u",ZD=Array.isArray,cp=Object.keys,up=Object.create,dp=lp&&ArrayBuffer.isView,QD=isNaN,YD=isFinite,sc=!{toString:null}.propertyIsEnumerable("toString"),fp=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],JD=Math.pow(2,53)-1;function se(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&n<=JD}}function os(e){return function(t){return t?.[e]}}var Tr=os("byteLength");var rw=is(Tr);var LO=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function VO(e){return dp?dp(e)&&!xr(e):rw(e)&&LO.test(vn.call(e))}var dc=lp?VO:rs(!1);var fe=os("length");function jO(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"};var pw=hs(gc);var mw=ls(gc);var gw=hs(mw);var yw=k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Op=/(.)^/,$O={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},UO=/\\|'|\r|\n|\u2028|\u2029/g;function HO(e){return"\\"+$O[e]}var zO=/^\s*(\w|\$)+\s*$/;function Rp(e,t,n){!t&&n&&(t=n),t=pc({},t,k.templateSettings);var r=RegExp([(t.escape||Op).source,(t.interpolate||Op).source,(t.evaluate||Op).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(c,u,d,h,f){return o+=e.slice(i,f).replace(UO,HO),i=f+c.length,u?o+=`'+ +((__t=(`+u+`))==null?'':_.escape(__t))+ +'`:d?o+=`'+ +((__t=(`+d+`))==null?'':__t)+ +'`:h&&(o+=`'; +`+h+` +__p+='`),c}),o+=`'; +`;var s=t.variable;if(s){if(!zO.test(s))throw new Error("variable is not a bare identifier: "+s)}else o=`with(obj||{}){ +`+o+`} +`,s="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; +`+o+`return __p; +`;var a;try{a=new Function(s,"_",o)}catch(c){throw c.source=o,c}var l=function(c){return a.call(this,c,k)};return l.source="function("+s+`){ +`+o+"}",l}function kp(e,t,n){t=Pt(t);var r=t.length;if(!r)return ce(n)?n.call(e):n;for(var i=0;i1)Qe(a,t-1,n,r),i=r.length;else for(var l=0,c=a.length;lt?(r&&(clearTimeout(r),r=null),a=u,s=e.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,d)),s};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c}function Bp(e,t,n){var r,i,o,s,a,l=function(){var u=Gn()-i;t>u?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(a,o)),r||(o=a=null))},c=se(function(u){return a=this,o=u,i=Gn(),r||(r=setTimeout(l,t),n&&(s=e.apply(a,o))),s});return c.cancel=function(){clearTimeout(r),r=o=a=null},c}function $p(e,t){return qn(t,e)}function Pr(e){return function(){return!e.apply(this,arguments)}}function Up(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function Hp(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function ms(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var bw=qn(ms,2);function gs(e,t,n){t=ie(t,n);for(var r=q(e),i,o=0,s=r.length;o0?0:i-1;o>=0&&o0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(Xt.call(r,s,a),ns),o>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&o0?0:a-1;for(o||(i=n[s?s[l]:l],l+=e);l>=0&&l=3;return t(n,Ft(r,o,4),i,s)}}var Dc=bs(1);var Gp=bs(-1);function Dt(e,t,n){var r=[];return t=ie(t,n),Oe(e,function(i,o,s){t(i,o,s)&&r.push(i)}),r}function qp(e,t,n){return Dt(e,Pr(ie(t)),n)}function wc(e,t,n){t=ie(t,n);for(var r=!he(e)&&q(e),i=(r||e).length,o=0;o=0}var ww=se(function(e,t,n){var r,i;return ce(t)?i=t:(t=Pt(t),r=t.slice(0,-1),t=t[t.length-1]),Ye(e,function(o){var s=i;if(!s){if(r&&r.length&&(o=Or(o,r)),o==null)return;s=o[t]}return s==null?s:s.apply(o,n)})});function Fr(e,t){return Ye(e,kr(t))}function Wp(e,t){return Dt(e,en(t))}function Ds(e,t,n){var r=-1/0,i=-1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=he(e)?e:ut(e);for(var a=0,l=e.length;ar&&(r=o)}else t=ie(t,n),Oe(e,function(c,u,d){s=t(c,u,d),(s>i||s===-1/0&&r===-1/0)&&(r=c,i=s)});return r}function Kp(e,t,n){var r=1/0,i=1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=he(e)?e:ut(e);for(var a=0,l=e.length;aa||s===void 0)return 1;if(s1&&(r=Ft(r,t[1])),t=kt(e)):(r=Jp,t=Qe(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(r=t[1])):(t=Ye(Qe(t,!1,!1),String),n=function(i,o){return!$e(t,o)}),Ec(e,n,r)});function Es(e,t,n){return Xt.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function Is(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:Es(e,e.length-t)}function Lr(e,t,n){return Xt.call(e,t==null||n?1:t)}function Xp(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:Lr(e,Math.max(0,e.length-t))}function em(e){return Dt(e,Boolean)}function tm(e,t){return Qe(e,t,!1)}var Ic=se(function(e,t){return t=Qe(t,!0,!0),Dt(e,function(n){return!$e(t,n)})});var xw=se(function(e,t){return Ic(e,t)});function Hi(e,t,n,r){ts(t)||(r=n,n=t,t=!1),n!=null&&(n=ie(n,r));for(var i=[],o=[],s=0,a=fe(e);s["home"],WO=()=>["about"],KO=()=>["cv"],ZO=()=>["mywork"],Rw=(()=>{class e{constructor(n,r){this.router=n,this.sharedDataService=r,n.events.subscribe(i=>{i instanceof Bn&&window.scrollTo(0,0)}),this.version="2.6.8",this.darkMode="",this.lightMode="",this.copyrightYear=new Date().getFullYear(),this.author={firstname:"Lukas",lastname:"Varga",alias:"yqni13"},this.OWNER=`${this.author.firstname} ${this.author.lastname}`,this.mobileNavExpanded=!1,this.collapseNavbarWidth=768}ngOnInit(){this.checkThemeCookie(),this.setNavWidthDynamically(window.screen.width),this.setNavWidthDynamically(document.body.clientWidth);let n=Mc.debounce(()=>{this.setNavWidthDynamically(window.screen.width)},250);window.addEventListener("resize",n,!1);let r=Mc.debounce(()=>{this.setNavWidthDynamically(document.body.clientWidth)},250);window.addEventListener("resize",r,!1),this.shareDataWithHomeComp()}shareDataWithHomeComp(){this.sharedDataService.setSharedData(this.author)}setDarkMode(){this.darkMode="setVisible",this.lightMode="setHidden",localStorage.setItem("theme","dark"),document.body.setAttribute("data-theme","dark")}setLightMode(){this.darkMode="setHidden",this.lightMode="setVisible",localStorage.setItem("theme","light"),document.body.setAttribute("data-theme","light")}setNavWidthDynamically(n){n>this.collapseNavbarWidth?document.body.setAttribute("data-nav","navDesktop"):document.body.setAttribute("data-nav","navMobileCollapsed")}expandNavMobile(n=!1){let r=window.screen.width;r<=this.collapseNavbarWidth&&n&&(this.mobileNavExpanded=!0),!(r>this.collapseNavbarWidth&&!n)&&r<=this.collapseNavbarWidth&&(this.mobileNavExpanded?(document.body.setAttribute("data-nav","navMobileCollapsed"),this.mobileNavExpanded=!1):(document.body.setAttribute("data-nav","navMobileExpanded"),this.mobileNavExpanded=!0))}checkThemeCookie(){let n=localStorage.getItem("theme");if(!n){this.setDarkMode();return}n==="dark"?this.setDarkMode():n==="light"&&this.setLightMode()}static{this.\u0275fac=function(r){return new(r||e)(A(Rt),A(Hn))}}static{this.\u0275cmp=Pe({type:e,selectors:[["app-root"]],decls:38,vars:15,consts:[["data-media","mobile",1,"nav-bar"],[1,"nav-collapse","nav-unfold"],[1,"icon-BurgerMenu","nav-mobile",3,"click","keydown.enter"],[1,"nav-full"],["src","assets/img/yqni13-small.png","alt","no logo",1,"nav-logo",3,"click","keydown.enter","routerLink"],["routerLinkActive","active-route",3,"click","keydown.enter","routerLink"],[3,"click","keydown.enter","ngClass"],[1,"icon-DarkMode","nav-darkmode"],[1,"icon-LightMode","nav-lightmode"],[1,"link-icons"],["href","https://github.com/yqni13","target","_blank"],[1,"icon-GitHub"],["href","https://app.daily.dev/yqni13","target","_blank"],[1,"icon-DailyDev3"],["href","https://www.xing.com/profile/Lukas_Varga2","target","_blank"],[1,"icon-Xing"],[1,"footer-verification"],[1,"icon-CopyRight","nav-copyright"]],template:function(r,i){r&1&&(m(0,"nav",0)(1,"ul")(2,"li",1)(3,"i",2),_e("click",function(){return i.expandNavMobile()})("keydown.enter",function(){return i.expandNavMobile()}),g()(),m(4,"li",3)(5,"img",4),_e("click",function(){return i.expandNavMobile(!0),i.shareDataWithHomeComp()})("keydown.enter",function(){return i.expandNavMobile(!0),i.shareDataWithHomeComp()}),g()(),m(6,"li",3)(7,"span",5),_e("click",function(){return i.expandNavMobile(!0),i.shareDataWithHomeComp()})("keydown.enter",function(){return i.expandNavMobile(!0),i.shareDataWithHomeComp()}),C(8,"Home"),g()(),m(9,"li",3)(10,"span",5),_e("click",function(){return i.expandNavMobile(!0)})("keydown.enter",function(){return i.expandNavMobile(!0)}),C(11,"About"),g()(),m(12,"li",3)(13,"span",5),_e("click",function(){return i.expandNavMobile(!0)})("keydown.enter",function(){return i.expandNavMobile(!0)}),C(14,"CV"),g()(),m(15,"li",3)(16,"span",5),_e("click",function(){return i.expandNavMobile(!0)})("keydown.enter",function(){return i.expandNavMobile(!0)}),C(17,"Portfolio"),g()(),m(18,"li")(19,"div",6),_e("click",function(){return i.setLightMode()})("keydown.enter",function(){return i.setLightMode()}),b(20,"i",7),g(),m(21,"div",6),_e("click",function(){return i.setDarkMode()})("keydown.enter",function(){return i.setDarkMode()}),b(22,"i",8),g()(),m(23,"li")(24,"div",9)(25,"a",10),b(26,"i",11),g(),m(27,"a",12),b(28,"i",13),g(),m(29,"a",14),b(30,"i",15),g()(),m(31,"p",16),b(32,"i",17),C(33),b(34,"br"),C(35),g()()()(),m(36,"router-outlet"),b(37,"router-outlet"),g()),r&2&&(G(5),oe("routerLink",yi(10,Ow)),G(2),oe("routerLink",yi(11,Ow)),G(3),oe("routerLink",yi(12,WO)),G(3),oe("routerLink",yi(13,KO)),G(3),oe("routerLink",yi(14,ZO)),G(3),oe("ngClass",i.darkMode),G(2),oe("ngClass",i.lightMode),G(12),rf(" ",i.copyrightYear,", ",i.OWNER,""),G(2),Zt("v",i.version,""))},dependencies:[hl,Jh,Xl,OD],styles:["span[_ngcontent-%COMP%]{padding:0 10px;font-size:1.5rem;color:var(--navbar-text);opacity:.8}span[_ngcontent-%COMP%]:hover{background:var(--active-link);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.nav-bar[_ngcontent-%COMP%]{justify-content:left;display:block}.nav-bar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{height:100%;overflow:auto;position:fixed;margin:0;padding:0;scrollbar-width:none;background-color:var(--navbar-bg);border-right:solid var(--navbar-border) 3px;display:flex;flex-direction:column}.nav-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:right}.nav-bar[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block;text-decoration:none;cursor:pointer;padding:30px 0 0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.nav-collapse[_ngcontent-%COMP%]{align-self:center;padding-top:0;color:var(--navbar-text)}.nav-darkmode[_ngcontent-%COMP%]{color:var(--darktext-grey);padding-left:5px}.nav-lightmode[_ngcontent-%COMP%]{color:var(--lightmode-yellow)}nav-lightmode[_ngcontent-%COMP%], nav-darkmode[_ngcontent-%COMP%]{width:var(--linkicons-size)!important;height:var(--linkicons-size)!important}ul[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-top:auto;margin-bottom:5%;text-align:center}li[_ngcontent-%COMP%]:nth-child(2){cursor:default!important}li[_ngcontent-%COMP%]:nth-child(2) .nav-logo[_ngcontent-%COMP%]{cursor:pointer}.nav-issues[_ngcontent-%COMP%]{font-size:.75rem!important;font-style:italic}.nav-issues[_ngcontent-%COMP%]:hover{color:var(--warning-red)!important;opacity:.7!important}.setVisible[_ngcontent-%COMP%]{display:inline}.setHidden[_ngcontent-%COMP%]{display:none}.link-icons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--navbar-content);width:var(--linkicons-size);height:var(--linkicons-size);margin:5px 8.5px}.link-icons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{opacity:.4}.nav-copyright[_ngcontent-%COMP%]{width:12px;height:12px;color:var(--navbar-content);margin-right:5px;vertical-align:top;height:16px}ul[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child p[_ngcontent-%COMP%]{color:var(--navbar-content);font-size:12px}.footer-verification[_ngcontent-%COMP%]{cursor:default}.error-msg-box[_ngcontent-%COMP%]{width:calc(100% - 4.5px);height:calc(100% - 4.5px);border:solid 2px var(--alice-blue);position:fixed;top:0;align-content:center;z-index:100;text-align:-webkit-center;text-align:-moz-center;overflow:scroll;scrollbar-width:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%]{border:solid 2px var(--alice-blue);border-radius:10px;padding-bottom:50px;width:50vw;background-color:var(--navbar-bg)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--alice-blue);font-size:2em;padding:0 25px;margin-bottom:50px}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.5em;background-color:var(--accept-green);color:var(--alice-blue);padding:10px 20px;border-radius:5px;cursor:pointer}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.7;border:solid 1px var(--alice-blue)}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{pointer-events:none}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .red-msg[_ngcontent-%COMP%]{text-transform:uppercase;color:var(--warning-red);font-weight:bolder}.error-msg-box[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .green-msg[_ngcontent-%COMP%]{color:var(--accept-green);font-weight:bolder}"]})}}return e})();var QO={"[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"},hW=ue(w({},QO),{"[class.ng-submitted]":"isSubmitted"});var YO=new S("CallSetDisabledState",{providedIn:"root",factory:()=>kw}),kw="always";var JO=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({})}}return e})();var Pw=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:YO,useValue:n.callSetDisabledState??kw}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[JO]})}}return e})();var lm=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[bi]})}}return e})();var Fw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e})}static{this.\u0275inj=ne({imports:[bi,Pw,lm,lm]})}}return e})();var Lw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=re({type:e,bootstrap:[Rw]})}static{this.\u0275inj=ne({imports:[vl,GD,Eb,zb,Fw]})}}return e})();q_().bootstrapModule(Lw).catch(e=>console.error(e)); diff --git a/polyfills-6EAL64PA.js b/polyfills-6EAL64PA.js deleted file mode 100644 index f67a2da..0000000 --- a/polyfills-6EAL64PA.js +++ /dev/null @@ -1,2 +0,0 @@ -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-FFHMD2TL.js b/polyfills-FFHMD2TL.js new file mode 100644 index 0000000..b01b791 --- /dev/null +++ b/polyfills-FFHMD2TL.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function dt(){let e=ce.performance;function n(M){e&&e.mark&&e.mark(M)}function a(M,s){e&&e.measure&&e.measure(M,s)}n("Zone");class t{static{this.__symbol__=te}static assertZonePatched(){if(ce.Promise!==S.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 s=t.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,o=!1){if(S.hasOwnProperty(s)){let g=ce[te("forceDuplicateZoneCheck")]===!0;if(!o&&g)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let g="Zone:"+s;n(g),S[s]=i(ce,t,w),a(g,g)}}get parent(){return this._parent}get name(){return this._name}constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let o=this._zoneDelegate.intercept(this,s,i),g=this;return function(){return g.runGuarded(o,this,arguments,i)}}run(s,i,o,g){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,o,g)}finally{b=b.parent}}runGuarded(s,i=null,o,g){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,o,g)}catch(V){if(this._zoneDelegate.handleError(this,V))throw V}}finally{b=b.parent}}runTask(s,i,o){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let g=s,{type:V,data:{isPeriodic:ee=!1,isRefreshable:Z=!1}={}}=s;if(s.state===q&&(V===z||V===y))return;let he=s.state!=A;he&&g._transitionTo(A,d);let _e=D;D=g,b={parent:b,zone:this};try{V==y&&s.data&&!ee&&!Z&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,g,i,o)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(V==z||ee||Z&&Q===k)he&&g._transitionTo(d,A,k);else{let Ee=g._zoneDelegates;this._updateTaskCount(g,-1),he&&g._transitionTo(q,A,q),Z&&(g._zoneDelegates=Ee)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let o=this;for(;o;){if(o===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);o=o.parent}}s._transitionTo(k,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(o){throw s._transitionTo(X,k,q),this._zoneDelegate.handleError(this,o),o}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==k&&s._transitionTo(d,k),s}scheduleMicroTask(s,i,o,g){return this.scheduleTask(new E(G,s,i,o,g,void 0))}scheduleMacroTask(s,i,o,g,V){return this.scheduleTask(new E(y,s,i,o,g,V))}scheduleEventTask(s,i,o,g,V){return this.scheduleTask(new E(z,s,i,o,g,V))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(x,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,x),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,x),s.runCount=-1,s}}_updateTaskCount(s,i){let o=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let g=0;gM.hasTask(i,o),onScheduleTask:(M,s,i,o)=>M.scheduleTask(i,o),onInvokeTask:(M,s,i,o,g,V)=>M.invokeTask(i,o,g,V),onCancelTask:(M,s,i,o)=>M.cancelTask(i,o)};class f{get zone(){return this._zone}constructor(s,i,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=s,this._parentDelegate=i,this._forkZS=o&&(o&&o.onFork?o:i._forkZS),this._forkDlgt=o&&(o.onFork?i:i._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:i._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:i._interceptZS),this._interceptDlgt=o&&(o.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:i._invokeZS),this._invokeDlgt=o&&(o.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:i._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:i._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:i._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:i._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let g=o&&o.onHasTask,V=i&&i._hasTaskZS;(g||V)&&(this._hasTaskZS=g?o:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new t(s,i)}intercept(s,i,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,o):i}invoke(s,i,o,g,V){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,o,g,V):i.apply(o,g)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let o=i;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),o||(o=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==G)U(i);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(s,i,o,g){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,o,g):i.callback.apply(o,g)}cancelTask(s,i){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");o=i.cancelFn(i)}return o}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(o){this.handleError(s,o)}}_updateTaskCount(s,i){let o=this._taskCounts,g=o[s],V=o[s]=g+i;if(V<0)throw new Error("More tasks executed then were scheduled.");if(g==0||V==0){let ee={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class E{constructor(s,i,o,g,V,ee){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=s,this.source=i,this.data=g,this.scheduleFn=V,this.cancelFn=ee,!o)throw new Error("callback is not defined");this.callback=o;let Z=this;s===z&&g&&g.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,Z,this,arguments)}}static invokeTask(s,i,o){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,o)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,k)}_transitionTo(s,i,o){if(this._state===i||this._state===o)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${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 T=te("setTimeout"),p=te("Promise"),C=te("then"),_=[],P=!1,I;function H(M){if(I||ce[p]&&(I=ce[p].resolve(0)),I){let s=I[C];s||(s=I.then),s.call(I,M)}else ce[T](M,0)}function U(M){K===0&&_.length===0&&H($),M&&_.push(M)}function $(){if(!P){for(P=!0;_.length;){let M=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[te("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:H},b={parent:null,zone:new t(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),t}function _t(){let e=globalThis,n=e[te("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=dt(),e.Zone}var be=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,Et=Object.create,Tt=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Le=te(He),Ie=te(xe),ae="true",le="false",Pe=te("");function Ve(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var j=te,De=typeof window<"u",pe=De?window:void 0,Y=De&&pe||globalThis,gt="removeAttribute";function Fe(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=Ve(e[a],n+"_"+a));return e}function yt(e,n){let a=e.constructor.name;for(let t=0;t{let p=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(p,T),p})(f)}}}function tt(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Be=!Se&&!nt&&!!(De&&pe.HTMLElement),rt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!nt&&!!(De&&pe.HTMLElement),Ce={},mt=j("enable_beforeunload"),Ye=function(e){if(e=e||Y.event,!e)return;let n=Ce[e.type];n||(n=Ce[e.type]=j("ON_PROPERTY"+e.type));let a=this||e.target||Y,t=a[n],c;if(Be&&a===pe&&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),e.type==="beforeunload"&&Y[mt]&&typeof c=="string"?e.returnValue=c:c!=null&&!c&&e.preventDefault();return c};function $e(e,n,a){let t=be(e,n);if(!t&&a&&be(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let f=t.get,E=t.set,T=n.slice(2),p=Ce[T];p||(p=Ce[T]=j("ON_PROPERTY"+T)),t.set=function(C){let _=this;if(!_&&e===Y&&(_=Y),!_)return;typeof _[p]=="function"&&_.removeEventListener(T,Ye),E&&E.call(_,null),_[p]=C,typeof C=="function"&&_.addEventListener(T,Ye,!1)},t.get=function(){let C=this;if(!C&&e===Y&&(C=Y),!C)return null;let _=C[p];if(_)return _;if(f){let P=f.call(this);if(P)return t.set.call(this,P),typeof C[gt]=="function"&&C.removeAttribute(n),P}return null},Ae(e,n,t),e[c]=!0}function ot(e,n,a){if(n)for(let t=0;tfunction(E,T){let p=a(E,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?Ge(p.name,T[p.cbIdx],p,c):f.apply(E,T)})}function fe(e,n){e[j("OriginalDelegate")]=n}var Je=!1,Me=!1;function kt(){try{let e=pe.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function vt(){if(Je)return Me;Je=!0;try{let e=pe.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}function Ke(e){return typeof e=="function"}function Qe(e){return typeof e=="number"}var me=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}var bt={useG:!0},ne={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=j("propagationStopped");function at(e,n){let a=(n?n(e):e)+le,t=(n?n(e):e)+ae,c=Pe+a,f=Pe+t;ne[e]={},ne[e][le]=c,ne[e][ae]=f}function Pt(e,n,a,t){let c=t&&t.add||He,f=t&&t.rm||xe,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(c),C="."+c+":",_="prependListener",P="."+_+":",I=function(k,d,A){if(k.isRemoved)return;let x=k.callback;typeof x=="object"&&x.handleEvent&&(k.callback=y=>x.handleEvent(y),k.originalDelegate=x);let X;try{k.invoke(k,d,[A])}catch(y){X=y}let G=k.options;if(G&&typeof G=="object"&&G.once){let y=k.originalDelegate?k.originalDelegate:k.callback;d[f].call(d,A.type,y,G)}return X};function H(k,d,A){if(d=d||e.event,!d)return;let x=k||d.target||e,X=x[ne[d.type][A?ae:le]];if(X){let G=[];if(X.length===1){let y=I(X[0],x,d);y&&G.push(y)}else{let y=X.slice();for(let z=0;z{throw z})}}}let U=function(k){return H(this,k,!1)},$=function(k){return H(this,k,!0)};function J(k,d){if(!k)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let x=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let G=!1;d&&d.rt!==void 0&&(G=d.rt);let y=k;for(;y&&!y.hasOwnProperty(c);)y=je(y);if(!y&&k[c]&&(y=k),!y||y[p])return!1;let z=d&&d.eventNameToString,S={},w=y[p]=y[c],b=y[j(f)]=y[f],D=y[j(E)]=y[E],K=y[j(T)]=y[T],W;d&&d.prepend&&(W=y[j(d.prepend)]=y[d.prepend]);function M(r,u){return!me&&typeof r=="object"&&r?!!r.capture:!me||!u?r:typeof r=="boolean"?{capture:r,passive:!0}:r?typeof r=="object"&&r.passive!==!1?{...r,passive:!0}:r:{passive:!0}}let s=function(r){if(!S.isExisting)return w.call(S.target,S.eventName,S.capture?$:U,S.options)},i=function(r){if(!r.isRemoved){let u=ne[r.eventName],v;u&&(v=u[r.capture?ae:le]);let R=v&&r.target[v];if(R){for(let m=0;mre.zone.cancelTask(re);r.call(Te,"abort",ie,{once:!0}),re.removeAbortListener=()=>Te.removeEventListener("abort",ie)}if(S.target=null,ke&&(ke.taskData=null),Ue&&(S.options.once=!0),!me&&typeof re.options=="boolean"||(re.options=se),re.target=N,re.capture=Oe,re.eventName=L,B&&(re.originalDelegate=F),O?ge.unshift(re):ge.push(re),m)return N}};return y[c]=l(w,C,ee,Z,G),W&&(y[_]=l(W,P,g,Z,G,!0)),y[f]=function(){let r=this||e,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],R=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(x&&!x(b,m,r,arguments))return;let O=ne[u],N;O&&(N=O[R?ae:le]);let L=N&&r[N];if(L)for(let F=0;Ffunction(c,f){c[ct]=!0,t&&t.apply(c,f)})}function Rt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ye(e,n,a,t){let c=null,f=null;n+=t,a+=t;let E={};function T(C){let _=C.data;_.args[0]=function(){return C.invoke.apply(this,arguments)};let P=c.apply(e,_.args);return Qe(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Ke(P.refresh)),C}function p(C){let{handle:_,handleId:P}=C.data;return f.call(e,_??P)}c=ue(e,n,C=>function(_,P){if(Ke(P[0])){let I={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:x,isPeriodic:X,isRefreshable:G}=I;!X&&!G&&(x?delete E[x]:A&&(A[Re]=null))}};let U=Ge(n,P[0],I,T,p);if(!U)return U;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:k}=U.data;if($)E[$]=U;else if(J&&(J[Re]=U,q&&!k)){let d=J.refresh;J.refresh=function(){let{zone:A,state:x}=U;return x==="notScheduled"?(U._state="scheduled",A._updateTaskCount(U,1)):x==="running"&&(U._state="scheduling"),d.call(this)}}return J??$??U}else return C.apply(e,P)}),f=ue(e,a,C=>function(_,P){let I=P[0],H;Qe(I)?(H=E[I],delete E[I]):(H=I?.[Re],H?I[Re]=null:H=I),H?.type?H.cancelFn&&H.zone.cancelTask(H):C.apply(e,P)})}function Ct(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 Dt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:E}=n.getGlobalObjects();for(let p=0;pf.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function et(e,n,a,t){if(!e)return;let c=ut(e,n,a);ot(e,c,t)}function Ze(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Ot(e,n){if(Se&&!rt||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=kt()?[{target:c,ignoreProperties:["error"]}]:[];et(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";ye(n,a,t,"Timeout"),ye(n,a,t,"Interval"),ye(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{ye(n,"request","cancel","AnimationFrame"),ye(n,"mozRequest","mozCancel","AnimationFrame"),ye(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,_){return a.current.run(E,n,_,p)})}}),e.__load_patch("EventTarget",(n,a,t)=>{St(n,t),Dt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{ve("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Ot(t,n)}),e.__load_patch("customElements",(n,a,t)=>{Ct(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled");function C(_){let P=_.XMLHttpRequest;if(!P)return;let I=P.prototype;function H(w){return w[t]}let U=I[Le],$=I[Ie];if(!U){let w=_.XMLHttpRequestEventTarget;if(w){let b=w.prototype;U=b[Le],$=b[Ie]}}let J="readystatechange",q="scheduled";function k(w){let b=w.data,D=b.target;D[E]=!1,D[p]=!1;let K=D[f];U||(U=D[Le],$=D[Ie]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[E]&&w.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=w.invoke;w.invoke=function(){let o=D[a.__symbol__("loadfalse")];for(let g=0;gfunction(w,b){return w[c]=b[2]==!1,w[T]=b[1],x.apply(w,b)}),X="XMLHttpRequest.send",G=j("fetchTaskAborting"),y=j("fetchTaskScheduling"),z=ue(I,"send",()=>function(w,b){if(a.current[y]===!0||w[c])return z.apply(w,b);{let D={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},K=Ge(X,d,D,k,A);w&&w[p]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(I,"abort",()=>function(w,b){let D=H(w);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[G]===!0)return S.apply(w,b)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&yt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(f){lt(n,c).forEach(T=>{let p=n.PromiseRejectionEvent;if(p){let C=new p(c,{promise:f.promise,reason:f.rejection});T.invoke(C)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{Rt(n,t)})}function Lt(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function E(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 T=t.symbol,p=[],C=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),I="__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(;p.length;){let h=p.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){U(l)}}};let H=T("unhandledPromiseRejectionHandler");function U(h){t.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&h.then}function J(h){return h}function q(h){return Z.reject(h)}let k=T("state"),d=T("value"),A=T("finally"),x=T("parentPromiseValue"),X=T("parentPromiseState"),G="Promise.then",y=null,z=!0,S=!1,w=0;function b(h,l){return r=>{try{M(h,l,r)}catch(u){M(h,!1,u)}}}let D=function(){let h=!1;return function(r){return function(){h||(h=!0,r.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function M(h,l,r){let u=D();if(h===r)throw new TypeError(K);if(h[k]===y){let v=null;try{(typeof r=="object"||typeof r=="function")&&(v=r&&r.then)}catch(R){return u(()=>{M(h,!1,R)})(),h}if(l!==S&&r instanceof Z&&r.hasOwnProperty(k)&&r.hasOwnProperty(d)&&r[k]!==y)i(r),M(h,r[k],r[d]);else if(l!==S&&typeof v=="function")try{v.call(r,u(b(h,l)),u(b(h,!1)))}catch(R){u(()=>{M(h,!1,R)})()}else{h[k]=l;let R=h[d];if(h[d]=r,h[A]===A&&l===z&&(h[k]=h[X],h[d]=h[x]),l===S&&r instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[I];m&&f(r,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!r&&A===r[A];N&&(r[x]=O,r[X]=R);let L=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);M(r,!0,L)}catch(O){M(r,!1,O)}},r)}let g="function ZoneAwarePromise() { [native code] }",V=function(){},ee=n.AggregateError;class Z{static toString(){return g}static resolve(l){return l instanceof Z?l:M(new this(null),z,l)}static reject(l){return M(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new Z((r,u)=>{l.resolve=r,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let r=[],u=0;try{for(let m of l)u++,r.push(Z.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,R=[];return new Z((m,O)=>{for(let N=0;N{v||(v=!0,m(L))},L=>{R.push(L),u--,u===0&&(v=!0,O(new ee(R,"All promises were rejected")))})})}static race(l){let r,u,v=new this((O,N)=>{r=O,u=N});function R(O){r(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(R,m);return v}static all(l){return Z.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof Z?this:Z).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,r){let u,v,R=new this((L,F)=>{u=L,v=F}),m=2,O=0,N=[];for(let L of l){$(L)||(L=this.resolve(L));let F=O;try{L.then(B=>{N[F]=r?r.thenCallback(B):B,m--,m===0&&u(N)},B=>{r?(N[F]=r.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),R}constructor(l){let r=this;if(!(r instanceof Z))throw new Error("Must be an instanceof Promise.");r[k]=y,r[d]=[];try{let u=D();l&&l(u(b(r,z)),u(b(r,S)))}catch(u){M(r,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Z}then(l,r){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||Z);let v=new u(V),R=a.current;return this[k]==y?this[d].push(R,v,l,r):o(this,R,v,l,r),v}catch(l){return this.then(null,l)}finally(l){let r=this.constructor?.[Symbol.species];(!r||typeof r!="function")&&(r=Z);let u=new r(V);u[A]=A;let v=a.current;return this[k]==y?this[d].push(v,u,l,l):o(this,v,u,l,l),u}}Z.resolve=Z.resolve,Z.reject=Z.reject,Z.race=Z.race,Z.all=Z.all;let he=n[_]=n.Promise;n.Promise=Z;let _e=T("thenPatched");function Q(h){let l=h.prototype,r=c(l,"then");if(r&&(r.writable===!1||!r.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,R){return new Z((O,N)=>{u.call(this,O,N)}).then(v,R)},h[_e]=!0}t.patchThen=Q;function Ee(h){return function(l,r){let u=h.apply(l,r);if(u instanceof Z)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Ee(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=p,Z})}function It(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),E=function(){if(typeof this=="function"){let _=this[t];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};E[t]=a,Function.prototype.toString=E;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Mt(e,n,a,t,c){let f=Zone.__symbol__(t);if(n[f])return;let E=n[f]=n[t];n[t]=function(T,p,C){return p&&p.prototype&&c.forEach(function(_){let P=`${a}.${t}::`+_,I=p.prototype;try{if(I.hasOwnProperty(_)){let H=e.ObjectGetOwnPropertyDescriptor(I,_);H&&H.value?(H.value=e.wrapWithCurrentZone(H.value,P),e._redefineProperty(p.prototype,_,H)):I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}else I[_]&&(I[_]=e.wrapWithCurrentZone(I[_],P))}catch{}}),E.call(n,T,p,C)},e.attachOriginToPatched(n[t],E)}function Zt(e){e.__load_patch("util",(n,a,t)=>{let c=Ze(n);t.patchOnProperties=ot,t.patchMethod=ue,t.bindArguments=Fe,t.patchMacroTask=pt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),E=a.__symbol__("UNPATCHED_EVENTS");n[E]&&(n[f]=n[E]),n[f]&&(a[f]=a[E]=n[f]),t.patchEventPrototype=wt,t.patchEventTarget=Pt,t.isIEOrEdge=vt,t.ObjectDefineProperty=Ae,t.ObjectGetOwnPropertyDescriptor=be,t.ObjectCreate=Et,t.ArraySlice=Tt,t.patchClass=ve,t.wrapWithCurrentZone=Ve,t.filterProperties=ut,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mt,t.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Be,isMix:rt,isNode:Se,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function At(e){Lt(e),It(e),Zt(e)}var ft=_t();At(ft);Nt(ft);