diff --git a/browser/assets/fonts/OpenSans-Bold.ttf b/browser/assets/fonts/OpenSans-Bold.ttf new file mode 100644 index 0000000..98c74e0 Binary files /dev/null and b/browser/assets/fonts/OpenSans-Bold.ttf differ diff --git a/browser/assets/fonts/OpenSans-Regular.ttf b/browser/assets/fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..67803bb Binary files /dev/null and b/browser/assets/fonts/OpenSans-Regular.ttf differ diff --git a/browser/assets/fonts/Roboto-Regular.ttf b/browser/assets/fonts/Roboto-Regular.ttf new file mode 100644 index 0000000..2d116d9 Binary files /dev/null and b/browser/assets/fonts/Roboto-Regular.ttf differ diff --git a/browser/assets/img/chest-open-big.png b/browser/assets/img/chest-open-big.png new file mode 100644 index 0000000..7cad089 Binary files /dev/null and b/browser/assets/img/chest-open-big.png differ diff --git a/browser/assets/img/chest-open.png b/browser/assets/img/chest-open.png new file mode 100644 index 0000000..c08d90a Binary files /dev/null and b/browser/assets/img/chest-open.png differ diff --git a/browser/assets/img/chest.png b/browser/assets/img/chest.png new file mode 100644 index 0000000..4733634 Binary files /dev/null and b/browser/assets/img/chest.png differ diff --git a/browser/index.html b/browser/index.html index f370007..ca93fe2 100644 --- a/browser/index.html +++ b/browser/index.html @@ -6,8 +6,9 @@ - + - + diff --git a/browser/main-LQUNE37D.js b/browser/main-LQUNE37D.js new file mode 100644 index 0000000..e8cd1da --- /dev/null +++ b/browser/main-LQUNE37D.js @@ -0,0 +1,7 @@ +var $f=Object.defineProperty,Bf=Object.defineProperties;var Uf=Object.getOwnPropertyDescriptors;var lu=Object.getOwnPropertySymbols;var Hf=Object.prototype.hasOwnProperty,zf=Object.prototype.propertyIsEnumerable;var du=(e,t,r)=>t in e?$f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||={})Hf.call(t,r)&&du(e,r,t[r]);if(lu)for(var r of lu(t))zf.call(t,r)&&du(e,r,t[r]);return e},B=(e,t)=>Bf(e,Uf(t));var fu=null;var ti=1,hu=Symbol("SIGNAL");function S(e){let t=fu;return fu=e,t}var pu={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 qf(e){if(!(oi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ti)){if(!e.producerMustRecompute(e)&&!ni(e)){e.dirty=!1,e.lastCleanEpoch=ti;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ti}}function gu(e){return e&&(e.nextProducerIndex=0),S(e)}function mu(e,t){if(S(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(oi(e))for(let r=e.nextProducerIndex;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ni(e){ur(e);for(let t=0;t0}function ur(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Gf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Wf(){throw new Error}var Zf=Wf;function yu(e){Zf=e}function D(e){return typeof e=="function"}function bt(e){let r=e(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var cr=bt(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function tt(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var V=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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(D(n))try{n()}catch(i){t=i instanceof cr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Du(i)}catch(s){t=t??[],s instanceof cr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new cr(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Du(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&tt(r,t)}remove(t){let{_finalizers:r}=this;r&&tt(r,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var ii=V.EMPTY;function lr(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function Du(e){D(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...r){let{delegate:n}=Mt;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function dr(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function cn(){}var wu=si("C",void 0,void 0);function Cu(e){return si("E",void 0,e)}function Iu(e){return si("N",e,void 0)}function si(e,t,r){return{kind:e,value:t,error:r}}var nt=null;function St(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:r,error:n}=nt;if(nt=null,r)throw n}}else e()}function Eu(e){me.useDeprecatedSynchronousErrorHandling&&nt&&(nt.errorThrown=!0,nt.error=e)}var rt=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,lr(t)&&t.add(this)):this.destination=Kf}static create(t,r,n){return new Tt(t,r,n)}next(t){this.isStopped?ui(Iu(t),this):this._next(t)}error(t){this.isStopped?ui(Cu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ui(wu,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()}}},Yf=Function.prototype.bind;function ai(e,t){return Yf.call(e,t)}var ci=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){fr(n)}}error(t){let{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){fr(n)}else fr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){fr(r)}}},Tt=class extends rt{constructor(t,r,n){super();let o;if(D(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ai(t.next,i),error:t.error&&ai(t.error,i),complete:t.complete&&ai(t.complete,i)}):o=t}this.destination=new ci(o)}};function fr(e){me.useDeprecatedSynchronousErrorHandling?Eu(e):dr(e)}function Qf(e){throw e}function ui(e,t){let{onStoppedNotification:r}=me;r&&Mt.setTimeout(()=>r(e,t))}var Kf={closed:!0,next:cn,error:Qf,complete:cn};var xt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function se(e){return e}function li(...e){return di(e)}function di(e){return e.length===0?se:e.length===1?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}var P=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Xf(r)?r:new Tt(r,n,o);return St(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=bu(n),new n((o,i)=>{let s=new Tt({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[xt](){return this}pipe(...r){return di(r)(this)}toPromise(r){return r=bu(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function bu(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function Jf(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Xf(e){return e&&e instanceof rt||Jf(e)&&lr(e)}function fi(e){return D(e?.lift)}function _(e){return t=>{if(fi(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(e,t,r,n,o){return new hi(e,t,r,n,o)}var hi=class extends rt{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function _t(){return _((e,t)=>{let r=null;e._refCount++;let n=A(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var At=class extends P{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,fi(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 V;let r=this.getSubject();t.add(this.source.subscribe(A(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return _t()(this)}};var Mu=bt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var q=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new hr(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Mu}next(r){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){St(()=>{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(){St(()=>{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:o,observers:i}=this;return n||o?ii:(this.currentObservers=null,i.push(r),new V(()=>{this.currentObservers=null,tt(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new P;return r.source=this,r}}return e.create=(t,r)=>new hr(t,r),e})(),hr=class extends q{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,t)}error(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,t)}complete(){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||r===void 0||r.call(t)}_subscribe(t){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(t))!==null&&n!==void 0?n:ii}};var G=class extends q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){let{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}};var pi={now(){return(pi.delegate||Date).now()},delegate:void 0};var pr=class extends V{constructor(t,r){super()}schedule(t,r=0){return this}};var ln={setInterval(e,t,...r){let{delegate:n}=ln;return n?.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){let{delegate:t}=ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var gr=class extends pr{constructor(t,r){super(t,r),this.scheduler=t,this.work=r,this.pending=!1}schedule(t,r=0){var n;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(t,r,n=0){return ln.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&ln.clearInterval(r)}execute(t,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(t,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,r){let n=!1,o;try{this.work(t)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,tt(n,this),t!=null&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,super.unsubscribe()}}};var Nt=class e{constructor(t,r=e.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};Nt.now=pi.now;var mr=class extends Nt{constructor(t,r=Nt.now){super(t,r),this.actions=[],this._active=!1}flush(t){let{actions:r}=this;if(this._active){r.push(t);return}let n;this._active=!0;do if(n=t.execute(t.state,t.delay))break;while(t=r.shift());if(this._active=!1,n){for(;t=r.shift();)t.unsubscribe();throw n}}};var eh=new mr(gr),Su=eh;var K=new P(e=>e.complete());function vr(e){return e&&D(e.schedule)}function gi(e){return e[e.length-1]}function Tu(e){return D(gi(e))?e.pop():void 0}function Me(e){return vr(gi(e))?e.pop():void 0}function xu(e,t){return typeof gi(e)=="number"?e.pop():t}function Au(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((n=n.apply(e,t||[])).next())})}function _u(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ot(e){return this instanceof ot?(this.v=e,this):new ot(e)}function Nu(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(g){return Promise.resolve(g).then(h,d)}}function a(h,g){n[h]&&(o[h]=function(w){return new Promise(function(L,O){i.push([h,w,L,O])>1||u(h,w)})},g&&(o[h]=g(o[h])))}function u(h,g){try{c(n[h](g))}catch(w){f(i[0][3],w)}}function c(h){h.value instanceof ot?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){u("next",h)}function d(h){u("throw",h)}function f(h,g){h(g),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Ru(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof _u=="function"?_u(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var yr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Dr(e){return D(e?.then)}function wr(e){return D(e[xt])}function Cr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function Ir(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 th(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Er=th();function br(e){return D(e?.[Er])}function Mr(e){return Nu(this,arguments,function*(){let r=e.getReader();try{for(;;){let{value:n,done:o}=yield ot(r.read());if(o)return yield ot(void 0);yield yield ot(n)}}finally{r.releaseLock()}})}function Sr(e){return D(e?.getReader)}function U(e){if(e instanceof P)return e;if(e!=null){if(wr(e))return nh(e);if(yr(e))return rh(e);if(Dr(e))return oh(e);if(Cr(e))return Ou(e);if(br(e))return ih(e);if(Sr(e))return sh(e)}throw Ir(e)}function nh(e){return new P(t=>{let r=e[xt]();if(D(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rh(e){return new P(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,dr)})}function ih(e){return new P(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function Ou(e){return new P(t=>{ah(e,t).catch(r=>t.error(r))})}function sh(e){return Ou(Mr(e))}function ah(e,t){var r,n,o,i;return Au(this,void 0,void 0,function*(){try{for(r=Ru(e);n=yield r.next(),!n.done;){let s=n.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})}function ee(e,t,r,n=0,o=!1){let i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Tr(e,t=0){return _((r,n)=>{r.subscribe(A(n,o=>ee(n,e,()=>n.next(o),t),()=>ee(n,e,()=>n.complete(),t),o=>ee(n,e,()=>n.error(o),t)))})}function xr(e,t=0){return _((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Pu(e,t){return U(e).pipe(xr(t),Tr(t))}function Fu(e,t){return U(e).pipe(xr(t),Tr(t))}function ku(e,t){return new P(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Lu(e,t){return new P(r=>{let n;return ee(r,t,()=>{n=e[Er](),ee(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>D(n?.return)&&n.return()})}function _r(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(r=>{ee(r,t,()=>{let n=e[Symbol.asyncIterator]();ee(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function ju(e,t){return _r(Mr(e),t)}function Vu(e,t){if(e!=null){if(wr(e))return Pu(e,t);if(yr(e))return ku(e,t);if(Dr(e))return Fu(e,t);if(Cr(e))return _r(e,t);if(br(e))return Lu(e,t);if(Sr(e))return ju(e,t)}throw Ir(e)}function $(e,t){return t?Vu(e,t):U(e)}function C(...e){let t=Me(e);return $(e,t)}function Rt(e,t){let r=D(e)?e:()=>e,n=o=>o.error(r());return new P(t?o=>t.schedule(n,0,o):n)}function mi(e){return!!e&&(e instanceof P||D(e.lift)&&D(e.subscribe))}var Le=bt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function $u(e){return e instanceof Date&&!isNaN(e)}function T(e,t){return _((r,n)=>{let o=0;r.subscribe(A(n,i=>{n.next(e.call(t,i,o++))}))})}var{isArray:uh}=Array;function ch(e,t){return uh(t)?e(...t):e(t)}function Bu(e){return T(t=>ch(e,t))}var{isArray:lh}=Array,{getPrototypeOf:dh,prototype:fh,keys:hh}=Object;function Uu(e){if(e.length===1){let t=e[0];if(lh(t))return{args:t,keys:null};if(ph(t)){let r=hh(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function ph(e){return e&&typeof e=="object"&&dh(e)===fh}function Hu(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function Ar(...e){let t=Me(e),r=Tu(e),{args:n,keys:o}=Uu(e);if(n.length===0)return $([],t);let i=new P(gh(n,t,o?s=>Hu(o,s):se));return r?i.pipe(Bu(r)):i}function gh(e,t,r=se){return n=>{zu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=$(e[u],t),l=!1;c.subscribe(A(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function zu(e,t,r){e?ee(r,e,t):t()}function qu(e,t,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=w=>c{i&&t.next(w),c++;let L=!1;U(r(w,l++)).subscribe(A(t,O=>{o?.(O),i?h(O):t.next(O)},()=>{L=!0},void 0,()=>{if(L)try{for(c--;u.length&&cg(O)):g(O)}f()}catch(O){t.error(O)}}))};return e.subscribe(A(t,h,()=>{d=!0,f()})),()=>{a?.()}}function z(e,t,r=1/0){return D(t)?z((n,o)=>T((i,s)=>t(n,i,o,s))(U(e(n,o))),r):(typeof t=="number"&&(r=t),_((n,o)=>qu(n,o,e,r)))}function dn(e=1/0){return z(se,e)}function Gu(){return dn(1)}function Ot(...e){return Gu()($(e,Me(e)))}function Nr(e){return new P(t=>{U(e()).subscribe(t)})}function vi(e=0,t,r=Su){let n=-1;return t!=null&&(vr(t)?r=t:n=t),new P(o=>{let i=$u(e)?+e-r.now():e;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function yi(...e){let t=Me(e),r=xu(e,1/0),n=e;return n.length?n.length===1?U(n[0]):dn(r)($(n,t)):K}function ve(e,t){return _((r,n)=>{let o=0;r.subscribe(A(n,i=>e.call(t,i,o++)&&n.next(i)))})}function ze(e){return _((t,r)=>{let n=null,o=!1,i;n=t.subscribe(A(r,void 0,void 0,s=>{i=U(e(s,ze(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Wu(e,t,r,n,o){return(i,s)=>{let a=r,u=t,c=0;i.subscribe(A(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Pt(e,t){return D(t)?z(e,t,1):z(e,1)}function qe(e){return _((t,r)=>{let n=!1;t.subscribe(A(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function je(e){return e<=0?()=>K:_((t,r)=>{let n=0;t.subscribe(A(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function Di(e){return T(()=>e)}function Rr(e=mh){return _((t,r)=>{let n=!1;t.subscribe(A(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function mh(){return new Le}function fn(e){return _((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function Se(e,t){let r=arguments.length>=2;return n=>n.pipe(e?ve((o,i)=>e(o,i,n)):se,je(1),r?qe(t):Rr(()=>new Le))}function Ft(e){return e<=0?()=>K:_((t,r)=>{let n=[];t.subscribe(A(r,o=>{n.push(o),e{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function wi(e,t){let r=arguments.length>=2;return n=>n.pipe(e?ve((o,i)=>e(o,i,n)):se,Ft(1),r?qe(t):Rr(()=>new Le))}function Ci(e,t){return _(Wu(e,t,arguments.length>=2,!0))}function Ii(...e){let t=Me(e);return _((r,n)=>{(t?Ot(e,r,t):Ot(e,r)).subscribe(n)})}function ye(e,t){return _((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(A(n,u=>{o?.unsubscribe();let c=0,l=i++;U(e(u,l)).subscribe(o=A(n,d=>n.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ei(e){return _((t,r)=>{U(e).subscribe(A(r,()=>r.complete(),cn)),!r.closed&&t.subscribe(r)})}function W(e,t,r){let n=D(e)||t||r?{next:e,error:t,complete:r}:e;return n?_((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(A(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):se}var yh="https://g.co/ng/security#xss",v=class extends Error{constructor(t,r){super(bs(t,r)),this.code=t}};function bs(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ro(e){return{toString:e}.toString()}var hn=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ne).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 r=t.indexOf(` +`);return r===-1?t:t.substring(0,r)}function Zu(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Dh=k({__forward_ref__:k});function xc(e){return e.__forward_ref__=xc,e.toString=function(){return ne(this())},e}function de(e){return _c(e)?e():e}function _c(e){return typeof e=="function"&&e.hasOwnProperty(Dh)&&e.__forward_ref__===xc}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function oo(e){return{providers:e.providers||[],imports:e.imports||[]}}function io(e){return Yu(e,Nc)||Yu(e,Rc)}function Ac(e){return io(e)!==null}function Yu(e,t){return e.hasOwnProperty(t)?e[t]:null}function wh(e){let t=e&&(e[Nc]||e[Rc]);return t||null}function Qu(e){return e&&(e.hasOwnProperty(Ku)||e.hasOwnProperty(Ch))?e[Ku]:null}var Nc=k({\u0275prov:k}),Ku=k({\u0275inj:k}),Rc=k({ngInjectableDef:k}),Ch=k({ngInjectorDef:k}),N=class{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Oc(e){return e&&!!e.\u0275providers}var Ih=k({\u0275cmp:k}),Eh=k({\u0275dir:k}),bh=k({\u0275pipe:k}),Mh=k({\u0275mod:k}),Vr=k({\u0275fac:k}),pn=k({__NG_ELEMENT_ID__:k}),Ju=k({__NG_ENV_ID__:k});function Pc(e){return typeof e=="string"?e:e==null?"":String(e)}function Sh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pc(e)}function Th(e,t){let r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function Ms(e,t){throw new v(-201,!1)}var M=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}(M||{}),ji;function Fc(){return ji}function te(e){let t=ji;return ji=e,t}function kc(e,t,r){let n=io(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&M.Optional)return null;if(t!==void 0)return t;Ms(e,"Injector")}var xh={},gn=xh,_h="__NG_DI_FLAG__",$r="ngTempTokenPath",Ah="ngTokenPath",Nh=/\n/gm,Rh="\u0275",Xu="__source",Vt;function Oh(){return Vt}function Ge(e){let t=Vt;return Vt=e,t}function Ph(e,t=M.Default){if(Vt===void 0)throw new v(-203,!1);return Vt===null?kc(e,void 0,t):Vt.get(e,t&M.Optional?null:void 0,t)}function R(e,t=M.Default){return(Fc()||Ph)(de(e),t)}function p(e,t=M.Default){return R(e,so(t))}function so(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vi(e){let t=[];for(let r=0;r ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ne(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(Nh,` + `)}`}function st(e,t){let r=e.hasOwnProperty(Vr);return r?e[Vr]:null}function Ss(e,t){e.forEach(r=>Array.isArray(r)?Ss(r,t):t(r))}function Lc(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Br(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function jh(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Vh(e,t,r){let n=Rn(e,t);return n>=0?e[n|1]=r:(n=~n,jh(e,n,t,r)),n}function bi(e,t){let r=Rn(e,t);if(r>=0)return e[r|1]}function Rn(e,t){return $h(e,t,1)}function $h(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&c!==d){if(De(n))return!1;s=!0}}}}return De(n)||s}function De(e){return(e&1)===0}function Wh(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!De(s)&&(t+=tc(i,o),o=""),n=s,i=i||!De(n);r++}return o!==""&&(t+=tc(i,o)),t}function Jh(e){return e.map(Kh).join(",")}function Xh(e){let t=[],r=[],n=1,o=2;for(;n{let t=Wc(e),r=B(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$c.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_e.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""});Zc(r);let n=e.dependencies;return r.directiveDefs=rc(n,!1),r.pipeDefs=rc(n,!0),r.id=np(r),r})}function ep(e){return at(e)||Hc(e)}function tp(e){return e!==null}function uo(e){return ro(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nc(e,t){if(e==null)return mn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=Ze.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==Ze.None?[n,a]:n,t[i]=s):r[i]=n}return r}function _s(e){return ro(()=>{let t=Wc(e);return Zc(t),t})}function Uc(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 at(e){return e[Ih]||null}function Hc(e){return e[Eh]||null}function zc(e){return e[bh]||null}function qc(e){let t=at(e)||Hc(e)||zc(e);return t!==null?t.standalone:!1}function Gc(e,t){let r=e[Mh]||null;if(!r&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return r}function Wc(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||mn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nc(e.inputs,t),outputs:nc(e.outputs),debugInfo:null}}function Zc(e){e.features?.forEach(t=>t(e))}function rc(e,t){if(!e)return null;let r=t?zc:ep;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(tp)}function np(e){let t=0,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function co(e){return{\u0275providers:e}}function rp(...e){return{\u0275providers:Yc(!0,e),\u0275fromNgModule:!0}}function Yc(e,...t){let r=[],n=new Set,o,i=s=>{r.push(s)};return Ss(t,s=>{let a=s;Bi(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Qc(o,i),r}function Qc(e,t){for(let r=0;r{t(i,n)})}}function Bi(e,t,r,n){if(e=de(e),!e)return!1;let o=null,i=Qu(e),s=!i&&at(e);if(!i&&!s){let u=e.ngModule;if(i=Qu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Bi(c,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Ss(i.imports,l=>{Bi(l,t,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Qc(c,t)}if(!a){let c=st(o)||(()=>new o);t({provide:o,useFactory:c,deps:we},o),t({provide:Vc,useValue:o,multi:!0},o),t({provide:Ut,useValue:()=>R(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;As(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function As(e,t){for(let r of e)Oc(r)&&(r=r.\u0275providers),Array.isArray(r)?As(r,t):t(r)}var op=k({provide:String,useValue:k});function Kc(e){return e!==null&&typeof e=="object"&&op in e}function ip(e){return!!(e&&e.useExisting)}function sp(e){return!!(e&&e.useFactory)}function Ui(e){return typeof e=="function"}var lo=new N(""),Pr={},ap={},Mi;function Ns(){return Mi===void 0&&(Mi=new Ur),Mi}var fe=class{},vn=class extends fe{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zi(t,s=>this.processProvider(s)),this.records.set(jc,kt(void 0,this)),o.has("environment")&&this.records.set(fe,kt(void 0,this));let i=this.records.get(lo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vc,we,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=S(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(),S(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let r=Ge(this),n=te(void 0),o;try{return t()}finally{Ge(r),te(n)}}get(t,r=gn,n=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ju))return t[Ju](this);n=so(n);let o,i=Ge(this),s=te(void 0);try{if(!(n&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=hp(t)&&io(t);c&&this.injectableDefInScope(c)?u=kt(Hi(t),Pr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=n&M.Self?Ns():this.parent;return r=n&M.Optional&&r===gn?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[$r]=a[$r]||[]).unshift(ne(t)),i)throw a;return kh(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Ge(i)}}resolveInjectorInitializers(){let t=S(null),r=Ge(this),n=te(void 0),o;try{let i=this.get(Ut,we,M.Self);for(let s of i)s()}finally{Ge(r),te(n),S(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ne(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=de(t);let r=Ui(t)?t:de(t&&t.provide),n=cp(t);if(!Ui(t)&&t.multi===!0){let o=this.records.get(r);o||(o=kt(void 0,Pr,!0),o.factory=()=>Vi(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){let n=S(null);try{return r.value===Pr&&(r.value=ap,r.value=r.factory()),typeof r.value=="object"&&r.value&&fp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{S(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=de(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Hi(e){let t=io(e),r=t!==null?t.factory:st(e);if(r!==null)return r;if(e instanceof N)throw new v(204,!1);if(e instanceof Function)return up(e);throw new v(204,!1)}function up(e){if(e.length>0)throw new v(204,!1);let r=wh(e);return r!==null?()=>r.factory(e):()=>new e}function cp(e){if(Kc(e))return kt(void 0,e.useValue);{let t=lp(e);return kt(t,Pr)}}function lp(e,t,r){let n;if(Ui(e)){let o=de(e);return st(o)||Hi(o)}else if(Kc(e))n=()=>de(e.useValue);else if(sp(e))n=()=>e.useFactory(...Vi(e.deps||[]));else if(ip(e))n=()=>R(de(e.useExisting));else{let o=de(e&&(e.useClass||e.provide));if(dp(e))n=()=>new o(...Vi(e.deps));else return st(o)||Hi(o)}return n}function kt(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function dp(e){return!!e.deps}function fp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hp(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function zi(e,t){for(let r of e)Array.isArray(r)?zi(r,t):r&&Oc(r)?zi(r.\u0275providers,t):t(r)}function pt(e,t){e instanceof vn&&e.assertNotDestroyed();let r,n=Ge(e),o=te(void 0);try{return t()}finally{Ge(n),te(o)}}function pp(){return Fc()!==void 0||Oh()!=null}function gp(e){return typeof e=="function"}var Be=0,b=1,y=2,Q=3,Ie=4,be=5,yn=6,Dn=7,Y=8,Ht=9,Ae=10,re=11,wn=12,oc=13,Wt=14,Ee=15,fo=16,Lt=17,zt=18,ho=19,Jc=20,We=21,Si=22,ut=23,ae=25,Xc=1;var ct=7,Hr=8,zr=9,J=10,Rs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Rs||{});function $t(e){return Array.isArray(e)&&typeof e[Xc]=="object"}function Ue(e){return Array.isArray(e)&&e[Xc]===!0}function el(e){return(e.flags&4)!==0}function Os(e){return e.componentOffset>-1}function Ps(e){return(e.flags&1)===1}function On(e){return!!e.template}function mp(e){return(e[y]&512)!==0}var qi=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function tl(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function po(){return nl}function nl(e){return e.type.prototype.ngOnChanges&&(e.setInput=yp),vp}po.ngInherit=!0;function vp(){let e=ol(this),t=e?.current;if(t){let r=e.previous;if(r===mn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function yp(e,t,r,n,o){let i=this.declaredInputs[n],s=ol(e)||Dp(e,{previous:mn,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new qi(c&&c.currentValue,r,u===mn),tl(e,t,o,r)}var rl="__ngSimpleChanges__";function ol(e){return e[rl]||null}function Dp(e,t){return e[rl]=t}var ic=null;var Te=function(e,t,r){ic?.(e,t,r)},wp="svg",Cp="math",Ip=!1;function Ep(){return Ip}function Ne(e){for(;Array.isArray(e);)e=e[Be];return e}function il(e,t){return Ne(t[e])}function Re(e,t){return Ne(t[e.index])}function sl(e,t){return e.data[t]}function bp(e,t){return e[t]}function Zt(e,t){let r=t[e];return $t(r)?r:r[Be]}function Fs(e){return(e[y]&128)===128}function Mp(e){return Ue(e[Q])}function qr(e,t){return t==null?null:e[t]}function al(e){e[Lt]=0}function Sp(e){e[y]&1024||(e[y]|=1024,Fs(e)&&Cn(e))}function Tp(e,t){for(;e>0;)t=t[Wt],e--;return t}function ks(e){return!!(e[y]&9216||e[ut]?.dirty)}function Gi(e){e[Ae].changeDetectionScheduler?.notify(1),ks(e)?Cn(e):e[y]&64&&(Ep()?(e[y]|=1024,Cn(e)):e[Ae].changeDetectionScheduler?.notify())}function Cn(e){e[Ae].changeDetectionScheduler?.notify();let t=In(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Fs(t)));)t=In(t)}function ul(e,t){if((e[y]&256)===256)throw new v(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function xp(e,t){if(e[We]===null)return;let r=e[We].indexOf(t);r!==-1&&e[We].splice(r,1)}function In(e){let t=e[Q];return Ue(t)?t[Q]:t}var x={lFrame:vl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function _p(){return x.lFrame.elementDepthCount}function Ap(){x.lFrame.elementDepthCount++}function Np(){x.lFrame.elementDepthCount--}function cl(){return x.bindingsEnabled}function Rp(){return x.skipHydrationRootTNode!==null}function Op(e){return x.skipHydrationRootTNode===e}function Pp(){x.skipHydrationRootTNode=null}function j(){return x.lFrame.lView}function Qe(){return x.lFrame.tView}function ll(e){return x.lFrame.contextLView=e,e[Y]}function dl(e){return x.lFrame.contextLView=null,e}function He(){let e=fl();for(;e!==null&&e.type===64;)e=e.parent;return e}function fl(){return x.lFrame.currentTNode}function Fp(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Pn(e,t){let r=x.lFrame;r.currentTNode=e,r.isParent=t}function hl(){return x.lFrame.isParent}function kp(){x.lFrame.isParent=!1}function Lp(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jp(e){return x.lFrame.bindingIndex=e}function Ls(){return x.lFrame.bindingIndex++}function Vp(e){let t=x.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function $p(){return x.lFrame.inI18n}function Bp(e,t){let r=x.lFrame;r.bindingIndex=r.bindingRootIndex=e,Wi(t)}function Up(){return x.lFrame.currentDirectiveIndex}function Wi(e){x.lFrame.currentDirectiveIndex=e}function Hp(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function pl(e){x.lFrame.currentQueryIndex=e}function zp(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[be]:null}function gl(e,t,r){if(r&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&M.Host);)if(o=zp(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=x.lFrame=ml();return n.currentTNode=t,n.lView=e,!0}function js(e){let t=ml(),r=e[b];x.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function ml(){let e=x.lFrame,t=e===null?null:e.child;return t===null?vl(e):t}function vl(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 yl(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Dl=yl;function Vs(){let e=yl();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 qp(e){return(x.lFrame.contextLView=Tp(e,x.lFrame.contextLView))[Y]}function gt(){return x.lFrame.selectedIndex}function lt(e){x.lFrame.selectedIndex=e}function Gp(){return x.lFrame.currentNamespace}var wl=!0;function $s(){return wl}function Bs(e){wl=e}function Wp(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=nl(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function Us(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[u]<0&&(e[Lt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,sc(a,i)):sc(a,i)}var Bt=-1,En=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Yp(e){return e instanceof En}function Qp(e){return(e.flags&8)!==0}function Kp(e){return(e.flags&16)!==0}function Il(e){return e!==Bt}function Gr(e){return e&32767}function Jp(e){return e>>16}function Wr(e,t){let r=Jp(e),n=t;for(;r>0;)n=n[Wt],r--;return n}var Zi=!0;function Zr(e){let t=Zi;return Zi=e,t}var Xp=256,El=Xp-1,bl=5,eg=0,xe={};function tg(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(pn)&&(n=r[pn]),n==null&&(n=r[pn]=eg++);let o=n&El,i=1<>bl)]|=i}function Ml(e,t){let r=Sl(e,t);if(r!==-1)return r;let n=t[b];n.firstCreatePass&&(e.injectorIndex=t.length,xi(n.data,e),xi(t,null),xi(n.blueprint,null));let o=Hs(e,t),i=e.injectorIndex;if(Il(o)){let s=Gr(o),a=Wr(o,t),u=a[b].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function xi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Hs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=Nl(o),n===null)return Bt;if(r++,o=o[Wt],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Bt}function ng(e,t,r){tg(e,t,r)}function Tl(e,t,r){if(r&M.Optional||e!==void 0)return e;Ms(t,"NodeInjector")}function xl(e,t,r,n){if(r&M.Optional&&n===void 0&&(n=null),!(r&(M.Self|M.Host))){let o=e[Ht],i=te(void 0);try{return o?o.get(t,n,r&M.Optional):kc(t,n,r&M.Optional)}finally{te(i)}}return Tl(n,t,r)}function _l(e,t,r,n=M.Default,o){if(e!==null){if(t[y]&2048&&!(n&M.Self)){let s=ag(e,t,r,n,xe);if(s!==xe)return s}let i=Al(e,t,r,n,xe);if(i!==xe)return i}return xl(t,r,n,o)}function Al(e,t,r,n,o){let i=ig(r);if(typeof i=="function"){if(!gl(t,e,n))return n&M.Host?Tl(o,r,n):xl(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&M.Optional))Ms(r);else return s}finally{Dl()}}else if(typeof i=="number"){let s=null,a=Sl(e,t),u=Bt,c=n&M.Host?t[Ee][be]:null;for((a===-1||n&M.SkipSelf)&&(u=a===-1?Hs(e,t):t[a+8],u===Bt||!uc(n,!1)?a=-1:(s=t[b],a=Gr(u),t=Wr(u,t)));a!==-1;){let l=t[b];if(ac(i,a,l.data)){let d=rg(a,t,r,s,n,c);if(d!==xe)return d}u=t[a+8],u!==Bt&&uc(n,t[b].data[a+8]===c)&&ac(i,a,t)?(s=l,a=Gr(u),t=Wr(u,t)):a=-1}}return o}function rg(e,t,r,n,o,i){let s=t[b],a=s.data[e+8],u=n==null?Os(a)&&Zi:n!=s&&(a.type&3)!==0,c=o&M.Host&&i===a,l=og(a,s,r,u,c);return l!==null?bn(t,s,l,a):xe}function og(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h=u&&g.type===r)return h}if(o){let h=s[u];if(h&&On(h)&&h.type===r)return u}return null}function bn(e,t,r,n){let o=e[r],i=t.data;if(Yp(o)){let s=o;s.resolving&&Th(Sh(i[r]));let a=Zr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?te(s.injectImpl):null,l=gl(e,n,M.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&Wp(r,i[r],t)}finally{c!==null&&te(c),Zr(a),s.resolving=!1,Dl()}}return o}function ig(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(pn)?e[pn]:void 0;return typeof t=="number"?t>=0?t&El:sg:t}function ac(e,t,r){let n=1<>bl)]&n)}function uc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var it=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return _l(this._tNode,this._lView,t,so(n),r)}};function sg(){return new it(He(),j())}function zs(e){return ro(()=>{let t=e.prototype.constructor,r=t[Vr]||Yi(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[Vr]||Yi(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yi(e){return _c(e)?()=>{let t=Yi(de(e));return t&&t()}:st(e)}function ag(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Al(i,s,r,n|M.Self,xe);if(a!==xe)return a;let u=i.parent;if(!u){let c=s[Jc];if(c){let l=c.get(r,xe,n);if(l!==xe)return l}u=Nl(s),s=s[Wt]}i=u}return o}function Nl(e){let t=e[b],r=t.type;return r===2?t.declTNode:r===1?e[be]:null}function cc(e,t=null,r=null,n){let o=Rl(e,t,r,n);return o.resolveInjectorInitializers(),o}function Rl(e,t=null,r=null,n,o=new Set){let i=[r||we,rp(e)];return n=n||(typeof e=="object"?void 0:ne(e)),new vn(i,t||Ns(),n||null,o)}var Fn=(()=>{let t=class t{static create(n,o){if(Array.isArray(n))return cc({name:""},o,n,"");{let i=n.name??"";return cc({name:i},n.parent,n.providers,i)}}};t.THROW_IF_NOT_FOUND=gn,t.NULL=new Ur,t.\u0275prov=I({token:t,providedIn:"any",factory:()=>R(jc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var ug="ngOriginalError";function _i(e){return e[ug]}var Ve=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&_i(t);for(;r&&_i(r);)r=_i(r);return r||null}},Ol=new N("",{providedIn:"root",factory:()=>p(Ve).handleError.bind(void 0)}),Pl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=cg,t.__NG_ENV_ID__=n=>n;let e=t;return e})(),Qi=class extends Pl{constructor(t){super(),this._lView=t}onDestroy(t){return ul(this._lView,t),()=>xp(this._lView,t)}};function cg(){return new Qi(j())}function lg(){return qs(He(),j())}function qs(e,t){return new go(Re(e,t))}var go=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=lg;let e=t;return e})();var Ki=class extends q{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,pp()&&(this.destroyRef=p(Pl,{optional:!0})??void 0)}emit(t){let r=S(null);try{super.next(t)}finally{S(r)}}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ai(i),o&&(o=Ai(o)),s&&(s=Ai(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}};function Ai(e){return t=>{setTimeout(e,void 0,t)}}var Ce=Ki;function Fl(e){return(e.flags&128)===128}var kl=new Map,dg=0;function fg(){return dg++}function hg(e){kl.set(e[ho],e)}function pg(e){kl.delete(e[ho])}var lc="__ngContext__";function dt(e,t){$t(t)?(e[lc]=t[ho],hg(t)):e[lc]=t}function Ll(e){return Vl(e[wn])}function jl(e){return Vl(e[Ie])}function Vl(e){for(;e!==null&&!Ue(e);)e=e[Ie];return e}var Ji;function $l(e){Ji=e}function gg(){if(Ji!==void 0)return Ji;if(typeof document<"u")return document;throw new v(210,!1)}var Gs=new N("",{providedIn:"root",factory:()=>mg}),mg="ng",Ws=new N(""),Yt=new N("",{providedIn:"platform",factory:()=>"unknown"});var Zs=new N("",{providedIn:"root",factory:()=>gg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var vg="h",yg="b";var Dg=()=>null;function Ys(e,t,r=!1){return Dg(e,t,r)}var Bl=!1,wg=new N("",{providedIn:"root",factory:()=>Bl});var Xi=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yh})`}};function Qs(e){return e instanceof Xi?e.changingThisBreaksApplicationSecurity:e}function Ul(e){return e instanceof Function?e():e}var $e=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}($e||{}),Cg;function Ks(e,t){return Cg(e,t)}function jt(e,t,r,n,o){if(n!=null){let i,s=!1;Ue(n)?i=n:$t(n)&&(s=!0,n=n[Be]);let a=Ne(n);e===0&&r!==null?o==null?Gl(t,r,a):Yr(t,r,a,o||null,!0):e===1&&r!==null?Yr(t,r,a,o||null,!0):e===2?jg(t,a,s):e===3&&t.destroyNode(a),i!=null&&$g(t,e,i,r,o)}}function Ig(e,t){return e.createText(t)}function Eg(e,t,r){e.setValue(t,r)}function Hl(e,t,r){return e.createElement(t,r)}function bg(e,t){zl(e,t),t[Be]=null,t[be]=null}function Mg(e,t,r,n,o,i){n[Be]=o,n[be]=t,vo(e,n,r,1,o,i)}function zl(e,t){t[Ae].changeDetectionScheduler?.notify(1),vo(e,t,t[re],2,null,null)}function Sg(e){let t=e[wn];if(!t)return Ni(e[b],e);for(;t;){let r=null;if($t(t))r=t[wn];else{let n=t[J];n&&(r=n)}if(!r){for(;t&&!t[Ie]&&t!==e;)$t(t)&&Ni(t[b],t),t=t[Q];t===null&&(t=e),$t(t)&&Ni(t[b],t),r=t&&t[Ie]}t=r}}function Tg(e,t,r,n){let o=J+n,i=r.length;n>0&&(r[o-1][Ie]=t),n0&&(e[r-1][Ie]=n[Ie]);let i=Br(e,J+t);bg(n[b],n);let s=i[zt];s!==null&&s.detachView(i[b]),n[Q]=null,n[Ie]=null,n[y]&=-129}return n}function mo(e,t){if(!(t[y]&256)){let r=t[re];r.destroyNode&&vo(e,t,r,3,null,null),Sg(t)}}function Ni(e,t){if(t[y]&256)return;let r=S(null);try{t[y]&=-129,t[y]|=256,t[ut]&&vu(t[ut]),Ag(e,t),_g(e,t),t[b].type===1&&t[re].destroy();let n=t[fo];if(n!==null&&Ue(t[Q])){n!==t[Q]&&ql(n,t);let o=t[zt];o!==null&&o.detachView(e)}pg(t)}finally{S(r)}}function _g(e,t){let r=e.cleanup,n=t[Dn];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(t[Dn]=null);let o=t[We];if(o!==null){t[We]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===_e.None||i===_e.Emulated)return null}return Re(n,r)}}function Yr(e,t,r,n,o){e.insertBefore(t,r,n,o)}function Gl(e,t,r){e.appendChild(t,r)}function dc(e,t,r,n,o){n!==null?Yr(e,t,r,n,o):Gl(e,t,r)}function Og(e,t,r,n){e.removeChild(t,r,n)}function Js(e,t){return e.parentNode(t)}function Pg(e,t){return e.nextSibling(t)}function Fg(e,t,r){return Lg(e,t,r)}function kg(e,t,r){return e.type&40?Re(e,r):null}var Lg=kg,fc;function Xs(e,t,r,n){let o=Ng(e,n,t),i=t[re],s=n.parent||t[be],a=Fg(s,n,t);if(o!=null)if(Array.isArray(r))for(let u=0;uae&&Ql(e,t,ae,!1),Te(s?2:0,o),r(n,o)}finally{lt(i),Te(s?3:1,o)}}function ed(e,t,r){if(el(t)){let n=S(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Yg(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return Rp()&&(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:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function hc(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,u=Ze.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?pc(n,r,c,a,u):pc(n,r,c,a)}return n}function pc(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function Qg(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function Xg(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;Os(r)&&sm(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Ml(r,t),dt(n,t);let s=r.initialInputs;for(let a=o;a{Cn(e.lView)},consumerOnSignalRead(){this.lView[ut]=this}}),pd=100;function gd(e,t=!0,r=0){let n=e[Ae],o=n.rendererFactory,i=!1;i||o.begin?.();try{wm(e,r)}catch(s){throw t&&cd(e,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function wm(e,t){rs(e,t);let r=0;for(;ks(e);){if(r===pd)throw new v(103,!1);r++,rs(e,1)}}function Cm(e,t,r,n){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[Ae].inlineEffectRunner?.flush(),js(t);let s=null,a=null;!i&&Im(e)&&(a=mm(t),s=gu(a));try{al(t),jp(e.bindingStartIndex),r!==null&&Xl(e,t,r,2,n);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&Fr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&kr(t,d,0,null),Ti(t,0)}if(Em(t),md(t,0),e.contentQueries!==null&&ud(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&Fr(t,d)}else{let d=e.contentHooks;d!==null&&kr(t,d,1),Ti(t,1)}Hg(e,t);let c=e.components;c!==null&&yd(t,c,0);let l=e.viewQuery;if(l!==null&&ns(2,l,n),!i)if(u){let d=e.viewCheckHooks;d!==null&&Fr(t,d)}else{let d=e.viewHooks;d!==null&&kr(t,d,2),Ti(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Si]){for(let d of t[Si])d();t[Si]=null}i||(t[y]&=-73)}catch(u){throw Cn(t),u}finally{a!==null&&(mu(a,s),ym(a)),Vs()}}function Im(e){return e.type!==2}function md(e,t){for(let r=Ll(e);r!==null;r=jl(r))for(let n=J;n-1&&(Mn(t,n),Br(r,n))}this._attachedToViewContainer=!1}mo(this._lView[b],this._lView)}onDestroy(t){ul(this._lView,t)}markForCheck(){oa(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Gi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,gd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,zl(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t,Gi(this._lView)}};var zM=new RegExp(`^(\\d+)*(${yg}|${vg})*(.*)`);var Mm=()=>null;function Tn(e,t){return Mm(e,t)}var os=class{},is=class{},Kr=class{};function Sm(e){let t=Error(`No component factory found for ${ne(e)}.`);return t[Tm]=e,t}var Tm="ngComponent";var ss=class{resolveComponentFactory(t){throw Sm(t)}},Io=(()=>{let t=class t{};t.NULL=new ss;let e=t;return e})(),xn=class{};var xm=(()=>{let t=class t{};t.\u0275prov=I({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Ri={};var gc=new Set;function Eo(e){gc.has(e)||(gc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function mc(...e){}function _m(){let e=typeof hn.requestAnimationFrame=="function",t=hn[e?"requestAnimationFrame":"setTimeout"],r=hn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){let n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}var H=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=_m().nativeRequestAnimationFrame,Rm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Am,mc,mc);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},Am={};function ia(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 Nm(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(hn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,as(e),e.isCheckStableRunning=!0,ia(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),as(e))}function Rm(e){let t=()=>{Nm(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(Om(a))return r.invokeTask(o,i,s,a);try{return vc(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),yc(e)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return vc(e),r.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),yc(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,as(e),ia(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function as(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function vc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yc(e){e._nesting--,ia(e)}function Om(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Dd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=I({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function us(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Zl(e,r,i.join(" "))}}function $m(e,t,r){let n=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Um;let e=t;return e})();function Um(){let e=He();return zm(e,j())}var Hm=bo,wd=class extends Hm{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return qs(this._hostTNode,this._hostLView)}get injector(){return new it(this._hostTNode,this._hostLView)}get parentInjector(){let t=Hs(this._hostTNode,this._hostLView);if(Il(t)){let r=Wr(t,this._hostLView),n=Gr(t),o=r[b].data[n+8];return new it(o,r)}else return new it(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=wc(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Tn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Sn(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!gp(t),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let u=s?t:new _n(at(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(s?c:this.parentInjector).get(fe,null);w&&(i=w)}let l=at(u.componentType??{}),d=Tn(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,Sn(this._hostTNode,d)),h}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(Mp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[Q],c=new wd(u,u[be],u[Q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return Co(s,o,i,n),t.attachToViewContainerRef(),Lc(Oi(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=wc(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=Mn(this._lContainer,r);n&&(Br(Oi(this._lContainer),r),mo(n[b],n))}detach(t){let r=this._adjustIndex(t,-1),n=Mn(this._lContainer,r);return n&&Br(Oi(this._lContainer),r)!=null?new qt(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function wc(e){return e[Hr]}function Oi(e){return e[Hr]||(e[Hr]=[])}function zm(e,t){let r,n=t[e.index];return Ue(n)?r=n:(r=ad(n,t,null,e),t[e.index]=r,wo(t,r)),Gm(r,t,e,n),new wd(r,e,t)}function qm(e,t){let r=e[re],n=r.createComment(""),o=Re(t,e),i=Js(r,o);return Yr(r,i,n,Pg(r,o),!1),n}var Gm=Ym,Wm=()=>!1;function Zm(e,t,r){return Wm(e,t,r)}function Ym(e,t,r,n){if(e[ct])return;let o;r.type&8?o=Ne(n):o=qm(t,r),e[ct]=o}var Ye=class{},An=class{};var ds=class extends Ye{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Jr(this);let o=Gc(t);this._bootstrapComponents=Ul(o.bootstrap),this._r3Injector=Rl(t,r,[{provide:Ye,useValue:this},{provide:Io,useValue:this.componentFactoryResolver},...n],ne(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},fs=class extends An{constructor(t){super(),this.moduleType=t}create(t){return new ds(this.moduleType,t,[])}};var Xr=class extends Ye{constructor(t){super(),this.componentFactoryResolver=new Jr(this),this.instance=null;let r=new vn([...t.providers,{provide:Ye,useValue:this},{provide:Io,useValue:this.componentFactoryResolver}],t.parent||Ns(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function sa(e,t,r=null){return new Xr({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var Mo=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new G(!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)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Qm(e,t,r){return e[t]=r}function Ln(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Km(e){return(e.flags&32)===32}function Jm(e,t,r,n,o,i,s,a,u){let c=t.consts,l=Do(t,e,4,s||null,qr(c,a));od(t,r,l,qr(c,u)),Us(t,l);let d=l.tView=ta(2,l,n,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ft(e,t,r,n,o,i,s,a){let u=j(),c=Qe(),l=e+ae,d=c.firstCreatePass?Jm(l,c,u,t,r,n,o,i,s):c.data[l];Pn(d,!1);let f=Xm(c,u,d,e);$s()&&Xs(c,u,f,d),dt(f,u);let h=ad(f,u,f,d);return u[l]=h,wo(u,h),Zm(h,d,u),Ps(d)&&td(c,u,d),s!=null&&nd(u,d,a),ft}var Xm=ev;function ev(e,t,r,n){return Bs(!0),t[re].createComment("")}function tv(e,t,r,n){return Ln(e,Ls(),r)?t+Pc(r)+n:mt}function Or(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function nv(e){return(e&2)==2}function rv(e,t){return e&131071|t<<17}function hs(e){return e|2}function Gt(e){return(e&131068)>>2}function Pi(e,t){return e&-131069|t<<2}function ov(e){return(e&1)===1}function ps(e){return e|1}function iv(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),u=Gt(s);e[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Rn(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=ht(e[a+1]);e[n+1]=Or(f,a),f!==0&&(e[f+1]=Pi(e[f+1],n)),e[a+1]=rv(e[a+1],n)}else e[n+1]=Or(a,0),a!==0&&(e[a+1]=Pi(e[a+1],n)),a=n;else e[n+1]=Or(u,0),a===0?a=n:e[u+1]=Pi(e[u+1],n),u=n;c&&(e[n+1]=hs(e[n+1])),Cc(e,l,n,!0),Cc(e,l,n,!1),sv(t,l,e,n,i),s=Or(a,u),i?t.classBindings=s:t.styleBindings=s}function sv(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Rn(i,t)>=0&&(r[n+1]=ps(r[n+1]))}function Cc(e,t,r,n){let o=e[r+1],i=t===null,s=n?ht(o):Gt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];av(u,t)&&(a=!0,e[s+1]=n?ps(c):hs(c)),s=n?ht(c):Gt(c)}a&&(e[r+1]=n?hs(o):ps(o))}function av(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Rn(e,t)>=0:!1}function Ic(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";ld(e,r,i[s],s,n)}function aa(e,t){return uv(e,t,null,!0),aa}function uv(e,t,r,n){let o=j(),i=Qe(),s=Vp(2);if(i.firstUpdatePass&&lv(i,e,s,n),t!==mt&&Ln(o,s,t)){let a=i.data[gt()];gv(i,a,o,o[re],e,o[s+1]=mv(t,r),n,s)}}function cv(e,t){return t>=e.expandoStartIndex}function lv(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[gt()],s=cv(e,r);vv(i,n)&&t===null&&!s&&(t=!1),t=dv(o,i,t,n),iv(o,i,t,r,s,n)}}function dv(e,t,r,n){let o=Hp(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=Fi(null,e,t,r,n),r=Nn(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=Fi(o,e,t,r,n),i===null){let u=fv(e,t,n);u!==void 0&&Array.isArray(u)&&(u=Fi(null,e,t,u[1],n),u=Nn(u,t.attrs,n),hv(e,t,n,u))}else i=pv(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function fv(e,t,r){let n=r?t.classBindings:t.styleBindings;if(Gt(n)!==0)return e[ht(n)]}function hv(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[ht(o)]=n}function pv(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===mt&&(f=d?we:void 0);let h=d?bi(f,n):l===n?f:void 0;if(c&&!eo(h)&&(h=bi(u,n)),eo(h)&&(a=h,s))return a;let g=e[o+1];o=s?ht(g):Gt(g)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=bi(u,n))}return a}function eo(e){return e!==void 0}function mv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(Qs(e)))),e}function vv(e,t){return(e.flags&(t?8:16))!==0}var gs=class{destroy(t){}updateValue(t,r){}swap(t,r){let n=Math.min(t,r),o=Math.max(t,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(t,r){this.attach(r,this.detach(t))}};function ki(e,t,r,n,o){return e===r&&Object.is(t,n)?1:Object.is(o(e,t),o(r,n))?-1:0}function yv(e,t,r){let n,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=ki(i,u,i,c,r);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],h=ki(s,d,a,f,r);if(h!==0){h<0&&e.updateValue(s,f),s--,a--;continue}let g=r(i,u),w=r(s,d),L=r(i,c);if(Object.is(L,w)){let O=r(a,f);Object.is(O,g)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(n??=new to,o??=Mc(e,i,s,r),ms(e,n,i,L))e.updateValue(i,c),i++,s++;else if(o.has(L))n.set(g,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=a;)bc(e,n,r,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=ki(i,c,i,l,r);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{n??=new to,o??=Mc(e,i,s,r);let f=r(i,l);if(ms(e,n,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let h=r(i,c);n.set(h,e.detach(i)),s--}}}for(;!u.done;)bc(e,n,r,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));n?.forEach(a=>{e.destroy(a)})}function ms(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function bc(e,t,r,n,o){if(ms(e,t,n,r(n,o)))e.updateValue(n,o);else{let i=e.create(n,o);e.attach(n,i)}}function Mc(e,t,r,n){let o=new Set;for(let i=t;i<=r;i++)o.add(n(i,e.at(i)));return o}var to=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let r=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,n]of this.kvMap)if(t(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),t(n,r)}}};function So(e,t,r){Eo("NgControlFlow");let n=j(),o=Ls(),i=ws(n,ae+e),s=0;if(Ln(n,o,t)){let a=S(null);try{if(fd(i,s),t!==-1){let u=Cs(n[b],ae+t),c=Tn(i,u.tView.ssrId),l=ra(n,u,r,{dehydratedView:c});Co(i,l,s,Sn(u,c))}}finally{S(a)}}else{let a=dd(i,s);a!==void 0&&(a[Y]=r)}}var vs=class{constructor(t,r,n){this.lContainer=t,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-J}};function Cd(e){return e}var ys=class{constructor(t,r,n){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=n}};function Id(e,t,r,n,o,i,s,a,u,c,l,d,f){Eo("NgControlFlow");let h=u!==void 0,g=j(),w=a?s.bind(g[Ee][Y]):s,L=new ys(h,w);g[ae+e]=L,ft(e+1,t,r,n,o,i),h&&ft(e+2,u,c,l,d,f)}var Ds=class extends gs{constructor(t,r,n){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-J}at(t){return this.getLView(t)[Y].$implicit}attach(t,r){let n=r[yn];this.needsIndexUpdate||=t!==this.length,Co(this.lContainer,r,t,Sn(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Dv(this.lContainer,t)}create(t,r){let n=Tn(this.lContainer,this.templateTNode.tView.ssrId);return ra(this.hostLView,this.templateTNode,new vs(this.lContainer,r,t),{dehydratedView:n})}destroy(t){mo(t[b],t)}updateValue(t,r){this.getLView(t)[Y].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Bs(!0),Hl(n,o,Gp()));function bd(){return j()}var no="en-US";var Ev=no;function bv(e){typeof e=="string"&&(Ev=e.toLowerCase().replace(/_/g,"-"))}function To(e,t,r,n){let o=j(),i=Qe(),s=He();return Sv(i,o,o[re],s,e,t,n),To}function Mv(e,t,r,n){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Sv(e,t,r,n,o,i,s){let a=Ps(n),c=e.firstCreatePass&&lm(e),l=t[Y],d=cm(t),f=!0;if(n.type&3||s){let w=Re(n,t),L=s?s(w):w,O=d.length,Fe=s?ke=>s(Ne(ke[n.index])):n.index,X=null;if(!s&&a&&(X=Mv(e,t,o,n.index)),X!==null){let ke=X.__ngLastListenerFn__||X;ke.__ngNextListenerFn__=i,X.__ngLastListenerFn__=i,f=!1}else{i=Tc(n,t,l,i,!1);let ke=r.listen(L,o,i);d.push(i,ke),c&&c.push(o,Fe,O,O+1)}}else i=Tc(n,t,l,i,!1);let h=n.outputs,g;if(f&&h!==null&&(g=h[o])){let w=g.length;if(w)for(let L=0;L-1?Zt(e.index,t):t;oa(a);let u=Sc(t,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=Sc(t,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Vn(e=1){return qp(e)}function Tv(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function ue(e,t=""){let r=j(),n=Qe(),o=e+ae,i=n.firstCreatePass?Do(n,o,1,t,null):n.data[o],s=xv(n,r,i,t,e);r[o]=s,$s()&&Xs(n,r,s,i),Pn(i,!1)}var xv=(e,t,r,n,o)=>(Bs(!0),Ig(t[re],n));function xo(e){return _o("",e,""),xo}function _o(e,t,r){let n=j(),o=tv(n,e,t,r);return o!==mt&&dm(n,gt(),o),_o}var _v=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Yc(!1,n.type),i=o.length>0?sa([o],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()}}};t.\u0275prov=I({token:t,providedIn:"environment",factory:()=>new t(R(fe))});let e=t;return e})();function Ao(e){Eo("NgStandalone"),e.getStandaloneInjector=t=>t.get(_v).getOrCreateStandaloneInjector(e)}function Av(e,t){let r=e[t];return r===mt?void 0:r}function Nv(e,t,r,n,o,i){let s=t+r;return Ln(e,s,o)?Qm(e,s+1,i?n.call(i,o):n(o)):Av(e,s+1)}function Md(e,t){let r=Qe(),n,o=e+ae;r.firstCreatePass?(n=Rv(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=st(n.type,!0)),s,a=te(kn);try{let u=Zr(!1),c=i();return Zr(u),Tv(r,j(),o,c),c}finally{te(a)}}function Rv(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function Sd(e,t,r){let n=e+ae,o=j(),i=bp(o,n);return Ov(o,n)?Nv(o,Lp(),t,i.transform,r,i):i.transform(r)}function Ov(e,t){return e[b].data[t].pure}var No=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Td=new N("");function Qt(e){return!!e&&typeof e.then=="function"}function ua(e){return!!e&&typeof e.subscribe=="function"}var xd=new N(""),_d=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Qt(s))n.push(s);else if(ua(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ca=new N("");function Pv(){yu(()=>{throw new v(600,!1)})}function Fv(e){return e.isBoundToModule}function kv(e,t,r){try{let n=r();return Qt(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var $n=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Ol),this.afterRenderEffectManager=p(Dd),this.externalTestViews=new Set,this.beforeRender=new q,this.afterTick=new q,this.componentTypes=[],this.components=[],this.isStable=p(Mo).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(fe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Kr;if(!this._injector.get(_d).done){let h=!i&&qc(n),g=!1;throw new v(405,g)}let a;i?a=n:a=this._injector.get(Io).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=Fv(a)?void 0:this._injector.get(Ye),c=o||a.selector,l=a.create(Fn.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Td,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Li(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=S(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,S(o)}}detectChangesInAttachedViews(n){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===pd)throw new v(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)Lv(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Is(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Is(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Li(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(ca,[]);[...this._bootstrapListeners,...o].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),()=>Li(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(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Li(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Lv(e,t,r){!t&&!Is(e)||jv(e,r,t)}function Is(e){return ks(e)}function jv(e,t,r){let n;r?(n=0,e[y]|=1024):e[y]&64?n=0:n=1,gd(e,t,n)}var Es=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},la=(()=>{let t=class t{compileModuleSync(n){return new fs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Gc(n),s=Ul(i.declarations).reduce((a,u)=>{let c=at(u);return c&&a.push(new _n(c)),a},[]);return new Es(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Vv=(()=>{let t=class t{constructor(){this.zone=p(H),this.applicationRef=p($n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $v(e){return[{provide:H,useFactory:e},{provide:Ut,multi:!0,useFactory:()=>{let t=p(Vv,{optional:!0});return()=>t.initialize()}},{provide:Ut,multi:!0,useFactory:()=>{let t=p(zv);return()=>{t.initialize()}}},{provide:Ol,useFactory:Bv}]}function Bv(){let e=p(H),t=p(Ve);return r=>e.runOutsideAngular(()=>t.handleError(r))}function Uv(e){let t=$v(()=>new H(Hv(e)));return co([[],t])}function Hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zv=(()=>{let t=class t{constructor(){this.subscription=new V,this.initialized=!1,this.zone=p(H),this.pendingTasks=p(Mo)}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(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qv(){return typeof $localize<"u"&&$localize.locale||no}var da=new N("",{providedIn:"root",factory:()=>p(da,M.Optional|M.SkipSelf)||qv()});var Ad=new N("");var jr=null;function Gv(e=[],t){return Fn.create({name:t,providers:[{provide:lo,useValue:"platform"},{provide:Ad,useValue:new Set([()=>jr=null])},...e]})}function Wv(e=[]){if(jr)return jr;let t=Gv(e);return jr=t,Pv(),Zv(t),t}function Zv(e){e.get(Ws,null)?.forEach(r=>r())}var Kt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Yv;let e=t;return e})();function Yv(e){return Qv(He(),j(),(e&16)===16)}function Qv(e,t,r){if(Os(e)&&!r){let n=Zt(e.index,t);return new qt(n,n)}else if(e.type&47){let n=t[Ee];return new qt(n,t)}return null}function Nd(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,o=Wv(n),i=[Uv(),...r||[]],a=new Xr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(H);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ve,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Ad);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),kv(c,u,()=>{let h=a.get(_d);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(da,no);bv(g||no);let w=a.get($n);return t!==void 0&&w.bootstrap(t),w})})})}catch(t){return Promise.reject(t)}}function fa(e){let t=S(null);try{return e()}finally{S(t)}}var kd=null;function Jt(){return kd}function Ld(e){kd??=e}var Oo=class{};var he=new N(""),jd=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(ey),providedIn:"platform"});let e=t;return e})();var ey=(()=>{let t=class t extends jd{constructor(){super(),this._doc=p(he),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jt().getBaseHref(this._doc)}onPopState(n){let o=Jt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Jt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Vd(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Rd(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function vt(e){return e&&e[0]!=="?"?"?"+e:e}var Fo=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p($d),providedIn:"root"});let e=t;return e})(),ty=new N(""),$d=(()=>{let t=class t extends Fo{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(he).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 Vd(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+vt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+vt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+vt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(R(jd),R(ty,8))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bn=(()=>{let t=class t{constructor(n){this._subject=new Ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=oy(Rd(Od(o))),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,o=""){return this.path()==this.normalize(n+vt(o))}normalize(n){return t.stripTrailingSlash(ry(this._basePath,Od(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+vt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+vt(o)),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(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=vt,t.joinWithSlash=Vd,t.stripTrailingSlash=Rd,t.\u0275fac=function(o){return new(o||t)(R(Fo))},t.\u0275prov=I({token:t,factory:()=>ny(),providedIn:"root"});let e=t;return e})();function ny(){return new Bn(R(Fo))}function ry(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Od(e){return e.replace(/\/index.html$/,"")}function oy(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function Bd(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}function iy(e,t){return new v(2100,!1)}var ha=class{createSubscription(t,r){return fa(()=>t.subscribe({next:r,error:n=>{throw n}}))}dispose(t){fa(()=>t.unsubscribe())}},pa=class{createSubscription(t,r){return t.then(r,n=>{throw n})}dispose(t){}},sy=new pa,ay=new ha,Ud=(()=>{let t=class t{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,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(Qt(n))return sy;if(ua(n))return ay;throw iy(t,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(kn(Kt,16))},t.\u0275pipe=Uc({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var ga=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=uo({type:t}),t.\u0275inj=oo({});let e=t;return e})(),Hd="browser",uy="server";function ma(e){return e===uy}var Po=class{};var Da=class extends Oo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wa=class e extends Da{static makeCurrent(){Ld(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=dy();return r==null?null:fy(r)}resetBaseElement(){Un=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Bd(document.cookie,t)}},Un=null;function dy(){return Un=Un||document.querySelector("base"),Un?Un.getAttribute("href"):null}function fy(e){return new URL(e,document.baseURI).pathname}var hy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),Ca=new N(""),Wd=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(R(Ca),R(H))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),ko=class{constructor(t){this._doc=t}},va="ng-app-id",Zd=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ma(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${va}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(va),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(va,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(R(he),R(Gs),R(Zs,8),R(Yt))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),ya={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ea=/%COMP%/g,Yd="%COMP%",py=`_nghost-${Yd}`,gy=`_ngcontent-${Yd}`,my=!0,vy=new N("",{providedIn:"root",factory:()=>my});function yy(e){return gy.replace(Ea,e)}function Dy(e){return py.replace(Ea,e)}function Qd(e,t){return t.map(r=>r.replace(Ea,e))}var zd=(()=>{let t=class t{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ma(u),this.defaultRenderer=new Hn(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===_e.ShadowDom&&(o=B(m({},o),{encapsulation:_e.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Lo?i.applyToHost(n):i instanceof zn&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case _e.Emulated:s=new Lo(c,l,o,this.appId,d,a,u,f);break;case _e.ShadowDom:return new Ia(c,l,n,o,a,u,this.nonce,f);default:s=new zn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(R(Wd),R(Zd),R(Gs),R(vy),R(he),R(Yt),R(H),R(Zs))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),Hn=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(ya[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(qd(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(qd(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=ya[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=ya[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&($e.DashCase|$e.Important)?t.style.setProperty(r,n,o&$e.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&$e.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=Jt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function qd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ia=class extends Hn{constructor(t,r,n,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Qd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},zn=class extends Hn{constructor(t,r,n,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?Qd(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lo=class extends zn{constructor(t,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(t,r,n,i,s,a,u,c),this.contentAttr=yy(c),this.hostAttr=Dy(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},wy=(()=>{let t=class t extends ko{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(R(he))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),Gd=["alt","control","meta","shift"],Cy={"\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"},Iy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ey=(()=>{let t=class t extends ko{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Gd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=Cy[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Gd.forEach(a=>{if(a!==i){let u=Iy[a];u(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(R(he))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})();function Kd(e,t){return Nd(m({rootComponent:e},by(t)))}function by(e){return{appProviders:[..._y,...e?.providers??[]],platformProviders:xy}}function My(){wa.makeCurrent()}function Sy(){return new Ve}function Ty(){return $l(document),document}var xy=[{provide:Yt,useValue:Hd},{provide:Ws,useValue:My,multi:!0},{provide:he,useFactory:Ty,deps:[]}];var _y=[{provide:lo,useValue:"root"},{provide:Ve,useFactory:Sy,deps:[]},{provide:Ca,useClass:wy,multi:!0,deps:[he,H,Yt]},{provide:Ca,useClass:Ey,multi:!0,deps:[he]},zd,Zd,Wd,{provide:xn,useExisting:zd},{provide:Po,useClass:hy,deps:[]},[]];var Jd=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(R(he))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var E="primary",ir=Symbol("RouteTitle"),xa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function rn(e){return new xa(e)}function Ny(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[i]===o)}else return e===t}function sf(e){return e.length>0?e[e.length-1]:null}function et(e){return mi(e)?e:Qt(e)?$(Promise.resolve(e)):C(e)}var Oy={exact:uf,subset:cf},af={exact:Py,subset:Fy,ignored:()=>!0};function Xd(e,t,r){return Oy[r.paths](e.root,t.root,r.matrixParams)&&af[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function Py(e,t){return Oe(e,t)}function uf(e,t,r){if(!Dt(e.segments,t.segments)||!$o(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!uf(e.children[n],t.children[n],r))return!1;return!0}function Fy(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>of(e[r],t[r]))}function cf(e,t,r){return lf(e,t,t.segments,r)}function lf(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!Dt(o,r)||t.hasChildren()||!$o(o,r,n))}else if(e.segments.length===r.length){if(!Dt(e.segments,r)||!$o(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!cf(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!Dt(e.segments,o)||!$o(e.segments,o,n)||!e.children[E]?!1:lf(e.children[E],t,i,n)}}function $o(e,t,r){return t.every((n,o)=>af[r](e[o].parameters,n.parameters))}var Je=class{constructor(t=new F([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=rn(this.queryParams),this._queryParamMap}toString(){return jy.serialize(this)}},F=class{constructor(t,r){this.segments=t,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 Bo(this)}},yt=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=rn(this.parameters),this._parameterMap}toString(){return ff(this)}};function ky(e,t){return Dt(e,t)&&e.every((r,n)=>Oe(r.parameters,t[n].parameters))}function Dt(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function Ly(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===E&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==E&&(r=r.concat(t(o,n)))}),r}var tu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>new Ho,providedIn:"root"});let e=t;return e})(),Ho=class{parse(t){let r=new Na(t);return new Je(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${qn(t.root,!0)}`,n=By(t.queryParams),o=typeof t.fragment=="string"?`#${Vy(t.fragment)}`:"";return`${r}${n}${o}`}},jy=new Ho;function Bo(e){return e.segments.map(t=>ff(t)).join("/")}function qn(e,t){if(!e.hasChildren())return Bo(e);if(t){let r=e.children[E]?qn(e.children[E],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==E&&n.push(`${o}:${qn(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=Ly(e,(n,o)=>o===E?[qn(e.children[E],!1)]:[`${o}:${qn(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[E]!=null?`${Bo(e)}/${r[0]}`:`${Bo(e)}/(${r.join("//")})`}}function df(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jo(e){return df(e).replace(/%3B/gi,";")}function Vy(e){return encodeURI(e)}function Aa(e){return df(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Uo(e){return decodeURIComponent(e)}function ef(e){return Uo(e.replace(/\+/g,"%20"))}function ff(e){return`${Aa(e.path)}${$y(e.parameters)}`}function $y(e){return Object.entries(e).map(([t,r])=>`;${Aa(t)}=${Aa(r)}`).join("")}function By(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${jo(r)}=${jo(o)}`).join("&"):`${jo(r)}=${jo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var Uy=/^[^\/()?;#]+/;function ba(e){let t=e.match(Uy);return t?t[0]:""}var Hy=/^[^\/()?;=#]+/;function zy(e){let t=e.match(Hy);return t?t[0]:""}var qy=/^[^=?&#]+/;function Gy(e){let t=e.match(qy);return t?t[0]:""}var Wy=/^[^&#]+/;function Zy(e){let t=e.match(Wy);return t?t[0]:""}var Na=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[E]=new F(t,r)),n}parseSegment(){let t=ba(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new yt(Uo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=zy(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=ba(this.remaining);o&&(n=o,this.capture(n))}t[Uo(r)]=Uo(n)}parseQueryParam(t){let r=Gy(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=Zy(this.remaining);s&&(n=s,this.capture(n))}let o=ef(r),i=ef(n);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ba(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=E);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[E]:new F([],s),this.consumeOptional("//")}return r}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 hf(e){return e.segments.length>0?new F([],{[E]:e}):e}function pf(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=pf(o);if(n===E&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}let r=new F(e.segments,t);return Yy(r)}function Yy(e){if(e.numberOfChildren===1&&e.children[E]){let t=e.children[E];return new F(e.segments.concat(t.segments),t.children)}return e}function on(e){return e instanceof Je}function Qy(e,t,r=null,n=null){let o=gf(e);return mf(o,t,r,n)}function gf(e){let t;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new F(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=hf(n);return t??o}function mf(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ma(o,o,o,r,n);let i=Ky(t);if(i.toRoot())return Ma(o,o,new F([],{}),r,n);let s=Jy(i,o,e),a=s.processChildren?Zn(s.segmentGroup,s.index,i.commands):yf(s.segmentGroup,s.index,i.commands);return Ma(o,s.segmentGroup,a,r,n)}function zo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Kn(e){return typeof e=="object"&&e!=null&&e.outlets}function Ma(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=r:s=vf(e,t,r);let a=hf(pf(s));return new Je(a,i,o)}function vf(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=vf(i,t,r)}),new F(e.segments,n)}var qo=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&zo(n[0]))throw new v(4003,!1);let o=n.find(Kn);if(o&&o!==sf(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ky(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new qo(!0,0,e);let t=0,r=!1,n=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new qo(r,t,n)}var tn=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function Jy(e,t,r){if(e.isAbsolute)return new tn(t,!0,0);if(!r)return new tn(t,!1,NaN);if(r.parent===null)return new tn(r,!0,0);let n=zo(e.commands[0])?0:1,o=r.segments.length-1+n;return Xy(r,o,e.numberOfDoubleDots)}function Xy(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new tn(n,!1,o-i)}function eD(e){return Kn(e[0])?e[0].outlets:{[E]:e}}function yf(e,t,r){if(e??=new F([],{}),e.segments.length===0&&e.hasChildren())return Zn(e,t,r);let n=tD(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==E)&&e.children[E]&&e.numberOfChildren===1&&e.children[E].segments.length===0){let i=Zn(e.children[E],t,r);return new F(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=yf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new F(e.segments,o)}}function tD(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=e.segments[o],a=r[n];if(Kn(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!nf(u,c,s))return i;n+=2}else{if(!nf(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Ra(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=Ra(new F([],{}),0,n))}),t}function tf(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function nf(e,t,r){return e==r.path&&Oe(t,r.parameters)}var Yn="imperative",Z=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}(Z||{}),pe=class{constructor(t,r){this.id=t,this.url=r}},Jn=class extends pe{constructor(t,r,n="imperative",o=null){super(t,r),this.type=Z.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},wt=class extends pe{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=Z.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},le=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(le||{}),Oa=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Oa||{}),Xe=class extends pe{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=Z.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ct=class extends pe{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=Z.NavigationSkipped}},Xn=class extends pe{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=Z.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Go=class extends pe{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=Z.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pa=class extends pe{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=Z.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fa=class extends pe{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=Z.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ka=class extends pe{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=Z.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},La=class extends pe{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=Z.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ja=class{constructor(t){this.route=t,this.type=Z.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Va=class{constructor(t){this.route=t,this.type=Z.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$a=class{constructor(t){this.snapshot=t,this.type=Z.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ba=class{constructor(t){this.snapshot=t,this.type=Z.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ua=class{constructor(t){this.snapshot=t,this.type=Z.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ha=class{constructor(t){this.snapshot=t,this.type=Z.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var er=class{},tr=class{constructor(t){this.url=t}};var za=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Jo,this.attachRef=null}},Jo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new za,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Wo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=qa(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=qa(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Ga(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ga(t,this._root).map(r=>r.value)}};function qa(e,t){if(e===t.value)return t;for(let r of t.children){let n=qa(e,r);if(n)return n}return null}function Ga(e,t){if(e===t.value)return[t];for(let r of t.children){let n=Ga(e,r);if(n.length)return n.unshift(t),n}return[]}var ce=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function en(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Zo=class extends Wo{constructor(t,r){super(t),this.snapshot=r,ru(this,t)}toString(){return this.snapshot.toString()}};function Df(e){let t=rD(e),r=new G([new yt("",{})]),n=new G({}),o=new G({}),i=new G({}),s=new G(""),a=new sn(r,n,i,s,o,E,e,t.root);return a.snapshot=t.root,new Zo(new ce(a,[]),t)}function rD(e){let t={},r={},n={},o="",i=new nr([],t,n,o,r,E,e,null,{});return new Yo("",new ce(i,[]))}var sn=class{constructor(t,r,n,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(T(c=>c[ir]))??C(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(t=>rn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>rn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function nu(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:n={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Cf(o)&&(n.resolve[ir]=o.title),n}var nr=class{get title(){return this.data?.[ir]}constructor(t,r,n,o,i,s,a,u,c){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=rn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Yo=class extends Wo{constructor(t,r){super(r),this.url=t,ru(this,r)}toString(){return wf(this._root)}};function ru(e,t){t.value._routerState=e,t.children.forEach(r=>ru(e,r))}function wf(e){let t=e.children.length>0?` { ${e.children.map(wf).join(", ")} } `:"";return`${e.value}${t}`}function Sa(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Oe(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Oe(t.params,r.params)||e.paramsSubject.next(r.params),Ry(t.url,r.url)||e.urlSubject.next(r.url),Oe(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wa(e,t){let r=Oe(e.params,t.params)&&ky(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||Wa(e.parent,t.parent))}function Cf(e){return typeof e.title=="string"||e.title===null}var oD=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=E,this.activateEvents=new Ce,this.deactivateEvents=new Ce,this.attachEvents=new Ce,this.detachEvents=new Ce,this.parentContexts=p(Jo),this.location=p(bo),this.changeDetector=p(Kt),this.environmentInjector=p(fe),this.inputBinder=p(ou,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)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,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Za(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=_s({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[po]});let e=t;return e})(),Za=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===sn?this.route:t===Jo?this.childContexts:this.parent.get(t,r)}},ou=new N("");function iD(e,t,r){let n=rr(e,t._root,r?r._root:void 0);return new Zo(n,t)}function rr(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=sD(e,t,r);return new ce(n,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>rr(e,a)),s}}let n=aD(t.value),o=t.children.map(i=>rr(e,i));return new ce(n,o)}}function sD(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return rr(e,n,o);return rr(e,n)})}function aD(e){return new sn(new G(e.url),new G(e.params),new G(e.queryParams),new G(e.fragment),new G(e.data),e.outlet,e.component,e)}var If="ngNavigationCancelingError";function Ef(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=on(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=bf(!1,le.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function bf(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[If]=!0,r.cancellationCode=t,r}function uD(e){return Mf(e)&&on(e.url)}function Mf(e){return!!e&&e[If]}var cD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ao({type:t,selectors:[["ng-component"]],standalone:!0,features:[Ao],decls:1,vars:0,template:function(o,i){o&1&&jn(0,"router-outlet")},dependencies:[oD],encapsulation:2});let e=t;return e})();function lD(e,t){return e.providers&&!e._injector&&(e._injector=sa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function iu(e){let t=e.children&&e.children.map(iu),r=t?B(m({},e),{children:t}):m({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==E&&(r.component=cD),r}function Pe(e){return e.outlet||E}function dD(e,t){let r=e.filter(n=>Pe(n)===t);return r.push(...e.filter(n=>Pe(n)!==t)),r}function sr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var fD=(e,t,r,n)=>T(o=>(new Ya(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),Ya=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Sa(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=en(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=en(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=en(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=en(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Ha(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ba(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(Sa(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Sa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=sr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}},Qo=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},nn=class{constructor(t,r){this.component=t,this.route=r}};function hD(e,t,r){let n=e._root,o=t?t._root:null;return Gn(n,o,r,[n.value])}function pD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function un(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!Ac(e)?e:t.get(e):n}function Gn(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=en(t);return e.children.forEach(s=>{gD(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Qn(a,r.getContext(s),o)),o}function gD(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=mD(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Qo(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Gn(e,t,a?a.children:null,n,o):Gn(e,t,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new nn(a.outlet.component,s))}else s&&Qn(t,a,o),o.canActivateChecks.push(new Qo(n)),i.component?Gn(e,null,a?a.children:null,n,o):Gn(e,null,r,n,o);return o}function mD(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Dt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Dt(e.url,t.url)||!Oe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wa(e,t)||!Oe(e.queryParams,t.queryParams);case"paramsChange":default:return!Wa(e,t)}}function Qn(e,t,r){let n=en(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?Qn(s,t.children.getContext(i),r):Qn(s,null,r):Qn(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new nn(t.outlet.component,o)):r.canDeactivateChecks.push(new nn(null,o)):r.canDeactivateChecks.push(new nn(null,o))}function ar(e){return typeof e=="function"}function vD(e){return typeof e=="boolean"}function yD(e){return e&&ar(e.canLoad)}function DD(e){return e&&ar(e.canActivate)}function wD(e){return e&&ar(e.canActivateChild)}function CD(e){return e&&ar(e.canDeactivate)}function ID(e){return e&&ar(e.canMatch)}function Sf(e){return e instanceof Le||e?.name==="EmptyError"}var Vo=Symbol("INITIAL_VALUE");function an(){return ye(e=>Ar(e.map(t=>t.pipe(je(1),Ii(Vo)))).pipe(T(t=>{for(let r of t)if(r!==!0){if(r===Vo)return Vo;if(r===!1||r instanceof Je)return r}return!0}),ve(t=>t!==Vo),je(1)))}function ED(e,t){return z(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?C(B(m({},r),{guardsResult:!0})):bD(s,n,o,e).pipe(z(a=>a&&vD(a)?MD(n,i,e,t):C(a)),T(a=>B(m({},r),{guardsResult:a})))})}function bD(e,t,r,n){return $(e).pipe(z(o=>AD(o.component,o.route,r,t,n)),Se(o=>o!==!0,!0))}function MD(e,t,r,n){return $(t).pipe(Pt(o=>Ot(TD(o.route.parent,n),SD(o.route,n),_D(e,o.path,r),xD(e,o.route,r))),Se(o=>o!==!0,!0))}function SD(e,t){return e!==null&&t&&t(new Ua(e)),C(!0)}function TD(e,t){return e!==null&&t&&t(new $a(e)),C(!0)}function xD(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let o=n.map(i=>Nr(()=>{let s=sr(t)??r,a=un(i,s),u=DD(a)?a.canActivate(t,e):pt(s,()=>a(t,e));return et(u).pipe(Se())}));return C(o).pipe(an())}function _D(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>pD(s)).filter(s=>s!==null).map(s=>Nr(()=>{let a=s.guards.map(u=>{let c=sr(s.node)??r,l=un(u,c),d=wD(l)?l.canActivateChild(n,e):pt(c,()=>l(n,e));return et(d).pipe(Se())});return C(a).pipe(an())}));return C(i).pipe(an())}function AD(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let u=sr(t)??o,c=un(a,u),l=CD(c)?c.canDeactivate(e,t,r,n):pt(u,()=>c(e,t,r,n));return et(l).pipe(Se())});return C(s).pipe(an())}function ND(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=un(s,e),u=yD(a)?a.canLoad(t,r):pt(e,()=>a(t,r));return et(u)});return C(i).pipe(an(),Tf(n))}function Tf(e){return li(W(t=>{if(on(t))throw Ef(e,t)}),T(t=>t===!0))}function RD(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=un(s,e),u=ID(a)?a.canMatch(t,r):pt(e,()=>a(t,r));return et(u)});return C(i).pipe(an(),Tf(n))}var or=class{constructor(t){this.segmentGroup=t||null}},Ko=class extends Error{constructor(t){super(),this.urlTree=t}};function Xt(e){return Rt(new or(e))}function OD(e){return Rt(new v(4e3,!1))}function PD(e){return Rt(bf(!1,le.GuardRejected))}var Qa=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return C(n);if(o.numberOfChildren>1||!o.children[E])return OD(t.redirectTo);o=o.children[E]}}applyRedirectCommands(t,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new Ko(o);return o}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new Je(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,n,o)}),new F(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},Ka={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function FD(e,t,r,n,o){let i=su(e,t,r);return i.matched?(n=lD(t,n),RD(n,t,r,o).pipe(T(s=>s===!0?i:m({},Ka)))):C(i)}function su(e,t,r){if(t.path==="**")return kD(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?m({},Ka):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||Ny)(r,e,t);if(!o)return m({},Ka);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function kD(e){return{matched:!0,parameters:e.length>0?sf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function rf(e,t,r,n){return r.length>0&&VD(e,r,n)?{segmentGroup:new F(t,jD(n,new F(r,e.children))),slicedSegments:[]}:r.length===0&&$D(e,r,n)?{segmentGroup:new F(e.segments,LD(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new F(e.segments,e.children),slicedSegments:r}}function LD(e,t,r,n){let o={};for(let i of r)if(Xo(e,t,i)&&!n[Pe(i)]){let s=new F([],{});o[Pe(i)]=s}return m(m({},n),o)}function jD(e,t){let r={};r[E]=t;for(let n of e)if(n.path===""&&Pe(n)!==E){let o=new F([],{});r[Pe(n)]=o}return r}function VD(e,t,r){return r.some(n=>Xo(e,t,n)&&Pe(n)!==E)}function $D(e,t,r){return r.some(n=>Xo(e,t,n))}function Xo(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function BD(e,t,r,n){return Pe(e)!==n&&(n===E||!Xo(t,r,e))?!1:su(t,e,r).matched}function UD(e,t,r){return t.length===0&&!e.children[r]}var Ja=class{};function HD(e,t,r,n,o,i,s="emptyOnly"){return new Xa(e,t,r,n,o,s,i).recognize()}var zD=31,Xa=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=rf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(r=>{let n=new nr([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,{},E,this.rootComponentType,null,{}),o=new ce(n,r),i=new Yo("",o),s=Qy(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,E).pipe(ze(n=>{if(n instanceof Ko)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof or?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,o=nu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(t,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0).pipe(T(i=>i instanceof ce?[i]:[]))}processChildren(t,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return $(o).pipe(Pt(i=>{let s=n.children[i],a=dD(r,i);return this.processSegmentGroup(t,a,s,i)}),Ci((i,s)=>(i.push(...s),i)),qe(null),wi(),z(i=>{if(i===null)return Xt(n);let s=xf(i);return qD(s),C(s)}))}processSegment(t,r,n,o,i,s){return $(r).pipe(Pt(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(ze(u=>{if(u instanceof or)return C(null);throw u}))),Se(a=>!!a),ze(a=>{if(Sf(a))return UD(n,o,i)?C(new Ja):Xt(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return BD(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):Xt(o):Xt(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=su(r,o,i);if(!a)return Xt(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zD&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(z(f=>this.processSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i){let s=FD(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ye(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(ye(({routes:u})=>{let c=n._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new nr(l,f,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,WD(n),Pe(n),n.component??n._loadedComponent??null,n,ZD(n)),{segmentGroup:g,slicedSegments:w}=rf(r,l,d,u);if(w.length===0&&g.hasChildren())return this.processChildren(c,u,g).pipe(T(O=>O===null?null:new ce(h,O)));if(u.length===0&&w.length===0)return C(new ce(h,[]));let L=Pe(n)===i;return this.processSegment(c,u,g,w,L?E:i,!0).pipe(T(O=>new ce(h,O instanceof ce?[O]:[])))}))):Xt(r)))}getChildConfig(t,r,n){return r.children?C({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):ND(t,r,n,this.urlSerializer).pipe(z(o=>o?this.configLoader.loadChildren(t,r).pipe(W(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):PD(r))):C({routes:[],injector:t})}};function qD(e){e.sort((t,r)=>t.value.outlet===E?-1:r.value.outlet===E?1:t.value.outlet.localeCompare(r.value.outlet))}function GD(e){let t=e.value.routeConfig;return t&&t.path===""}function xf(e){let t=[],r=new Set;for(let n of e){if(!GD(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=xf(n.children);t.push(new ce(n.value,o))}return t.filter(n=>!r.has(n))}function WD(e){return e.data||{}}function ZD(e){return e.resolve||{}}function YD(e,t,r,n,o,i){return z(s=>HD(e,t,r,n,s.extractedUrl,o,i).pipe(T(({state:a,tree:u})=>B(m({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function QD(e,t){return z(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return C(r);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of _f(u))s.add(c);let a=0;return $(s).pipe(Pt(u=>i.has(u)?KD(u,n,e,t):(u.data=nu(u,u.parent,e).resolve,C(void 0))),W(()=>a++),Ft(1),z(u=>a===s.size?C(r):K))})}function _f(e){let t=e.children.map(r=>_f(r)).flat();return[e,...t]}function KD(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Cf(o)&&(i[ir]=o.title),JD(i,e,t,n).pipe(T(s=>(e._resolvedData=s,e.data=nu(e,e.parent,r).resolve,null)))}function JD(e,t,r,n){let o=_a(e);if(o.length===0)return C({});let i={};return $(o).pipe(z(s=>XD(e[s],t,r,n).pipe(Se(),W(a=>{i[s]=a}))),Ft(1),Di(i),ze(s=>Sf(s)?K:Rt(s)))}function XD(e,t,r,n){let o=sr(t)??n,i=un(e,o),s=i.resolve?i.resolve(t,r):pt(o,()=>i(t,r));return et(s)}function Ta(e){return ye(t=>{let r=e(t);return r?$(r).pipe(T(()=>t)):C(t)})}var Af=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===E);return o}getResolvedTitleForRoute(n){return n.data[ir]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(ew),providedIn:"root"});let e=t;return e})(),ew=(()=>{let t=class t extends Af{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(R(Jd))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),au=new N("",{providedIn:"root",factory:()=>({})}),uu=new N(""),tw=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(la)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=et(n.loadComponent()).pipe(T(Nf),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),fn(()=>{this.componentLoaders.delete(n)})),i=new At(o,()=>new q).pipe(_t());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return C({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=nw(o,this.compiler,n,this.onLoadEndListener).pipe(fn(()=>{this.childrenLoaders.delete(o)})),a=new At(s,()=>new q).pipe(_t());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function nw(e,t,r,n){return et(e.loadChildren()).pipe(T(Nf),z(o=>o instanceof An||Array.isArray(o)?C(o):$(t.compileModuleAsync(o))),T(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(uu,[],{optional:!0,self:!0}).flat()),{routes:s.map(iu),injector:i}}))}function rw(e){return e&&typeof e=="object"&&"default"in e}function Nf(e){return rw(e)?e.default:e}var cu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(ow),providedIn:"root"});let e=t;return e})(),ow=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),iw=new N("");var sw=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q,this.transitionAbortSubject=new q,this.configLoader=p(tw),this.environmentInjector=p(fe),this.urlSerializer=p(tu),this.rootContexts=p(Jo),this.location=p(Bn),this.inputBindingEnabled=p(ou,{optional:!0})!==null,this.titleStrategy=p(Af),this.options=p(au,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(cu),this.createViewTransition=p(iw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=i=>this.events.next(new ja(i)),o=i=>this.events.next(new Va(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(B(m(m({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new G({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yn,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ve(s=>s.id!==0),T(s=>B(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ye(s=>{let a=!1,u=!1;return C(s).pipe(ye(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),K;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?B(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Ct(c.id,this.urlSerializer.serialize(c.rawUrl),f,Oa.IgnoredSameUrlNavigation)),c.resolve(null),K}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return C(c).pipe(ye(f=>{let h=this.transitions?.getValue();return this.events.next(new Jn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?K:Promise.resolve(f)}),YD(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=B(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Go(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:w,extras:L}=c,O=new Jn(f,this.urlSerializer.serialize(h),g,w);this.events.next(O);let Fe=Df(this.rootComponentType).snapshot;return this.currentTransition=s=B(m({},c),{targetSnapshot:Fe,urlAfterRedirects:h,extras:B(m({},L),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,C(s)}else{let f="";return this.events.next(new Ct(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Oa.IgnoredByUrlHandlingStrategy)),c.resolve(null),K}}),W(c=>{let l=new Pa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),T(c=>(this.currentTransition=s=B(m({},c),{guards:hD(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),ED(this.environmentInjector,c=>this.events.next(c)),W(c=>{if(s.guardsResult=c.guardsResult,on(c.guardsResult))throw Ef(this.urlSerializer,c.guardsResult);let l=new Fa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ve(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",le.GuardRejected),!1)),Ta(c=>{if(c.guards.canActivateChecks.length)return C(c).pipe(W(l=>{let d=new ka(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ye(l=>{let d=!1;return C(l).pipe(QD(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",le.NoDataFromResolver)}}))}),W(l=>{let d=new La(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Ta(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Ar(l(c.targetSnapshot.root)).pipe(qe(null),je(1))}),Ta(()=>this.afterPreactivation()),ye(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?$(d).pipe(T(()=>s)):C(s)}),T(c=>{let l=iD(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=B(m({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new er)}),fD(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),je(1),W({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ei(this.transitionAbortSubject.pipe(W(c=>{throw c}))),fn(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),ze(c=>{if(u=!0,Mf(c))this.events.next(new Xe(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),uD(c)?this.events.next(new tr(c.url)):s.resolve(!1);else{this.events.next(new Xn(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return K}))}))}cancelNavigationTransition(n,o,i){let s=new Xe(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function aw(e){return e!==Yn}var uw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(cw),providedIn:"root"});let e=t;return e})(),eu=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},cw=(()=>{let t=class t extends eu{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=zs(t)))(i||t)}})(),t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Rf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(lw),providedIn:"root"});let e=t;return e})(),lw=(()=>{let t=class t extends Rf{constructor(){super(...arguments),this.location=p(Bn),this.urlSerializer=p(tu),this.options=p(au,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(cu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Je,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Df(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(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Jn)this.stateMemento=this.createStateMemento();else if(n instanceof Ct)this.rawUrlTree=o.initialUrl;else if(n instanceof Go){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof er?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof Xe&&(n.code===le.GuardRejected||n.code===le.NoDataFromResolver)?this.restoreHistory(o):n instanceof Xn?this.restoreHistory(o,!0):n instanceof wt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=m(m({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=m(m({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&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,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=zs(t)))(i||t)}})(),t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Wn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Wn||{});function dw(e,t){e.events.pipe(ve(r=>r instanceof wt||r instanceof Xe||r instanceof Xn||r instanceof Ct),T(r=>r instanceof wt||r instanceof Ct?Wn.COMPLETE:(r instanceof Xe?r.code===le.Redirect||r.code===le.SupersededByNewNavigation:!1)?Wn.REDIRECTING:Wn.FAILED),ve(r=>r!==Wn.REDIRECTING),je(1)).subscribe(()=>{t()})}function fw(e){throw e}var hw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Of=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(No),this.stateManager=p(Rf),this.options=p(au,{optional:!0})||{},this.pendingTasks=p(Mo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(sw),this.urlSerializer=p(tu),this.location=p(Bn),this.urlHandlingStrategy=p(cu),this._events=new q,this.errorHandler=this.options.errorHandler||fw,this.navigated=!1,this.routeReuseStrategy=p(uw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(uu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(ou,{optional:!0}),this.eventsSubscription=new V,this.isNgZoneEnabled=p(H)instanceof H&&H.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Xe&&o.code!==le.Redirect&&o.code!==le.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof wt)this.navigated=!0;else if(o instanceof tr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||aw(i.source)};this.scheduleNavigation(a,Yn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}mw(o)&&this._events.next(o)}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),Yn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=m({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,o,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(iu),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,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=gf(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return mf(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=on(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Yn,null,o)}navigate(n,o={skipLocationChange:!1}){return gw(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=m({},hw):o===!1?i=m({},pw):i=o,on(n))return Xd(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Xd(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return dw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function gw(e){for(let t=0;tr.\u0275providers)])}function yw(e){return e.routerState.root}function Dw(){let e=p(Fn);return t=>{let r=e.get($n);if(t!==r.components[0])return;let n=e.get(Of),o=e.get(ww);e.get(Cw)===1&&n.initialNavigation(),e.get(Iw,null,M.Optional)?.setUpPreloading(),e.get(vw,null,M.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var ww=new N("",{factory:()=>new q}),Cw=new N("",{providedIn:"root",factory:()=>1});var Iw=new N("");var Ff=[];var kf={providers:[Pf(Ff)]};function Ew(e,t){e&1&&(oe(0,"p"),ue(1,"\u0423\u0440\u0430! \u0422\u044B \u043E\u0442\u043A\u0440\u044B\u043B\u0430 \u0432\u0441\u0435 \u0441\u0443\u043D\u0434\u0443\u043A\u0438!"),ie())}function bw(e,t){e&1&&ue(0,"\u043E\u0432")}function Mw(e,t){e&1&&ue(0,"a")}function Sw(e,t){if(e&1&&(oe(0,"p"),ue(1,"\u0422\u044B \u043C\u043E\u0436\u0435\u0448\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C "),oe(2,"strong"),ue(3),ie(),ue(4," \u0441\u0443\u043D\u0434\u0443\u043A"),ft(5,bw,1,0)(6,Mw,1,0),ie()),e&2){let r=Vn();Ke(3),xo(r.availableToOpen),Ke(2),So(5,r.availableToOpen>=5?5:r.availableToOpen>1&&r.availableToOpen<5?6:-1)}}function Tw(e,t){if(e&1){let r=bd();oe(0,"li")(1,"div",2),To("click",function(){let o=ll(r).$implicit,i=Vn(2);return dl(i.openCheast(o))}),oe(2,"strong",3),ue(3),ie()(),oe(4,"div",4)(5,"span"),ue(6,"\u{1F512}"),ie(),oe(7,"div",5),ue(8),ie()()()}if(e&2){let r=t.$implicit,n=t.$index,o=Vn();Ke(),aa("opened",r.opened)("disabled",!r.opened&&o.availableToOpen===0),Ke(2),xo(n+1),Ke(5),_o(" ",o.countDown," ")}}function xw(e,t){if(e&1&&(oe(0,"header")(1,"div",0),ue(2,"\u2665\uFE0F"),ie(),oe(3,"h1"),ue(4,"\u0421 \u0414\u043D\u0435\u043C \u0420\u043E\u0436\u0434\u0435\u043D\u0438\u044F!"),ie(),oe(5,"p"),ue(6,"\u041A\u0430\u0436\u0434\u044B\u0439 \u0447\u0430\u0441 \u0432 \u0438\u0433\u0440\u0435 \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u043E\u0432\u044B\u0439 \u0441\u0443\u043D\u0434\u0443\u043A. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u043D\u0435\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044E, \u0433\u0434\u0435 \u0441\u043F\u0440\u044F\u0442\u0430\u043D \u0441\u044E\u0440\u043F\u0440\u0438\u0437!"),ie(),ft(7,Ew,2,0,"p")(8,Sw,7,2),ie(),jn(9,"h1"),oe(10,"ul",1),Id(11,Tw,9,6,"li",null,Cd),ie()),e&2){let r=t,n=Vn();Ke(7),So(7,r.openedItems>=n.cheasts.length?7:r.availableToOpen>0?8:-1),Ke(4),Ed(n.cheasts)}}var Lf=(()=>{let t=class t{constructor(){this.startDate=new Date("2024-08-20T05:00:00.000Z"),this.clickSubject=new q,this.cheasts=[{id:"1",opened:!1,date:this.startDate,title:"Title 1",text:"text 1"},{id:"2",opened:!1,date:this.startDate,title:"Title 2",text:"text 2"},{id:"3",opened:!1,date:new Date,title:"Title 3",text:"text 3"},{id:"4",opened:!1,date:new Date,title:"Title 4",text:"text 4"},{id:"5",opened:!1,date:new Date,title:"Title 5",text:"text 5"},{id:"6",opened:!1,date:new Date,title:"Title 6",text:"text 6"}],this.tick$=yi(this.clickSubject,vi(0,1e3)).pipe(T(()=>{let n=this.calculateAvailable()>this.cheasts.length?this.cheasts.length:this.calculateAvailable(),o=this.cheasts.filter(s=>s.opened).length,i=n-o;return{availableToOpen:i<0?0:i,openedItems:o,countDown:this.calculateCountDown(n)}}))}ngOnInit(){this.fillDatesNstatus()}openCheast(n){n.opened=!0;let i=this.cheasts.filter(s=>s.opened).map(s=>s.id);localStorage.setItem("openedCheasts",JSON.stringify(i)),this.clickSubject.next(null)}calculateAvailable(){let o=Math.floor((new Date().getTime()-this.startDate.getTime())/(60*60*1e3));return o>0?o:0}calculateCountDown(n){let o=new Date,i=this.cheasts[n]?.date.getTime()-o.getTime(),s=Math.floor(i%1e3/100),a=Math.floor(i/1e3%60),u=Math.floor(i/(1e3*60)%60),c=Math.floor(i/(1e3*60*60)%24);return c=c<10?"0"+c:c,u=u<10?"0"+u:u,a=a<10?"0"+a:a,c+":"+u+":"+a}fillDatesNstatus(){let n=JSON.parse(localStorage.getItem("openedCheasts")||"[]"),o=1;this.cheasts.forEach(i=>{let s=!!n.find(a=>a===i.id);i.date=new Date(this.startDate.getTime()+o*60*60*1e3),i.opened=s,o++})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ao({type:t,selectors:[["app-root"]],standalone:!0,features:[Ao],decls:2,vars:3,consts:[[1,"heart"],[1,"chests"],[1,"content",3,"click"],[1,"num"],[1,"lock"],[1,"countdown"]],template:function(o,i){if(o&1&&(ft(0,xw,13,1),Md(1,"async")),o&2){let s;So(0,(s=Sd(1,1,i.tick$))?0:-1,s)}},dependencies:[ga,Ud],styles:['[_nghost-%COMP%]{max-width:380px;margin:0 auto;display:block}header[_ngcontent-%COMP%]{padding:48px 30px 30px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#e95d00;font-size:32px;padding-bottom:28px;letter-spacing:-.2px}p[_ngcontent-%COMP%]{line-height:22px;letter-spacing:-.2px;padding-bottom:10px}.heart[_ngcontent-%COMP%]{font-size:64px;padding-bottom:32px;font-family:Roboto-Regular,sans-serif}.chests[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;padding:0 13px}.chests[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:50%;flex-basis:50%;position:relative}.chests[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding-top:143px;margin-bottom:33px;background:url("./media/chest-OFREJPXF.png") 50% 0 no-repeat;background-size:144px 144px}.chests[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .content.opened[_ngcontent-%COMP%]{background-image:url("./media/chest-open-C5URLUCI.png")}.chests[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .content.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}.chests[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .content.disabled[_ngcontent-%COMP%] + .lock[_ngcontent-%COMP%]{display:block}.chests[_ngcontent-%COMP%] .num[_ngcontent-%COMP%]{display:inline-block;background-color:#ffc240;border-radius:50%;width:42px;height:42px;line-height:40px;font-size:24px}.lock[_ngcontent-%COMP%]{display:none;position:absolute;top:0;left:0;width:100%}.lock[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:56px;padding:30px 0 7px;font-family:Roboto-Regular,sans-serif;display:block}.lock[_ngcontent-%COMP%] .countdown[_ngcontent-%COMP%]{display:inline-block;background-color:#95938a;color:#fff;font-family:OpenSans-Bold,Arial,sans-serif;font-size:12px;padding:4px 7px;border-radius:12px}']});let e=t;return e})();Kd(Lf,kf).catch(e=>console.error(e)); diff --git a/browser/main-TOUQBGGB.js b/browser/main-TOUQBGGB.js deleted file mode 100644 index abf826c..0000000 --- a/browser/main-TOUQBGGB.js +++ /dev/null @@ -1,171 +0,0 @@ -var df=Object.defineProperty,ff=Object.defineProperties;var hf=Object.getOwnPropertyDescriptors;var La=Object.getOwnPropertySymbols;var pf=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable;var ja=(e,t,n)=>t in e?df(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})pf.call(t,n)&&ja(e,n,t[n]);if(La)for(var n of La(t))gf.call(t,n)&&ja(e,n,t[n]);return e},L=(e,t)=>ff(e,hf(t));var Va=null;var ko=1,$a=Symbol("SIGNAL");function R(e){let t=Va;return Va=e,t}var Ua={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 mf(e){if(!(Vo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ko)){if(!e.producerMustRecompute(e)&&!Lo(e)){e.dirty=!1,e.lastCleanEpoch=ko;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ko}}function Ba(e){return e&&(e.nextProducerIndex=0),R(e)}function Ha(e,t){if(R(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Vo(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Lo(e){Zn(e);for(let t=0;t0}function Zn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function yf(){throw new Error}var Df=yf;function qa(e){Df=e}function D(e){return typeof e=="function"}function ht(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 Yn=ht(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Jt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof Yn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ga(i)}catch(s){t=t??[],s instanceof Yn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Yn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ga(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)&&Jt(n,t)}remove(t){let{_finalizers:n}=this;n&&Jt(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var $o=U.EMPTY;function Qn(e){return e instanceof U||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function Ga(e){D(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var pt={setTimeout(e,t,...n){let{delegate:r}=pt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=pt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Kn(e){pt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function Xt(){}var Wa=Uo("C",void 0,void 0);function Za(e){return Uo("E",void 0,e)}function Ya(e){return Uo("N",e,void 0)}function Uo(e,t,n){return{kind:e,value:t,error:n}}var Qe=null;function gt(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!Qe;if(t&&(Qe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qe;if(Qe=null,n)throw r}}else e()}function Qa(e){he.useDeprecatedSynchronousErrorHandling&&Qe&&(Qe.errorThrown=!0,Qe.error=e)}var Ke=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qn(t)&&t.add(this)):this.destination=If}static create(t,n,r){return new mt(t,n,r)}next(t){this.isStopped?Ho(Ya(t),this):this._next(t)}error(t){this.isStopped?Ho(Za(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ho(Wa,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()}}},wf=Function.prototype.bind;function Bo(e,t){return wf.call(e,t)}var zo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Jn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Jn(r)}else Jn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Jn(n)}}},mt=class extends Ke{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bo(t.next,i),error:t.error&&Bo(t.error,i),complete:t.complete&&Bo(t.complete,i)}):o=t}this.destination=new zo(o)}};function Jn(e){he.useDeprecatedSynchronousErrorHandling?Qa(e):Kn(e)}function Cf(e){throw e}function Ho(e,t){let{onStoppedNotification:n}=he;n&&pt.setTimeout(()=>n(e,t))}var If={closed:!0,next:Xt,error:Cf,complete:Xt};var vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function te(e){return e}function qo(...e){return Go(e)}function Go(e){return e.length===0?te:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=bf(n)?n:new mt(n,r,o);return gt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ka(r),new r((o,i)=>{let s=new mt({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[vt](){return this}pipe(...n){return Go(n)(this)}toPromise(n){return n=Ka(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ka(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Ef(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function bf(e){return e&&e instanceof Ke||Ef(e)&&Qn(e)}function Wo(e){return D(e?.lift)}function S(e){return t=>{if(Wo(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 T(e,t,n,r,o){return new Zo(e,t,n,r,o)}var Zo=class extends Ke{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function yt(){return S((e,t)=>{let n=null;e._refCount++;let r=T(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Dt=class extends P{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Wo(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 U;let n=this.getSubject();t.add(this.source.subscribe(T(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=U.EMPTY)}return t}refCount(){return yt()(this)}};var Ja=ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Xn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ja}next(n){gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gt(()=>{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(){gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?$o:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,Jt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new Xn(t,n),e})(),Xn=class extends Q{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:$o}};var G=class extends Q{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 ne=new P(e=>e.complete());function Xa(e){return e&&D(e.schedule)}function eu(e){return e[e.length-1]}function tu(e){return D(eu(e))?e.pop():void 0}function Le(e){return Xa(eu(e))?e.pop():void 0}function ru(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function nu(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 Je(e){return this instanceof Je?(this.v=e,this):new Je(e)}function ou(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(v){return Promise.resolve(v).then(f,d)}}function a(f,v){r[f]&&(o[f]=function(M){return new Promise(function($,k){i.push([f,M,$,k])>1||u(f,M)})},v&&(o[f]=v(o[f])))}function u(f,v){try{c(r[f](v))}catch(M){h(i[0][3],M)}}function c(f){f.value instanceof Je?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,v){f(v),i.shift(),i.length&&u(i[0][0],i[0][1])}}function iu(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 nu=="function"?nu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var er=e=>e&&typeof e.length=="number"&&typeof e!="function";function tr(e){return D(e?.then)}function nr(e){return D(e[vt])}function rr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function or(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 Mf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ir=Mf();function sr(e){return D(e?.[ir])}function ar(e){return ou(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Je(n.read());if(o)return yield Je(void 0);yield yield Je(r)}}finally{n.releaseLock()}})}function ur(e){return D(e?.getReader)}function q(e){if(e instanceof P)return e;if(e!=null){if(nr(e))return Sf(e);if(er(e))return Tf(e);if(tr(e))return xf(e);if(rr(e))return su(e);if(sr(e))return _f(e);if(ur(e))return Af(e)}throw or(e)}function Sf(e){return new P(t=>{let n=e[vt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tf(e){return new P(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kn)})}function _f(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function su(e){return new P(t=>{Nf(e,t).catch(n=>t.error(n))})}function Af(e){return su(ar(e))}function Nf(e,t){var n,r,o,i;return ru(this,void 0,void 0,function*(){try{for(n=iu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function X(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function cr(e,t=0){return S((n,r)=>{n.subscribe(T(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function lr(e,t=0){return S((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function au(e,t){return q(e).pipe(lr(t),cr(t))}function uu(e,t){return q(e).pipe(lr(t),cr(t))}function cu(e,t){return new P(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function lu(e,t){return new P(n=>{let r;return X(n,t,()=>{r=e[ir](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function dr(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function du(e,t){return dr(ar(e),t)}function fu(e,t){if(e!=null){if(nr(e))return au(e,t);if(er(e))return cu(e,t);if(tr(e))return uu(e,t);if(rr(e))return dr(e,t);if(sr(e))return lu(e,t);if(ur(e))return du(e,t)}throw or(e)}function B(e,t){return t?fu(e,t):q(e)}function w(...e){let t=Le(e);return B(e,t)}function wt(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new P(t?o=>t.schedule(r,0,o):r)}function Yo(e){return!!e&&(e instanceof P||D(e.lift)&&D(e.subscribe))}var _e=ht(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function x(e,t){return S((n,r)=>{let o=0;n.subscribe(T(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Rf}=Array;function Of(e,t){return Rf(t)?e(...t):e(t)}function hu(e){return x(t=>Of(e,t))}var{isArray:Pf}=Array,{getPrototypeOf:Ff,prototype:kf,keys:Lf}=Object;function pu(e){if(e.length===1){let t=e[0];if(Pf(t))return{args:t,keys:null};if(jf(t)){let n=Lf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function jf(e){return e&&typeof e=="object"&&Ff(e)===kf}function gu(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function fr(...e){let t=Le(e),n=tu(e),{args:r,keys:o}=pu(e);if(r.length===0)return B([],t);let i=new P(Vf(r,t,o?s=>gu(o,s):te));return n?i.pipe(hu(n)):i}function Vf(e,t,n=te){return r=>{mu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=B(e[u],t),l=!1;c.subscribe(T(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function mu(e,t,n){e?X(n,e,t):t()}function vu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,h=()=>{d&&!u.length&&!c&&t.complete()},f=M=>c{i&&t.next(M),c++;let $=!1;q(n(M,l++)).subscribe(T(t,k=>{o?.(k),i?f(k):t.next(k)},()=>{$=!0},void 0,()=>{if($)try{for(c--;u.length&&cv(k)):v(k)}h()}catch(k){t.error(k)}}))};return e.subscribe(T(t,f,()=>{d=!0,h()})),()=>{a?.()}}function H(e,t,n=1/0){return D(t)?H((r,o)=>x((i,s)=>t(r,i,o,s))(q(e(r,o))),n):(typeof t=="number"&&(n=t),S((r,o)=>vu(r,o,e,n)))}function Qo(e=1/0){return H(te,e)}function yu(){return Qo(1)}function Ct(...e){return yu()(B(e,Le(e)))}function hr(e){return new P(t=>{q(e()).subscribe(t)})}function pe(e,t){return S((n,r)=>{let o=0;n.subscribe(T(r,i=>e.call(t,i,o++)&&r.next(i)))})}function je(e){return S((t,n)=>{let r=null,o=!1,i;r=t.subscribe(T(n,void 0,void 0,s=>{i=q(e(s,je(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Du(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(T(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function It(e,t){return D(t)?H(e,t,1):H(e,1)}function Ve(e){return S((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ae(e){return e<=0?()=>ne:S((t,n)=>{let r=0;t.subscribe(T(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ko(e){return x(()=>e)}function pr(e=$f){return S((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function $f(){return new _e}function en(e){return S((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ie(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pe((o,i)=>e(o,i,r)):te,Ae(1),n?Ve(t):pr(()=>new _e))}function Et(e){return e<=0?()=>ne:S((t,n)=>{let r=[];t.subscribe(T(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Jo(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pe((o,i)=>e(o,i,r)):te,Et(1),n?Ve(t):pr(()=>new _e))}function Xo(e,t){return S(Du(e,t,arguments.length>=2,!0))}function ei(...e){let t=Le(e);return S((n,r)=>{(t?Ct(e,n,t):Ct(e,n)).subscribe(r)})}function ge(e,t){return S((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(T(r,u=>{o?.unsubscribe();let c=0,l=i++;q(e(u,l)).subscribe(o=T(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ti(e){return S((t,n)=>{q(e).subscribe(T(n,()=>n.complete(),Xt)),!n.closed&&t.subscribe(n)})}function W(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?S((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):te}var tc="https://g.co/ng/security#xss",y=class extends Error{constructor(t,n){super(Yi(t,n)),this.code=t}};function Yi(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Vr(e){return{toString:e}.toString()}var tn=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function re(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(re).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 wu(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Bf=F({__forward_ref__:F});function nc(e){return e.__forward_ref__=nc,e.toString=function(){return re(this())},e}function ue(e){return rc(e)?e():e}function rc(e){return typeof e=="function"&&e.hasOwnProperty(Bf)&&e.__forward_ref__===nc}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $r(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ur(e){return Cu(e,ic)||Cu(e,sc)}function oc(e){return Ur(e)!==null}function Cu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hf(e){let t=e&&(e[ic]||e[sc]);return t||null}function Iu(e){return e&&(e.hasOwnProperty(Eu)||e.hasOwnProperty(zf))?e[Eu]:null}var ic=F({\u0275prov:F}),Eu=F({\u0275inj:F}),sc=F({ngInjectableDef:F}),zf=F({ngInjectorDef:F}),_=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=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ac(e){return e&&!!e.\u0275providers}var qf=F({\u0275cmp:F}),Gf=F({\u0275dir:F}),Wf=F({\u0275pipe:F}),Zf=F({\u0275mod:F}),wr=F({\u0275fac:F}),nn=F({__NG_ELEMENT_ID__:F}),bu=F({__NG_ENV_ID__:F});function Qi(e){return typeof e=="string"?e:e==null?"":String(e)}function Yf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Qi(e)}function Qf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Ki(e,t){throw new y(-201,!1)}var E=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}(E||{}),hi;function uc(){return hi}function ae(e){let t=hi;return hi=e,t}function cc(e,t,n){let r=Ur(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;Ki(e,"Injector")}var Kf={},rn=Kf,Jf="__NG_DI_FLAG__",Cr="ngTempTokenPath",Xf="ngTokenPath",eh=/\n/gm,th="\u0275",Mu="__source",Tt;function nh(){return Tt}function $e(e){let t=Tt;return Tt=e,t}function rh(e,t=E.Default){if(Tt===void 0)throw new y(-203,!1);return Tt===null?cc(e,void 0,t):Tt.get(e,t&E.Optional?null:void 0,t)}function A(e,t=E.Default){return(uc()||rh)(ue(e),t)}function p(e,t=E.Default){return A(e,Br(t))}function Br(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):re(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(eh,` - `)}`}function At(e,t){let n=e.hasOwnProperty(wr);return n?e[wr]:null}function Ji(e,t){e.forEach(n=>Array.isArray(n)?Ji(n,t):t(n))}function lc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var on={},Ee=[],Nt=new _(""),dc=new _("",-1),fc=new _(""),Er=class{get(t,n=rn){if(n===rn){let r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}},hc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(hc||{}),Me=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Me||{}),He=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(He||{});function ah(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function gi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(me(r))return!1;s=!0}}}}return me(r)||s}function me(e){return(e&1)===0}function hh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!me(s)&&(t+=Tu(i,o),o=""),r=s,i=i||!me(r);n++}return o!==""&&(t+=Tu(i,o)),t}function yh(e){return e.map(vh).join(",")}function Dh(e){let t=[],n=[],r=1,o=2;for(;r{let t=Dc(e),n=L(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===hc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Me.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""});wc(n);let r=e.dependencies;return n.directiveDefs=_u(r,!1),n.pipeDefs=_u(r,!0),n.id=Ih(n),n})}function wh(e){return et(e)||gc(e)}function Ch(e){return e!==null}function zr(e){return Vr(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xu(e,t){if(e==null)return on;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=He.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==He.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ts(e){return Vr(()=>{let t=Dc(e);return wc(t),t})}function et(e){return e[qf]||null}function gc(e){return e[Gf]||null}function mc(e){return e[Wf]||null}function vc(e){let t=et(e)||gc(e)||mc(e);return t!==null?t.standalone:!1}function yc(e,t){let n=e[Zf]||null;if(!n&&t===!0)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}function Dc(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||on,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xu(e.inputs,t),outputs:xu(e.outputs),debugInfo:null}}function wc(e){e.features?.forEach(t=>t(e))}function _u(e,t){if(!e)return null;let n=t?mc:wh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Ch)}function Ih(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function qr(e){return{\u0275providers:e}}function Eh(...e){return{\u0275providers:Cc(!0,e),\u0275fromNgModule:!0}}function Cc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ji(t,s=>{let a=s;mi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ic(o,i),n}function Ic(e,t){for(let n=0;n{t(i,r)})}}function mi(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=Iu(e),s=!i&&et(e);if(!i&&!s){let u=e.ngModule;if(i=Iu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)mi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ji(i.imports,l=>{mi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Ic(c,t)}if(!a){let c=At(o)||(()=>new o);t({provide:o,useFactory:c,deps:Ee},o),t({provide:fc,useValue:o,multi:!0},o),t({provide:Nt,useValue:()=>A(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;ns(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function ns(e,t){for(let n of e)ac(n)&&(n=n.\u0275providers),Array.isArray(n)?ns(n,t):t(n)}var bh=F({provide:String,useValue:F});function Ec(e){return e!==null&&typeof e=="object"&&bh in e}function Mh(e){return!!(e&&e.useExisting)}function Sh(e){return!!(e&&e.useFactory)}function vi(e){return typeof e=="function"}var Gr=new _(""),gr={},Th={},ni;function rs(){return ni===void 0&&(ni=new Er),ni}var le=class{},sn=class extends le{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Di(t,s=>this.processProvider(s)),this.records.set(dc,bt(void 0,this)),o.has("environment")&&this.records.set(le,bt(void 0,this));let i=this.records.get(Gr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fc,Ee,E.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=R(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(),R(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=$e(this),r=ae(void 0),o;try{return t()}finally{$e(n),ae(r)}}get(t,n=rn,r=E.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(bu))return t[bu](this);r=Br(r);let o,i=$e(this),s=ae(void 0);try{if(!(r&E.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Oh(t)&&Ur(t);c&&this.injectableDefInScope(c)?u=bt(yi(t),gr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&E.Self?rs():this.parent;return n=r&E.Optional&&n===rn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Cr]=a[Cr]||[]).unshift(re(t)),i)throw a;return ih(a,t,"R3InjectorError",this.source)}else throw a}finally{ae(s),$e(i)}}resolveInjectorInitializers(){let t=R(null),n=$e(this),r=ae(void 0),o;try{let i=this.get(Nt,Ee,E.Self);for(let s of i)s()}finally{$e(n),ae(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=ue(t);let n=vi(t)?t:ue(t&&t.provide),r=_h(t);if(!vi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=bt(void 0,gr,!0),o.factory=()=>pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=R(null);try{return n.value===gr&&(n.value=Th,n.value=n.factory()),typeof n.value=="object"&&n.value&&Rh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(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 yi(e){let t=Ur(e),n=t!==null?t.factory:At(e);if(n!==null)return n;if(e instanceof _)throw new y(204,!1);if(e instanceof Function)return xh(e);throw new y(204,!1)}function xh(e){if(e.length>0)throw new y(204,!1);let n=Hf(e);return n!==null?()=>n.factory(e):()=>new e}function _h(e){if(Ec(e))return bt(void 0,e.useValue);{let t=Ah(e);return bt(t,gr)}}function Ah(e,t,n){let r;if(vi(e)){let o=ue(e);return At(o)||yi(o)}else if(Ec(e))r=()=>ue(e.useValue);else if(Sh(e))r=()=>e.useFactory(...pi(e.deps||[]));else if(Mh(e))r=()=>A(ue(e.useExisting));else{let o=ue(e&&(e.useClass||e.provide));if(Nh(e))r=()=>new o(...pi(e.deps));else return At(o)||yi(o)}return r}function bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nh(e){return!!e.deps}function Rh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Oh(e){return typeof e=="function"||typeof e=="object"&&e instanceof _}function Di(e,t){for(let n of e)Array.isArray(n)?Di(n,t):n&&ac(n)?Di(n.\u0275providers,t):t(n)}function it(e,t){e instanceof sn&&e.assertNotDestroyed();let n,r=$e(e),o=ae(void 0);try{return t()}finally{$e(r),ae(o)}}function Ph(){return uc()!==void 0||nh()!=null}function Fh(e){return typeof e=="function"}var Pe=0,b=1,m=2,Y=3,ye=4,Ce=5,an=6,Au=7,ce=8,Rt=9,De=10,oe=11,un=12,Nu=13,vn=14,we=15,Wr=16,Mt=17,Ot=18,Zr=19,bc=20,Be=21,ri=22,tt=23,Ne=25,Mc=1;var nt=7,br=8,Mr=9,K=10,os=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(os||{});function xt(e){return Array.isArray(e)&&typeof e[Mc]=="object"}function Fe(e){return Array.isArray(e)&&e[Mc]===!0}function Sc(e){return(e.flags&4)!==0}function Yr(e){return e.componentOffset>-1}function Tc(e){return(e.flags&1)===1}function yn(e){return!!e.template}function kh(e){return(e[m]&512)!==0}var wi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function xc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Qr(){return _c}function _c(e){return e.type.prototype.ngOnChanges&&(e.setInput=jh),Lh}Qr.ngInherit=!0;function Lh(){let e=Nc(this),t=e?.current;if(t){let n=e.previous;if(n===on)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jh(e,t,n,r,o){let i=this.declaredInputs[r],s=Nc(e)||Vh(e,{previous:on,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new wi(c&&c.currentValue,n,u===on),xc(e,t,o,n)}var Ac="__ngSimpleChanges__";function Nc(e){return e[Ac]||null}function Vh(e,t){return e[Ac]=t}var Ru=null;var Ue=function(e,t,n){Ru?.(e,t,n)},Rc="svg",$h="math",Uh=!1;function Bh(){return Uh}function Re(e){for(;Array.isArray(e);)e=e[Pe];return e}function Hh(e,t){return Re(t[e])}function Se(e,t){return Re(t[e.index])}function is(e,t){return e.data[t]}function kt(e,t){let n=t[e];return xt(n)?n:n[Pe]}function ss(e){return(e[m]&128)===128}function zh(e){return Fe(e[Y])}function Sr(e,t){return t==null?null:e[t]}function Oc(e){e[Mt]=0}function qh(e){e[m]&1024||(e[m]|=1024,ss(e)&&cn(e))}function as(e){return!!(e[m]&9216||e[tt]?.dirty)}function Ci(e){e[De].changeDetectionScheduler?.notify(1),as(e)?cn(e):e[m]&64&&(Bh()?(e[m]|=1024,cn(e)):e[De].changeDetectionScheduler?.notify())}function cn(e){e[De].changeDetectionScheduler?.notify();let t=ln(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!ss(t)));)t=ln(t)}function Pc(e,t){if((e[m]&256)===256)throw new y(911,!1);e[Be]===null&&(e[Be]=[]),e[Be].push(t)}function Gh(e,t){if(e[Be]===null)return;let n=e[Be].indexOf(t);n!==-1&&e[Be].splice(n,1)}function ln(e){let t=e[Y];return Fe(t)?t[Y]:t}var N={lFrame:Bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wh(){return N.lFrame.elementDepthCount}function Zh(){N.lFrame.elementDepthCount++}function Yh(){N.lFrame.elementDepthCount--}function Fc(){return N.bindingsEnabled}function Qh(){return N.skipHydrationRootTNode!==null}function Kh(e){return N.skipHydrationRootTNode===e}function Jh(){N.skipHydrationRootTNode=null}function V(){return N.lFrame.lView}function Lt(){return N.lFrame.tView}function qe(){let e=kc();for(;e!==null&&e.type===64;)e=e.parent;return e}function kc(){return N.lFrame.currentTNode}function Xh(){let e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Dn(e,t){let n=N.lFrame;n.currentTNode=e,n.isParent=t}function Lc(){return N.lFrame.isParent}function ep(){N.lFrame.isParent=!1}function jc(){let e=N.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tp(e){return N.lFrame.bindingIndex=e}function us(){return N.lFrame.bindingIndex++}function np(){return N.lFrame.inI18n}function rp(e,t){let n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ii(t)}function op(){return N.lFrame.currentDirectiveIndex}function Ii(e){N.lFrame.currentDirectiveIndex=e}function Vc(e){N.lFrame.currentQueryIndex=e}function ip(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function $c(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=ip(i),o===null||(i=i[vn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=N.lFrame=Uc();return r.currentTNode=t,r.lView=e,!0}function cs(e){let t=Uc(),n=e[b];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Uc(){let e=N.lFrame,t=e===null?null:e.child;return t===null?Bc(e):t}function Bc(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 Hc(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var zc=Hc;function ls(){let e=Hc();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 Kr(){return N.lFrame.selectedIndex}function rt(e){N.lFrame.selectedIndex=e}function sp(){let e=N.lFrame;return is(e.tView,e.selectedIndex)}function jt(){N.lFrame.currentNamespace=Rc}function wn(){ap()}function ap(){N.lFrame.currentNamespace=null}function up(){return N.lFrame.currentNamespace}var qc=!0;function ds(){return qc}function fs(e){qc=e}function cp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_c(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Mt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Ou(a,i)):Ou(a,i)}var _t=-1,dn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function dp(e){return e instanceof dn}function fp(e){return(e.flags&8)!==0}function hp(e){return(e.flags&16)!==0}function Wc(e){return e!==_t}function Tr(e){return e&32767}function pp(e){return e>>16}function xr(e,t){let n=pp(e),r=t;for(;n>0;)r=r[vn],n--;return r}var Ei=!0;function Pu(e){let t=Ei;return Ei=e,t}var gp=256,Zc=gp-1,Yc=5,mp=0,be={};function vp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(nn)&&(r=n[nn]),r==null&&(r=n[nn]=mp++);let o=r&Zc,i=1<>Yc)]|=i}function Qc(e,t){let n=Kc(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,ii(r.data,e),ii(t,null),ii(r.blueprint,null));let o=ps(e,t),i=e.injectorIndex;if(Wc(o)){let s=Tr(o),a=xr(o,t),u=a[b].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ii(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ps(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=nl(o),r===null)return _t;if(n++,o=o[vn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return _t}function yp(e,t,n){vp(e,t,n)}function Jc(e,t,n){if(n&E.Optional||e!==void 0)return e;Ki(t,"NodeInjector")}function Xc(e,t,n,r){if(n&E.Optional&&r===void 0&&(r=null),!(n&(E.Self|E.Host))){let o=e[Rt],i=ae(void 0);try{return o?o.get(t,r,n&E.Optional):cc(t,r,n&E.Optional)}finally{ae(i)}}return Jc(r,t,n)}function el(e,t,n,r=E.Default,o){if(e!==null){if(t[m]&2048&&!(r&E.Self)){let s=Ep(e,t,n,r,be);if(s!==be)return s}let i=tl(e,t,n,r,be);if(i!==be)return i}return Xc(t,n,r,o)}function tl(e,t,n,r,o){let i=Cp(n);if(typeof i=="function"){if(!$c(t,e,r))return r&E.Host?Jc(o,n,r):Xc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&E.Optional))Ki(n);else return s}finally{zc()}}else if(typeof i=="number"){let s=null,a=Kc(e,t),u=_t,c=r&E.Host?t[we][Ce]:null;for((a===-1||r&E.SkipSelf)&&(u=a===-1?ps(e,t):t[a+8],u===_t||!ku(r,!1)?a=-1:(s=t[b],a=Tr(u),t=xr(u,t)));a!==-1;){let l=t[b];if(Fu(i,a,l.data)){let d=Dp(a,t,n,s,r,c);if(d!==be)return d}u=t[a+8],u!==_t&&ku(r,t[b].data[a+8]===c)&&Fu(i,a,t)?(s=l,a=Tr(u),t=xr(u,t)):a=-1}}return o}function Dp(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],u=r==null?Yr(a)&&Ei:r!=s&&(a.type&3)!==0,c=o&E.Host&&i===a,l=wp(a,s,n,u,c);return l!==null?fn(t,s,l,a):be}function wp(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f=u&&v.type===n)return f}if(o){let f=s[u];if(f&&yn(f)&&f.type===n)return u}return null}function fn(e,t,n,r){let o=e[n],i=t.data;if(dp(o)){let s=o;s.resolving&&Qf(Yf(i[n]));let a=Pu(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ae(s.injectImpl):null,l=$c(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&cp(n,i[n],t)}finally{c!==null&&ae(c),Pu(a),s.resolving=!1,zc()}}return o}function Cp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(nn)?e[nn]:void 0;return typeof t=="number"?t>=0?t&Zc:Ip:t}function Fu(e,t,n){let r=1<>Yc)]&r)}function ku(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var Xe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return el(this._tNode,this._lView,t,Br(r),n)}};function Ip(){return new Xe(qe(),V())}function gs(e){return Vr(()=>{let t=e.prototype.constructor,n=t[wr]||bi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[wr]||bi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bi(e){return rc(e)?()=>{let t=bi(ue(e));return t&&t()}:At(e)}function Ep(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=tl(i,s,n,r|E.Self,be);if(a!==be)return a;let u=i.parent;if(!u){let c=s[bc];if(c){let l=c.get(n,be,r);if(l!==be)return l}u=nl(s),s=s[vn]}i=u}return o}function nl(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[Ce]:null}function Lu(e,t=null,n=null,r){let o=rl(e,t,n,r);return o.resolveInjectorInitializers(),o}function rl(e,t=null,n=null,r,o=new Set){let i=[n||Ee,Eh(e)];return r=r||(typeof e=="object"?void 0:re(e)),new sn(i,t||rs(),r||null,o)}var Cn=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Lu({name:""},o,r,"");{let i=r.name??"";return Lu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=rn,t.NULL=new Er,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>A(dc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var bp="ngOriginalError";function si(e){return e[bp]}var Oe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&si(t);for(;n&&si(n);)n=si(n);return n||null}},ol=new _("",{providedIn:"root",factory:()=>p(Oe).handleError.bind(void 0)}),il=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Mp,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Mi=class extends il{constructor(t){super(),this._lView=t}onDestroy(t){return Pc(this._lView,t),()=>Gh(this._lView,t)}};function Mp(){return new Mi(V())}function Sp(){return ms(qe(),V())}function ms(e,t){return new Jr(Se(e,t))}var Jr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Sp;let e=t;return e})();var Si=class extends Q{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Ph()&&(this.destroyRef=p(il,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ai(i),o&&(o=ai(o)),s&&(s=ai(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function ai(e){return t=>{setTimeout(e,void 0,t)}}var ve=Si;function sl(e){return(e.flags&128)===128}var al=new Map,Tp=0;function xp(){return Tp++}function _p(e){al.set(e[Zr],e)}function Ap(e){al.delete(e[Zr])}var ju="__ngContext__";function ot(e,t){xt(t)?(e[ju]=t[Zr],_p(t)):e[ju]=t}function ul(e){return ll(e[un])}function cl(e){return ll(e[ye])}function ll(e){for(;e!==null&&!Fe(e);)e=e[ye];return e}var Ti;function dl(e){Ti=e}function Np(){if(Ti!==void 0)return Ti;if(typeof document<"u")return document;throw new y(210,!1)}var vs=new _("",{providedIn:"root",factory:()=>Rp}),Rp="ng",ys=new _(""),Vt=new _("",{providedIn:"platform",factory:()=>"unknown"});var Ds=new _("",{providedIn:"root",factory:()=>Np().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Op="h",Pp="b";var Fp=()=>null;function ws(e,t,n=!1){return Fp(e,t,n)}var fl=!1,kp=new _("",{providedIn:"root",factory:()=>fl});var _r=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tc})`}};function Cs(e){return e instanceof _r?e.changingThisBreaksApplicationSecurity:e}function hl(e,t){let n=Lp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${tc})`)}return n===t}function Lp(e){return e instanceof _r&&e.getTypeName()||null}var jp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pl(e){return e=String(e),e.match(jp)?e:"unsafe:"+e}var Is=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}(Is||{});function gl(e){let t=Vp();return t?t.sanitize(Is.URL,e)||"":hl(e,"URL")?Cs(e):pl(Qi(e))}function Vp(){let e=V();return e&&e[De].sanitizer}function ml(e){return e instanceof Function?e():e}var st=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(st||{}),$p;function Es(e,t){return $p(e,t)}function St(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:xt(r)&&(s=!0,r=r[Pe]);let a=Re(r);e===0&&n!==null?o==null?wl(t,n,a):Ar(t,n,a,o||null,!0):e===1&&n!==null?Ar(t,n,a,o||null,!0):e===2?rg(t,a,s):e===3&&t.destroyNode(a),i!=null&&ig(t,e,i,n,o)}}function Up(e,t){return e.createText(t)}function Bp(e,t,n){e.setValue(t,n)}function vl(e,t,n){return e.createElement(t,n)}function Hp(e,t){yl(e,t),t[Pe]=null,t[Ce]=null}function zp(e,t,n,r,o,i){r[Pe]=o,r[Ce]=t,eo(e,r,n,1,o,i)}function yl(e,t){t[De].changeDetectionScheduler?.notify(1),eo(e,t,t[oe],2,null,null)}function qp(e){let t=e[un];if(!t)return ui(e[b],e);for(;t;){let n=null;if(xt(t))n=t[un];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)xt(t)&&ui(t[b],t),t=t[Y];t===null&&(t=e),xt(t)&&ui(t[b],t),n=t&&t[ye]}t=n}}function Gp(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][ye]=t),r0&&(e[n-1][ye]=r[ye]);let i=Ir(e,K+t);Hp(r[b],r);let s=i[Ot];s!==null&&s.detachView(i[b]),r[Y]=null,r[ye]=null,r[m]&=-129}return r}function Xr(e,t){if(!(t[m]&256)){let n=t[oe];n.destroyNode&&eo(e,t,n,3,null,null),qp(t)}}function ui(e,t){if(t[m]&256)return;let n=R(null);try{t[m]&=-129,t[m]|=256,t[tt]&&za(t[tt]),Yp(e,t),Zp(e,t),t[b].type===1&&t[oe].destroy();let r=t[Wr];if(r!==null&&Fe(t[Y])){r!==t[Y]&&Dl(r,t);let o=t[Ot];o!==null&&o.detachView(e)}Ap(t)}finally{R(n)}}function Zp(e,t){let n=e.cleanup,r=t[Au];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Au]=null);let o=t[Be];if(o!==null){t[Be]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Me.None||i===Me.Emulated)return null}return Se(r,n)}}function Ar(e,t,n,r,o){e.insertBefore(t,n,r,o)}function wl(e,t,n){e.appendChild(t,n)}function Vu(e,t,n,r,o){r!==null?Ar(e,t,n,r,o):wl(e,t,n)}function Jp(e,t,n,r){e.removeChild(t,n,r)}function bs(e,t){return e.parentNode(t)}function Xp(e,t){return e.nextSibling(t)}function eg(e,t,n){return ng(e,t,n)}function tg(e,t,n){return e.type&40?Se(e,n):null}var ng=tg,$u;function Ms(e,t,n,r){let o=Qp(e,r,t),i=t[oe],s=r.parent||t[Ce],a=eg(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uNe&&bl(e,t,Ne,!1),Ue(s?2:0,o),n(r,o)}finally{rt(i),Ue(s?3:1,o)}}function xl(e,t,n){if(Sc(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function hg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Uu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=He.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Bu(r,n,c,a,u):Bu(r,n,c,a)}return r}function Bu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function pg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function wg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Yr(n)&&Tg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Qc(n,t),ot(r,t);let s=n.initialInputs;for(let a=o;a{cn(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}}),Vl=100;function $l(e,t=!0,n=0){let r=e[De],o=r.rendererFactory,i=!1;i||o.begin?.();try{Bg(e,n)}catch(s){throw t&&Ag(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Bg(e,t){Ni(e,t);let n=0;for(;as(e);){if(n===Vl)throw new y(103,!1);n++,Ni(e,1)}}function Hg(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[De].inlineEffectRunner?.flush(),cs(t);let s=null,a=null;!i&&zg(e)&&(a=jg(t),s=Ba(a));try{Oc(t),tp(e.bindingStartIndex),n!==null&&Tl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&mr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&vr(t,d,0,null),oi(t,0)}if(qg(t),Ul(t,0),e.contentQueries!==null&&kl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&mr(t,d)}else{let d=e.contentHooks;d!==null&&vr(t,d,1),oi(t,1)}ag(e,t);let c=e.components;c!==null&&Hl(t,c,0);let l=e.viewQuery;if(l!==null&&Ai(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&mr(t,d)}else{let d=e.viewHooks;d!==null&&vr(t,d,2),oi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ri]){for(let d of t[ri])d();t[ri]=null}i||(t[m]&=-73)}catch(u){throw cn(t),u}finally{a!==null&&(Ha(a,s),$g(a)),ls()}}function zg(e){return e.type!==2}function Ul(e,t){for(let n=ul(e);n!==null;n=cl(n))for(let r=K;r-1&&(hn(t,r),Ir(n,r))}this._attachedToViewContainer=!1}Xr(this._lView[b],this._lView)}onDestroy(t){Pc(this._lView,t)}markForCheck(){zl(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Ci(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,$l(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,yl(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t,Ci(this._lView)}};var l1=new RegExp(`^(\\d+)*(${Pp}|${Op})*(.*)`);var Wg=()=>null;function Or(e,t){return Wg(e,t)}var Ri=class{},Oi=class{},Pr=class{};function Zg(e){let t=Error(`No component factory found for ${re(e)}.`);return t[Yg]=e,t}var Yg="ngComponent";var Pi=class{resolveComponentFactory(t){throw Zg(t)}},io=(()=>{let t=class t{};t.NULL=new Pi;let e=t;return e})(),pn=class{};var Qg=(()=>{let t=class t{};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),ci={};var Hu=new Set;function Rs(e){Hu.has(e)||(Hu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function zu(...e){}function Kg(){let e=typeof tn.requestAnimationFrame=="function",t=tn[e?"requestAnimationFrame":"setTimeout"],n=tn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var j=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ve(!1),this.onMicrotaskEmpty=new ve(!1),this.onStable=new ve(!1),this.onError=new ve(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Kg().nativeRequestAnimationFrame,em(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Jg,zu,zu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Jg={};function Os(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 Xg(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(tn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Fi(e),e.isCheckStableRunning=!0,Os(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Fi(e))}function em(e){let t=()=>{Xg(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(tm(a))return n.invokeTask(o,i,s,a);try{return qu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Gu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return qu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Gu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Fi(e),Os(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Fi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gu(e){e._nesting--,Os(e)}function tm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var ql=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ki(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Il(e,n,i.join(" "))}}function um(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=lm;let e=t;return e})();function lm(){let e=qe();return fm(e,V())}var dm=so,Gl=class extends dm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ms(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){let t=ps(this._hostTNode,this._hostLView);if(Wc(t)){let n=xr(t,this._hostLView),r=Tr(t),o=n[b].data[r+8];return new Xe(o,n)}else return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Zu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Or(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Nr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Fh(t),a;if(s)a=n;else{let v=n||{};a=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let u=s?t:new gn(et(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let M=(s?c:this.parentInjector).get(le,null);M&&(i=M)}let l=et(u.componentType??{}),d=Or(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,o,h,i);return this.insertImpl(f.hostView,a,Nr(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(zh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[Y],c=new Gl(u,u[Ce],u[Y]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ns(s,o,i,r),t.attachToViewContainerRef(),lc(li(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Zu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=hn(this._lContainer,n);r&&(Ir(li(this._lContainer),n),Xr(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=hn(this._lContainer,n);return r&&Ir(li(this._lContainer),n)!=null?new Pt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Zu(e){return e[br]}function li(e){return e[br]||(e[br]=[])}function fm(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Fl(r,t,null,e),t[e.index]=n,oo(t,n)),pm(n,t,e,r),new Gl(n,e,t)}function hm(e,t){let n=e[oe],r=n.createComment(""),o=Se(t,e),i=bs(n,o);return Ar(n,i,r,Xp(n,o),!1),r}var pm=vm,gm=()=>!1;function mm(e,t,n){return gm(e,t,n)}function vm(e,t,n,r){if(e[nt])return;let o;n.type&8?o=Re(r):o=hm(t,n),e[nt]=o}var ze=class{},mn=class{};var Vi=class extends ze{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fr(this);let o=yc(t);this._bootstrapComponents=ml(o.bootstrap),this._r3Injector=rl(t,n,[{provide:ze,useValue:this},{provide:io,useValue:this.componentFactoryResolver},...r],re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},$i=class extends mn{constructor(t){super(),this.moduleType=t}create(t){return new Vi(this.moduleType,t,[])}};var kr=class extends ze{constructor(t){super(),this.componentFactoryResolver=new Fr(this),this.instance=null;let n=new sn([...t.providers,{provide:ze,useValue:this},{provide:io,useValue:this.componentFactoryResolver}],t.parent||rs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ps(e,t,n=null){return new kr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ao=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new G(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wl(e,t,n){return e[t]=n}function Zl(e,t){return e[t]}function Ft(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Yu(e,t,n,r){let o=Ft(e,t,n);return Ft(e,t+1,r)||o}function ym(e,t,n,r,o,i){let s=Yu(e,t,n,r);return Yu(e,t+2,o,i)||s}function Dm(e){return(e.flags&32)===32}function wm(e,t,n,r,o,i,s,a,u){let c=t.consts,l=ro(t,e,4,s||null,Sr(c,a));Rl(t,n,l,Sr(c,u)),hs(t,l);let d=l.tView=xs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Ui(e,t,n,r,o,i,s,a){let u=V(),c=Lt(),l=e+Ne,d=c.firstCreatePass?wm(l,c,u,t,n,r,o,i,s):c.data[l];Dn(d,!1);let h=Cm(c,u,d,e);ds()&&Ms(c,u,h,d),ot(h,u);let f=Fl(h,u,h,d);return u[l]=f,oo(u,f),mm(f,d,u),Tc(d)&&_l(c,u,d),s!=null&&Al(u,d,a),Ui}var Cm=Im;function Im(e,t,n,r){return fs(!0),t[oe].createComment("")}function Em(e,t,n,r){return Ft(e,us(),n)?t+Qi(n)+r:In}function Fs(e,t,n){let r=V(),o=us();if(Ft(r,o,t)){let i=Lt(),s=sp();mg(i,s,r,e,t,r[oe],n,!1)}return Fs}function Qu(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";_s(e,n,i[s],s,r)}var Bi=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function di(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bm(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=di(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),h=t[a],f=di(s,d,a,h,n);if(f!==0){f<0&&e.updateValue(s,h),s--,a--;continue}let v=n(i,u),M=n(s,d),$=n(i,c);if(Object.is($,M)){let k=n(a,h);Object.is(k,v)?(e.swap(i,s),e.updateValue(s,h),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new Lr,o??=Ju(e,i,s,n),Hi(e,r,i,$))e.updateValue(i,c),i++,s++;else if(o.has($))r.set(v,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=a;)Ku(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=di(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new Lr,o??=Ju(e,i,s,n);let h=n(i,l);if(Hi(e,r,i,h))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(h))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)Ku(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Hi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ku(e,t,n,r,o){if(Hi(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ju(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Lr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var zi=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-K}};var qi=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Yl(e,t,n,r,o,i,s,a,u,c,l,d,h){Rs("NgControlFlow");let f=u!==void 0,v=V(),M=a?s.bind(v[we][ce]):s,$=new qi(f,M);v[Ne+e]=$,Ui(e+1,t,n,r,o,i),f&&Ui(e+2,u,c,l,d,h)}var Gi=class extends Bi{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-K}at(t){return this.getLView(t)[ce].$implicit}attach(t,n){let r=n[an];this.needsIndexUpdate||=t!==this.length,Ns(this.lContainer,n,t,Nr(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Mm(this.lContainer,t)}create(t,n){let r=Or(this.lContainer,this.templateTNode.tView.ssrId);return Ll(this.hostLView,this.templateTNode,new zi(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xr(t[b],t)}updateValue(t,n){this.getLView(t)[ce].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(fs(!0),vl(r,o,up()));var jr="en-US";var _m=jr;function Am(e){typeof e=="string"&&(_m=e.toLowerCase().replace(/_/g,"-"))}function uo(e,t=""){let n=V(),r=Lt(),o=e+Ne,i=r.firstCreatePass?ro(r,o,1,t,null):r.data[o],s=Nm(r,n,i,t,e);n[o]=s,ds()&&Ms(r,n,s,i),Dn(i,!1)}var Nm=(e,t,n,r,o)=>(fs(!0),Up(t[oe],r));function ks(e){return co("",e,""),ks}function co(e,t,n){let r=V(),o=Em(r,e,t,n);return o!==In&&Ng(r,Kr(),o),co}var Rm=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Cc(!1,r.type),i=o.length>0?Ps([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(A(le))});let e=t;return e})();function lo(e){Rs("NgStandalone"),e.getStandaloneInjector=t=>t.get(Rm).getOrCreateStandaloneInjector(e)}function $t(e,t,n){let r=jc()+e,o=V();return o[r]===In?Wl(o,r,n?t.call(n):t()):Zl(o,r)}function Kl(e,t,n,r,o,i,s,a){let u=jc()+e,c=V(),l=ym(c,u,n,r,o,i);return Ft(c,u+4,s)||l?Wl(c,u+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Zl(c,u+5)}var fo=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Jl=new _("");function En(e){return!!e&&typeof e.then=="function"}function Xl(e){return!!e&&typeof e.subscribe=="function"}var ed=new _(""),td=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(ed,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(En(s))r.push(s);else if(Xl(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ls=new _("");function Om(){qa(()=>{throw new y(600,!1)})}function Pm(e){return e.isBoundToModule}function Fm(e,t,n){try{let r=n();return En(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var bn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(ol),this.afterRenderEffectManager=p(ql),this.externalTestViews=new Set,this.beforeRender=new Q,this.afterTick=new Q,this.componentTypes=[],this.components=[],this.isStable=p(ao).hasPendingTasks.pipe(x(r=>!r)),this._injector=p(le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Pr;if(!this._injector.get(td).done){let f=!i&&vc(r),v=!1;throw new y(405,v)}let a;i?a=r:a=this._injector.get(io).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Pm(a)?void 0:this._injector.get(ze),c=o||a.selector,l=a.create(Cn.NULL,[],c,u),d=l.location.nativeElement,h=l.injector.get(Jl,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),fi(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,R(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Vl)throw new y(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)km(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Wi(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Wi(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;fi(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Ls,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>fi(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function fi(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function km(e,t,n){!t&&!Wi(e)||Lm(e,n,t)}function Wi(e){return as(e)}function Lm(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,$l(e,t,r)}var Zi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},js=(()=>{let t=class t{compileModuleSync(r){return new $i(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=yc(r),s=ml(i.declarations).reduce((a,u)=>{let c=et(u);return c&&a.push(new gn(c)),a},[]);return new Zi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var jm=(()=>{let t=class t{constructor(){this.zone=p(j),this.applicationRef=p(bn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Vm(e){return[{provide:j,useFactory:e},{provide:Nt,multi:!0,useFactory:()=>{let t=p(jm,{optional:!0});return()=>t.initialize()}},{provide:Nt,multi:!0,useFactory:()=>{let t=p(Hm);return()=>{t.initialize()}}},{provide:ol,useFactory:$m}]}function $m(){let e=p(j),t=p(Oe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Um(e){let t=Vm(()=>new j(Bm(e)));return qr([[],t])}function Bm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Hm=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=p(j),this.pendingTasks=p(ao)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function zm(){return typeof $localize<"u"&&$localize.locale||jr}var Vs=new _("",{providedIn:"root",factory:()=>p(Vs,E.Optional|E.SkipSelf)||zm()});var nd=new _("");var Dr=null;function qm(e=[],t){return Cn.create({name:t,providers:[{provide:Gr,useValue:"platform"},{provide:nd,useValue:new Set([()=>Dr=null])},...e]})}function Gm(e=[]){if(Dr)return Dr;let t=qm(e);return Dr=t,Om(),Wm(t),t}function Wm(e){e.get(ys,null)?.forEach(n=>n())}var Mn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Zm;let e=t;return e})();function Zm(e){return Ym(qe(),V(),(e&16)===16)}function Ym(e,t,n){if(Yr(e)&&!n){let r=kt(e.index,t);return new Pt(r,r)}else if(e.type&47){let r=t[we];return new Pt(r,t)}return null}function rd(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Gm(r),i=[Um(),...n||[]],a=new kr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(j);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Oe,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),h=o.get(nd);return h.add(d),a.onDestroy(()=>{l.unsubscribe(),h.delete(d)}),Fm(c,u,()=>{let f=a.get(td);return f.runInitializers(),f.donePromise.then(()=>{let v=a.get(Vs,jr);Am(v||jr);let M=a.get(bn);return t!==void 0&&M.bootstrap(t),M})})})}catch(t){return Promise.reject(t)}}var ud=null;function Ut(){return ud}function cd(e){ud??=e}var po=class{};var de=new _(""),ld=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Xm),providedIn:"platform"});let e=t;return e})();var Xm=(()=>{let t=class t extends ld{constructor(){super(),this._doc=p(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ut().getBaseHref(this._doc)}onPopState(r){let o=Ut().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Ut().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function dd(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 od(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 at(e){return e&&e[0]!=="?"?"?"+e:e}var mo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(fd),providedIn:"root"});let e=t;return e})(),ev=new _(""),fd=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return dd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+at(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(A(ld),A(ev,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Sn=(()=>{let t=class t{constructor(r){this._subject=new ve,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=rv(od(id(o))),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(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+at(o))}normalize(r){return t.stripTrailingSlash(nv(this._basePath,id(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=at,t.joinWithSlash=dd,t.stripTrailingSlash=od,t.\u0275fac=function(o){return new(o||t)(A(mo))},t.\u0275prov=C({token:t,factory:()=>tv(),providedIn:"root"});let e=t;return e})();function tv(){return new Sn(A(mo))}function nv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function id(e){return e.replace(/\/index.html$/,"")}function rv(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function hd(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $s=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=zr({type:t}),t.\u0275inj=$r({});let e=t;return e})(),pd="browser",ov="server";function Us(e){return e===ov}var go=class{};var zs=class extends po{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qs=class e extends zs{static makeCurrent(){cd(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=sv();return n==null?null:av(n)}resetBaseElement(){Tn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return hd(document.cookie,t)}},Tn=null;function sv(){return Tn=Tn||document.querySelector("base"),Tn?Tn.getAttribute("href"):null}function av(e){return new URL(e,document.baseURI).pathname}var uv=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Gs=new _(""),yd=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(A(Gs),A(j))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),vo=class{constructor(t){this._doc=t}},Bs="ng-app-id",Dd=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Us(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Bs}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Bs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Bs,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(A(de),A(vs),A(Ds,8),A(Vt))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Hs={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Zs=/%COMP%/g,wd="%COMP%",cv=`_nghost-${wd}`,lv=`_ngcontent-${wd}`,dv=!0,fv=new _("",{providedIn:"root",factory:()=>dv});function hv(e){return lv.replace(Zs,e)}function pv(e){return cv.replace(Zs,e)}function Cd(e,t){return t.map(n=>n.replace(Zs,e))}var gd=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Us(u),this.defaultRenderer=new xn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Me.ShadowDom&&(o=L(g({},o),{encapsulation:Me.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof yo?i.applyToHost(r):i instanceof _n&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case Me.Emulated:s=new yo(c,l,o,this.appId,d,a,u,h);break;case Me.ShadowDom:return new Ws(c,l,r,o,a,u,this.nonce,h);default:s=new _n(c,l,o,d,a,u,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(A(yd),A(Dd),A(vs),A(fv),A(de),A(Vt),A(j),A(Ds))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),xn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Hs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(md(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(md(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Hs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Hs[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(st.DashCase|st.Important)?t.style.setProperty(n,r,o&st.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&st.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=Ut().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 md(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ws=class extends xn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Cd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_n=class extends xn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Cd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},yo=class extends _n{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=hv(c),this.hostAttr=pv(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}},gv=(()=>{let t=class t extends vo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(A(de))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),vd=["alt","control","meta","shift"],mv={"\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"},vv={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},yv=(()=>{let t=class t extends vo{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ut().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),vd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=mv[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),vd.forEach(a=>{if(a!==i){let u=vv[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(A(de))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function Id(e,t){return rd(g({rootComponent:e},Dv(t)))}function Dv(e){return{appProviders:[...bv,...e?.providers??[]],platformProviders:Ev}}function wv(){qs.makeCurrent()}function Cv(){return new Oe}function Iv(){return dl(document),document}var Ev=[{provide:Vt,useValue:pd},{provide:ys,useValue:wv,multi:!0},{provide:de,useFactory:Iv,deps:[]}];var bv=[{provide:Gr,useValue:"root"},{provide:Oe,useFactory:Cv,deps:[]},{provide:Gs,useClass:gv,multi:!0,deps:[de,j,Vt]},{provide:Gs,useClass:yv,multi:!0,deps:[de]},gd,Dd,yd,{provide:pn,useExisting:gd},{provide:go,useClass:uv,deps:[]},[]];var Ed=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(A(de))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var I="primary",zn=Symbol("RouteTitle"),Xs=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 Gt(e){return new Xs(e)}function Sv(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function Ad(e){return e.length>0?e[e.length-1]:null}function Ze(e){return Yo(e)?e:En(e)?B(Promise.resolve(e)):w(e)}var xv={exact:Rd,subset:Od},Nd={exact:_v,subset:Av,ignored:()=>!0};function bd(e,t,n){return xv[n.paths](e.root,t.root,n.matrixParams)&&Nd[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function _v(e,t){return Te(e,t)}function Rd(e,t,n){if(!ct(e.segments,t.segments)||!Co(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Rd(e.children[r],t.children[r],n))return!1;return!0}function Av(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>_d(e[n],t[n]))}function Od(e,t,n){return Pd(e,t,t.segments,n)}function Pd(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!ct(o,n)||t.hasChildren()||!Co(o,n,r))}else if(e.segments.length===n.length){if(!ct(e.segments,n)||!Co(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Od(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!ct(e.segments,o)||!Co(e.segments,o,r)||!e.children[I]?!1:Pd(e.children[I],t,i,r)}}function Co(e,t,n){return t.every((r,o)=>Nd[n](e[o].parameters,r.parameters))}var Ge=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Gt(this.queryParams),this._queryParamMap}toString(){return Ov.serialize(this)}},O=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 Io(this)}},ut=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Gt(this.parameters),this._parameterMap}toString(){return kd(this)}};function Nv(e,t){return ct(e,t)&&e.every((n,r)=>Te(n.parameters,t[r].parameters))}function ct(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Rv(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===I&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==I&&(n=n.concat(t(o,r)))}),n}var Sa=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new bo,providedIn:"root"});let e=t;return e})(),bo=class{parse(t){let n=new na(t);return new Ge(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${An(t.root,!0)}`,r=kv(t.queryParams),o=typeof t.fragment=="string"?`#${Pv(t.fragment)}`:"";return`${n}${r}${o}`}},Ov=new bo;function Io(e){return e.segments.map(t=>kd(t)).join("/")}function An(e,t){if(!e.hasChildren())return Io(e);if(t){let n=e.children[I]?An(e.children[I],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==I&&r.push(`${o}:${An(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Rv(e,(r,o)=>o===I?[An(e.children[I],!1)]:[`${o}:${An(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[I]!=null?`${Io(e)}/${n[0]}`:`${Io(e)}/(${n.join("//")})`}}function Fd(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Do(e){return Fd(e).replace(/%3B/gi,";")}function Pv(e){return encodeURI(e)}function ta(e){return Fd(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Eo(e){return decodeURIComponent(e)}function Md(e){return Eo(e.replace(/\+/g,"%20"))}function kd(e){return`${ta(e.path)}${Fv(e.parameters)}`}function Fv(e){return Object.entries(e).map(([t,n])=>`;${ta(t)}=${ta(n)}`).join("")}function kv(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Do(n)}=${Do(o)}`).join("&"):`${Do(n)}=${Do(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Lv=/^[^\/()?;#]+/;function Ys(e){let t=e.match(Lv);return t?t[0]:""}var jv=/^[^\/()?;=#]+/;function Vv(e){let t=e.match(jv);return t?t[0]:""}var $v=/^[^=?&#]+/;function Uv(e){let t=e.match($v);return t?t[0]:""}var Bv=/^[^&#]+/;function Hv(e){let t=e.match(Bv);return t?t[0]:""}var na=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],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[I]=new O(t,n)),r}parseSegment(){let t=Ys(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new ut(Eo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=Vv(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ys(this.remaining);o&&(r=o,this.capture(r))}t[Eo(n)]=Eo(r)}parseQueryParam(t){let n=Uv(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Hv(this.remaining);s&&(r=s,this.capture(r))}let o=Md(n),i=Md(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ys(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=I);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[I]:new O([],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 y(4011,!1)}};function Ld(e){return e.segments.length>0?new O([],{[I]:e}):e}function jd(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=jd(o);if(r===I&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new O(e.segments,t);return zv(n)}function zv(e){if(e.numberOfChildren===1&&e.children[I]){let t=e.children[I];return new O(e.segments.concat(t.segments),t.children)}return e}function Wt(e){return e instanceof Ge}function qv(e,t,n=null,r=null){let o=Vd(e);return $d(o,t,n,r)}function Vd(e){let t;function n(i){let s={};for(let u of i.children){let c=n(u);s[u.outlet]=c}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Ld(r);return t??o}function $d(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Qs(o,o,o,n,r);let i=Gv(t);if(i.toRoot())return Qs(o,o,new O([],{}),n,r);let s=Wv(i,o,e),a=s.processChildren?On(s.segmentGroup,s.index,i.commands):Bd(s.segmentGroup,s.index,i.commands);return Qs(o,s.segmentGroup,a,n,r)}function Mo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function kn(e){return typeof e=="object"&&e!=null&&e.outlets}function Qs(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=Ud(e,t,n);let a=Ld(jd(s));return new Ge(a,i,o)}function Ud(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Ud(i,t,n)}),new O(e.segments,r)}var So=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Mo(r[0]))throw new y(4003,!1);let o=r.find(kn);if(o&&o!==Ad(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Gv(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new So(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new So(n,t,r)}var zt=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Wv(e,t,n){if(e.isAbsolute)return new zt(t,!0,0);if(!n)return new zt(t,!1,NaN);if(n.parent===null)return new zt(n,!0,0);let r=Mo(e.commands[0])?0:1,o=n.segments.length-1+r;return Zv(n,o,e.numberOfDoubleDots)}function Zv(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new zt(r,!1,o-i)}function Yv(e){return kn(e[0])?e[0].outlets:{[I]:e}}function Bd(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return On(e,t,n);let r=Qv(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==I)&&e.children[I]&&e.numberOfChildren===1&&e.children[I].segments.length===0){let i=On(e.children[I],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Bd(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function Qv(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(kn(a))break;let u=`${a}`,c=r0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Td(u,c,s))return i;r+=2}else{if(!Td(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function ra(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=ra(new O([],{}),0,r))}),t}function Sd(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Td(e,t,n){return e==n.path&&Te(t,n.parameters)}var Pn="imperative",Z=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}(Z||{}),fe=class{constructor(t,n){this.id=t,this.url=n}},Ln=class extends fe{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Z.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},lt=class extends fe{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Z.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},se=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(se||{}),oa=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(oa||{}),We=class extends fe{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},dt=class extends fe{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Z.NavigationSkipped}},jn=class extends fe{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Z.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},To=class extends fe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ia=class extends fe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sa=class extends fe{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Z.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},aa=class extends fe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ua=class extends fe{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Z.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ca=class{constructor(t){this.route=t,this.type=Z.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},la=class{constructor(t){this.route=t,this.type=Z.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},da=class{constructor(t){this.snapshot=t,this.type=Z.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fa=class{constructor(t){this.snapshot=t,this.type=Z.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ha=class{constructor(t){this.snapshot=t,this.type=Z.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pa=class{constructor(t){this.snapshot=t,this.type=Z.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Vn=class{},$n=class{constructor(t){this.url=t}};var ga=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Oo,this.attachRef=null}},Oo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new ga,this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),xo=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=ma(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=ma(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=va(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return va(t,this._root).map(n=>n.value)}};function ma(e,t){if(e===t.value)return t;for(let n of t.children){let r=ma(e,n);if(r)return r}return null}function va(e,t){if(e===t.value)return[t];for(let n of t.children){let r=va(e,n);if(r.length)return r.unshift(t),r}return[]}var ie=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Ht(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var _o=class extends xo{constructor(t,n){super(t),this.snapshot=n,xa(this,t)}toString(){return this.snapshot.toString()}};function Hd(e){let t=Jv(e),n=new G([new ut("",{})]),r=new G({}),o=new G({}),i=new G({}),s=new G(""),a=new Zt(n,r,i,s,o,I,e,t.root);return a.snapshot=t.root,new _o(new ie(a,[]),t)}function Jv(e){let t={},n={},r={},o="",i=new Un([],t,r,o,n,I,e,null,{});return new Ao("",new ie(i,[]))}var Zt=class{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(x(c=>c[zn]))??w(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>Gt(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>Gt(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ta(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&qd(o)&&(r.resolve[zn]=o.title),r}var Un=class{get title(){return this.data?.[zn]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=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??=Gt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Gt(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}')`}},Ao=class extends xo{constructor(t,n){super(n),this.url=t,xa(this,n)}toString(){return zd(this._root)}};function xa(e,t){t.value._routerState=e,t.children.forEach(n=>xa(e,n))}function zd(e){let t=e.children.length>0?` { ${e.children.map(zd).join(", ")} } `:"";return`${e.value}${t}`}function Ks(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Te(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Te(t.params,n.params)||e.paramsSubject.next(n.params),Tv(t.url,n.url)||e.urlSubject.next(n.url),Te(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ya(e,t){let n=Te(e.params,t.params)&&Nv(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||ya(e.parent,t.parent))}function qd(e){return typeof e.title=="string"||e.title===null}var _a=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=I,this.activateEvents=new ve,this.deactivateEvents=new ve,this.attachEvents=new ve,this.detachEvents=new ve,this.parentContexts=p(Oo),this.location=p(so),this.changeDetector=p(Mn),this.environmentInjector=p(le),this.inputBinder=p(Aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.name;if(o)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(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.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 r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Da(r,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=ts({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Qr]});let e=t;return e})(),Da=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===Zt?this.route:t===Oo?this.childContexts:this.parent.get(t,n)}},Aa=new _("");function Xv(e,t,n){let r=Bn(e,t._root,n?n._root:void 0);return new _o(r,t)}function Bn(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=ey(e,t,n);return new ie(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Bn(e,a)),s}}let r=ty(t.value),o=t.children.map(i=>Bn(e,i));return new ie(r,o)}}function ey(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Bn(e,r,o);return Bn(e,r)})}function ty(e){return new Zt(new G(e.url),new G(e.params),new G(e.queryParams),new G(e.fragment),new G(e.data),e.outlet,e.component,e)}var Gd="ngNavigationCancelingError";function Wd(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Wt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Zd(!1,se.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Zd(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Gd]=!0,n.cancellationCode=t,n}function ny(e){return Yd(e)&&Wt(e.url)}function Yd(e){return!!e&&e[Gd]}var ry=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Hr({type:t,selectors:[["ng-component"]],standalone:!0,features:[lo],decls:1,vars:0,template:function(o,i){o&1&&ee(0,"router-outlet")},dependencies:[_a],encapsulation:2});let e=t;return e})();function oy(e,t){return e.providers&&!e._injector&&(e._injector=Ps(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Na(e){let t=e.children&&e.children.map(Na),n=t?L(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==I&&(n.component=ry),n}function xe(e){return e.outlet||I}function iy(e,t){let n=e.filter(r=>xe(r)===t);return n.push(...e.filter(r=>xe(r)!==t)),n}function qn(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 sy=(e,t,n,r)=>x(o=>(new wa(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),wa=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Ks(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Ht(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Ht(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);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),o=r&&t.value.component?r.children:n,i=Ht(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Ht(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new pa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new fa(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Ks(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ks(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=qn(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},No=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},qt=class{constructor(t,n){this.component=t,this.route=n}};function ay(e,t,n){let r=e._root,o=t?t._root:null;return Nn(r,o,n,[r.value])}function uy(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Qt(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!oc(e)?e:t.get(e):r}function Nn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ht(t);return e.children.forEach(s=>{cy(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Fn(a,n.getContext(s),o)),o}function cy(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=ly(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new No(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Nn(e,t,a?a.children:null,r,o):Nn(e,t,n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new qt(a.outlet.component,s))}else s&&Fn(t,a,o),o.canActivateChecks.push(new No(r)),i.component?Nn(e,null,a?a.children:null,r,o):Nn(e,null,n,r,o);return o}function ly(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!ct(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ct(e.url,t.url)||!Te(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ya(e,t)||!Te(e.queryParams,t.queryParams);case"paramsChange":default:return!ya(e,t)}}function Fn(e,t,n){let r=Ht(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Fn(s,t.children.getContext(i),n):Fn(s,null,n):Fn(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new qt(t.outlet.component,o)):n.canDeactivateChecks.push(new qt(null,o)):n.canDeactivateChecks.push(new qt(null,o))}function Gn(e){return typeof e=="function"}function dy(e){return typeof e=="boolean"}function fy(e){return e&&Gn(e.canLoad)}function hy(e){return e&&Gn(e.canActivate)}function py(e){return e&&Gn(e.canActivateChild)}function gy(e){return e&&Gn(e.canDeactivate)}function my(e){return e&&Gn(e.canMatch)}function Qd(e){return e instanceof _e||e?.name==="EmptyError"}var wo=Symbol("INITIAL_VALUE");function Yt(){return ge(e=>fr(e.map(t=>t.pipe(Ae(1),ei(wo)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===wo)return wo;if(n===!1||n instanceof Ge)return n}return!0}),pe(t=>t!==wo),Ae(1)))}function vy(e,t){return H(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?w(L(g({},n),{guardsResult:!0})):yy(s,r,o,e).pipe(H(a=>a&&dy(a)?Dy(r,i,e,t):w(a)),x(a=>L(g({},n),{guardsResult:a})))})}function yy(e,t,n,r){return B(e).pipe(H(o=>by(o.component,o.route,n,t,r)),Ie(o=>o!==!0,!0))}function Dy(e,t,n,r){return B(t).pipe(It(o=>Ct(Cy(o.route.parent,r),wy(o.route,r),Ey(e,o.path,n),Iy(e,o.route,n))),Ie(o=>o!==!0,!0))}function wy(e,t){return e!==null&&t&&t(new ha(e)),w(!0)}function Cy(e,t){return e!==null&&t&&t(new da(e)),w(!0)}function Iy(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return w(!0);let o=r.map(i=>hr(()=>{let s=qn(t)??n,a=Qt(i,s),u=hy(a)?a.canActivate(t,e):it(s,()=>a(t,e));return Ze(u).pipe(Ie())}));return w(o).pipe(Yt())}function Ey(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>uy(s)).filter(s=>s!==null).map(s=>hr(()=>{let a=s.guards.map(u=>{let c=qn(s.node)??n,l=Qt(u,c),d=py(l)?l.canActivateChild(r,e):it(c,()=>l(r,e));return Ze(d).pipe(Ie())});return w(a).pipe(Yt())}));return w(i).pipe(Yt())}function by(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return w(!0);let s=i.map(a=>{let u=qn(t)??o,c=Qt(a,u),l=gy(c)?c.canDeactivate(e,t,n,r):it(u,()=>c(e,t,n,r));return Ze(l).pipe(Ie())});return w(s).pipe(Yt())}function My(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return w(!0);let i=o.map(s=>{let a=Qt(s,e),u=fy(a)?a.canLoad(t,n):it(e,()=>a(t,n));return Ze(u)});return w(i).pipe(Yt(),Kd(r))}function Kd(e){return qo(W(t=>{if(Wt(t))throw Wd(e,t)}),x(t=>t===!0))}function Sy(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return w(!0);let i=o.map(s=>{let a=Qt(s,e),u=my(a)?a.canMatch(t,n):it(e,()=>a(t,n));return Ze(u)});return w(i).pipe(Yt(),Kd(r))}var Hn=class{constructor(t){this.segmentGroup=t||null}},Ro=class extends Error{constructor(t){super(),this.urlTree=t}};function Bt(e){return wt(new Hn(e))}function Ty(e){return wt(new y(4e3,!1))}function xy(e){return wt(Zd(!1,se.GuardRejected))}var Ca=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return w(r);if(o.numberOfChildren>1||!o.children[I])return Ty(t.redirectTo);o=o.children[I]}}applyRedirectCommands(t,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Ro(o);return o}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ge(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Ia={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _y(e,t,n,r,o){let i=Ra(e,t,n);return i.matched?(r=oy(t,r),Sy(r,t,n,o).pipe(x(s=>s===!0?i:g({},Ia)))):w(i)}function Ra(e,t,n){if(t.path==="**")return Ay(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Ia):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||Sv)(n,e,t);if(!o)return g({},Ia);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Ay(e){return{matched:!0,parameters:e.length>0?Ad(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function xd(e,t,n,r){return n.length>0&&Oy(e,n,r)?{segmentGroup:new O(t,Ry(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&Py(e,n,r)?{segmentGroup:new O(e.segments,Ny(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function Ny(e,t,n,r){let o={};for(let i of n)if(Po(e,t,i)&&!r[xe(i)]){let s=new O([],{});o[xe(i)]=s}return g(g({},r),o)}function Ry(e,t){let n={};n[I]=t;for(let r of e)if(r.path===""&&xe(r)!==I){let o=new O([],{});n[xe(r)]=o}return n}function Oy(e,t,n){return n.some(r=>Po(e,t,r)&&xe(r)!==I)}function Py(e,t,n){return n.some(r=>Po(e,t,r))}function Po(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Fy(e,t,n,r){return xe(e)!==r&&(r===I||!Po(t,n,e))?!1:Ra(t,e,n).matched}function ky(e,t,n){return t.length===0&&!e.children[n]}var Ea=class{};function Ly(e,t,n,r,o,i,s="emptyOnly"){return new ba(e,t,n,r,o,s,i).recognize()}var jy=31,ba=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ca(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=xd(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(n=>{let r=new Un([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},I,this.rootComponentType,null,{}),o=new ie(r,n),i=new Ao("",o),s=qv(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,I).pipe(je(r=>{if(r instanceof Ro)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Hn?this.noMatchError(r):r}))}inheritParamsAndData(t,n){let r=t.value,o=Ta(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(x(i=>i instanceof ie?[i]:[]))}processChildren(t,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return B(o).pipe(It(i=>{let s=r.children[i],a=iy(n,i);return this.processSegmentGroup(t,a,s,i)}),Xo((i,s)=>(i.push(...s),i)),Ve(null),Jo(),H(i=>{if(i===null)return Bt(r);let s=Jd(i);return Vy(s),w(s)}))}processSegment(t,n,r,o,i,s){return B(n).pipe(It(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(je(u=>{if(u instanceof Hn)return w(null);throw u}))),Ie(a=>!!a),je(a=>{if(Qd(a))return ky(r,o,i)?w(new Ea):Bt(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return Fy(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Bt(o):Bt(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=Ra(n,o,i);if(!a)return Bt(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>jy&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(H(h=>this.processSegment(t,r,n,h.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s=_y(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(ge(a=>a.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(ge(({routes:u})=>{let c=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:h}=a,f=new Un(l,h,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Uy(r),xe(r),r.component??r._loadedComponent??null,r,By(r)),{segmentGroup:v,slicedSegments:M}=xd(n,l,d,u);if(M.length===0&&v.hasChildren())return this.processChildren(c,u,v).pipe(x(k=>k===null?null:new ie(f,k)));if(u.length===0&&M.length===0)return w(new ie(f,[]));let $=xe(r)===i;return this.processSegment(c,u,v,M,$?I:i,!0).pipe(x(k=>new ie(f,k instanceof ie?[k]:[])))}))):Bt(n)))}getChildConfig(t,n,r){return n.children?w({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?w({routes:n._loadedRoutes,injector:n._loadedInjector}):My(t,n,r,this.urlSerializer).pipe(H(o=>o?this.configLoader.loadChildren(t,n).pipe(W(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):xy(n))):w({routes:[],injector:t})}};function Vy(e){e.sort((t,n)=>t.value.outlet===I?-1:n.value.outlet===I?1:t.value.outlet.localeCompare(n.value.outlet))}function $y(e){let t=e.value.routeConfig;return t&&t.path===""}function Jd(e){let t=[],n=new Set;for(let r of e){if(!$y(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Jd(r.children);t.push(new ie(r.value,o))}return t.filter(r=>!n.has(r))}function Uy(e){return e.data||{}}function By(e){return e.resolve||{}}function Hy(e,t,n,r,o,i){return H(s=>Ly(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:u})=>L(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function zy(e,t){return H(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return w(n);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of Xd(u))s.add(c);let a=0;return B(s).pipe(It(u=>i.has(u)?qy(u,r,e,t):(u.data=Ta(u,u.parent,e).resolve,w(void 0))),W(()=>a++),Et(1),H(u=>a===s.size?w(n):ne))})}function Xd(e){let t=e.children.map(n=>Xd(n)).flat();return[e,...t]}function qy(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!qd(o)&&(i[zn]=o.title),Gy(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=Ta(e,e.parent,n).resolve,null)))}function Gy(e,t,n,r){let o=ea(e);if(o.length===0)return w({});let i={};return B(o).pipe(H(s=>Wy(e[s],t,n,r).pipe(Ie(),W(a=>{i[s]=a}))),Et(1),Ko(i),je(s=>Qd(s)?ne:wt(s)))}function Wy(e,t,n,r){let o=qn(t)??r,i=Qt(e,o),s=i.resolve?i.resolve(t,n):it(o,()=>i(t,n));return Ze(s)}function Js(e){return ge(t=>{let n=e(t);return n?B(n).pipe(x(()=>t)):w(t)})}var ef=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===I);return o}getResolvedTitleForRoute(r){return r.data[zn]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Zy),providedIn:"root"});let e=t;return e})(),Zy=(()=>{let t=class t extends ef{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(A(Ed))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Oa=new _("",{providedIn:"root",factory:()=>({})}),Pa=new _(""),Yy=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(js)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return w(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ze(r.loadComponent()).pipe(x(tf),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),en(()=>{this.componentLoaders.delete(r)})),i=new Dt(o,()=>new Q).pipe(yt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return w({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Qy(o,this.compiler,r,this.onLoadEndListener).pipe(en(()=>{this.childrenLoaders.delete(o)})),a=new Dt(s,()=>new Q).pipe(yt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Qy(e,t,n,r){return Ze(e.loadChildren()).pipe(x(tf),H(o=>o instanceof mn||Array.isArray(o)?w(o):B(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Pa,[],{optional:!0,self:!0}).flat()),{routes:s.map(Na),injector:i}}))}function Ky(e){return e&&typeof e=="object"&&"default"in e}function tf(e){return Ky(e)?e.default:e}var Fa=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Jy),providedIn:"root"});let e=t;return e})(),Jy=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Xy=new _("");var eD=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=p(Yy),this.environmentInjector=p(le),this.urlSerializer=p(Sa),this.rootContexts=p(Oo),this.location=p(Sn),this.inputBindingEnabled=p(Aa,{optional:!0})!==null,this.titleStrategy=p(ef),this.options=p(Oa,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Fa),this.createViewTransition=p(Xy,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let r=i=>this.events.next(new ca(i)),o=i=>this.events.next(new la(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(L(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new G({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Pn,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(pe(s=>s.id!==0),x(s=>L(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ge(s=>{let a=!1,u=!1;return w(s).pipe(ge(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",se.SupersededByNewNavigation),ne;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?L(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new dt(c.id,this.urlSerializer.serialize(c.rawUrl),h,oa.IgnoredSameUrlNavigation)),c.resolve(null),ne}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return w(c).pipe(ge(h=>{let f=this.transitions?.getValue();return this.events.next(new Ln(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?ne:Promise.resolve(h)}),Hy(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),W(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=L(g({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new To(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:h,extractedUrl:f,source:v,restoredState:M,extras:$}=c,k=new Ln(h,this.urlSerializer.serialize(f),v,M);this.events.next(k);let Kt=Hd(this.rootComponentType).snapshot;return this.currentTransition=s=L(g({},c),{targetSnapshot:Kt,urlAfterRedirects:f,extras:L(g({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,w(s)}else{let h="";return this.events.next(new dt(c.id,this.urlSerializer.serialize(c.extractedUrl),h,oa.IgnoredByUrlHandlingStrategy)),c.resolve(null),ne}}),W(c=>{let l=new ia(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),x(c=>(this.currentTransition=s=L(g({},c),{guards:ay(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),vy(this.environmentInjector,c=>this.events.next(c)),W(c=>{if(s.guardsResult=c.guardsResult,Wt(c.guardsResult))throw Wd(this.urlSerializer,c.guardsResult);let l=new sa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),pe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",se.GuardRejected),!1)),Js(c=>{if(c.guards.canActivateChecks.length)return w(c).pipe(W(l=>{let d=new aa(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ge(l=>{let d=!1;return w(l).pipe(zy(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",se.NoDataFromResolver)}}))}),W(l=>{let d=new ua(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Js(c=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(f=>{d.component=f}),x(()=>{})));for(let f of d.children)h.push(...l(f));return h};return fr(l(c.targetSnapshot.root)).pipe(Ve(null),Ae(1))}),Js(()=>this.afterPreactivation()),ge(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?B(d).pipe(x(()=>s)):w(s)}),x(c=>{let l=Xv(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=L(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new Vn)}),sy(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ae(1),W({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new lt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),ti(this.transitionAbortSubject.pipe(W(c=>{throw c}))),en(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",se.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),je(c=>{if(u=!0,Yd(c))this.events.next(new We(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),ny(c)?this.events.next(new $n(c.url)):s.resolve(!1);else{this.events.next(new jn(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return ne}))}))}cancelNavigationTransition(r,o,i){let s=new We(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function tD(e){return e!==Pn}var nD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(rD),providedIn:"root"});let e=t;return e})(),Ma=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},rD=(()=>{let t=class t extends Ma{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=gs(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(oD),providedIn:"root"});let e=t;return e})(),oD=(()=>{let t=class t extends nf{constructor(){super(...arguments),this.location=p(Sn),this.urlSerializer=p(Sa),this.options=p(Oa,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Fa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ge,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hd(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(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof Ln)this.stateMemento=this.createStateMemento();else if(r instanceof dt)this.rawUrlTree=o.initialUrl;else if(r instanceof To){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof Vn?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):r instanceof We&&(r.code===se.GuardRejected||r.code===se.NoDataFromResolver)?this.restoreHistory(o):r instanceof jn?this.restoreHistory(o,!0):r instanceof lt&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=g(g({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=g(g({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=gs(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Rn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Rn||{});function iD(e,t){e.events.pipe(pe(n=>n instanceof lt||n instanceof We||n instanceof jn||n instanceof dt),x(n=>n instanceof lt||n instanceof dt?Rn.COMPLETE:(n instanceof We?n.code===se.Redirect||n.code===se.SupersededByNewNavigation:!1)?Rn.REDIRECTING:Rn.FAILED),pe(n=>n!==Rn.REDIRECTING),Ae(1)).subscribe(()=>{t()})}function sD(e){throw e}var aD={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uD={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rf=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(fo),this.stateManager=p(nf),this.options=p(Oa,{optional:!0})||{},this.pendingTasks=p(ao),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(eD),this.urlSerializer=p(Sa),this.location=p(Sn),this.urlHandlingStrategy=p(Fa),this._events=new Q,this.errorHandler=this.options.errorHandler||sD,this.navigated=!1,this.routeReuseStrategy=p(nD),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Pa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Aa,{optional:!0}),this.eventsSubscription=new U,this.isNgZoneEnabled=p(j)instanceof j&&j.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof We&&o.code!==se.Redirect&&o.code!==se.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof lt)this.navigated=!0;else if(o instanceof $n){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||tD(i.source)};this.scheduleNavigation(a,Pn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}lD(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Pn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(r);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Na),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(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Vd(f)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),h=this.currentUrlTree.root}return $d(h,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=Wt(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Pn,null,o)}navigate(r,o={skipLocationChange:!1}){return cD(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=g({},aD):o===!1?i=g({},uD):i=o,Wt(r))return bd(this.currentUrlTree,r,i);let s=this.parseUrl(r);return bd(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((h,f)=>{u=h,c=f});let d=this.pendingTasks.add();return iD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cD(e){for(let t=0;tn.\u0275providers)])}function fD(e){return e.routerState.root}function hD(){let e=p(Cn);return t=>{let n=e.get(bn);if(t!==n.components[0])return;let r=e.get(rf),o=e.get(pD);e.get(gD)===1&&r.initialNavigation(),e.get(mD,null,E.Optional)?.setUpPreloading(),e.get(dD,null,E.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var pD=new _("",{factory:()=>new Q}),gD=new _("",{providedIn:"root",factory:()=>1});var mD=new _("");var sf=[];var af={providers:[of(sf)]};var vD=(e,t)=>t.title,yD=()=>({title:"Explore the Docs",link:"https://angular.dev"}),DD=()=>({title:"Learn with Tutorials",link:"https://angular.dev/tutorials"}),wD=()=>({title:"CLI Docs",link:"https://angular.dev/tools/cli"}),CD=()=>({title:"Angular Language Service",link:"https://angular.dev/tools/language-service"}),ID=()=>({title:"Angular DevTools",link:"https://angular.dev/tools/devtools"}),ED=(e,t,n,r,o)=>[e,t,n,r,o];function bD(e,t){if(e&1&&(z(0,"a",21)(1,"span"),uo(2),J(),jt(),z(3,"svg",32),ee(4,"path",33),J()()),e&2){let n=t.$implicit;Fs("href",n.link,gl),to(2),ks(n.title)}}var uf=(()=>{let t=class t{constructor(){this.title="b-day"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Hr({type:t,selectors:[["app-root"]],standalone:!0,features:[lo],decls:39,vars:12,consts:[[1,"main"],[1,"content"],[1,"left-side"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 982 239","fill","none",1,"angular-logo"],["clip-path","url(#a)"],["fill","url(#b)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["fill","url(#c)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["id","c","cx","0","cy","0","r","1","gradientTransform","rotate(118.122 171.182 60.81) scale(205.794)","gradientUnits","userSpaceOnUse"],["stop-color","#FF41F8"],["offset",".707","stop-color","#FF41F8","stop-opacity",".5"],["offset","1","stop-color","#FF41F8","stop-opacity","0"],["id","b","x1","0","x2","982","y1","192","y2","192","gradientUnits","userSpaceOnUse"],["stop-color","#F0060B"],["offset","0","stop-color","#F0070C"],["offset",".526","stop-color","#CC26D5"],["offset","1","stop-color","#7702FF"],["id","a"],["fill","#fff","d","M0 0h982v239H0z"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],[1,"social-links"],["href","https://github.com/angular/angular","aria-label","Github","target","_blank","rel","noopener"],["width","25","height","24","viewBox","0 0 25 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Github"],["d","M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"],["href","https://twitter.com/angular","aria-label","Twitter","target","_blank","rel","noopener"],["width","25","height","20","viewBox","0 0 25 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Twitter"],["d","M8.04524 20C17.3335 20 22.4138 12.3047 22.4138 5.63144C22.4138 5.41287 22.4138 5.19529 22.399 4.97869C23.3874 4.26381 24.2405 3.37867 24.9185 2.3647C23.9969 2.77329 23.0192 3.04112 22.018 3.15923C23.0723 2.52818 23.8613 1.53552 24.2382 0.366057C23.2469 0.954335 22.1624 1.36889 21.0315 1.59182C20.2701 0.782212 19.2631 0.246107 18.1663 0.0664704C17.0695 -0.113166 15.9441 0.0736804 14.9642 0.598096C13.9843 1.12251 13.2046 1.95526 12.7457 2.96748C12.2868 3.9797 12.1742 5.11495 12.4255 6.19756C10.4178 6.09685 8.45366 5.57507 6.66064 4.66609C4.86763 3.75712 3.28579 2.48127 2.01781 0.921344C1.37203 2.03306 1.17424 3.34911 1.46472 4.60154C1.75519 5.85397 2.51208 6.9486 3.58128 7.66257C2.77759 7.63903 1.9914 7.42221 1.28924 7.03049V7.09449C1.28956 8.26041 1.69316 9.39034 2.4316 10.2926C3.17003 11.1949 4.19783 11.8139 5.34067 12.0448C4.59721 12.2476 3.81715 12.2772 3.06045 12.1315C3.38327 13.1348 4.01156 14.0122 4.85746 14.641C5.70337 15.2698 6.72461 15.6185 7.77842 15.6384C6.73139 16.4614 5.53237 17.0699 4.24995 17.4291C2.96753 17.7882 1.62687 17.891 0.304688 17.7316C2.61411 19.2136 5.30121 19.9997 8.04524 19.9961"],["href","https://www.youtube.com/channel/UCbn1OgGei-DV7aSRo_HaAiw","aria-label","Youtube","target","_blank","rel","noopener"],["width","29","height","20","viewBox","0 0 29 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Youtube"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(o,i){o&1&&(z(0,"main",0)(1,"div",1)(2,"div",2),jt(),z(3,"svg",3)(4,"g",4),ee(5,"path",5)(6,"path",6),J(),z(7,"defs")(8,"radialGradient",7),ee(9,"stop",8)(10,"stop",9)(11,"stop",10),J(),z(12,"linearGradient",11),ee(13,"stop",12)(14,"stop",13)(15,"stop",14)(16,"stop",15),J(),z(17,"clipPath",16),ee(18,"path",17),J()()(),wn(),z(19,"h1"),uo(20),J(),z(21,"p"),uo(22,"Congratulations! Your app is running. \u{1F389}"),J()(),ee(23,"div",18),z(24,"div",19)(25,"div",20),Yl(26,bD,5,2,"a",21,vD),J(),z(28,"div",22)(29,"a",23),jt(),z(30,"svg",24),ee(31,"path",25),J()(),wn(),z(32,"a",26),jt(),z(33,"svg",27),ee(34,"path",28),J()(),wn(),z(35,"a",29),jt(),z(36,"svg",30),ee(37,"path",31),J()()()()()(),wn(),ee(38,"router-outlet")),o&2&&(to(20),co("Hello, ",i.title,""),to(6),Ql(Kl(6,ED,$t(1,yD),$t(2,DD),$t(3,wD),$t(4,CD),$t(5,ID))))},dependencies:[$s,_a],styles:[`[_nghost-%COMP%] { - --bright-blue: oklch(51.01% 0.274 263.83); - --electric-violet: oklch(53.18% 0.28 296.97); - --french-violet: oklch(47.66% 0.246 305.88); - --vivid-pink: oklch(69.02% 0.277 332.77); - --hot-red: oklch(61.42% 0.238 15.34); - --orange-red: oklch(63.32% 0.24 31.68); - - --gray-900: oklch(19.37% 0.006 300.98); - --gray-700: oklch(36.98% 0.014 302.71); - --gray-400: oklch(70.9% 0.015 304.04); - - --red-to-pink-to-purple-vertical-gradient: linear-gradient( - 180deg, - var(--orange-red) 0%, - var(--vivid-pink) 50%, - var(--electric-violet) 100% - ); - - --red-to-pink-to-purple-horizontal-gradient: linear-gradient( - 90deg, - var(--orange-red) 0%, - var(--vivid-pink) 50%, - var(--electric-violet) 100% - ); - - --pill-accent: var(--bright-blue); - - font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", - "Segoe UI Symbol"; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - h1[_ngcontent-%COMP%] { - font-size: 3.125rem; - color: var(--gray-900); - font-weight: 500; - line-height: 100%; - letter-spacing: -0.125rem; - margin: 0; - font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", - "Segoe UI Symbol"; - } - - p[_ngcontent-%COMP%] { - margin: 0; - color: var(--gray-700); - } - - main[_ngcontent-%COMP%] { - width: 100%; - min-height: 100%; - display: flex; - justify-content: center; - align-items: center; - padding: 1rem; - box-sizing: inherit; - position: relative; - } - - .angular-logo[_ngcontent-%COMP%] { - max-width: 9.2rem; - } - - .content[_ngcontent-%COMP%] { - display: flex; - justify-content: space-around; - width: 100%; - max-width: 700px; - margin-bottom: 3rem; - } - - .content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] { - margin-top: 1.75rem; - } - - .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { - margin-top: 1.5rem; - } - - .divider[_ngcontent-%COMP%] { - width: 1px; - background: var(--red-to-pink-to-purple-vertical-gradient); - margin-inline: 0.5rem; - } - - .pill-group[_ngcontent-%COMP%] { - display: flex; - flex-direction: column; - align-items: start; - flex-wrap: wrap; - gap: 1.25rem; - } - - .pill[_ngcontent-%COMP%] { - display: flex; - align-items: center; - --pill-accent: var(--bright-blue); - background: color-mix(in srgb, var(--pill-accent) 5%, transparent); - color: var(--pill-accent); - padding-inline: 0.75rem; - padding-block: 0.375rem; - border-radius: 2.75rem; - border: 0; - transition: background 0.3s ease; - font-family: var(--inter-font); - font-size: 0.875rem; - font-style: normal; - font-weight: 500; - line-height: 1.4rem; - letter-spacing: -0.00875rem; - text-decoration: none; - } - - .pill[_ngcontent-%COMP%]:hover { - background: color-mix(in srgb, var(--pill-accent) 15%, transparent); - } - - .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 1) { - --pill-accent: var(--bright-blue); - } - .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 2) { - --pill-accent: var(--french-violet); - } - .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 3), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 4), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 5) { - --pill-accent: var(--hot-red); - } - - .pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] { - margin-inline-start: 0.25rem; - } - - .social-links[_ngcontent-%COMP%] { - display: flex; - align-items: center; - gap: 0.73rem; - margin-top: 1.5rem; - } - - .social-links[_ngcontent-%COMP%] path[_ngcontent-%COMP%] { - transition: fill 0.3s ease; - fill: var(--gray-400); - } - - .social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%] { - fill: var(--gray-900); - } - - @media screen and (max-width: 650px) { - .content[_ngcontent-%COMP%] { - flex-direction: column; - width: max-content; - } - - .divider[_ngcontent-%COMP%] { - height: 1px; - width: 100%; - background: var(--red-to-pink-to-purple-horizontal-gradient); - margin-block: 1.5rem; - } - }`]});let e=t;return e})();Id(uf,af).catch(e=>console.error(e)); diff --git a/browser/media/OpenSans-Bold-474BUIDJ.ttf b/browser/media/OpenSans-Bold-474BUIDJ.ttf new file mode 100644 index 0000000..98c74e0 Binary files /dev/null and b/browser/media/OpenSans-Bold-474BUIDJ.ttf differ diff --git a/browser/media/OpenSans-Regular-UHVE43X5.ttf b/browser/media/OpenSans-Regular-UHVE43X5.ttf new file mode 100644 index 0000000..67803bb Binary files /dev/null and b/browser/media/OpenSans-Regular-UHVE43X5.ttf differ diff --git a/browser/media/Roboto-Regular-R73JMUUD.ttf b/browser/media/Roboto-Regular-R73JMUUD.ttf new file mode 100644 index 0000000..2d116d9 Binary files /dev/null and b/browser/media/Roboto-Regular-R73JMUUD.ttf differ diff --git a/browser/media/chest-OFREJPXF.png b/browser/media/chest-OFREJPXF.png new file mode 100644 index 0000000..4733634 Binary files /dev/null and b/browser/media/chest-OFREJPXF.png differ diff --git a/browser/media/chest-open-C5URLUCI.png b/browser/media/chest-open-C5URLUCI.png new file mode 100644 index 0000000..c08d90a Binary files /dev/null and b/browser/media/chest-open-C5URLUCI.png differ diff --git a/browser/styles-5INURTSO.css b/browser/styles-5INURTSO.css deleted file mode 100644 index e69de29..0000000 diff --git a/browser/styles-HFIW5CKN.css b/browser/styles-HFIW5CKN.css new file mode 100644 index 0000000..efd9d83 --- /dev/null +++ b/browser/styles-HFIW5CKN.css @@ -0,0 +1 @@ +@layer reset{html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}body,html{height:100%}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;pointer-events:none}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;box-sizing:border-box}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button:focus,html input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus{outline:none}input:focus,select:focus{outline:none}button[disabled],html input[disabled],html input[readonly]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}td,th{padding:0}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;box-sizing:border-box}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}a{cursor:pointer}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#0003}input::-moz-placeholder,textarea::-moz-placeholder{color:#0003}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#0003}input:-moz-placeholder,textarea:-moz-placeholder{color:#0003}.material-icons{line-height:.9}h1,h2,h3,h4,h5,h6,b,strong{font-weight:400}}@font-face{font-family:OpenSans-Regular;src:url("./media/OpenSans-Regular-UHVE43X5.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:OpenSans-Bold;src:url("./media/OpenSans-Bold-474BUIDJ.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Roboto-Regular;src:url("./media/Roboto-Regular-R73JMUUD.ttf") format("truetype");font-weight:400;font-style:normal}html,body{background-color:#fefbf3;text-align:center;font-family:OpenSans-Regular,Arial,sans-serif;color:#5a341b;font-size:16px}h1,strong{font-family:OpenSans-Bold,Arial,sans-serif;font-weight:400}