diff --git a/404.html b/404.html index 255a92e..2dabd78 100644 --- a/404.html +++ b/404.html @@ -7,10 +7,10 @@ +
Loading ...
- + diff --git a/index.html b/index.html index 255a92e..2dabd78 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,10 @@ +
Loading ...
- + diff --git a/main-237PPMTW.js b/main-237PPMTW.js deleted file mode 100644 index dc9d562..0000000 --- a/main-237PPMTW.js +++ /dev/null @@ -1,9 +0,0 @@ -var Zp=Object.defineProperty,Yp=Object.defineProperties;var Qp=Object.getOwnPropertyDescriptors;var _u=Object.getOwnPropertySymbols;var Kp=Object.prototype.hasOwnProperty,Jp=Object.prototype.propertyIsEnumerable;var Au=(t,e,r)=>e in t?Zp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,m=(t,e)=>{for(var r in e||={})Kp.call(e,r)&&Au(t,r,e[r]);if(_u)for(var r of _u(e))Jp.call(e,r)&&Au(t,r,e[r]);return t},Q=(t,e)=>Yp(t,Qp(e));var Nu=null;var Xi=1;function le(t){let e=Nu;return Nu=t,e}var Ru={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 Xp(t){if(!(ns(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Xi)){if(!t.producerMustRecompute(t)&&!es(t)){t.dirty=!1,t.lastCleanEpoch=Xi;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Xi}}function Ou(t){return t&&(t.nextProducerIndex=0),le(t)}function Pu(t,e){if(le(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ns(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function es(t){Kr(t);for(let e=0;e0}function Kr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function eg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function tg(){throw new Error}var ng=tg;function ku(t){ng=t}function b(t){return typeof t=="function"}function tn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Jr=tn(t=>function(r){t(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 Rt(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(b(n))try{n()}catch(i){e=i instanceof Jr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Lu(i)}catch(s){e=e??[],s instanceof Jr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Jr(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Lu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Rt(r,e)}remove(e){let{_finalizers:r}=this;r&&Rt(r,e),e instanceof t&&e._removeParent(this)}};Z.EMPTY=(()=>{let t=new Z;return t.closed=!0,t})();var rs=Z.EMPTY;function Xr(t){return t instanceof Z||t&&"closed"in t&&b(t.remove)&&b(t.add)&&b(t.unsubscribe)}function Lu(t){b(t)?t():t.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nn={setTimeout(t,e,...r){let{delegate:n}=nn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=nn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function eo(t){nn.setTimeout(()=>{let{onUnhandledError:e}=Oe;if(e)e(t);else throw t})}function Qn(){}var ju=(()=>os("C",void 0,void 0))();function Vu(t){return os("E",void 0,t)}function $u(t){return os("N",t,void 0)}function os(t,e,r){return{kind:t,value:e,error:r}}var Ot=null;function rn(t){if(Oe.useDeprecatedSynchronousErrorHandling){let e=!Ot;if(e&&(Ot={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Ot;if(Ot=null,r)throw n}}else t()}function Bu(t){Oe.useDeprecatedSynchronousErrorHandling&&Ot&&(Ot.errorThrown=!0,Ot.error=t)}var Pt=class extends Z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Xr(e)&&e.add(this)):this.destination=ig}static create(e,r,n){return new on(e,r,n)}next(e){this.isStopped?ss($u(e),this):this._next(e)}error(e){this.isStopped?ss(Vu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ss(ju,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},rg=Function.prototype.bind;function is(t,e){return rg.call(t,e)}var as=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){to(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){to(n)}else to(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){to(r)}}},on=class extends Pt{constructor(e,r,n){super();let o;if(b(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Oe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&is(e.next,i),error:e.error&&is(e.error,i),complete:e.complete&&is(e.complete,i)}):o=e}this.destination=new as(o)}};function to(t){Oe.useDeprecatedSynchronousErrorHandling?Bu(t):eo(t)}function og(t){throw t}function ss(t,e){let{onStoppedNotification:r}=Oe;r&&nn.setTimeout(()=>r(t,e))}var ig={closed:!0,next:Qn,error:og,complete:Qn};var sn=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function de(t){return t}function cs(...t){return us(t)}function us(t){return t.length===0?de:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var L=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=ag(r)?r:new on(r,n,o);return rn(()=>{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=Uu(n),new n((o,i)=>{let s=new on({next:a=>{try{r(a)}catch(c){i(c),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)}[sn](){return this}pipe(...r){return us(r)(this)}toPromise(r){return r=Uu(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Uu(t){var e;return(e=t??Oe.Promise)!==null&&e!==void 0?e:Promise}function sg(t){return t&&b(t.next)&&b(t.error)&&b(t.complete)}function ag(t){return t&&t instanceof Pt||sg(t)&&Xr(t)}function ls(t){return b(t?.lift)}function N(t){return e=>{if(ls(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function R(t,e,r,n,o){return new ds(t,e,r,n,o)}var ds=class extends Pt{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function an(){return N((t,e)=>{let r=null;t._refCount++;let n=R(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var cn=class extends L{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,ls(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Z;let r=this.getSubject();e.add(this.source.subscribe(R(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Z.EMPTY)}return e}refCount(){return an()(this)}};var Hu=tn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class t extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new no(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Hu}next(r){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){rn(()=>{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(){rn(()=>{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?rs:(this.currentObservers=null,i.push(r),new Z(()=>{this.currentObservers=null,Rt(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new L;return r.source=this,r}}return t.create=(e,r)=>new no(e,r),t})(),no=class extends ue{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:rs}};var ee=class extends ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var fs={now(){return(fs.delegate||Date).now()},delegate:void 0};var ro=class extends Z{constructor(e,r){super()}schedule(e,r=0){return this}};var Kn={setInterval(t,e,...r){let{delegate:n}=Kn;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Kn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var oo=class extends ro{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let 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(e,r,n=0){return Kn.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Kn.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}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:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Rt(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var un=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};un.now=fs.now;var io=class extends un{constructor(e,r=un.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var zu=new io(oo);var Me=new L(t=>t.complete());function Wu(t){return t&&b(t.schedule)}function Gu(t){return t[t.length-1]}function qu(t){return b(Gu(t))?t.pop():void 0}function gt(t){return Wu(Gu(t))?t.pop():void 0}function Yu(t,e,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{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Zu(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ft(t){return this instanceof Ft?(this.v=t,this):new Ft(t)}function Qu(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(C,F){i.push([f,h,C,F])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(C){d(i[0][3],C)}}function c(f){f.value instanceof Ft?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Ku(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Zu=="function"?Zu(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var so=t=>t&&typeof t.length=="number"&&typeof t!="function";function ao(t){return b(t?.then)}function co(t){return b(t[sn])}function uo(t){return Symbol.asyncIterator&&b(t?.[Symbol.asyncIterator])}function lo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function cg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fo=cg();function ho(t){return b(t?.[fo])}function po(t){return Qu(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Ft(r.read());if(o)return yield Ft(void 0);yield yield Ft(n)}}finally{r.releaseLock()}})}function go(t){return b(t?.getReader)}function J(t){if(t instanceof L)return t;if(t!=null){if(co(t))return ug(t);if(so(t))return lg(t);if(ao(t))return dg(t);if(uo(t))return Ju(t);if(ho(t))return fg(t);if(go(t))return hg(t)}throw lo(t)}function ug(t){return new L(e=>{let r=t[sn]();if(b(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lg(t){return new L(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,eo)})}function fg(t){return new L(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Ju(t){return new L(e=>{pg(t,e).catch(r=>e.error(r))})}function hg(t){return Ju(po(t))}function pg(t,e){var r,n,o,i;return Yu(this,void 0,void 0,function*(){try{for(r=Ku(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.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}}e.complete()})}function ve(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function mo(t,e=0){return N((r,n)=>{r.subscribe(R(n,o=>ve(n,t,()=>n.next(o),e),()=>ve(n,t,()=>n.complete(),e),o=>ve(n,t,()=>n.error(o),e)))})}function vo(t,e=0){return N((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Xu(t,e){return J(t).pipe(vo(e),mo(e))}function el(t,e){return J(t).pipe(vo(e),mo(e))}function tl(t,e){return new L(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function nl(t,e){return new L(r=>{let n;return ve(r,e,()=>{n=t[fo](),ve(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>b(n?.return)&&n.return()})}function yo(t,e){if(!t)throw new Error("Iterable cannot be null");return new L(r=>{ve(r,e,()=>{let n=t[Symbol.asyncIterator]();ve(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function rl(t,e){return yo(po(t),e)}function ol(t,e){if(t!=null){if(co(t))return Xu(t,e);if(so(t))return tl(t,e);if(ao(t))return el(t,e);if(uo(t))return yo(t,e);if(ho(t))return nl(t,e);if(go(t))return rl(t,e)}throw lo(t)}function G(t,e){return e?ol(t,e):J(t)}function D(...t){let e=gt(t);return G(t,e)}function ln(t,e){let r=b(t)?t:()=>t,n=o=>o.error(r());return new L(e?o=>e.schedule(n,0,o):n)}function hs(t){return!!t&&(t instanceof L||b(t.lift)&&b(t.subscribe))}var ot=tn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _(t,e){return N((r,n)=>{let o=0;r.subscribe(R(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:gg}=Array;function mg(t,e){return gg(e)?t(...e):t(e)}function il(t){return _(e=>mg(t,e))}var{isArray:vg}=Array,{getPrototypeOf:yg,prototype:Dg,keys:wg}=Object;function sl(t){if(t.length===1){let e=t[0];if(vg(e))return{args:e,keys:null};if(Cg(e)){let r=wg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Cg(t){return t&&typeof t=="object"&&yg(t)===Dg}function al(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Jn(...t){let e=gt(t),r=qu(t),{args:n,keys:o}=sl(t);if(n.length===0)return G([],e);let i=new L(Eg(n,e,o?s=>al(o,s):de));return r?i.pipe(il(r)):i}function Eg(t,e,r=de){return n=>{cl(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c{let u=G(t[c],e),l=!1;u.subscribe(R(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function cl(t,e,r){t?ve(r,t,e):e()}function ul(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=F=>u{i&&e.next(F),u++;let x=!1;J(r(F,l++)).subscribe(R(e,E=>{o?.(E),i?h(E):e.next(E)},()=>{x=!0},void 0,()=>{if(x)try{for(u--;c.length&&uC(E)):C(E)}f()}catch(E){e.error(E)}}))};return t.subscribe(R(e,h,()=>{d=!0,f()})),()=>{a?.()}}function K(t,e,r=1/0){return b(e)?K((n,o)=>_((i,s)=>e(n,i,o,s))(J(t(n,o))),r):(typeof e=="number"&&(r=e),N((n,o)=>ul(n,o,t,r)))}function mt(t=1/0){return K(de,t)}function ll(){return mt(1)}function dn(...t){return ll()(G(t,gt(t)))}function Do(t){return new L(e=>{J(t()).subscribe(e)})}function te(t,e){return N((r,n)=>{let o=0;r.subscribe(R(n,i=>t.call(e,i,o++)&&n.next(i)))})}function Se(t){return N((e,r)=>{let n=null,o=!1,i;n=e.subscribe(R(r,void 0,void 0,s=>{i=J(t(s,Se(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function dl(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(R(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function it(t,e){return b(e)?K(t,e,1):K(t,1)}function ps(t,e=zu){return N((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function vt(t){return N((e,r)=>{let n=!1;e.subscribe(R(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function st(t){return t<=0?()=>Me:N((e,r)=>{let n=0;e.subscribe(R(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function gs(t){return _(()=>t)}function ms(t,e=de){return t=t??Ig,N((r,n)=>{let o,i=!0;r.subscribe(R(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function Ig(t,e){return t===e}function wo(t=bg){return N((e,r)=>{let n=!1;e.subscribe(R(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function bg(){return new ot}function yt(t){return N((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ze(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):de,st(1),r?vt(e):wo(()=>new ot))}function fn(t){return t<=0?()=>Me:N((e,r)=>{let n=[];e.subscribe(R(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function vs(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):de,fn(1),r?vt(e):wo(()=>new ot))}function ys(t,e){return N(dl(t,e,arguments.length>=2,!0))}function Ds(...t){let e=gt(t);return N((r,n)=>{(e?dn(t,r,e):dn(t,r)).subscribe(n)})}function ne(t,e){return N((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(R(n,c=>{o?.unsubscribe();let u=0,l=i++;J(t(c,l)).subscribe(o=R(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ws(t){return N((e,r)=>{J(t).subscribe(R(r,()=>r.complete(),Qn)),!r.closed&&e.subscribe(r)})}function q(t,e,r){let n=b(t)||e||r?{next:t,error:e,complete:r}:t;return n?N((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(R(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):de}function H(t){for(let e in t)if(t[e]===H)return e;throw Error("Could not find renamed property on target object.")}function fe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(fe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function fl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Mg=H({__forward_ref__:H});function Ql(t){return t.__forward_ref__=Ql,t.toString=function(){return fe(this())},t}function Te(t){return Kl(t)?t():t}function Kl(t){return typeof t=="function"&&t.hasOwnProperty(Mg)&&t.__forward_ref__===Ql}function Jl(t){return t&&!!t.\u0275providers}var Xl="https://g.co/ng/security#xss",y=class extends Error{constructor(e,r){super(Jo(e,r)),this.code=e}};function Jo(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Sg=H({\u0275cmp:H}),Tg=H({\u0275dir:H}),xg=H({\u0275pipe:H}),_g=H({\u0275mod:H}),No=H({\u0275fac:H}),Xn=H({__NG_ELEMENT_ID__:H}),hl=H({__NG_ENV_ID__:H});function Xo(t){return typeof t=="string"?t:t==null?"":String(t)}function Ag(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Xo(t)}function Ng(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,`Circular dependency in DI detected for ${t}${r}`)}function Ma(t,e){throw new y(-201,!1)}function Rg(t,e){t==null&&Og(e,t,null,"!=")}function Og(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function se(t){return{providers:t.providers||[],imports:t.imports||[]}}function ei(t){return pl(t,td)||pl(t,nd)}function ed(t){return ei(t)!==null}function pl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Pg(t){let e=t&&(t[td]||t[nd]);return e||null}function gl(t){return t&&(t.hasOwnProperty(ml)||t.hasOwnProperty(Fg))?t[ml]:null}var td=H({\u0275prov:H}),ml=H({\u0275inj:H}),nd=H({ngInjectableDef:H}),Fg=H({ngInjectorDef:H}),O=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(O||{}),Os;function rd(){return Os}function ye(t){let e=Os;return Os=t,e}function od(t,e,r){let n=ei(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&O.Optional)return null;if(e!==void 0)return e;Ma(t,"Injector")}var he=globalThis;var w=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=v({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var kg={},tr=kg,Ps="__NG_DI_FLAG__",Ro="ngTempTokenPath",Lg="ngTokenPath",jg=/\n/gm,Vg="\u0275",vl="__source",vn;function $g(){return vn}function Dt(t){let e=vn;return vn=t,e}function Bg(t,e=O.Default){if(vn===void 0)throw new y(-203,!1);return vn===null?od(t,void 0,e):vn.get(t,e&O.Optional?null:void 0,e)}function g(t,e=O.Default){return(rd()||Bg)(Te(t),e)}function p(t,e=O.Default){return g(t,ti(e))}function ti(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Fs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):fe(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(jg,` - `)}`}function fr(t){return{toString:t}.toString()}var sd=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sd||{}),Ze=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ze||{}),nr={},Fe=[];function ad(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function ks(t,e,r){let n=0;for(;ne){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&ad(h,u,0)!==-1||n&2&&u!==f){if(Pe(n))return!1;s=!0}}}}return Pe(n)||s}function Pe(t){return(t&1)===0}function Yg(t,e,r,n){if(e===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!==""&&!Pe(s)&&(e+=Dl(i,o),o=""),n=s,i=i||!Pe(n);r++}return o!==""&&(e+=Dl(i,o)),e}function em(t){return t.map(Xg).join(",")}function tm(t){let e=[],r=[],n=1,o=2;for(;n{let e=md(t),r=Q(m({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ze.Emulated,styles:t.styles||Fe,_:null,schemas:t.schemas||null,tView:null,id:""});vd(r);let n=t.dependencies;return r.directiveDefs=Cl(n,!1),r.pipeDefs=Cl(n,!0),r.id=om(r),r})}function nm(t){return Ct(t)||fd(t)}function rm(t){return t!==null}function ae(t){return fr(()=>({type:t.type,bootstrap:t.bootstrap||Fe,declarations:t.declarations||Fe,imports:t.imports||Fe,exports:t.exports||Fe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function wl(t,e){if(t==null)return nr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,e&&(e[o]=i)}return r}function Gt(t){return fr(()=>{let e=md(t);return vd(e),e})}function dd(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ct(t){return t[Sg]||null}function fd(t){return t[Tg]||null}function hd(t){return t[xg]||null}function pd(t){let e=Ct(t)||fd(t)||hd(t);return e!==null?e.standalone:!1}function gd(t,e){let r=t[_g]||null;if(!r&&e===!0)throw new Error(`Type ${fe(t)} does not have '\u0275mod' property.`);return r}function md(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||nr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Fe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wl(t.inputs,e),outputs:wl(t.outputs),debugInfo:null}}function vd(t){t.features?.forEach(e=>e(t))}function Cl(t,e){if(!t)return null;let r=e?hd:nm;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(rm)}function om(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var ct=0,P=1,I=2,oe=3,ke=4,Ve=5,Oo=6,rr=7,Le=8,Dn=9,Ye=10,ie=11,or=12,El=13,Mn=14,Qe=15,hr=16,hn=17,qe=18,ni=19,yd=20,wt=21,Cs=22,jt=23,je=25,Dd=1;var Vt=7,Po=8,wn=9,we=10,Ta=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ta||{});function kt(t){return Array.isArray(t)&&typeof t[Dd]=="object"}function ut(t){return Array.isArray(t)&&t[Dd]===!0}function wd(t){return(t.flags&4)!==0}function ri(t){return t.componentOffset>-1}function xa(t){return(t.flags&1)===1}function pr(t){return!!t.template}function im(t){return(t[I]&512)!==0}function $t(t,e){let r=t.hasOwnProperty(No);return r?t[No]:null}var Ls=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Sn(){return Cd}function Cd(t){return t.type.prototype.ngOnChanges&&(t.setInput=am),sm}Sn.ngInherit=!0;function sm(){let t=Id(this),e=t?.current;if(e){let r=t.previous;if(r===nr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function am(t,e,r,n){let o=this.declaredInputs[r],i=Id(t)||cm(t,{previous:nr,current:null}),s=i.current||(i.current={}),a=i.previous,c=a[o];s[o]=new Ls(c&&c.currentValue,e,a===nr),t[n]=e}var Ed="__ngSimpleChanges__";function Id(t){return t[Ed]||null}function cm(t,e){return t[Ed]=e}var Il=null;var We=function(t,e,r){Il?.(t,e,r)},um="svg",lm="math",dm=!1;function fm(){return dm}function Ke(t){for(;Array.isArray(t);)t=t[ct];return t}function bd(t,e){return Ke(e[t])}function xe(t,e){return Ke(e[t.index])}function Md(t,e){return t.data[e]}function Sd(t,e){return t[e]}function It(t,e){let r=e[t];return kt(r)?r:r[ct]}function hm(t){return(t[I]&4)===4}function _a(t){return(t[I]&128)===128}function pm(t){return ut(t[oe])}function Fo(t,e){return e==null?null:t[e]}function Td(t){t[hn]=0}function gm(t){t[I]&1024||(t[I]|=1024,_a(t)&&ir(t))}function mm(t,e){for(;t>0;)e=e[Mn],t--;return e}function xd(t){return t[I]&9216||t[jt]?.dirty}function js(t){xd(t)?ir(t):t[I]&64&&(fm()?(t[I]|=1024,ir(t)):t[Ye].changeDetectionScheduler?.notify())}function ir(t){t[Ye].changeDetectionScheduler?.notify();let e=sr(t);for(;e!==null&&!(e[I]&8192||(e[I]|=8192,!_a(e)));)e=sr(e)}function _d(t,e){if((t[I]&256)===256)throw new y(911,!1);t[wt]===null&&(t[wt]=[]),t[wt].push(e)}function vm(t,e){if(t[wt]===null)return;let r=t[wt].indexOf(e);r!==-1&&t[wt].splice(r,1)}function sr(t){let e=t[oe];return ut(e)?e[oe]:e}var A={lFrame:Ld(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ym(){return A.lFrame.elementDepthCount}function Dm(){A.lFrame.elementDepthCount++}function wm(){A.lFrame.elementDepthCount--}function Ad(){return A.bindingsEnabled}function Cm(){return A.skipHydrationRootTNode!==null}function Em(t){return A.skipHydrationRootTNode===t}function Im(){A.skipHydrationRootTNode=null}function $(){return A.lFrame.lView}function _e(){return A.lFrame.tView}function oi(t){return A.lFrame.contextLView=t,t[Le]}function ii(t){return A.lFrame.contextLView=null,t}function Ce(){let t=Nd();for(;t!==null&&t.type===64;)t=t.parent;return t}function Nd(){return A.lFrame.currentTNode}function bm(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function gr(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function Rd(){return A.lFrame.isParent}function Mm(){A.lFrame.isParent=!1}function Sm(){return A.lFrame.contextLView}function Od(){let t=A.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Tm(t){return A.lFrame.bindingIndex=t}function Aa(){return A.lFrame.bindingIndex++}function xm(t){let e=A.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function _m(){return A.lFrame.inI18n}function Am(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,Vs(e)}function Nm(){return A.lFrame.currentDirectiveIndex}function Vs(t){A.lFrame.currentDirectiveIndex=t}function Rm(t){let e=A.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Pd(){return A.lFrame.currentQueryIndex}function Na(t){A.lFrame.currentQueryIndex=t}function Om(t){let e=t[P];return e.type===2?e.declTNode:e.type===1?t[Ve]:null}function Fd(t,e,r){if(r&O.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&O.Host);)if(o=Om(i),o===null||(i=i[Mn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=kd();return n.currentTNode=e,n.lView=t,!0}function Ra(t){let e=kd(),r=t[P];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function kd(){let t=A.lFrame,e=t===null?null:t.child;return e===null?Ld(t):e}function Ld(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function jd(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Vd=jd;function Oa(){let t=jd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Pm(t){return(A.lFrame.contextLView=mm(t,A.lFrame.contextLView))[Le]}function Tn(){return A.lFrame.selectedIndex}function Bt(t){A.lFrame.selectedIndex=t}function $d(){let t=A.lFrame;return Md(t.tView,t.selectedIndex)}function Fm(){return A.lFrame.currentNamespace}var Bd=!0;function Pa(){return Bd}function Fa(t){Bd=t}function km(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=Cd(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function ka(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[hn]+=65536),(a>14>16&&(t[I]&3)===e&&(t[I]+=16384,bl(a,i)):bl(a,i)}var yn=-1,ar=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function jm(t){return t instanceof ar}function Vm(t){return(t.flags&8)!==0}function $m(t){return(t.flags&16)!==0}function Hd(t){return t!==yn}function ko(t){return t&32767}function Bm(t){return t>>16}function Lo(t,e){let r=Bm(t),n=e;for(;r>0;)n=n[Mn],r--;return n}var $s=!0;function jo(t){let e=$s;return $s=t,e}var Um=256,zd=Um-1,Wd=5,Hm=0,Ge={};function zm(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Xn)&&(n=r[Xn]),n==null&&(n=r[Xn]=Hm++);let o=n&zd,i=1<>Wd)]|=i}function Gd(t,e){let r=qd(t,e);if(r!==-1)return r;let n=e[P];n.firstCreatePass&&(t.injectorIndex=e.length,Is(n.data,t),Is(e,null),Is(n.blueprint,null));let o=La(t,e),i=t.injectorIndex;if(Hd(o)){let s=ko(o),a=Lo(o,e),c=a[P].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Is(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qd(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function La(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Jd(o),n===null)return yn;if(r++,o=o[Mn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return yn}function Wm(t,e,r){zm(t,e,r)}function Gm(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h=c&&C.type===r)return h}if(o){let h=s[c];if(h&&pr(h)&&h.type===r)return c}return null}function Cn(t,e,r,n){let o=t[r],i=e.data;if(jm(o)){let s=o;s.resolving&&Ng(Ag(i[r]));let a=jo(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ye(s.injectImpl):null,l=Fd(t,n,O.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&km(r,i[r],e)}finally{u!==null&&ye(u),jo(a),s.resolving=!1,Vd()}}return o}function Zm(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Xn)?t[Xn]:void 0;return typeof e=="number"?e>=0?e&zd:Ym:e}function Ml(t,e,r){let n=1<>Wd)]&n)}function Sl(t,e){return!(t&O.Self)&&!(t&O.Host&&e)}var Lt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Qd(this._tNode,this._lView,e,ti(n),r)}};function Ym(){return new Lt(Ce(),$())}function ja(t){return fr(()=>{let e=t.prototype.constructor,r=e[No]||Bs(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[No]||Bs(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bs(t){return Kl(t)?()=>{let e=Bs(Te(t));return e&&e()}:$t(t)}function Qm(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Kd(i,s,r,n|O.Self,Ge);if(a!==Ge)return a;let c=i.parent;if(!c){let u=s[yd];if(u){let l=u.get(r,Ge,n);if(l!==Ge)return l}c=Jd(s),s=s[Mn]}i=c}return o}function Jd(t){let e=t[P],r=e.type;return r===2?e.declTNode:r===1?t[Ve]:null}function Va(t){return Gm(Ce(),t)}var Co="__parameters__";function Km(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Xd(t,e,r){return fr(()=>{let n=Km(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Co)?c[Co]:Object.defineProperty(c,Co,{value:[]})[Co];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function Jm(t){let e=he.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Xm(t){return typeof t=="function"}function ev(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?$a(r,e):e(r))}function ef(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Vo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function nv(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function rv(t,e,r){let n=mr(t,e);return n>=0?t[n|1]=r:(n=~n,nv(t,n,e,r)),n}function bs(t,e){let r=mr(t,e);if(r>=0)return t[r|1]}function mr(t,e){return ov(t,e,1)}function ov(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<e?o=i:n=i+1}return~(o<{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>lv(i));e.push(c)}),av(),Promise.all(e).then(()=>{})}var $o=new Map,sv=new Set;function av(){let t=$o;return $o=new Map,t}function cv(){return $o.size===0}function uv(t){return typeof t=="string"?t:t.text()}function lv(t){sv.delete(t)}var En=new w("ENVIRONMENT_INITIALIZER"),tf=new w("INJECTOR",-1),nf=new w("INJECTOR_DEF_TYPES"),Bo=class{get(e,r=tr){if(r===tr){let n=new Error(`NullInjectorError: No provider for ${fe(e)}!`);throw n.name="NullInjectorError",n}return r}};function ai(t){return{\u0275providers:t}}function dv(...t){return{\u0275providers:rf(!0,t),\u0275fromNgModule:!0}}function rf(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return $a(e,s=>{let a=s;Us(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&of(o,i),r}function of(t,e){for(let r=0;r{e(i,n)})}}function Us(t,e,r,n){if(t=Te(t),!t)return!1;let o=null,i=gl(t),s=!i&&Ct(t);if(!i&&!s){let c=t.ngModule;if(i=gl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Us(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{$a(i.imports,l=>{Us(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&of(u,e)}if(!a){let u=$t(o)||(()=>new o);e({provide:o,useFactory:u,deps:Fe},o),e({provide:nf,useValue:o,multi:!0},o),e({provide:En,useValue:()=>g(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Ua(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Ua(t,e){for(let r of t)Jl(r)&&(r=r.\u0275providers),Array.isArray(r)?Ua(r,e):e(r)}var fv=H({provide:String,useValue:H});function sf(t){return t!==null&&typeof t=="object"&&fv in t}function hv(t){return!!(t&&t.useExisting)}function pv(t){return!!(t&&t.useFactory)}function Hs(t){return typeof t=="function"}var ci=new w("Set Injector scope."),xo={},gv={},Ms;function Ha(){return Ms===void 0&&(Ms=new Bo),Ms}var pe=class{},cr=class extends pe{get destroyed(){return this._destroyed}constructor(e,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,Ws(e,s=>this.processProvider(s)),this.records.set(tf,pn(void 0,this)),o.has("environment")&&this.records.set(pe,pn(void 0,this));let i=this.records.get(ci);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nf,Fe,O.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Dt(this),n=ye(void 0),o;try{return e()}finally{Dt(r),ye(n)}}get(e,r=tr,n=O.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(hl))return e[hl](this);n=ti(n);let o,i=Dt(this),s=ye(void 0);try{if(!(n&O.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Cv(e)&&ei(e);u&&this.injectableDefInScope(u)?c=pn(zs(e),xo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&O.Self?Ha():this.parent;return r=n&O.Optional&&r===tr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Ro]=a[Ro]||[]).unshift(fe(e)),i)throw a;return Hg(a,e,"R3InjectorError",this.source)}else throw a}finally{ye(s),Dt(i)}}resolveInjectorInitializers(){let e=Dt(this),r=ye(void 0),n;try{let o=this.get(En,Fe,O.Self);for(let i of o)i()}finally{Dt(e),ye(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(fe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=Te(e);let r=Hs(e)?e:Te(e&&e.provide),n=vv(e);if(!Hs(e)&&e.multi===!0){let o=this.records.get(r);o||(o=pn(void 0,xo,!0),o.factory=()=>Fs(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){return r.value===xo&&(r.value=gv,r.value=r.factory()),typeof r.value=="object"&&r.value&&wv(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Te(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function zs(t){let e=ei(t),r=e!==null?e.factory:$t(t);if(r!==null)return r;if(t instanceof w)throw new y(204,!1);if(t instanceof Function)return mv(t);throw new y(204,!1)}function mv(t){if(t.length>0)throw new y(204,!1);let r=Pg(t);return r!==null?()=>r.factory(t):()=>new t}function vv(t){if(sf(t))return pn(void 0,t.useValue);{let e=yv(t);return pn(e,xo)}}function yv(t,e,r){let n;if(Hs(t)){let o=Te(t);return $t(o)||zs(o)}else if(sf(t))n=()=>Te(t.useValue);else if(pv(t))n=()=>t.useFactory(...Fs(t.deps||[]));else if(hv(t))n=()=>g(Te(t.useExisting));else{let o=Te(t&&(t.useClass||t.provide));if(Dv(t))n=()=>new o(...Fs(t.deps));else return $t(o)||zs(o)}return n}function pn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Dv(t){return!!t.deps}function wv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Cv(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function Ws(t,e){for(let r of t)Array.isArray(r)?Ws(r,e):r&&Jl(r)?Ws(r.\u0275providers,e):e(r)}function Xe(t,e){t instanceof cr&&t.assertNotDestroyed();let r,n=Dt(t),o=ye(void 0);try{return e()}finally{Dt(n),ye(o)}}function Ev(t){if(!rd()&&!$g())throw new y(-203,!1)}function Tl(t,e=null,r=null,n){let o=af(t,e,r,n);return o.resolveInjectorInitializers(),o}function af(t,e=null,r=null,n,o=new Set){let i=[r||Fe,dv(t)];return n=n||(typeof t=="object"?void 0:fe(t)),new cr(i,e||Ha(),n||null,o)}var $e=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Tl({name:""},o,n,"");{let i=n.name??"";return Tl({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=tr,e.NULL=new Bo,e.\u0275prov=v({token:e,providedIn:"any",factory:()=>g(tf)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Gs;function cf(t){Gs=t}function Iv(){if(Gs!==void 0)return Gs;if(typeof document<"u")return document;throw new y(210,!1)}var ui=new w("AppId",{providedIn:"root",factory:()=>bv}),bv="ng",za=new w("Platform Initializer"),et=new w("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Wa=new w("CSP nonce",{providedIn:"root",factory:()=>Iv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function uf(t){return t instanceof Function?t():t}function Mv(t){return(t??p($e)).get(et)==="browser"}function lf(t){return(t.flags&128)===128}var at=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(at||{});var df=new Map,Sv=0;function Tv(){return Sv++}function xv(t){df.set(t[ni],t)}function _v(t){df.delete(t[ni])}var xl="__ngContext__";function Ut(t,e){kt(e)?(t[xl]=e[ni],xv(e)):t[xl]=e}var Av;function Ga(t,e){return Av(t,e)}function gn(t,e,r,n,o){if(n!=null){let i,s=!1;ut(n)?i=n:kt(n)&&(s=!0,n=n[ct]);let a=Ke(n);t===0&&r!==null?o==null?mf(e,r,a):Uo(e,r,a,o||null,!0):t===1&&r!==null?Uo(e,r,a,o||null,!0):t===2?qv(e,a,s):t===3&&e.destroyNode(a),i!=null&&Yv(e,t,i,r,o)}}function Nv(t,e){return t.createText(e)}function Rv(t,e,r){t.setValue(e,r)}function ff(t,e,r){return t.createElement(e,r)}function Ov(t,e){hf(t,e),e[ct]=null,e[Ve]=null}function Pv(t,e,r,n,o,i){n[ct]=o,n[Ve]=e,li(t,n,r,1,o,i)}function hf(t,e){e[Ye].changeDetectionScheduler?.notify(),li(t,e,e[ie],2,null,null)}function Fv(t){let e=t[or];if(!e)return Ss(t[P],t);for(;e;){let r=null;if(kt(e))r=e[or];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[ke]&&e!==t;)kt(e)&&Ss(e[P],e),e=e[oe];e===null&&(e=t),kt(e)&&Ss(e[P],e),r=e&&e[ke]}e=r}}function kv(t,e,r,n){let o=we+n,i=r.length;n>0&&(r[o-1][ke]=e),n0&&(t[r-1][ke]=n[ke]);let i=Vo(t,we+e);Ov(n[P],n);let s=i[qe];s!==null&&s.detachView(i[P]),n[oe]=null,n[ke]=null,n[I]&=-129}return n}function gf(t,e){if(!(e[I]&256)){let r=e[ie];r.destroyNode&&li(t,e,r,3,null,null),Fv(e)}}function Ss(t,e){if(!(e[I]&256)){e[I]&=-129,e[I]|=256,e[jt]&&Fu(e[jt]),Vv(t,e),jv(t,e),e[P].type===1&&e[ie].destroy();let r=e[hr];if(r!==null&&ut(e[oe])){r!==e[oe]&&pf(r,e);let n=e[qe];n!==null&&n.detachView(t)}_v(e)}}function jv(t,e){let r=t.cleanup,n=e[rr];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&&(e[rr]=null);let o=e[wt];if(o!==null){e[wt]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Ze.None||i===Ze.Emulated)return null}return xe(n,r)}}function Uo(t,e,r,n,o){t.insertBefore(e,r,n,o)}function mf(t,e,r){t.appendChild(e,r)}function _l(t,e,r,n,o){n!==null?Uo(t,e,r,n,o):mf(t,e,r)}function Uv(t,e,r,n){t.removeChild(e,r,n)}function qa(t,e){return t.parentNode(e)}function Hv(t,e){return t.nextSibling(e)}function zv(t,e,r){return Gv(t,e,r)}function Wv(t,e,r){return t.type&40?xe(t,r):null}var Gv=Wv,Al;function Za(t,e,r,n){let o=$v(t,n,e),i=e[ie],s=n.parent||e[Ve],a=zv(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Eo}function Nl(t){return Jv()?.createScriptURL(t)||t}var Ho=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xl})`}};function vr(t){return t instanceof Ho?t.changingThisBreaksApplicationSecurity:t}function Qa(t,e){let r=Xv(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Xl})`)}return r===e}function Xv(t){return t instanceof Ho&&t.getTypeName()||null}var ey=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wf(t){return t=String(t),t.match(ey)?t:"unsafe:"+t}var di=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(di||{});function yr(t){let e=Ef();return e?e.sanitize(di.URL,t)||"":Qa(t,"URL")?vr(t):wf(Xo(t))}function ty(t){let e=Ef();if(e)return Nl(e.sanitize(di.RESOURCE_URL,t)||"");if(Qa(t,"ResourceURL"))return Nl(vr(t));throw new y(904,!1)}function ny(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?ty:yr}function Cf(t,e,r){return ny(e,r)(t)}function Ef(){let t=$();return t&&t[Ye].sanitizer}var Ys=class{};var ry="h",oy="b";var iy=()=>null;function Ka(t,e,r=!1){return iy(t,e,r)}var Qs=class{},zo=class{};function sy(t){let e=Error(`No component factory found for ${fe(t)}.`);return e[ay]=t,e}var ay="ngComponent";var Ks=class{resolveComponentFactory(e){throw sy(e)}},fi=(()=>{let e=class e{};e.NULL=new Ks;let t=e;return t})();function cy(){return xn(Ce(),$())}function xn(t,e){return new lt(xe(t,e))}var lt=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=cy;let t=e;return t})();function uy(t){return t instanceof lt?t.nativeElement:t}var ur=class{},Dr=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>ly();let t=e;return t})();function ly(){let t=$(),e=Ce(),r=It(e.index,t);return(kt(r)?r:t)[ie]}var dy=(()=>{let e=class e{};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Ts={};function Ja(t){let e=le(null);try{return t()}finally{le(e)}}function If(t){return hy(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function fy(t,e){if(Array.isArray(t))for(let r=0;re,Xs=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||py}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new ea(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Wo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ea=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ta=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Wo=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new ta,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Rl(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Ol()),deps:[[e,new Ba,new si]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new y(901,!1)}};e.\u0275prov=v({token:e,providedIn:"root",factory:Ol});let t=e;return t})();function Go(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(Ke(i)),ut(i)&&gy(i,n);let s=r.type;if(s&8)Go(t,e,r.child,n);else if(s&32){let a=Ga(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=vf(e,r);if(Array.isArray(a))n.push(...a);else{let c=sr(e[Qe]);Go(c[P],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function gy(t,e){for(let r=we;r{ir(t.lView)},consumerOnSignalRead(){this.lView[jt]=this}});function Mf(t){return Tf(t[or])}function Sf(t){return Tf(t[ke])}function Tf(t){for(;t!==null&&!ut(t);)t=t[ke];return t}var wy="ngOriginalError";function xs(t){return t[wy]}var Je=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&xs(e);for(;r&&xs(r);)r=xs(r);return r||null}},xf=new w("",{providedIn:"root",factory:()=>p(Je).handleError.bind(void 0)});var _f=!1,Cy=new w("",{providedIn:"root",factory:()=>_f});var qt={};function j(t=1){Af(_e(),$(),Tn()+t,!1)}function Af(t,e,r,n){if(!n)if((e[I]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Mo(e,i,r)}else{let i=t.preOrderHooks;i!==null&&So(e,i,0,r)}Bt(r)}function B(t,e=O.Default){let r=$();if(r===null)return g(t,e);let n=Ce();return Qd(n,r,Te(t),e)}function Nf(){let t="invalid";throw new Error(t)}function Ey(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;nje&&Af(t,e,je,!1),We(s?2:0,o),r(n,o)}finally{Bt(i),We(s?3:1,o)}}function Pf(t,e,r){if(wd(e)){let n=le(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function xy(t,e,r,n){let o=zf(e);o.push(r),t.firstCreatePass&&Wf(t).push(n,o.length-1)}function _y(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Cm()&&(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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Pl(t,e,r,n){for(let o in t)if(t.hasOwnProperty(o)){r=r===null?{}:r;let i=t[o];n===null?Fl(r,e,o,i):n.hasOwnProperty(o)&&Fl(r,e,n[o],i)}return r}function Fl(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function Ay(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function ky(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;ri(r)&&Hy(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Gd(r,e),Ut(n,e);let s=r.initialInputs;for(let a=o;a-1&&(qs(e,n),Vo(r,n))}this._attachedToViewContainer=!1}gf(this._lView[P],this._lView)}onDestroy(e){_d(this._lView,e)}markForCheck(){nc(this._cdRefInjectingView||this._lView)}detach(){this._lView[I]&=-129}reattach(){js(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Qy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,hf(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e,js(this._lView)}},_n=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=nD;let t=e;return t})();function nD(t){return rD(Ce(),$(),(t&16)===16)}function rD(t,e,r){if(ri(t)&&!r){let n=It(t.index,e);return new Ht(n,n)}else if(t.type&47){let n=e[Qe];return new Ht(n,e)}return null}var Qf=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),ia=class extends Qf{constructor(e){super(),this._lView=e}onDestroy(e){return _d(this._lView,e),()=>vm(this._lView,e)}};function oD(){return new ia($())}var kl=new Set;function mi(t){kl.has(t)||(kl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var sa=class extends ue{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=_s(i),o&&(o=_s(o)),s&&(s=_s(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof Z&&e.add(a),a}};function _s(t){return e=>{setTimeout(t,void 0,e)}}var re=sa;function Ll(...t){}function iD(){let t=typeof he.requestAnimationFrame=="function",e=he[t?"requestAnimationFrame":"setTimeout"],r=he[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var U=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!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)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=iD().nativeRequestAnimationFrame,cD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,sD,Ll,Ll);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},sD={};function rc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function aD(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(he,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,aa(t),t.isCheckStableRunning=!0,rc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),aa(t))}function cD(t){let e=()=>{aD(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(uD(a))return r.invokeTask(o,i,s,a);try{return jl(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Vl(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return jl(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Vl(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,aa(t),rc(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function aa(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function jl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Vl(t){t._nesting--,rc(t)}var ca=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new re,this.onMicrotaskEmpty=new re,this.onStable=new re,this.onError=new re}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function uD(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function lD(t="zone.js",e){return t==="noop"?new ca:t==="zone.js"?new U(e):t}var mn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(mn||{}),dD={destroy(){}};function oc(t,e){!e&&Ev(oc);let r=e?.injector??p($e);if(!Mv(r))return dD;mi("NgAfterNextRender");let n=r.get(ic),o=n.handler??=new la,i=e?.phase??mn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(Qf).onDestroy(s),c=new ua(r,i,()=>{s(),t()});return o.register(c),{destroy:s}}var ua=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(U),this.errorHandler=e.get(Je,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},la=class{constructor(){this.executingCallbacks=!1,this.buckets={[mn.EarlyRead]:new Set,[mn.Write]:new Set,[mn.MixedReadWrite]:new Set,[mn.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){let e=!1;this.executingCallbacks=!0;for(let r of Object.values(this.buckets))for(let n of r)e=!0,n.invoke();this.executingCallbacks=!1;for(let r of this.deferredCallbacks)this.buckets[r.phase].add(r);return this.deferredCallbacks.clear(),e}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ic=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function fD(t,e){let r=It(e,t),n=r[P];hD(n,r);let o=r[ct];o!==null&&r[Oo]===null&&(r[Oo]=Ka(o,r[Dn])),sc(n,r,r[Le])}function hD(t,e){for(let r=e.length;r0&&yf(t,r,i.join(" "))}}function CD(t,e,r){let n=t.projection=[];for(let o=0;o>17&32767}function MD(t){return(t&2)==2}function SD(t,e){return t&131071|e<<17}function pa(t){return t|2}function bn(t){return(t&131068)>>2}function As(t,e){return t&-131069|e<<2}function TD(t){return(t&1)===1}function ga(t){return t|1}function xD(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=zt(s),c=bn(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||mr(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=zt(t[a+1]);t[n+1]=Io(f,a),f!==0&&(t[f+1]=As(t[f+1],n)),t[a+1]=SD(t[a+1],n)}else t[n+1]=Io(a,0),a!==0&&(t[a+1]=As(t[a+1],n)),a=n;else t[n+1]=Io(c,0),a===0?a=n:t[c+1]=As(t[c+1],n),c=n;u&&(t[n+1]=pa(t[n+1])),Bl(t,l,n,!0),Bl(t,l,n,!1),_D(e,l,t,n,i),s=Io(a,c),i?e.classBindings=s:e.styleBindings=s}function _D(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&mr(i,e)>=0&&(r[n+1]=ga(r[n+1]))}function Bl(t,e,r,n){let o=t[r+1],i=e===null,s=n?zt(o):bn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];AD(c,e)&&(a=!0,t[s+1]=n?ga(u):pa(u)),s=n?zt(u):bn(u)}a&&(t[r+1]=n?pa(o):ga(o))}function AD(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?mr(t,e)>=0:!1}function W(t,e,r){let n=$(),o=Aa();if(wr(n,o,e)){let i=_e(),s=$d();Ry(i,s,n,t,e,n[ie],r,!1)}return W}function Ul(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";tc(t,r,i[s],s,n)}function uc(t,e){return ND(t,e,null,!0),uc}function ND(t,e,r,n){let o=$(),i=_e(),s=xm(2);if(i.firstUpdatePass&&OD(i,t,s,n),e!==qt&&wr(o,s,e)){let a=i.data[Tn()];jD(i,a,o,o[ie],t,o[s+1]=VD(e,r),n,s)}}function RD(t,e){return e>=t.expandoStartIndex}function OD(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[Tn()],s=RD(t,r);$D(i,n)&&e===null&&!s&&(e=!1),e=PD(o,i,e,n),xD(o,i,e,r,s,n)}}function PD(t,e,r,n){let o=Rm(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ns(null,t,e,r,n),r=lr(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ns(o,t,e,r,n),i===null){let c=FD(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ns(null,t,e,c[1],n),c=lr(c,e.attrs,n),kD(t,e,n,c))}else i=LD(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function FD(t,e,r){let n=r?e.classBindings:e.styleBindings;if(bn(n)!==0)return t[zt(n)]}function kD(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[zt(o)]=n}function LD(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===qt&&(f=d?Fe:void 0);let h=d?bs(f,n):l===n?f:void 0;if(u&&!Zo(h)&&(h=bs(c,n)),Zo(h)&&(a=h,s))return a;let C=t[o+1];o=s?zt(C):bn(C)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=bs(c,n))}return a}function Zo(t){return t!==void 0}function VD(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=fe(vr(t)))),t}function $D(t,e){return(t.flags&(e?8:16))!==0}var M_=new RegExp(`^(\\d+)*(${oy}|${ry})*(.*)`);var BD=()=>null;function zl(t,e){return BD(t,e)}function UD(t,e,r,n){let o=e.tView,s=t[I]&4096?4096:16,a=hi(t,o,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),c=t[e.index];a[hr]=c;let u=t[qe];return u!==null&&(a[qe]=u.createEmbeddedView(o)),sc(o,a,r),a}function Wl(t,e){return!e||e.firstChild===null||lf(t)}function HD(t,e,r,n=!0){let o=e[P];if(kv(o,e,t,r),n){let s=Zs(r,t),a=e[ie],c=qa(a,t[Vt]);c!==null&&Pv(o,t[Ve],a,e,c,s)}let i=e[Oo];i!==null&&i.firstChild!==null&&(i.firstChild=null)}var bt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=zD;let t=e;return t})();function zD(){let t=Ce();return Jf(t,$())}var WD=bt,Kf=class extends WD{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return xn(this._hostTNode,this._hostLView)}get injector(){return new Lt(this._hostTNode,this._hostLView)}get parentInjector(){let e=La(this._hostTNode,this._hostLView);if(Hd(e)){let r=Lo(e,this._hostLView),n=ko(e),o=r[P].data[n+8];return new Lt(o,r)}else return new Lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Gl(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=zl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Wl(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!Xm(e),a;if(s)a=r;else{let C=r||{};a=C.index,n=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef}let c=s?e:new In(Ct(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let F=(s?u:this.parentInjector).get(pe,null);F&&(i=F)}let l=Ct(c.componentType??{}),d=zl(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,Wl(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(pm(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[oe],u=new Kf(c,c[Ve],c[oe]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return HD(s,o,i,n),e.attachToViewContainerRef(),ef(Rs(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Gl(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=qs(this._lContainer,r);n&&(Vo(Rs(this._lContainer),r),gf(n[P],n))}detach(e){let r=this._adjustIndex(e,-1),n=qs(this._lContainer,r);return n&&Vo(Rs(this._lContainer),r)!=null?new Ht(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Gl(t){return t[Po]}function Rs(t){return t[Po]||(t[Po]=[])}function Jf(t,e){let r,n=e[t.index];return ut(n)?r=n:(r=Uf(n,e,null,t),e[t.index]=r,gi(e,r)),qD(r,e,t,n),new Kf(r,t,e)}function GD(t,e){let r=t[ie],n=r.createComment(""),o=xe(e,t),i=qa(r,o);return Uo(r,i,n,Hv(r,o),!1),n}var qD=QD,ZD=()=>!1;function YD(t,e,r){return ZD(t,e,r)}function QD(t,e,r,n){if(t[Vt])return;let o;r.type&8?o=Ke(n):o=GD(e,r),t[Vt]=o}function KD(t,e,r,n,o,i,s,a,c){let u=e.consts,l=pi(e,t,4,s||null,Fo(u,a));jf(e,r,l,Fo(u,c)),ka(e,l);let d=l.tView=ec(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function X(t,e,r,n,o,i,s,a){let c=$(),u=_e(),l=t+je,d=u.firstCreatePass?KD(l,u,c,e,r,n,o,i,s):u.data[l];gr(d,!1);let f=JD(u,c,d,t);Pa()&&Za(u,c,f,d),Ut(f,c);let h=Uf(f,c,f,d);return c[l]=h,gi(c,h),YD(h,d,c),xa(d)&&Ff(u,c,d),s!=null&&kf(c,d,a),X}var JD=XD;function XD(t,e,r,n){return Fa(!0),e[ie].createComment("")}function ew(t,e,r,n,o,i){let s=e.consts,a=Fo(s,o),c=pi(e,t,2,n,a);return jf(e,r,c,Fo(s,i)),c.attrs!==null&&da(c,c.attrs,!1),c.mergedAttrs!==null&&da(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function T(t,e,r,n){let o=$(),i=_e(),s=je+t,a=o[ie],c=i.firstCreatePass?ew(s,i,o,e,r,n):i.data[s],u=tw(i,o,c,a,e,t);o[s]=u;let l=xa(c);return gr(c,!0),Df(a,u,c),(c.flags&32)!==32&&Pa()&&Za(i,o,u,c),ym()===0&&Ut(u,o),Dm(),l&&(Ff(i,o,c),Pf(i,c,o)),n!==null&&kf(o,c),T}function M(){let t=Ce();Rd()?Mm():(t=t.parent,gr(t,!1));let e=t;Em(e)&&Im(),wm();let r=_e();return r.firstCreatePass&&(ka(r,t),wd(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Vm(e)&&Ul(r,e,$(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&$m(e)&&Ul(r,e,$(),e.stylesWithoutHost,!1),M}function Ee(t,e,r,n){return T(t,e,r,n),M(),Ee}var tw=(t,e,r,n,o,i)=>(Fa(!0),ff(n,o,Fm()));function vi(){return $()}var Yo="en-US";var nw=Yo;function rw(t){Rg(t,"Expected localeId to be defined"),typeof t=="string"&&(nw=t.toLowerCase().replace(/_/g,"-"))}function An(t){return!!t&&typeof t.then=="function"}function lc(t){return!!t&&typeof t.subscribe=="function"}function Zt(t,e,r,n){let o=$(),i=_e(),s=Ce();return iw(i,o,o[ie],s,t,e,n),Zt}function ow(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function iw(t,e,r,n,o,i,s){let a=xa(n),u=t.firstCreatePass&&Wf(t),l=e[Le],d=zf(e),f=!0;if(n.type&3||s){let F=xe(n,e),x=s?s(F):F,E=d.length,Y=s?z=>s(Ke(z[n.index])):n.index,be=null;if(!s&&a&&(be=ow(t,e,o,n.index)),be!==null){let z=be.__ngLastListenerFn__||be;z.__ngNextListenerFn__=i,be.__ngLastListenerFn__=i,f=!1}else{i=Zl(n,e,l,i,!1);let z=r.listen(x,o,i);d.push(i,z),u&&u.push(o,Y,E,E+1)}}else i=Zl(n,e,l,i,!1);let h=n.outputs,C;if(f&&h!==null&&(C=h[o])){let F=C.length;if(F)for(let x=0;x-1?It(t.index,e):e;nc(a);let c=ql(e,r,n,s),u=i.__ngNextListenerFn__;for(;u;)c=ql(e,r,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function dt(t=1){return Pm(t)}function sw(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Xf(t){let e=Sm();return Sd(e,je+t)}function k(t,e=""){let r=$(),n=_e(),o=t+je,i=n.firstCreatePass?pi(n,o,1,e,null):n.data[o],s=aw(n,r,i,e,t);r[o]=s,Pa()&&Za(n,r,s,i),gr(i,!1)}var aw=(t,e,r,n,o)=>(Fa(!0),Nv(e[ie],n));function tt(t){return Be("",t,""),tt}function Be(t,e,r){let n=$(),o=bD(n,t,e,r);return o!==qt&&Zy(n,Tn(),o),Be}var Et=class{},dr=class{};var Qo=class extends Et{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qo(this);let o=gd(e);this._bootstrapComponents=uf(o.bootstrap),this._r3Injector=af(e,r,[{provide:Et,useValue:this},{provide:fi,useValue:this.componentFactoryResolver},...n],fe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ko=class extends dr{constructor(e){super(),this.moduleType=e}create(e){return new Qo(this.moduleType,e,[])}};function cw(t,e,r){return new Qo(t,e,r)}var ma=class extends Et{constructor(e){super(),this.componentFactoryResolver=new qo(this),this.instance=null;let r=new cr([...e.providers,{provide:Et,useValue:this},{provide:fi,useValue:this.componentFactoryResolver}],e.parent||Ha(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function yi(t,e,r=null){return new ma({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var uw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=rf(!1,n.type),i=o.length>0?yi([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()}}};e.\u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(g(pe))});let t=e;return t})();function eh(t){mi("NgStandalone"),t.getStandaloneInjector=e=>e.get(uw).getOrCreateStandaloneInjector(t)}function th(t,e,r,n){return nh($(),Od(),t,e,r,n)}function lw(t,e){let r=t[e];return r===qt?void 0:r}function nh(t,e,r,n,o,i){let s=e+r;return wr(t,s,o)?ID(t,s+1,i?n.call(i,o):n(o)):lw(t,s+1)}function Nn(t,e){let r=_e(),n,o=t+je;r.firstCreatePass?(n=dw(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=$t(n.type,!0)),s,a=ye(B);try{let c=jo(!1),u=i();return jo(c),sw(r,$(),o,u),u}finally{ye(a)}}function dw(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Rn(t,e,r){let n=t+je,o=$(),i=Sd(o,n);return fw(o,n)?nh(o,Od(),e,i.transform,r,i):i.transform(r)}function fw(t,e){return t[P].data[e].pure}function hw(){return this._results[Symbol.iterator]()}var va=class t{get changes(){return this._changes??=new re}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=hw)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=tv(e);(this._changesDetected=!ev(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Wt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mw;let t=e;return t})(),pw=Wt,gw=class extends pw{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=UD(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new Ht(o)}};function mw(){return dc(Ce(),$())}function dc(t,e){return t.type&4?new gw(e,t,xn(t,e)):null}var ya=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Da=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=we;d{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),ba=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},wi=(()=>{let e=class e{compileModuleSync(n){return new Ko(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=gd(n),s=uf(i.declarations).reduce((a,c)=>{let u=Ct(c);return u&&a.push(new In(u)),a},[]);return new ba(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sw=new w("compilerOptions");var Yt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var fc=new w(""),Cr=new w(""),Ci=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hc||(Tw(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(g(U),g(Ei),g(Cr))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Ei=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return hc?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Tw(t){hc=t}var hc,Ii=new w("Application Initializer"),ch=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Ii,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(An(s))n.push(s);else if(lc(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bi=new w("appBootstrapListener");function xw(t,e,r){let n=new Ko(r);return Promise.resolve(n)}function _w(){ku(()=>{throw new y(600,!1)})}function Aw(t){return t.isBoundToModule}function Nw(t,e,r){try{let n=r();return An(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function uh(t,e){return Array.isArray(e)?e.reduce(uh,t):m(m({},t),e)}var Qt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(xf),this.afterRenderEffectManager=p(ic),this.componentTypes=[],this.components=[],this.isStable=p(Yt).hasPendingTasks.pipe(_(n=>!n)),this._injector=p(pe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof zo;if(!this._injector.get(ch).done){let h=!i&&pd(n),C=!1;throw new y(405,C)}let a;i?a=n:a=this._injector.get(fi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Aw(a)?void 0:this._injector.get(Et),u=o||a.selector,l=a.create($e.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(fc,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ao(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Ao(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(bi,[]);[...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),()=>Ao(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ao(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Yl(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Rw=(()=>{let e=class e{constructor(){this.zone=p(U),this.applicationRef=p(Qt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ow(t){return[{provide:U,useFactory:t},{provide:En,multi:!0,useFactory:()=>{let e=p(Rw,{optional:!0});return()=>e.initialize()}},{provide:En,multi:!0,useFactory:()=>{let e=p(kw);return()=>{e.initialize()}}},{provide:xf,useFactory:Pw}]}function Pw(){let t=p(U),e=p(Je);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Fw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var kw=(()=>{let e=class e{constructor(){this.subscription=new Z,this.initialized=!1,this.zone=p(U),this.pendingTasks=p(Yt)}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(()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lw(){return typeof $localize<"u"&&$localize.locale||Yo}var pc=new w("LocaleId",{providedIn:"root",factory:()=>p(pc,O.Optional|O.SkipSelf)||Lw()});var lh=new w("PlatformDestroyListeners"),dh=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=lD(o?.ngZone,Fw({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=cw(n.moduleType,this.injector,Ow(()=>i)),a=s.injector.get(Je,null);return i.runOutsideAngular(()=>{let c=i.onError.subscribe({next:u=>{a.handleError(u)}});s.onDestroy(()=>{Ao(this._modules,s),c.unsubscribe()})}),Nw(a,i,()=>{let c=s.injector.get(ch);return c.runInitializers(),c.donePromise.then(()=>{let u=s.injector.get(pc,Yo);return rw(u||Yo),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=uh({},o);return xw(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Qt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new y(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(lh,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(g($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),er=null,fh=new w("AllowMultipleToken");function jw(t){if(er&&!er.get(fh,!1))throw new y(400,!1);_w(),er=t;let e=t.get(dh);return Bw(t),e}function gc(t,e,r=[]){let n=`Platform: ${e}`,o=new w(n);return(i=[])=>{let s=hh();if(!s||s.injector.get(fh,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):jw(Vw(a,n))}return $w(o)}}function Vw(t=[],e){return $e.create({name:e,providers:[{provide:ci,useValue:"platform"},{provide:lh,useValue:new Set([()=>er=null])},...t]})}function $w(t){let e=hh();if(!e)throw new y(401,!1);return e}function hh(){return er?.get(dh)??null}function Bw(t){t.get(za,null)?.forEach(r=>r())}var ph=gc(null,"core",[]),gh=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(g(Qt))},e.\u0275mod=ae({type:e}),e.\u0275inj=se({});let t=e;return t})();function Er(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function mh(t){let e=Ct(t);if(!e)return null;let r=new In(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var mc=null;function Kt(){return mc}function Eh(t){mc||(mc=t)}var Mi=class{},ce=new w("DocumentToken"),Ic=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(Uw))(),providedIn:"platform"});let t=e;return t})(),Ih=new w("Location Initialized"),Uw=(()=>{let e=class e extends Ic{constructor(){super(),this._doc=p(ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kt().getBaseHref(this._doc)}onPopState(n){let o=Kt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Kt().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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function bc(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function vh(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function ft(t){return t&&t[0]!=="?"?"?"+t:t}var ht=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(Mc))(),providedIn:"root"});let t=e;return t})(),bh=new w("appBaseHref"),Mc=(()=>{let e=class e extends ht{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ce).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 bc(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+ft(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+ft(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+ft(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)}};e.\u0275fac=function(o){return new(o||e)(g(Ic),g(bh,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mh=(()=>{let e=class e extends ht{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash;return o==null&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=bc(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+ft(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+ft(s));a.length==0&&(a=this._platformLocation.pathname),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)}};e.\u0275fac=function(o){return new(o||e)(g(Ic),g(bh,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Pn=(()=>{let e=class e{constructor(n){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Ww(vh(yh(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+ft(o))}normalize(n){return e.stripTrailingSlash(zw(this._basePath,yh(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+ft(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ft(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._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})}};e.normalizeQueryParams=ft,e.joinWithSlash=bc,e.stripTrailingSlash=vh,e.\u0275fac=function(o){return new(o||e)(g(ht))},e.\u0275prov=v({token:e,factory:()=>Hw(),providedIn:"root"});let t=e;return t})();function Hw(){return new Pn(g(ht))}function zw(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function yh(t){return t.replace(/\/index.html$/,"")}function Ww(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Si(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var vc=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Mt=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new vc(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),Dh(c,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Dh(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(B(bt),B(Wt),B(Xa))},e.\u0275dir=Gt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Dh(t,e){t.context.$implicit=e.item}var St=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new yc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){wh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(B(bt),B(Wt))},e.\u0275dir=Gt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),yc=class{constructor(){this.$implicit=null,this.ngIf=null}};function wh(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${fe(e)}'.`)}function Gw(t,e){return new y(2100,!1)}var Dc=class{createSubscription(e,r){return Ja(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Ja(()=>e.unsubscribe())}},wc=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qw=new wc,Zw=new Dc,Fn=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(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(An(n))return qw;if(lc(n))return Zw;throw Gw(e,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._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(B(_n,16))},e.\u0275pipe=dd({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Ti=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e}),e.\u0275inj=se({});let t=e;return t})(),Sc="browser",Yw="server";function Qw(t){return t===Sc}function Tc(t){return t===Yw}var Sh=(()=>{let e=class e{};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>Qw(p(et))?new Cc(p(ce),window):new Ec});let t=e;return t})(),Cc=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=Kw(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function Kw(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var Ec=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},On=class{};var br=class{},_i=class{},Jt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var _c=class{encodeKey(e){return Th(e)}encodeValue(e){return Th(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eC(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var tC=/%(\d[a-f0-9])/gi,nC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Th(t){return encodeURIComponent(t).replace(tC,(e,r)=>nC[r]??e)}function xi(t){return`${t}`}var Tt=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new _c,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eC(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(xi):[xi(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(xi(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(xi(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ac=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xh(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function _h(t){return typeof Blob<"u"&&t instanceof Blob}function Ah(t){return typeof FormData<"u"&&t instanceof FormData}function oC(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ir=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(rC(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new Jt),this.context||(this.context=new Ac),!this.params)this.params=new Tt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new t(r,n,i,{params:u,headers:c,context:l,reportProgress:a,responseType:o,withCredentials:s})}},Ln=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Ln||{}),Mr=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Jt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Nc=class t extends Mr{constructor(e={}){super(e),this.type=Ln.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ai=class t extends Mr{constructor(e={}){super(e),this.type=Ln.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ni=class extends Mr{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function xc(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Rc=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Ir)s=n;else{let u;i.headers instanceof Jt?u=i.headers:u=new Jt(i.headers);let l;i.params&&(i.params instanceof Tt?l=i.params:l=new Tt({fromObject:i.params})),s=new Ir(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=D(s).pipe(it(u=>this.handler.handle(u)));if(n instanceof Ir||i.observe==="events")return a;let c=a.pipe(te(u=>u instanceof Ai));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(_(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(_(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(_(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(_(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new Tt().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,xc(i,o))}post(n,o,i={}){return this.request("POST",n,xc(i,o))}put(n,o,i={}){return this.request("PUT",n,xc(i,o))}};e.\u0275fac=function(o){return new(o||e)(g(br))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function Ph(t,e){return e(t)}function iC(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function sC(t,e,r){return(n,o)=>Xe(r,()=>e(n,i=>t(i,o)))}var aC=new w(""),Oc=new w(""),cC=new w(""),uC=new w("");function lC(){let t=null;return(e,r)=>{t===null&&(t=(p(aC,{optional:!0})??[]).reduceRight(iC,Ph));let n=p(Yt),o=n.add();return t(e,r).pipe(yt(()=>n.remove(o)))}}var Nh=(()=>{let e=class e extends br{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=p(Yt);let i=p(uC,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Oc),...this.injector.get(cC,[])]));this.chain=i.reduceRight((s,a)=>sC(s,a,this.injector),Ph)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(yt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(g(_i),g(pe))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();var dC=/^\)\]\}',?\n/;function fC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Rh=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?G(o.\u0275loadImpl()):D(null)).pipe(ne(()=>new L(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((x,E)=>a.setRequestHeader(x,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let x=n.detectContentTypeHeader();x!==null&&a.setRequestHeader("Content-Type",x)}if(n.responseType){let x=n.responseType.toLowerCase();a.responseType=x!=="json"?x:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let x=a.statusText||"OK",E=new Jt(a.getAllResponseHeaders()),Y=fC(a)||n.url;return u=new Nc({headers:E,status:a.status,statusText:x,url:Y}),u},d=()=>{let{headers:x,status:E,statusText:Y,url:be}=l(),z=null;E!==204&&(z=typeof a.response>"u"?a.responseText:a.response),E===0&&(E=z?200:0);let me=E>=200&&E<300;if(n.responseType==="json"&&typeof z=="string"){let Re=z;z=z.replace(dC,"");try{z=z!==""?JSON.parse(z):null}catch(Yn){z=Re,me&&(me=!1,z={error:Yn,text:z})}}me?(s.next(new Ai({body:z,headers:x,status:E,statusText:Y,url:be||void 0})),s.complete()):s.error(new Ni({error:z,headers:x,status:E,statusText:Y,url:be||void 0}))},f=x=>{let{url:E}=l(),Y=new Ni({error:x,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(Y)},h=!1,C=x=>{h||(s.next(l()),h=!0);let E={type:Ln.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(E.total=x.total),n.responseType==="text"&&a.responseText&&(E.partialText=a.responseText),s.next(E)},F=x=>{let E={type:Ln.UploadProgress,loaded:x.loaded};x.lengthComputable&&(E.total=x.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",C),c!==null&&a.upload&&a.upload.addEventListener("progress",F)),a.send(c),s.next({type:Ln.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",C),c!==null&&a.upload&&a.upload.removeEventListener("progress",F)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(g(On))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Fh=new w("XSRF_ENABLED"),hC="XSRF-TOKEN",pC=new w("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>hC}),gC="X-XSRF-TOKEN",mC=new w("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>gC}),Ri=class{},vC=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Si(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(g(ce),g(et),g(pC))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function yC(t,e){let r=t.url.toLowerCase();if(!p(Fh)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(Ri).getToken(),o=p(mC);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var kh=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(kh||{});function DC(t,e){return{\u0275kind:t,\u0275providers:e}}function wC(...t){let e=[Rc,Rh,Nh,{provide:br,useExisting:Nh},{provide:_i,useExisting:Rh},{provide:Oc,useValue:yC,multi:!0},{provide:Fh,useValue:!0},{provide:Ri,useClass:vC}];for(let r of t)e.push(...r.\u0275providers);return ai(e)}var Oh=new w("LEGACY_INTERCEPTOR_FN");function CC(){return DC(kh.LegacyInterceptors,[{provide:Oh,useFactory:lC},{provide:Oc,useExisting:Oh,multi:!0}])}var Lh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e}),e.\u0275inj=se({providers:[wC(CC())]});let t=e;return t})();var kc=class extends Mi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Lc=class t extends kc{static makeCurrent(){Eh(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=IC();return r==null?null:bC(r)}resetBaseElement(){Sr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Si(document.cookie,e)}},Sr=null;function IC(){return Sr=Sr||document.querySelector("base"),Sr?Sr.getAttribute("href"):null}function bC(t){return new URL(t,document.baseURI).pathname}var jc=class{addToWindow(e){he.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new y(5103,!1);return i},he.getAllAngularTestabilities=()=>e.getAllTestabilities(),he.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=he.getAllAngularTestabilities(),i=o.length,s=!1,a=function(c){s=s||c,i--,i==0&&n(s)};o.forEach(c=>{c.whenStable(a)})};he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?Kt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},MC=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Vc=new w("EventManagerPlugins"),Bh=(()=>{let e=class e{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 y(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(g(Vc),g(U))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Oi=class{constructor(e){this._doc=e}},Pc="ng-app-id",Uh=(()=>{let e=class e{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=Tc(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[${Pc}="${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(Pc),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Pc,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)}};e.\u0275fac=function(o){return new(o||e)(g(ce),g(ui),g(Wa,8),g(et))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Fc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bc=/%COMP%/g,Hh="%COMP%",SC=`_nghost-${Hh}`,TC=`_ngcontent-${Hh}`,xC=!0,_C=new w("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>xC});function AC(t){return TC.replace(Bc,t)}function NC(t){return SC.replace(Bc,t)}function zh(t,e){return e.map(r=>r.replace(Bc,t))}var jh=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Tc(c),this.defaultRenderer=new Tr(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ze.ShadowDom&&(o=Q(m({},o),{encapsulation:Ze.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Pi?i.applyToHost(n):i instanceof xr&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ze.Emulated:s=new Pi(u,l,o,this.appId,d,a,c,f);break;case Ze.ShadowDom:return new $c(u,l,n,o,a,c,this.nonce,f);default:s=new xr(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(g(Bh),g(Uh),g(ui),g(_C),g(ce),g(et),g(U),g(Wa))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Tr=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Fc[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Vh(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Vh(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Fc[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Fc[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(at.DashCase|at.Important)?e.style.setProperty(r,n,o&at.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&at.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Kt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Vh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var $c=class extends Tr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=zh(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},xr=class extends Tr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?zh(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Pi=class extends xr{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=AC(u),this.hostAttr=NC(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},RC=(()=>{let e=class e extends Oi{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)}};e.\u0275fac=function(o){return new(o||e)(g(ce))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),$h=["alt","control","meta","shift"],OC={"\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"},PC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},FC=(()=>{let e=class e extends Oi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().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=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),$h.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 u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=OC[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"),$h.forEach(a=>{if(a!==i){let c=PC[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(g(ce))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function kC(){Lc.makeCurrent()}function LC(){return new Je}function jC(){return cf(document),document}var VC=[{provide:et,useValue:Sc},{provide:za,useValue:kC,multi:!0},{provide:ce,useFactory:jC,deps:[]}],Wh=gc(ph,"browser",VC),$C=new w(""),BC=[{provide:Cr,useClass:jc,deps:[]},{provide:fc,useClass:Ci,deps:[U,Ei,Cr]},{provide:Ci,useClass:Ci,deps:[U,Ei,Cr]}],UC=[{provide:ci,useValue:"root"},{provide:Je,useFactory:LC,deps:[]},{provide:Vc,useClass:RC,multi:!0,deps:[ce,U,et]},{provide:Vc,useClass:FC,multi:!0,deps:[ce]},jh,Uh,Bh,{provide:ur,useExisting:jh},{provide:On,useClass:MC,deps:[]},[]],Gh=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ui,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(g($C,12))},e.\u0275mod=ae({type:e}),e.\u0275inj=se({providers:[...UC,...BC],imports:[Ti,gh]});let t=e;return t})();function HC(){return new Uc(g(ce))}var Uc=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(g(ce))},e.\u0275prov=v({token:e,factory:function(o){let i=null;return o?i=new o:i=HC(),i},providedIn:"root"});let t=e;return t})();var S="primary",Hr=Symbol("RouteTitle"),qc=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Un(t){return new qc(t)}function zC(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Nt(t){return hs(t)?t:An(t)?G(Promise.resolve(t)):D(t)}var GC={exact:op,subset:ip},rp={exact:qC,subset:ZC,ignored:()=>!0};function Zh(t,e,r){return GC[r.paths](t.root,e.root,r.matrixParams)&&rp[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function qC(t,e){return nt(t,e)}function op(t,e,r){if(!en(t.segments,e.segments)||!Li(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!op(t.children[n],e.children[n],r))return!1;return!0}function ZC(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>np(t[r],e[r]))}function ip(t,e,r){return sp(t,e,e.segments,r)}function sp(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!en(o,r)||e.hasChildren()||!Li(o,r,n))}else if(t.segments.length===r.length){if(!en(t.segments,r)||!Li(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!ip(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!en(t.segments,o)||!Li(t.segments,o,n)||!t.children[S]?!1:sp(t.children[S],e,i,n)}}function Li(t,e,r){return e.every((n,o)=>rp[r](t[o].parameters,n.parameters))}var xt=class{constructor(e=new V([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){return KC.serialize(this)}},V=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ji(this)}},Xt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=Un(this.parameters)),this._parameterMap}toString(){return cp(this)}};function YC(t,e){return en(t,e)&&t.every((r,n)=>nt(r.parameters,e[n].parameters))}function en(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function QC(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===S&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==S&&(r=r.concat(e(o,n)))}),r}var zr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>new Fr)(),providedIn:"root"});let t=e;return t})(),Fr=class{parse(e){let r=new Qc(e);return new xt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${_r(e.root,!0)}`,n=eE(e.queryParams),o=typeof e.fragment=="string"?`#${JC(e.fragment)}`:"";return`${r}${n}${o}`}},KC=new Fr;function ji(t){return t.segments.map(e=>cp(e)).join("/")}function _r(t,e){if(!t.hasChildren())return ji(t);if(e){let r=t.children[S]?_r(t.children[S],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==S&&n.push(`${o}:${_r(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=QC(t,(n,o)=>o===S?[_r(t.children[S],!1)]:[`${o}:${_r(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[S]!=null?`${ji(t)}/${r[0]}`:`${ji(t)}/(${r.join("//")})`}}function ap(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fi(t){return ap(t).replace(/%3B/gi,";")}function JC(t){return encodeURI(t)}function Yc(t){return ap(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vi(t){return decodeURIComponent(t)}function Yh(t){return Vi(t.replace(/\+/g,"%20"))}function cp(t){return`${Yc(t.path)}${XC(t.parameters)}`}function XC(t){return Object.entries(t).map(([e,r])=>`;${Yc(e)}=${Yc(r)}`).join("")}function eE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Fi(r)}=${Fi(o)}`).join("&"):`${Fi(r)}=${Fi(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var tE=/^[^\/()?;#]+/;function Hc(t){let e=t.match(tE);return e?e[0]:""}var nE=/^[^\/()?;=#]+/;function rE(t){let e=t.match(nE);return e?e[0]:""}var oE=/^[^=?&#]+/;function iE(t){let e=t.match(oE);return e?e[0]:""}var sE=/^[^&#]+/;function aE(t){let e=t.match(sE);return e?e[0]:""}var Qc=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[S]=new V(e,r)),n}parseSegment(){let e=Hc(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new Xt(Vi(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=rE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Hc(this.remaining);o&&(n=o,this.capture(n))}e[Vi(r)]=Vi(n)}parseQueryParam(e){let r=iE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=aE(this.remaining);s&&(n=s,this.capture(n))}let o=Yh(r),i=Yh(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Hc(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=S);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[S]:new V([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function up(t){return t.segments.length>0?new V([],{[S]:t}):t}function lp(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=lp(o);if(n===S&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new V(t.segments,e);return cE(r)}function cE(t){if(t.numberOfChildren===1&&t.children[S]){let e=t.children[S];return new V(t.segments.concat(e.segments),e.children)}return t}function Hn(t){return t instanceof xt}function uE(t,e,r=null,n=null){let o=dp(t);return fp(o,e,r,n)}function dp(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new V(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=up(n);return e??o}function fp(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return zc(o,o,o,r,n);let i=lE(e);if(i.toRoot())return zc(o,o,new V([],{}),r,n);let s=dE(i,o,t),a=s.processChildren?Rr(s.segmentGroup,s.index,i.commands):pp(s.segmentGroup,s.index,i.commands);return zc(o,s.segmentGroup,a,r,n)}function $i(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function kr(t){return typeof t=="object"&&t!=null&&t.outlets}function zc(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=hp(t,e,r);let a=up(lp(s));return new xt(a,i,o)}function hp(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=hp(i,e,r)}),new V(t.segments,n)}var Bi=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&$i(n[0]))throw new y(4003,!1);let o=n.find(kr);if(o&&o!==n.at(-1))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function lE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Bi(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Bi(r,e,n)}var $n=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function dE(t,e,r){if(t.isAbsolute)return new $n(e,!0,0);if(!r)return new $n(e,!1,NaN);if(r.parent===null)return new $n(r,!0,0);let n=$i(t.commands[0])?0:1,o=r.segments.length-1+n;return fE(r,o,t.numberOfDoubleDots)}function fE(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new y(4005,!1);o=n.segments.length}return new $n(n,!1,o-i)}function hE(t){return kr(t[0])?t[0].outlets:{[S]:t}}function pp(t,e,r){if(t||(t=new V([],{})),t.segments.length===0&&t.hasChildren())return Rr(t,e,r);let n=pE(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==S)&&t.children[S]&&t.numberOfChildren===1&&t.children[S].segments.length===0){let i=Rr(t.children[S],e,r);return new V(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=pp(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new V(t.segments,o)}}function pE(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(kr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Kh(c,u,s))return i;n+=2}else{if(!Kh(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Kc(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Kc(new V([],{}),0,n))}),e}function Qh(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Kh(t,e,r){return t==r.path&&nt(e,r.parameters)}var Or="imperative",Ae=class{constructor(e,r){this.id=e,this.url=r}},zn=class extends Ae{constructor(e,r,n="imperative",o=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ue=class extends Ae{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},_t=class extends Ae{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},At=class extends Ae{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=16}},Lr=class extends Ae{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ui=class extends Ae{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jc=class extends Ae{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xc=class extends Ae{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},eu=class extends Ae{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tu=class extends Ae{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nu=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ru=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ou=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},iu=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},su=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},au=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hi=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},jr=class{},Vr=class{constructor(e){this.url=e}};var cu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Wr,this.attachRef=null}},Wr=(()=>{let e=class e{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 cu,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zi=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=uu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=uu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=lu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return lu(e,this._root).map(r=>r.value)}};function uu(t,e){if(t===e.value)return e;for(let r of e.children){let n=uu(t,r);if(n)return n}return null}function lu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=lu(t,r);if(n.length)return n.unshift(e),n}return[]}var Ie=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Vn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Wi=class extends zi{constructor(e,r){super(e),this.snapshot=r,wu(this,e)}toString(){return this.snapshot.toString()}};function gp(t){let e=mE(t),r=new ee([new Xt("",{})]),n=new ee({}),o=new ee({}),i=new ee({}),s=new ee(""),a=new pt(r,n,i,s,o,S,t,e.root);return a.snapshot=e.root,new Wi(new Ie(a,[]),e)}function mE(t){let e={},r={},n={},o="",i=new $r([],e,n,o,r,S,t,null,{});return new Gi("",new Ie(i,[]))}var pt=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(_(u=>u[Hr]))??D(void 0),this.url=e,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._paramMap=this.params.pipe(_(e=>Un(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(_(e=>Un(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Du(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:m(m({},e.params),t.params),data:m(m({},e.data),t.data),resolve:m(m(m(m({},t.data),e.data),o?.data),t._resolvedData)}:n={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},o&&vp(o)&&(n.resolve[Hr]=o.title),n}var $r=class{get title(){return this.data?.[Hr]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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._paramMap=Un(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Un(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Gi=class extends zi{constructor(e,r){super(r),this.url=e,wu(this,r)}toString(){return mp(this._root)}};function wu(t,e){e.value._routerState=t,e.children.forEach(r=>wu(t,r))}function mp(t){let e=t.children.length>0?` { ${t.children.map(mp).join(", ")} } `:"";return`${t.value}${e}`}function Wc(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,nt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),nt(e.params,r.params)||t.paramsSubject.next(r.params),WC(e.url,r.url)||t.urlSubject.next(r.url),nt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function du(t,e){let r=nt(t.params,e.params)&&YC(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||du(t.parent,e.parent))}function vp(t){return typeof t.title=="string"||t.title===null}var Cu=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=S,this.activateEvents=new re,this.deactivateEvents=new re,this.attachEvents=new re,this.detachEvents=new re,this.parentContexts=p(Wr),this.location=p(bt),this.changeDetector=p(_n),this.environmentInjector=p(pe),this.inputBinder=p(Ki,{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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,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 y(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new fu(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Gt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Sn]});let t=e;return t})(),fu=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===pt?this.route:e===Wr?this.childContexts:this.parent.get(e,r)}},Ki=new w(""),Jh=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Jn([o.queryParams,o.params,o.data]).pipe(ne(([s,a,c],u)=>(c=m(m(m({},s),a),c),u===0?D(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=mh(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function vE(t,e,r){let n=Br(t,e._root,r?r._root:void 0);return new Wi(n,e)}function Br(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=yE(t,e,r);return new Ie(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Br(t,a)),s}}let n=DE(e.value),o=e.children.map(i=>Br(t,i));return new Ie(n,o)}}function yE(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Br(t,n,o);return Br(t,n)})}function DE(t){return new pt(new ee(t.url),new ee(t.params),new ee(t.queryParams),new ee(t.fragment),new ee(t.data),t.outlet,t.component,t)}var yp="ngNavigationCancelingError";function Dp(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Hn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=wp(!1,0,e);return o.url=r,o.navigationBehaviorOptions=n,o}function wp(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[yp]=!0,n.cancellationCode=e,r&&(n.url=r),n}function wE(t){return Cp(t)&&Hn(t.url)}function Cp(t){return t&&t[yp]}var CE=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=De({type:e,selectors:[["ng-component"]],standalone:!0,features:[eh],decls:1,vars:0,template:function(o,i){o&1&&Ee(0,"router-outlet")},dependencies:[Cu],encapsulation:2});let t=e;return t})();function EE(t,e){return t.providers&&!t._injector&&(t._injector=yi(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Eu(t){let e=t.children&&t.children.map(Eu),r=e?Q(m({},t),{children:e}):m({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==S&&(r.component=CE),r}function rt(t){return t.outlet||S}function IE(t,e){let r=t.filter(n=>rt(n)===e);return r.push(...t.filter(n=>rt(n)!==e)),r}function Gr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var bE=(t,e,r,n)=>_(o=>(new hu(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),hu=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Wc(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Vn(r);e.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(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Vn(e);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(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Vn(e);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(e,r,n){let o=Vn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new au(i.value.snapshot))}),e.children.length&&this.forwardEvent(new iu(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Wc(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,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),Wc(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Gr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},qi=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Bn=class{constructor(e,r){this.component=e,this.route=r}};function ME(t,e,r){let n=t._root,o=e?e._root:null;return Ar(n,o,r,[n.value])}function SE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Gn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!ed(t)?t:e.get(t):n}function Ar(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Vn(e);return t.children.forEach(s=>{TE(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Pr(a,r.getContext(s),o)),o}function TE(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=xE(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new qi(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ar(t,e,a?a.children:null,n,o):Ar(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Bn(a.outlet.component,s))}else s&&Pr(e,a,o),o.canActivateChecks.push(new qi(n)),i.component?Ar(t,null,a?a.children:null,n,o):Ar(t,null,r,n,o);return o}function xE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!en(t.url,e.url);case"pathParamsOrQueryParamsChange":return!en(t.url,e.url)||!nt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!du(t,e)||!nt(t.queryParams,e.queryParams);case"paramsChange":default:return!du(t,e)}}function Pr(t,e,r){let n=Vn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Pr(s,e.children.getContext(i),r):Pr(s,null,r):Pr(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Bn(e.outlet.component,o)):r.canDeactivateChecks.push(new Bn(null,o)):r.canDeactivateChecks.push(new Bn(null,o))}function qr(t){return typeof t=="function"}function _E(t){return typeof t=="boolean"}function AE(t){return t&&qr(t.canLoad)}function NE(t){return t&&qr(t.canActivate)}function RE(t){return t&&qr(t.canActivateChild)}function OE(t){return t&&qr(t.canDeactivate)}function PE(t){return t&&qr(t.canMatch)}function Ep(t){return t instanceof ot||t?.name==="EmptyError"}var ki=Symbol("INITIAL_VALUE");function Wn(){return ne(t=>Jn(t.map(e=>e.pipe(st(1),Ds(ki)))).pipe(_(e=>{for(let r of e)if(r!==!0){if(r===ki)return ki;if(r===!1||r instanceof xt)return r}return!0}),te(e=>e!==ki),st(1)))}function FE(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?D(Q(m({},r),{guardsResult:!0})):kE(s,n,o,t).pipe(K(a=>a&&_E(a)?LE(n,i,t,e):D(a)),_(a=>Q(m({},r),{guardsResult:a})))})}function kE(t,e,r,n){return G(t).pipe(K(o=>UE(o.component,o.route,r,e,n)),ze(o=>o!==!0,!0))}function LE(t,e,r,n){return G(e).pipe(it(o=>dn(VE(o.route.parent,n),jE(o.route,n),BE(t,o.path,r),$E(t,o.route,r))),ze(o=>o!==!0,!0))}function jE(t,e){return t!==null&&e&&e(new su(t)),D(!0)}function VE(t,e){return t!==null&&e&&e(new ou(t)),D(!0)}function $E(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return D(!0);let o=n.map(i=>Do(()=>{let s=Gr(e)??r,a=Gn(i,s),c=NE(a)?a.canActivate(e,t):Xe(s,()=>a(e,t));return Nt(c).pipe(ze())}));return D(o).pipe(Wn())}function BE(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>SE(s)).filter(s=>s!==null).map(s=>Do(()=>{let a=s.guards.map(c=>{let u=Gr(s.node)??r,l=Gn(c,u),d=RE(l)?l.canActivateChild(n,t):Xe(u,()=>l(n,t));return Nt(d).pipe(ze())});return D(a).pipe(Wn())}));return D(i).pipe(Wn())}function UE(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let c=Gr(e)??o,u=Gn(a,c),l=OE(u)?u.canDeactivate(t,e,r,n):Xe(c,()=>u(t,e,r,n));return Nt(l).pipe(ze())});return D(s).pipe(Wn())}function HE(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=Gn(s,t),c=AE(a)?a.canLoad(e,r):Xe(t,()=>a(e,r));return Nt(c)});return D(i).pipe(Wn(),Ip(n))}function Ip(t){return cs(q(e=>{if(Hn(e))throw Dp(t,e)}),_(e=>e===!0))}function zE(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=Gn(s,t),c=PE(a)?a.canMatch(e,r):Xe(t,()=>a(e,r));return Nt(c)});return D(i).pipe(Wn(),Ip(n))}var Ur=class{constructor(e){this.segmentGroup=e||null}},Zi=class extends Error{constructor(e){super(),this.urlTree=e}};function jn(t){return ln(new Ur(t))}function WE(t){return ln(new y(4e3,!1))}function GE(t){return ln(wp(!1,3))}var pu=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return D(n);if(o.numberOfChildren>1||!o.children[S])return WE(e.redirectTo);o=o.children[S]}}applyRedirectCommands(e,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Zi(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new xt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new V(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},gu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qE(t,e,r,n,o){let i=Iu(t,e,r);return i.matched?(n=EE(e,n),zE(n,e,r,o).pipe(_(s=>s===!0?i:m({},gu)))):D(i)}function Iu(t,e,r){if(e.path==="**")return ZE(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?m({},gu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||zC)(r,t,e);if(!o)return m({},gu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.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 ZE(t){return{matched:!0,parameters:t.at(-1)?.parameters??{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Xh(t,e,r,n){return r.length>0&&KE(t,r,n)?{segmentGroup:new V(e,QE(n,new V(r,t.children))),slicedSegments:[]}:r.length===0&&JE(t,r,n)?{segmentGroup:new V(t.segments,YE(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new V(t.segments,t.children),slicedSegments:r}}function YE(t,e,r,n){let o={};for(let i of r)if(Ji(t,e,i)&&!n[rt(i)]){let s=new V([],{});o[rt(i)]=s}return m(m({},n),o)}function QE(t,e){let r={};r[S]=e;for(let n of t)if(n.path===""&&rt(n)!==S){let o=new V([],{});r[rt(n)]=o}return r}function KE(t,e,r){return r.some(n=>Ji(t,e,n)&&rt(n)!==S)}function JE(t,e,r){return r.some(n=>Ji(t,e,n))}function Ji(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function XE(t,e,r,n){return rt(t)!==n&&(n===S||!Ji(e,r,t))?!1:Iu(e,t,r).matched}function eI(t,e,r){return e.length===0&&!t.children[r]}var mu=class{};function tI(t,e,r,n,o,i,s="emptyOnly"){return new vu(t,e,r,n,o,s,i).recognize()}var nI=31,vu=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new pu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new y(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(_(r=>{let n=new $r([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,{},S,this.rootComponentType,null,{}),o=new Ie(n,r),i=new Gi("",o),s=uE(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(e){return this.processSegmentGroup(this.injector,this.config,e,S).pipe(Se(n=>{if(n instanceof Zi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Ur?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=Du(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(e,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,o,!0).pipe(_(i=>i instanceof Ie?[i]:[]))}processChildren(e,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return G(o).pipe(it(i=>{let s=n.children[i],a=IE(r,i);return this.processSegmentGroup(e,a,s,i)}),ys((i,s)=>(i.push(...s),i)),vt(null),vs(),K(i=>{if(i===null)return jn(n);let s=bp(i);return rI(s),D(s)}))}processSegment(e,r,n,o,i,s){return G(r).pipe(it(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(Se(c=>{if(c instanceof Ur)return D(null);throw c}))),ze(a=>!!a),Se(a=>{if(Ep(a))return eI(n,o,i)?D(new mu):jn(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return XE(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s):jn(o):jn(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=Iu(r,o,i);if(!a)return jn(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>nI&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(K(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,o,i){let s=qE(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ne(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ne(({routes:c})=>{let u=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new $r(l,f,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,iI(n),rt(n),n.component??n._loadedComponent??null,n,sI(n)),{segmentGroup:C,slicedSegments:F}=Xh(r,l,d,c);if(F.length===0&&C.hasChildren())return this.processChildren(u,c,C).pipe(_(E=>E===null?null:new Ie(h,E)));if(c.length===0&&F.length===0)return D(new Ie(h,[]));let x=rt(n)===i;return this.processSegment(u,c,C,F,x?S:i,!0).pipe(_(E=>new Ie(h,E instanceof Ie?[E]:[])))}))):jn(r)))}getChildConfig(e,r,n){return r.children?D({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?D({routes:r._loadedRoutes,injector:r._loadedInjector}):HE(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(q(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):GE(r))):D({routes:[],injector:e})}};function rI(t){t.sort((e,r)=>e.value.outlet===S?-1:r.value.outlet===S?1:e.value.outlet.localeCompare(r.value.outlet))}function oI(t){let e=t.value.routeConfig;return e&&e.path===""}function bp(t){let e=[],r=new Set;for(let n of t){if(!oI(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=bp(n.children);e.push(new Ie(n.value,o))}return e.filter(n=>!r.has(n))}function iI(t){return t.data||{}}function sI(t){return t.resolve||{}}function aI(t,e,r,n,o,i){return K(s=>tI(t,e,r,n,s.extractedUrl,o,i).pipe(_(({state:a,tree:c})=>Q(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function cI(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return D(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Mp(c))s.add(u);let a=0;return G(s).pipe(it(c=>i.has(c)?uI(c,n,t,e):(c.data=Du(c,c.parent,t).resolve,D(void 0))),q(()=>a++),fn(1),K(c=>a===s.size?D(r):Me))})}function Mp(t){let e=t.children.map(r=>Mp(r)).flat();return[t,...e]}function uI(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!vp(o)&&(i[Hr]=o.title),lI(i,t,e,n).pipe(_(s=>(t._resolvedData=s,t.data=Du(t,t.parent,r).resolve,null)))}function lI(t,e,r,n){let o=Zc(t);if(o.length===0)return D({});let i={};return G(o).pipe(K(s=>dI(t[s],e,r,n).pipe(ze(),q(a=>{i[s]=a}))),fn(1),gs(i),Se(s=>Ep(s)?Me:ln(s)))}function dI(t,e,r,n){let o=Gr(e)??n,i=Gn(t,o),s=i.resolve?i.resolve(e,r):Xe(o,()=>i(e,r));return Nt(s)}function Gc(t){return ne(e=>{let r=t(e);return r?G(r).pipe(_(()=>e)):D(e)})}var Sp=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===S);return o}getResolvedTitleForRoute(n){return n.data[Hr]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(fI))(),providedIn:"root"});let t=e;return t})(),fI=(()=>{let e=class e extends Sp{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(g(Uc))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Zr=new w("",{providedIn:"root",factory:()=>({})}),Yi=new w("ROUTES"),bu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(wi)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return D(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Nt(n.loadComponent()).pipe(_(Tp),q(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),yt(()=>{this.componentLoaders.delete(n)})),i=new cn(o,()=>new ue).pipe(an());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=hI(o,this.compiler,n,this.onLoadEndListener).pipe(yt(()=>{this.childrenLoaders.delete(o)})),a=new cn(s,()=>new ue).pipe(an());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hI(t,e,r,n){return Nt(t.loadChildren()).pipe(_(Tp),K(o=>o instanceof dr||Array.isArray(o)?D(o):G(e.compileModuleAsync(o))),_(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Yi,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eu),injector:i}}))}function pI(t){return t&&typeof t=="object"&&"default"in t}function Tp(t){return pI(t)?t.default:t}var Mu=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(gI))(),providedIn:"root"});let t=e;return t})(),gI=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xp=new w(""),_p=new w("");function mI(t,e,r){let n=t.get(_p),o=t.get(ce);return t.get(U).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),vI(t))),{onViewTransitionCreated:c}=n;return c&&Xe(t,()=>c({transition:a,from:e,to:r})),s})}function vI(t){return new Promise(e=>{oc(e,{injector:t})})}var Su=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ue,this.transitionAbortSubject=new ue,this.configLoader=p(bu),this.environmentInjector=p(pe),this.urlSerializer=p(zr),this.rootContexts=p(Wr),this.location=p(Pn),this.inputBindingEnabled=p(Ki,{optional:!0})!==null,this.titleStrategy=p(Sp),this.options=p(Zr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Mu),this.createViewTransition=p(xp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let n=i=>this.events.next(new nu(i)),o=i=>this.events.next(new ru(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Q(m(m({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new ee({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:Or,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(te(s=>s.id!==0),_(s=>Q(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ne(s=>{this.currentTransition=s;let a=!1,c=!1;return D(s).pipe(q(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Q(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ne(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new At(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),Me}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return D(u).pipe(ne(f=>{let h=this.transitions?.getValue();return this.events.next(new zn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Me:Promise.resolve(f)}),aI(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),q(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Q(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ui(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:C,restoredState:F,extras:x}=u,E=new zn(f,this.urlSerializer.serialize(h),C,F);this.events.next(E);let Y=gp(this.rootComponentType).snapshot;return this.currentTransition=s=Q(m({},u),{targetSnapshot:Y,urlAfterRedirects:h,extras:Q(m({},x),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new At(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),Me}}),q(u=>{let l=new Jc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),_(u=>(this.currentTransition=s=Q(m({},u),{guards:ME(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),FE(this.environmentInjector,u=>this.events.next(u)),q(u=>{if(s.guardsResult=u.guardsResult,Hn(u.guardsResult))throw Dp(this.urlSerializer,u.guardsResult);let l=new Xc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),te(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",3),!1)),Gc(u=>{if(u.guards.canActivateChecks.length)return D(u).pipe(q(l=>{let d=new eu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ne(l=>{let d=!1;return D(l).pipe(cI(this.paramsInheritanceStrategy,this.environmentInjector),q({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),q(l=>{let d=new tu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Gc(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(q(h=>{d.component=h}),_(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Jn(l(u.targetSnapshot.root)).pipe(vt(null),st(1))}),Gc(()=>this.afterPreactivation()),ne(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?G(d).pipe(_(()=>s)):D(s)}),_(u=>{let l=vE(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Q(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),q(()=>{this.events.next(new jr)}),bE(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),st(1),q({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ue(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),ws(this.transitionAbortSubject.pipe(q(u=>{throw u}))),yt(()=>{if(!a&&!c){let u="";this.cancelNavigationTransition(s,u,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Se(u=>{if(c=!0,Cp(u))this.events.next(new _t(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),wE(u)?this.events.next(new Vr(u.url)):s.resolve(!1);else{this.events.next(new Lr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(l){s.reject(l)}}return Me}))}))}cancelNavigationTransition(n,o,i){let s=new _t(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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yI(t){return t!==Or}var DI=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(wI))(),providedIn:"root"});let t=e;return t})(),yu=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},wI=(()=>{let e=class e extends yu{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ja(e)))(i||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ap=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>(()=>p(CI))(),providedIn:"root"});let t=e;return t})(),CI=(()=>{let e=class e extends Ap{constructor(){super(...arguments),this.location=p(Pn),this.urlSerializer=p(zr),this.options=p(Zr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Mu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new xt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=gp(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 zn)this.stateMemento=this.createStateMemento();else if(n instanceof At)this.rawUrlTree=o.initialUrl;else if(n instanceof Ui){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof jr?(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 _t&&(n.code===3||n.code===2)?this.restoreHistory(o):n instanceof Lr?this.restoreHistory(o,!0):n instanceof Ue&&(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}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ja(e)))(i||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Nr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Nr||{});function Np(t,e){t.events.pipe(te(r=>r instanceof Ue||r instanceof _t||r instanceof Lr||r instanceof At),_(r=>r instanceof Ue||r instanceof At?Nr.COMPLETE:(r instanceof _t?r.code===0||r.code===1:!1)?Nr.REDIRECTING:Nr.FAILED),te(r=>r!==Nr.REDIRECTING),st(1)).subscribe(()=>{e()})}function EI(t){throw t}var II={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},He=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Di),this.stateManager=p(Ap),this.options=p(Zr,{optional:!0})||{},this.pendingTasks=p(Yt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Su),this.urlSerializer=p(zr),this.location=p(Pn),this.urlHandlingStrategy=p(Mu),this._events=new ue,this.errorHandler=this.options.errorHandler||EI,this.navigated=!1,this.routeReuseStrategy=p(DI),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Yi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Ki,{optional:!0}),this.eventsSubscription=new Z,this.isNgZoneEnabled=p(U)instanceof U&&U.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 _t&&o.code!==0&&o.code!==1)this.navigated=!0;else if(o instanceof Ue)this.navigated=!0;else if(o instanceof Vr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||yI(i.source)};this.scheduleNavigation(a,Or,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}SI(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),Or,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(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 u=m({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,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(Eu),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:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){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=dp(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return fp(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Hn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Or,null,o)}navigate(n,o={skipLocationChange:!1}){return MI(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({},II):o===!1?i=m({},bI):i=o,Hn(n))return Zh(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Zh(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 c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return Np(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MI(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new ue,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Ue&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:Cf(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(B(He),B(pt),Va("tabindex"),B(Dr),B(lt),B(ht))},e.\u0275dir=Gt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Zt("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&cc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Er],skipLocationChange:["skipLocationChange","skipLocationChange",Er],replaceUrl:["replaceUrl","replaceUrl",Er],routerLink:"routerLink"},standalone:!0,features:[ac,Sn]});let t=e;return t})(),Rp=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new re,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Ue&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe(mt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=G(n).pipe(mt()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let o=TI(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>i.urlTree?n.isActive(i.urlTree,o):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(B(He),B(lt),B(Dr),B(_n),B(Ne,8))},e.\u0275dir=Gt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&ih(s,Ne,5),o&2){let a;oh(a=sh())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Sn]});let t=e;return t})();function TI(t){return!!t.paths}var Qi=class{};var xI=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(te(n=>n instanceof Ue),it(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=yi(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return G(i).pipe(mt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=D(null);let s=i.pipe(K(a=>a===null?D(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return G([s,a]).pipe(mt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(g(He),g(wi),g(pe),g(Qi),g(bu))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Op=new w(""),_I=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof zn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ue?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof At&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Hi&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Hi(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Nf()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function AI(t){return t.routerState.root}function Yr(t,e){return{\u0275kind:t,\u0275providers:e}}function NI(){let t=p($e);return e=>{let r=t.get(Qt);if(e!==r.components[0])return;let n=t.get(He),o=t.get(Pp);t.get(Tu)===1&&n.initialNavigation(),t.get(Fp,null,O.Optional)?.setUpPreloading(),t.get(Op,null,O.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Pp=new w("",{factory:()=>new ue}),Tu=new w("",{providedIn:"root",factory:()=>1});function RI(){return Yr(2,[{provide:Tu,useValue:0},{provide:Ii,multi:!0,deps:[$e],useFactory:e=>{let r=e.get(Ih,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(He),i=e.get(Pp);Np(o,()=>{n(!0)}),e.get(Su).afterPreactivation=()=>(n(!0),i.closed?D(void 0):i),o.initialNavigation()}))}}])}function OI(){return Yr(3,[{provide:Ii,multi:!0,useFactory:()=>{let e=p(He);return()=>{e.setUpLocationChangeListener()}}},{provide:Tu,useValue:2}])}var Fp=new w("");function PI(t){return Yr(0,[{provide:Fp,useExisting:xI},{provide:Qi,useExisting:t}])}function FI(){return Yr(8,[Jh,{provide:Ki,useExisting:Jh}])}function kI(t){let e=[{provide:xp,useValue:mI},{provide:_p,useValue:m({skipNextTransition:!!t?.skipInitialTransition},t)}];return Yr(9,e)}var ep=new w("ROUTER_FORROOT_GUARD"),LI=[Pn,{provide:zr,useClass:Fr},He,Wr,{provide:pt,useFactory:AI,deps:[He]},bu,[]],qn=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[LI,[],{provide:Yi,multi:!0,useValue:n},{provide:ep,useFactory:BI,deps:[[He,new si,new Ba]]},{provide:Zr,useValue:o||{}},o?.useHash?VI():$I(),jI(),o?.preloadingStrategy?PI(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?UI(o):[],o?.bindToComponentInputs?FI().\u0275providers:[],o?.enableViewTransitions?kI().\u0275providers:[],HI()]}}static forChild(n){return{ngModule:e,providers:[{provide:Yi,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(g(ep,8))},e.\u0275mod=ae({type:e}),e.\u0275inj=se({});let t=e;return t})();function jI(){return{provide:Op,useFactory:()=>{let t=p(Sh),e=p(U),r=p(Zr),n=p(Su),o=p(zr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new _I(o,n,t,e,r)}}}function VI(){return{provide:ht,useClass:Mh}}function $I(){return{provide:ht,useClass:Mc}}function BI(t){return"guarded"}function UI(t){return[t.initialNavigation==="disabled"?OI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?RI().\u0275providers:[]]}var tp=new w("");function HI(){return[{provide:tp,useFactory:NI},{provide:bi,multi:!0,useExisting:tp}]}var Zn=(()=>{let e=class e{constructor(n){this.http=n,this.apiUrl="https://api5.angular-buch.com"}getAll(){return this.http.get(`${this.apiUrl}/books`).pipe(Se(n=>(console.error(n),D([]))))}getSingle(n){return this.http.get(`${this.apiUrl}/books/${n}`)}remove(n){return this.http.delete(`${this.apiUrl}/books/${n}`)}getAllSearch(n){return this.http.get(`${this.apiUrl}/books/search/${n}`).pipe(Se(o=>(console.error(o),D([]))))}};e.\u0275fac=function(o){return new(o||e)(g(Rc))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zI=t=>["/books",t];function WI(t,e){if(t&1&&(T(0,"li")(1,"a",6),k(2),T(3,"p",7),k(4),M()()()),t&2){let r=e.$implicit;j(),W("routerLink",th(3,zI,r.isbn)),j(),Be(" ",r.title," "),j(2),tt(r.subtitle)}}function GI(t,e){t&1&&(T(0,"li"),k(1,"No results"),M())}function qI(t,e){if(t&1&&(T(0,"ul",3),X(1,WI,5,5,"li",4)(2,GI,2,0,"li",5),M()),t&2){let r=e.ngIf;j(),W("ngForOf",r),j(),W("ngIf",!r.length)}}var kp=(()=>{let e=class e{constructor(n){this.service=n,this.input$=new ue,this.isLoading=!1,this.results$=this.input$.pipe(te(o=>o.length>=3),ps(500),ms(),q(()=>this.isLoading=!0),ne(o=>this.service.getAllSearch(o)),q(()=>this.isLoading=!1))}};e.\u0275fac=function(o){return new(o||e)(B(Zn))},e.\u0275cmp=De({type:e,selectors:[["bm-search"]],decls:4,vars:5,consts:[["type","search","autocomplete","off","aria-label","Search",3,"input"],["searchInput",""],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(o,i){if(o&1){let s=vi();T(0,"input",0,1),Zt("input",function(){oi(s);let c=Xf(1);return ii(i.input$.next(c.value))}),M(),X(2,qI,3,2,"ul",2),Nn(3,"async")}o&2&&(uc("loading",i.isLoading),j(2),W("ngIf",Rn(3,3,i.results$)))},dependencies:[Mt,St,Ne,Fn]});let t=e;return t})();var Lp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=De({type:e,selectors:[["bm-home"]],decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(o,i){o&1&&(T(0,"h1"),k(1,"Home"),M(),T(2,"a",0),k(3,` Show book list -`),M(),T(4,"h2"),k(5,"Search"),M(),Ee(6,"bm-search"))},dependencies:[Ne,kp]});let t=e;return t})();var YI=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Lp}],jp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e}),e.\u0275inj=se({imports:[qn.forRoot(YI),qn]});let t=e;return t})();var Vp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=De({type:e,selectors:[["bm-root"]],decls:7,vars:0,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"]],template:function(o,i){o&1&&(T(0,"nav")(1,"a",0),k(2,"Home"),M(),T(3,"a",1),k(4,"Books"),M()(),T(5,"main"),Ee(6,"router-outlet"),M())},dependencies:[Cu,Ne,Rp]});let t=e;return t})();function QI(t,e){if(t&1&&(T(0,"p",9),k(1),M()),t&2){let r=dt().ngIf;j(),tt(r.subtitle)}}function KI(t,e){if(t&1&&(T(0,"li"),k(1),M()),t&2){let r=e.$implicit;j(),tt(r)}}function JI(t,e){if(t&1&&(T(0,"div")(1,"h2"),k(2,"Published"),M(),k(3),M()),t&2){let r=dt().ngIf;j(3),Be(" ",r.published," ")}}function XI(t,e){if(t&1&&Ee(0,"img",10),t&2){let r=dt().ngIf;W("src",r.thumbnailUrl,yr)}}function eb(t,e){if(t&1){let r=vi();T(0,"div",1)(1,"h1"),k(2),M(),X(3,QI,2,1,"p",2),T(4,"div",3)(5,"div")(6,"h2"),k(7,"Authors"),M(),T(8,"ul"),X(9,KI,2,1,"li",4),M()(),T(10,"div")(11,"h2"),k(12,"ISBN"),M(),k(13),M(),X(14,JI,4,1,"div",5),M(),T(15,"h2"),k(16,"Description"),M(),T(17,"p"),k(18),M(),X(19,XI,1,1,"img",6),T(20,"a",7),k(21,"Back to list"),M(),T(22,"button",8),Zt("click",function(){let i=oi(r).ngIf,s=dt();return ii(s.removeBook(i.isbn))}),k(23," Remove book "),M()()}if(t&2){let r=e.ngIf;j(2),tt(r.title),j(),W("ngIf",r.subtitle),j(6),W("ngForOf",r.authors),j(4),Be(" ",r.isbn," "),j(),W("ngIf",r.published),j(4),tt(r.description),j(),W("ngIf",r.thumbnailUrl)}}var $p=(()=>{let e=class e{constructor(n,o,i){this.service=n,this.route=o,this.router=i;let s=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(s)}removeBook(n){window.confirm("Remove book?")&&this.service.remove(n).subscribe(()=>{this.router.navigateByUrl("/books")})}};e.\u0275fac=function(o){return new(o||e)(B(Zn),B(pt),B(He))},e.\u0275cmp=De({type:e,selectors:[["bm-book-details"]],decls:2,vars:3,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],["routerLink","..",1,"button","arrow-left"],[1,"red",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(o,i){o&1&&(X(0,eb,24,7,"div",0),Nn(1,"async")),o&2&&W("ngIf",Rn(1,1,i.book$))},dependencies:[Mt,St,Ne,Fn]});let t=e;return t})();function tb(t,e){if(t&1&&Ee(0,"img",6),t&2){let r=dt(2);W("src",r.book.thumbnailUrl,yr)}}function nb(t,e){if(t&1&&(T(0,"p",7),k(1),M()),t&2){let r=dt(2);j(),Be(" ",r.book.subtitle," ")}}function rb(t,e){if(t&1&&(T(0,"li"),k(1),M()),t&2){let r=e.$implicit;j(),Be(" ",r," ")}}function ob(t,e){if(t&1&&(T(0,"a",1),X(1,tb,1,1,"img",2),T(2,"h2"),k(3),M(),X(4,nb,2,1,"p",3),T(5,"ul",4),X(6,rb,2,1,"li",5),M(),T(7,"div"),k(8),M()()),t&2){let r=dt();W("routerLink",r.book.isbn),j(),W("ngIf",r.book.thumbnailUrl),j(2),tt(r.book.title),j(),W("ngIf",r.book.subtitle),j(2),W("ngForOf",r.book.authors),j(2),Be("ISBN ",r.book.isbn,"")}}var Bp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=De({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(o,i){o&1&&X(0,ob,9,6,"a",0),o&2&&W("ngIf",i.book)},dependencies:[Mt,St,Ne]});let t=e;return t})();function sb(t,e){if(t&1&&(T(0,"li"),Ee(1,"bm-book-list-item",4),M()),t&2){let r=e.$implicit;j(),W("book",r)}}function ab(t,e){t&1&&(T(0,"li"),k(1," No books available. "),M())}function cb(t,e){if(t&1&&(T(0,"ul",1),X(1,sb,2,1,"li",2)(2,ab,2,0,"li",3),M()),t&2){let r=e.ngIf;j(),W("ngForOf",r),j(),W("ngIf",!r.length)}}var Up=(()=>{let e=class e{constructor(n){this.service=n,this.books$=this.service.getAll()}};e.\u0275fac=function(o){return new(o||e)(B(Zn))},e.\u0275cmp=De({type:e,selectors:[["bm-book-list"]],decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(o,i){o&1&&(T(0,"h1"),k(1,"Books"),M(),X(2,cb,3,2,"ul",0),Nn(3,"async")),o&2&&(j(2),W("ngIf",Rn(3,1,i.books$)))},dependencies:[Mt,St,Bp,Fn]});let t=e;return t})();var ub=[{path:"books",component:Up},{path:"books/:isbn",component:$p}],Hp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e}),e.\u0275inj=se({imports:[qn.forChild(ub),qn]});let t=e;return t})();var zp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e}),e.\u0275inj=se({imports:[Ti,Hp]});let t=e;return t})();var Wp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ae({type:e,bootstrap:[Vp]}),e.\u0275inj=se({imports:[Gh,jp,Lh,zp]});let t=e;return t})();Wh().bootstrapModule(Wp).catch(t=>console.error(t)); diff --git a/main-Y7P7MK5X.js b/main-Y7P7MK5X.js new file mode 100644 index 0000000..8f931b4 --- /dev/null +++ b/main-Y7P7MK5X.js @@ -0,0 +1,9 @@ +var tg=Object.defineProperty,ng=Object.defineProperties;var rg=Object.getOwnPropertyDescriptors;var Pu=Object.getOwnPropertySymbols;var og=Object.prototype.hasOwnProperty,ig=Object.prototype.propertyIsEnumerable;var Fu=(t,e,r)=>e in t?tg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,m=(t,e)=>{for(var r in e||={})og.call(e,r)&&Fu(t,r,e[r]);if(Pu)for(var r of Pu(e))ig.call(e,r)&&Fu(t,r,e[r]);return t},Q=(t,e)=>ng(t,rg(e));var ku=null;var os=1,Lu=Symbol("SIGNAL");function de(t){let e=ku;return ku=t,e}var ju={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 sg(t){if(!(as(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===os)){if(!t.producerMustRecompute(t)&&!is(t)){t.dirty=!1,t.lastCleanEpoch=os;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=os}}function Vu(t){return t&&(t.nextProducerIndex=0),de(t)}function $u(t,e){if(de(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(as(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function is(t){eo(t);for(let e=0;e0}function eo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ag(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function cg(){throw new Error}var ug=cg;function Bu(t){ug=t}function b(t){return typeof t=="function"}function on(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var to=on(t=>function(r){t(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 Ft(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(b(n))try{n()}catch(i){e=i instanceof to?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Hu(i)}catch(s){e=e??[],s instanceof to?e=[...e,...s.errors]:e.push(s)}}if(e)throw new to(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Hu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Ft(r,e)}remove(e){let{_finalizers:r}=this;r&&Ft(r,e),e instanceof t&&e._removeParent(this)}};Z.EMPTY=(()=>{let t=new Z;return t.closed=!0,t})();var cs=Z.EMPTY;function no(t){return t instanceof Z||t&&"closed"in t&&b(t.remove)&&b(t.add)&&b(t.unsubscribe)}function Hu(t){b(t)?t():t.unsubscribe()}var Fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sn={setTimeout(t,e,...r){let{delegate:n}=sn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=sn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ro(t){sn.setTimeout(()=>{let{onUnhandledError:e}=Fe;if(e)e(t);else throw t})}function Xn(){}var zu=us("C",void 0,void 0);function Gu(t){return us("E",void 0,t)}function Wu(t){return us("N",t,void 0)}function us(t,e,r){return{kind:t,value:e,error:r}}var kt=null;function an(t){if(Fe.useDeprecatedSynchronousErrorHandling){let e=!kt;if(e&&(kt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=kt;if(kt=null,r)throw n}}else t()}function qu(t){Fe.useDeprecatedSynchronousErrorHandling&&kt&&(kt.errorThrown=!0,kt.error=t)}var Lt=class extends Z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,no(e)&&e.add(this)):this.destination=fg}static create(e,r,n){return new cn(e,r,n)}next(e){this.isStopped?ds(Wu(e),this):this._next(e)}error(e){this.isStopped?ds(Gu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ds(zu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lg=Function.prototype.bind;function ls(t,e){return lg.call(t,e)}var fs=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){oo(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){oo(n)}else oo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){oo(r)}}},cn=class extends Lt{constructor(e,r,n){super();let o;if(b(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Fe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&ls(e.next,i),error:e.error&&ls(e.error,i),complete:e.complete&&ls(e.complete,i)}):o=e}this.destination=new fs(o)}};function oo(t){Fe.useDeprecatedSynchronousErrorHandling?qu(t):ro(t)}function dg(t){throw t}function ds(t,e){let{onStoppedNotification:r}=Fe;r&&sn.setTimeout(()=>r(t,e))}var fg={closed:!0,next:Xn,error:dg,complete:Xn};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fe(t){return t}function hs(...t){return ps(t)}function ps(t){return t.length===0?fe:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var L=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=pg(r)?r:new cn(r,n,o);return an(()=>{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=Zu(n),new n((o,i)=>{let s=new cn({next:a=>{try{r(a)}catch(c){i(c),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)}[un](){return this}pipe(...r){return ps(r)(this)}toPromise(r){return r=Zu(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Zu(t){var e;return(e=t??Fe.Promise)!==null&&e!==void 0?e:Promise}function hg(t){return t&&b(t.next)&&b(t.error)&&b(t.complete)}function pg(t){return t&&t instanceof Lt||hg(t)&&no(t)}function gs(t){return b(t?.lift)}function N(t){return e=>{if(gs(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function R(t,e,r,n,o){return new ms(t,e,r,n,o)}var ms=class extends Lt{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ln(){return N((t,e)=>{let r=null;t._refCount++;let n=R(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var dn=class extends L{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,gs(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Z;let r=this.getSubject();e.add(this.source.subscribe(R(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Z.EMPTY)}return e}refCount(){return ln()(this)}};var Yu=on(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class t extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new io(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Yu}next(r){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){an(()=>{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(){an(()=>{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?cs:(this.currentObservers=null,i.push(r),new Z(()=>{this.currentObservers=null,Ft(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new L;return r.source=this,r}}return t.create=(e,r)=>new io(e,r),t})(),io=class extends le{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:cs}};var te=class extends le{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var vs={now(){return(vs.delegate||Date).now()},delegate:void 0};var so=class extends Z{constructor(e,r){super()}schedule(e,r=0){return this}};var er={setInterval(t,e,...r){let{delegate:n}=er;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=er;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var ao=class extends so{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let 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(e,r,n=0){return er.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&er.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}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:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Ft(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var fn=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};fn.now=vs.now;var co=class extends fn{constructor(e,r=fn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Qu=new co(ao);var Te=new L(t=>t.complete());function Ku(t){return t&&b(t.schedule)}function Ju(t){return t[t.length-1]}function Xu(t){return b(Ju(t))?t.pop():void 0}function yt(t){return Ku(Ju(t))?t.pop():void 0}function tl(t,e,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{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function el(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function jt(t){return this instanceof jt?(this.v=t,this):new jt(t)}function nl(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(E,F){i.push([f,h,E,F])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(E){d(i[0][3],E)}}function c(f){f.value instanceof jt?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function rl(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof el=="function"?el(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var uo=t=>t&&typeof t.length=="number"&&typeof t!="function";function lo(t){return b(t?.then)}function fo(t){return b(t[un])}function ho(t){return Symbol.asyncIterator&&b(t?.[Symbol.asyncIterator])}function po(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function gg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var go=gg();function mo(t){return b(t?.[go])}function vo(t){return nl(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield jt(r.read());if(o)return yield jt(void 0);yield yield jt(n)}}finally{r.releaseLock()}})}function yo(t){return b(t?.getReader)}function J(t){if(t instanceof L)return t;if(t!=null){if(fo(t))return mg(t);if(uo(t))return vg(t);if(lo(t))return yg(t);if(ho(t))return ol(t);if(mo(t))return Dg(t);if(yo(t))return wg(t)}throw po(t)}function mg(t){return new L(e=>{let r=t[un]();if(b(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vg(t){return new L(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ro)})}function Dg(t){return new L(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function ol(t){return new L(e=>{Eg(t,e).catch(r=>e.error(r))})}function wg(t){return ol(vo(t))}function Eg(t,e){var r,n,o,i;return tl(this,void 0,void 0,function*(){try{for(r=rl(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.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}}e.complete()})}function ye(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Do(t,e=0){return N((r,n)=>{r.subscribe(R(n,o=>ye(n,t,()=>n.next(o),e),()=>ye(n,t,()=>n.complete(),e),o=>ye(n,t,()=>n.error(o),e)))})}function wo(t,e=0){return N((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function il(t,e){return J(t).pipe(wo(e),Do(e))}function sl(t,e){return J(t).pipe(wo(e),Do(e))}function al(t,e){return new L(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function cl(t,e){return new L(r=>{let n;return ye(r,e,()=>{n=t[go](),ye(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>b(n?.return)&&n.return()})}function Eo(t,e){if(!t)throw new Error("Iterable cannot be null");return new L(r=>{ye(r,e,()=>{let n=t[Symbol.asyncIterator]();ye(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function ul(t,e){return Eo(vo(t),e)}function ll(t,e){if(t!=null){if(fo(t))return il(t,e);if(uo(t))return al(t,e);if(lo(t))return sl(t,e);if(ho(t))return Eo(t,e);if(mo(t))return cl(t,e);if(yo(t))return ul(t,e)}throw po(t)}function W(t,e){return e?ll(t,e):J(t)}function D(...t){let e=yt(t);return W(t,e)}function hn(t,e){let r=b(t)?t:()=>t,n=o=>o.error(r());return new L(e?o=>e.schedule(n,0,o):n)}function ys(t){return!!t&&(t instanceof L||b(t.lift)&&b(t.subscribe))}var at=on(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _(t,e){return N((r,n)=>{let o=0;r.subscribe(R(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Ig}=Array;function Cg(t,e){return Ig(e)?t(...e):t(e)}function dl(t){return _(e=>Cg(t,e))}var{isArray:bg}=Array,{getPrototypeOf:Mg,prototype:Tg,keys:Sg}=Object;function fl(t){if(t.length===1){let e=t[0];if(bg(e))return{args:e,keys:null};if(xg(e)){let r=Sg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function xg(t){return t&&typeof t=="object"&&Mg(t)===Tg}function hl(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function tr(...t){let e=yt(t),r=Xu(t),{args:n,keys:o}=fl(t);if(n.length===0)return W([],e);let i=new L(_g(n,e,o?s=>hl(o,s):fe));return r?i.pipe(dl(r)):i}function _g(t,e,r=fe){return n=>{pl(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c{let u=W(t[c],e),l=!1;u.subscribe(R(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function pl(t,e,r){t?ye(r,t,e):e()}function gl(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=F=>u{i&&e.next(F),u++;let x=!1;J(r(F,l++)).subscribe(R(e,I=>{o?.(I),i?h(I):e.next(I)},()=>{x=!0},void 0,()=>{if(x)try{for(u--;c.length&&uE(I)):E(I)}f()}catch(I){e.error(I)}}))};return t.subscribe(R(e,h,()=>{d=!0,f()})),()=>{a?.()}}function K(t,e,r=1/0){return b(e)?K((n,o)=>_((i,s)=>e(n,i,o,s))(J(t(n,o))),r):(typeof e=="number"&&(r=e),N((n,o)=>gl(n,o,t,r)))}function Dt(t=1/0){return K(fe,t)}function ml(){return Dt(1)}function pn(...t){return ml()(W(t,yt(t)))}function Io(t){return new L(e=>{J(t()).subscribe(e)})}function ne(t,e){return N((r,n)=>{let o=0;r.subscribe(R(n,i=>t.call(e,i,o++)&&n.next(i)))})}function Se(t){return N((e,r)=>{let n=null,o=!1,i;n=e.subscribe(R(r,void 0,void 0,s=>{i=J(t(s,Se(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function vl(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(R(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ct(t,e){return b(e)?K(t,e,1):K(t,1)}function Ds(t,e=Qu){return N((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function wt(t){return N((e,r)=>{let n=!1;e.subscribe(R(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function ut(t){return t<=0?()=>Te:N((e,r)=>{let n=0;e.subscribe(R(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function ws(t){return _(()=>t)}function Es(t,e=fe){return t=t??Ag,N((r,n)=>{let o,i=!0;r.subscribe(R(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function Ag(t,e){return t===e}function Co(t=Ng){return N((e,r)=>{let n=!1;e.subscribe(R(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function Ng(){return new at}function Et(t){return N((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function qe(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):fe,ut(1),r?wt(e):Co(()=>new at))}function gn(t){return t<=0?()=>Te:N((e,r)=>{let n=[];e.subscribe(R(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Is(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):fe,gn(1),r?wt(e):Co(()=>new at))}function Cs(t,e){return N(vl(t,e,arguments.length>=2,!0))}function bs(...t){let e=yt(t);return N((r,n)=>{(e?pn(t,r,e):pn(t,r)).subscribe(n)})}function re(t,e){return N((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(R(n,c=>{o?.unsubscribe();let u=0,l=i++;J(t(c,l)).subscribe(o=R(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ms(t){return N((e,r)=>{J(t).subscribe(R(r,()=>r.complete(),Xn)),!r.closed&&e.subscribe(r)})}function q(t,e,r){let n=b(t)||e||r?{next:t,error:e,complete:r}:t;return n?N((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(R(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):fe}var nd="https://g.co/ng/security#xss",y=class extends Error{constructor(e,r){super(ti(e,r)),this.code=e}};function ti(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function H(t){for(let e in t)if(t[e]===H)return e;throw Error("Could not find renamed property on target object.")}function he(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(he).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function yl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Rg=H({__forward_ref__:H});function rd(t){return t.__forward_ref__=rd,t.toString=function(){return he(this())},t}function xe(t){return od(t)?t():t}function od(t){return typeof t=="function"&&t.hasOwnProperty(Rg)&&t.__forward_ref__===rd}function id(t){return t&&!!t.\u0275providers}var Og=H({\u0275cmp:H}),Pg=H({\u0275dir:H}),Fg=H({\u0275pipe:H}),kg=H({\u0275mod:H}),Po=H({\u0275fac:H}),nr=H({__NG_ELEMENT_ID__:H}),Dl=H({__NG_ENV_ID__:H});function ni(t){return typeof t=="string"?t:t==null?"":String(t)}function Lg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ni(t)}function jg(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,`Circular dependency in DI detected for ${t}${r}`)}function Aa(t,e){throw new y(-201,!1)}function Vg(t,e){t==null&&$g(e,t,null,"!=")}function $g(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ae(t){return{providers:t.providers||[],imports:t.imports||[]}}function ri(t){return wl(t,ad)||wl(t,cd)}function sd(t){return ri(t)!==null}function wl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ug(t){let e=t&&(t[ad]||t[cd]);return e||null}function El(t){return t&&(t.hasOwnProperty(Il)||t.hasOwnProperty(Bg))?t[Il]:null}var ad=H({\u0275prov:H}),Il=H({\u0275inj:H}),cd=H({ngInjectableDef:H}),Bg=H({ngInjectorDef:H}),O=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(O||{}),js;function ud(){return js}function De(t){let e=js;return js=t,e}function ld(t,e,r){let n=ri(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&O.Optional)return null;if(e!==void 0)return e;Aa(t,"Injector")}var pe=globalThis;var w=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=v({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Hg={},or=Hg,Vs="__NG_DI_FLAG__",Fo="ngTempTokenPath",zg="ngTokenPath",Gg=/\n/gm,Wg="\u0275",Cl="__source",wn;function qg(){return wn}function It(t){let e=wn;return wn=t,e}function Zg(t,e=O.Default){if(wn===void 0)throw new y(-203,!1);return wn===null?ld(t,void 0,e):wn.get(t,e&O.Optional?null:void 0,e)}function g(t,e=O.Default){return(ud()||Zg)(xe(t),e)}function p(t,e=O.Default){return g(t,oi(e))}function oi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function $s(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):he(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(Gg,` + `)}`}function gr(t){return{toString:t}.toString()}var fd=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(fd||{}),Ke=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ke||{}),ir={},Le=[],Ve=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ve||{});function hd(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function Us(t,e,r){let n=0;for(;ne){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&hd(h,u,0)!==-1||n&2&&u!==f){if(ke(n))return!1;s=!0}}}}return ke(n)||s}function ke(t){return(t&1)===0}function nm(t,e,r,n){if(e===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!==""&&!ke(s)&&(e+=Ml(i,o),o=""),n=s,i=i||!ke(n);r++}return o!==""&&(e+=Ml(i,o)),e}function am(t){return t.map(sm).join(",")}function cm(t){let e=[],r=[],n=1,o=2;for(;n{let e=Id(t),r=Q(m({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===fd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ke.Emulated,styles:t.styles||Le,_:null,schemas:t.schemas||null,tView:null,id:""});Cd(r);let n=t.dependencies;return r.directiveDefs=Sl(n,!1),r.pipeDefs=Sl(n,!0),r.id=dm(r),r})}function um(t){return bt(t)||yd(t)}function lm(t){return t!==null}function ce(t){return gr(()=>({type:t.type,bootstrap:t.bootstrap||Le,declarations:t.declarations||Le,imports:t.imports||Le,exports:t.exports||Le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Tl(t,e){if(t==null)return ir;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=Ve.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==Ve.None?[n,a]:n,e[i]=s):r[i]=n}return r}function Yt(t){return gr(()=>{let e=Id(t);return Cd(e),e})}function vd(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function bt(t){return t[Og]||null}function yd(t){return t[Pg]||null}function Dd(t){return t[Fg]||null}function wd(t){let e=bt(t)||yd(t)||Dd(t);return e!==null?e.standalone:!1}function Ed(t,e){let r=t[kg]||null;if(!r&&e===!0)throw new Error(`Type ${he(t)} does not have '\u0275mod' property.`);return r}function Id(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||ir,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Le,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Tl(t.inputs,e),outputs:Tl(t.outputs),debugInfo:null}}function Cd(t){t.features?.forEach(e=>e(t))}function Sl(t,e){if(!t)return null;let r=e?Dd:um;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(lm)}function dm(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var dt=0,P=1,C=2,ie=3,je=4,Be=5,ko=6,sr=7,$e=8,In=9,Je=10,se=11,ar=12,xl=13,xn=14,Xe=15,mr=16,mn=17,Qe=18,ii=19,bd=20,Ct=21,Ts=22,Ut=23,Ue=25,Md=1;var Bt=7,Lo=8,Cn=9,Ee=10,Ra=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ra||{});function Vt(t){return Array.isArray(t)&&typeof t[Md]=="object"}function ft(t){return Array.isArray(t)&&t[Md]===!0}function Td(t){return(t.flags&4)!==0}function si(t){return t.componentOffset>-1}function Oa(t){return(t.flags&1)===1}function vr(t){return!!t.template}function fm(t){return(t[C]&512)!==0}function Ht(t,e){let r=t.hasOwnProperty(Po);return r?t[Po]:null}var Bs=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Sd(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function _n(){return xd}function xd(t){return t.type.prototype.ngOnChanges&&(t.setInput=pm),hm}_n.ngInherit=!0;function hm(){let t=Ad(this),e=t?.current;if(e){let r=t.previous;if(r===ir)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function pm(t,e,r,n,o){let i=this.declaredInputs[n],s=Ad(t)||gm(t,{previous:ir,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Bs(u&&u.currentValue,r,c===ir),Sd(t,e,o,r)}var _d="__ngSimpleChanges__";function Ad(t){return t[_d]||null}function gm(t,e){return t[_d]=e}var _l=null;var Ze=function(t,e,r){_l?.(t,e,r)},mm="svg",vm="math",ym=!1;function Dm(){return ym}function et(t){for(;Array.isArray(t);)t=t[dt];return t}function Nd(t,e){return et(e[t])}function _e(t,e){return et(e[t.index])}function Rd(t,e){return t.data[e]}function Od(t,e){return t[e]}function Tt(t,e){let r=e[t];return Vt(r)?r:r[dt]}function wm(t){return(t[C]&4)===4}function Pa(t){return(t[C]&128)===128}function Em(t){return ft(t[ie])}function jo(t,e){return e==null?null:t[e]}function Pd(t){t[mn]=0}function Im(t){t[C]&1024||(t[C]|=1024,Pa(t)&&cr(t))}function Cm(t,e){for(;t>0;)e=e[xn],t--;return e}function Fd(t){return t[C]&9216||t[Ut]?.dirty}function Hs(t){Fd(t)?cr(t):t[C]&64&&(Dm()?(t[C]|=1024,cr(t)):t[Je].changeDetectionScheduler?.notify())}function cr(t){t[Je].changeDetectionScheduler?.notify();let e=ur(t);for(;e!==null&&!(e[C]&8192||(e[C]|=8192,!Pa(e)));)e=ur(e)}function kd(t,e){if((t[C]&256)===256)throw new y(911,!1);t[Ct]===null&&(t[Ct]=[]),t[Ct].push(e)}function bm(t,e){if(t[Ct]===null)return;let r=t[Ct].indexOf(e);r!==-1&&t[Ct].splice(r,1)}function ur(t){let e=t[ie];return ft(e)?e[ie]:e}var A={lFrame:zd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Mm(){return A.lFrame.elementDepthCount}function Tm(){A.lFrame.elementDepthCount++}function Sm(){A.lFrame.elementDepthCount--}function Ld(){return A.bindingsEnabled}function xm(){return A.skipHydrationRootTNode!==null}function _m(t){return A.skipHydrationRootTNode===t}function Am(){A.skipHydrationRootTNode=null}function $(){return A.lFrame.lView}function Ae(){return A.lFrame.tView}function ai(t){return A.lFrame.contextLView=t,t[$e]}function ci(t){return A.lFrame.contextLView=null,t}function Ie(){let t=jd();for(;t!==null&&t.type===64;)t=t.parent;return t}function jd(){return A.lFrame.currentTNode}function Nm(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yr(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function Vd(){return A.lFrame.isParent}function Rm(){A.lFrame.isParent=!1}function Om(){return A.lFrame.contextLView}function $d(){let t=A.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Pm(t){return A.lFrame.bindingIndex=t}function Fa(){return A.lFrame.bindingIndex++}function Fm(t){let e=A.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function km(){return A.lFrame.inI18n}function Lm(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,zs(e)}function jm(){return A.lFrame.currentDirectiveIndex}function zs(t){A.lFrame.currentDirectiveIndex=t}function Vm(t){let e=A.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ud(){return A.lFrame.currentQueryIndex}function ka(t){A.lFrame.currentQueryIndex=t}function $m(t){let e=t[P];return e.type===2?e.declTNode:e.type===1?t[Be]:null}function Bd(t,e,r){if(r&O.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&O.Host);)if(o=$m(i),o===null||(i=i[xn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=Hd();return n.currentTNode=e,n.lView=t,!0}function La(t){let e=Hd(),r=t[P];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Hd(){let t=A.lFrame,e=t===null?null:t.child;return e===null?zd(t):e}function zd(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Gd(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Wd=Gd;function ja(){let t=Gd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Um(t){return(A.lFrame.contextLView=Cm(t,A.lFrame.contextLView))[$e]}function An(){return A.lFrame.selectedIndex}function zt(t){A.lFrame.selectedIndex=t}function qd(){let t=A.lFrame;return Rd(t.tView,t.selectedIndex)}function Bm(){return A.lFrame.currentNamespace}var Zd=!0;function Va(){return Zd}function $a(t){Zd=t}function Hm(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=xd(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Ua(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[mn]+=65536),(a>14>16&&(t[C]&3)===e&&(t[C]+=16384,Al(a,i)):Al(a,i)}var En=-1,lr=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Gm(t){return t instanceof lr}function Wm(t){return(t.flags&8)!==0}function qm(t){return(t.flags&16)!==0}function Qd(t){return t!==En}function Vo(t){return t&32767}function Zm(t){return t>>16}function $o(t,e){let r=Zm(t),n=e;for(;r>0;)n=n[xn],r--;return n}var Gs=!0;function Uo(t){let e=Gs;return Gs=t,e}var Ym=256,Kd=Ym-1,Jd=5,Qm=0,Ye={};function Km(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(nr)&&(n=r[nr]),n==null&&(n=r[nr]=Qm++);let o=n&Kd,i=1<>Jd)]|=i}function Xd(t,e){let r=ef(t,e);if(r!==-1)return r;let n=e[P];n.firstCreatePass&&(t.injectorIndex=e.length,xs(n.data,t),xs(e,null),xs(n.blueprint,null));let o=Ba(t,e),i=t.injectorIndex;if(Qd(o)){let s=Vo(o),a=$o(o,e),c=a[P].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function xs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ef(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ba(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=sf(o),n===null)return En;if(r++,o=o[xn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return En}function Jm(t,e,r){Km(t,e,r)}function Xm(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h=c&&E.type===r)return h}if(o){let h=s[c];if(h&&vr(h)&&h.type===r)return c}return null}function bn(t,e,r,n){let o=t[r],i=e.data;if(Gm(o)){let s=o;s.resolving&&jg(Lg(i[r]));let a=Uo(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?De(s.injectImpl):null,l=Bd(t,n,O.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Hm(r,i[r],e)}finally{u!==null&&De(u),Uo(a),s.resolving=!1,Wd()}}return o}function tv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(nr)?t[nr]:void 0;return typeof e=="number"?e>=0?e&Kd:nv:e}function Nl(t,e,r){let n=1<>Jd)]&n)}function Rl(t,e){return!(t&O.Self)&&!(t&O.Host&&e)}var $t=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return rf(this._tNode,this._lView,e,oi(n),r)}};function nv(){return new $t(Ie(),$())}function Ha(t){return gr(()=>{let e=t.prototype.constructor,r=e[Po]||Ws(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[Po]||Ws(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ws(t){return od(t)?()=>{let e=Ws(xe(t));return e&&e()}:Ht(t)}function rv(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[C]&2048&&!(s[C]&512);){let a=of(i,s,r,n|O.Self,Ye);if(a!==Ye)return a;let c=i.parent;if(!c){let u=s[bd];if(u){let l=u.get(r,Ye,n);if(l!==Ye)return l}c=sf(s),s=s[xn]}i=c}return o}function sf(t){let e=t[P],r=e.type;return r===2?e.declTNode:r===1?t[Be]:null}function za(t){return Xm(Ie(),t)}var bo="__parameters__";function ov(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function af(t,e,r){return gr(()=>{let n=ov(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(bo)?c[bo]:Object.defineProperty(c,bo,{value:[]})[bo];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function iv(t){let e=pe.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function sv(t){return typeof t=="function"}function av(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?Ga(r,e):e(r))}function cf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Bo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function uv(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function lv(t,e,r){let n=Dr(t,e);return n>=0?t[n|1]=r:(n=~n,uv(t,n,e,r)),n}function _s(t,e){let r=Dr(t,e);if(r>=0)return t[r|1]}function Dr(t,e){return dv(t,e,1)}function dv(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<e?o=i:n=i+1}return~(o<{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>vv(i));e.push(c)}),pv(),Promise.all(e).then(()=>{})}var Ho=new Map,hv=new Set;function pv(){let t=Ho;return Ho=new Map,t}function gv(){return Ho.size===0}function mv(t){return typeof t=="string"?t:t.text()}function vv(t){hv.delete(t)}var Mn=new w("ENVIRONMENT_INITIALIZER"),uf=new w("INJECTOR",-1),lf=new w("INJECTOR_DEF_TYPES"),zo=class{get(e,r=or){if(r===or){let n=new Error(`NullInjectorError: No provider for ${he(e)}!`);throw n.name="NullInjectorError",n}return r}};function li(t){return{\u0275providers:t}}function yv(...t){return{\u0275providers:df(!0,t),\u0275fromNgModule:!0}}function df(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Ga(e,s=>{let a=s;qs(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&ff(o,i),r}function ff(t,e){for(let r=0;r{e(i,n)})}}function qs(t,e,r,n){if(t=xe(t),!t)return!1;let o=null,i=El(t),s=!i&&bt(t);if(!i&&!s){let c=t.ngModule;if(i=El(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)qs(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Ga(i.imports,l=>{qs(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&ff(u,e)}if(!a){let u=Ht(o)||(()=>new o);e({provide:o,useFactory:u,deps:Le},o),e({provide:lf,useValue:o,multi:!0},o),e({provide:Mn,useValue:()=>g(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;qa(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function qa(t,e){for(let r of t)id(r)&&(r=r.\u0275providers),Array.isArray(r)?qa(r,e):e(r)}var Dv=H({provide:String,useValue:H});function hf(t){return t!==null&&typeof t=="object"&&Dv in t}function wv(t){return!!(t&&t.useExisting)}function Ev(t){return!!(t&&t.useFactory)}function Zs(t){return typeof t=="function"}var di=new w("Set Injector scope."),No={},Iv={},As;function Za(){return As===void 0&&(As=new zo),As}var ge=class{},dr=class extends ge{get destroyed(){return this._destroyed}constructor(e,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,Qs(e,s=>this.processProvider(s)),this.records.set(uf,vn(void 0,this)),o.has("environment")&&this.records.set(ge,vn(void 0,this));let i=this.records.get(di);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(lf,Le,O.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=It(this),n=De(void 0),o;try{return e()}finally{It(r),De(n)}}get(e,r=or,n=O.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Dl))return e[Dl](this);n=oi(n);let o,i=It(this),s=De(void 0);try{if(!(n&O.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=xv(e)&&ri(e);u&&this.injectableDefInScope(u)?c=vn(Ys(e),No):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&O.Self?Za():this.parent;return r=n&O.Optional&&r===or?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Fo]=a[Fo]||[]).unshift(he(e)),i)throw a;return Qg(a,e,"R3InjectorError",this.source)}else throw a}finally{De(s),It(i)}}resolveInjectorInitializers(){let e=It(this),r=De(void 0),n;try{let o=this.get(Mn,Le,O.Self);for(let i of o)i()}finally{It(e),De(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(he(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=xe(e);let r=Zs(e)?e:xe(e&&e.provide),n=bv(e);if(!Zs(e)&&e.multi===!0){let o=this.records.get(r);o||(o=vn(void 0,No,!0),o.factory=()=>$s(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){return r.value===No&&(r.value=Iv,r.value=r.factory()),typeof r.value=="object"&&r.value&&Sv(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=xe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ys(t){let e=ri(t),r=e!==null?e.factory:Ht(t);if(r!==null)return r;if(t instanceof w)throw new y(204,!1);if(t instanceof Function)return Cv(t);throw new y(204,!1)}function Cv(t){if(t.length>0)throw new y(204,!1);let r=Ug(t);return r!==null?()=>r.factory(t):()=>new t}function bv(t){if(hf(t))return vn(void 0,t.useValue);{let e=Mv(t);return vn(e,No)}}function Mv(t,e,r){let n;if(Zs(t)){let o=xe(t);return Ht(o)||Ys(o)}else if(hf(t))n=()=>xe(t.useValue);else if(Ev(t))n=()=>t.useFactory(...$s(t.deps||[]));else if(wv(t))n=()=>g(xe(t.useExisting));else{let o=xe(t&&(t.useClass||t.provide));if(Tv(t))n=()=>new o(...$s(t.deps));else return Ht(o)||Ys(o)}return n}function vn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Tv(t){return!!t.deps}function Sv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function xv(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function Qs(t,e){for(let r of t)Array.isArray(r)?Qs(r,e):r&&id(r)?Qs(r.\u0275providers,e):e(r)}function nt(t,e){t instanceof dr&&t.assertNotDestroyed();let r,n=It(t),o=De(void 0);try{return e()}finally{It(n),De(o)}}function _v(t){if(!ud()&&!qg())throw new y(-203,!1)}function Ol(t,e=null,r=null,n){let o=pf(t,e,r,n);return o.resolveInjectorInitializers(),o}function pf(t,e=null,r=null,n,o=new Set){let i=[r||Le,yv(t)];return n=n||(typeof t=="object"?void 0:he(t)),new dr(i,e||Za(),n||null,o)}var He=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Ol({name:""},o,n,"");{let i=n.name??"";return Ol({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=or,e.NULL=new zo,e.\u0275prov=v({token:e,providedIn:"any",factory:()=>g(uf)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Ks;function gf(t){Ks=t}function Av(){if(Ks!==void 0)return Ks;if(typeof document<"u")return document;throw new y(210,!1)}var fi=new w("AppId",{providedIn:"root",factory:()=>Nv}),Nv="ng",Ya=new w("Platform Initializer"),rt=new w("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Qa=new w("CSP nonce",{providedIn:"root",factory:()=>Av().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function mf(t){return t instanceof Function?t():t}function Rv(t){return(t??p(He)).get(rt)==="browser"}function vf(t){return(t.flags&128)===128}var lt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(lt||{});var yf=new Map,Ov=0;function Pv(){return Ov++}function Fv(t){yf.set(t[ii],t)}function kv(t){yf.delete(t[ii])}var Pl="__ngContext__";function Gt(t,e){Vt(e)?(t[Pl]=e[ii],Fv(e)):t[Pl]=e}var Lv;function Ka(t,e){return Lv(t,e)}function yn(t,e,r,n,o){if(n!=null){let i,s=!1;ft(n)?i=n:Vt(n)&&(s=!0,n=n[dt]);let a=et(n);t===0&&r!==null?o==null?Cf(e,r,a):Go(e,r,a,o||null,!0):t===1&&r!==null?Go(e,r,a,o||null,!0):t===2?ey(e,a,s):t===3&&e.destroyNode(a),i!=null&&ny(e,t,i,r,o)}}function jv(t,e){return t.createText(e)}function Vv(t,e,r){t.setValue(e,r)}function Df(t,e,r){return t.createElement(e,r)}function $v(t,e){wf(t,e),e[dt]=null,e[Be]=null}function Uv(t,e,r,n,o,i){n[dt]=o,n[Be]=e,hi(t,n,r,1,o,i)}function wf(t,e){e[Je].changeDetectionScheduler?.notify(),hi(t,e,e[se],2,null,null)}function Bv(t){let e=t[ar];if(!e)return Ns(t[P],t);for(;e;){let r=null;if(Vt(e))r=e[ar];else{let n=e[Ee];n&&(r=n)}if(!r){for(;e&&!e[je]&&e!==t;)Vt(e)&&Ns(e[P],e),e=e[ie];e===null&&(e=t),Vt(e)&&Ns(e[P],e),r=e&&e[je]}e=r}}function Hv(t,e,r,n){let o=Ee+n,i=r.length;n>0&&(r[o-1][je]=e),n0&&(t[r-1][je]=n[je]);let i=Bo(t,Ee+e);$v(n[P],n);let s=i[Qe];s!==null&&s.detachView(i[P]),n[ie]=null,n[je]=null,n[C]&=-129}return n}function If(t,e){if(!(e[C]&256)){let r=e[se];r.destroyNode&&hi(t,e,r,3,null,null),Bv(e)}}function Ns(t,e){if(!(e[C]&256)){e[C]&=-129,e[C]|=256,e[Ut]&&Uu(e[Ut]),Wv(t,e),Gv(t,e),e[P].type===1&&e[se].destroy();let r=e[mr];if(r!==null&&ft(e[ie])){r!==e[ie]&&Ef(r,e);let n=e[Qe];n!==null&&n.detachView(t)}kv(e)}}function Gv(t,e){let r=t.cleanup,n=e[sr];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&&(e[sr]=null);let o=e[Ct];if(o!==null){e[Ct]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Ke.None||i===Ke.Emulated)return null}return _e(n,r)}}function Go(t,e,r,n,o){t.insertBefore(e,r,n,o)}function Cf(t,e,r){t.appendChild(e,r)}function Fl(t,e,r,n,o){n!==null?Go(t,e,r,n,o):Cf(t,e,r)}function Yv(t,e,r,n){t.removeChild(e,r,n)}function Ja(t,e){return t.parentNode(e)}function Qv(t,e){return t.nextSibling(e)}function Kv(t,e,r){return Xv(t,e,r)}function Jv(t,e,r){return t.type&40?_e(t,r):null}var Xv=Jv,kl;function Xa(t,e,r,n){let o=qv(t,n,e),i=e[se],s=n.parent||e[Be],a=Kv(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Mo}function Ll(t){return iy()?.createScriptURL(t)||t}var Wo=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nd})`}};function wr(t){return t instanceof Wo?t.changingThisBreaksApplicationSecurity:t}function tc(t,e){let r=sy(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${nd})`)}return r===e}function sy(t){return t instanceof Wo&&t.getTypeName()||null}var ay=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sf(t){return t=String(t),t.match(ay)?t:"unsafe:"+t}var pi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(pi||{});function Er(t){let e=_f();return e?e.sanitize(pi.URL,t)||"":tc(t,"URL")?wr(t):Sf(ni(t))}function cy(t){let e=_f();if(e)return Ll(e.sanitize(pi.RESOURCE_URL,t)||"");if(tc(t,"ResourceURL"))return Ll(wr(t));throw new y(904,!1)}function uy(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?cy:Er}function xf(t,e,r){return uy(e,r)(t)}function _f(){let t=$();return t&&t[Je].sanitizer}var ea=class{};var ly="h",dy="b";var fy=()=>null;function nc(t,e,r=!1){return fy(t,e,r)}var ta=class{},qo=class{};function hy(t){let e=Error(`No component factory found for ${he(t)}.`);return e[py]=t,e}var py="ngComponent";var na=class{resolveComponentFactory(e){throw hy(e)}},gi=(()=>{let e=class e{};e.NULL=new na;let t=e;return t})();function gy(){return Nn(Ie(),$())}function Nn(t,e){return new ht(_e(t,e))}var ht=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=gy;let t=e;return t})();function my(t){return t instanceof ht?t.nativeElement:t}var fr=class{},Ir=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>vy();let t=e;return t})();function vy(){let t=$(),e=Ie(),r=Tt(e.index,t);return(Vt(r)?r:t)[se]}var yy=(()=>{let e=class e{};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Rs={};function rc(t){let e=de(null);try{return t()}finally{de(e)}}function Af(t){return wy(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Dy(t,e){if(Array.isArray(t))for(let r=0;re,oa=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Ey}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new ia(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Zo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Zo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ia=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},sa=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Zo=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new sa,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jl(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Vl()),deps:[[e,new Wa,new ui]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new y(901,!1)}};e.\u0275prov=v({token:e,providedIn:"root",factory:Vl});let t=e;return t})();function Yo(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(et(i)),ft(i)&&Iy(i,n);let s=r.type;if(s&8)Yo(t,e,r.child,n);else if(s&32){let a=Ka(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=bf(e,r);if(Array.isArray(a))n.push(...a);else{let c=ur(e[Xe]);Yo(c[P],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function Iy(t,e){for(let r=Ee;r{cr(t.lView)},consumerOnSignalRead(){this.lView[Ut]=this}});function Rf(t){return Pf(t[ar])}function Of(t){return Pf(t[je])}function Pf(t){for(;t!==null&&!ft(t);)t=t[je];return t}var Sy="ngOriginalError";function Os(t){return t[Sy]}var tt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Os(e);for(;r&&Os(r);)r=Os(r);return r||null}},Ff=new w("",{providedIn:"root",factory:()=>p(tt).handleError.bind(void 0)});var kf=!1,xy=new w("",{providedIn:"root",factory:()=>kf});var Qt={};function j(t=1){Lf(Ae(),$(),An()+t,!1)}function Lf(t,e,r,n){if(!n)if((e[C]&3)===3){let i=t.preOrderCheckHooks;i!==null&&xo(e,i,r)}else{let i=t.preOrderHooks;i!==null&&_o(e,i,0,r)}zt(r)}function U(t,e=O.Default){let r=$();if(r===null)return g(t,e);let n=Ie();return rf(n,r,xe(t),e)}function jf(){let t="invalid";throw new Error(t)}function Vf(t,e,r,n,o,i){let s=de(null);try{let a=null;o&Ve.SignalBased&&(a=e[n][Lu]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ve.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):Sd(e,a,n,i)}finally{de(s)}}function _y(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;nUe&&Lf(t,e,Ue,!1),Ze(s?2:0,o),r(n,o)}finally{zt(i),Ze(s?3:1,o)}}function Bf(t,e,r){if(Td(e)){let n=de(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Fy(t,e,r,n){let o=Kf(e);o.push(r),t.firstCreatePass&&Jf(t).push(n,o.length-1)}function ky(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return xm()&&(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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $l(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=Ve.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Ul(n,r,u,a,c):Ul(n,r,u,a)}return n}function Ul(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function Ly(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Hy(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;si(r)&&Qy(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Xd(r,e),Gt(n,e);let s=r.initialInputs;for(let a=o;a-1&&(Js(e,n),Bo(r,n))}this._attachedToViewContainer=!1}If(this._lView[P],this._lView)}onDestroy(e){kd(this._lView,e)}markForCheck(){ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[C]&=-129}reattach(){Hs(this._lView),this._lView[C]|=128}detectChanges(){this._lView[C]|=1024,rD(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,wf(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e,Hs(this._lView)}},Rn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=uD;let t=e;return t})();function uD(t){return lD(Ie(),$(),(t&16)===16)}function lD(t,e,r){if(si(t)&&!r){let n=Tt(t.index,e);return new Wt(n,n)}else if(t.type&47){let n=e[Xe];return new Wt(n,e)}return null}var rh=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=dD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),la=class extends rh{constructor(e){super(),this._lView=e}onDestroy(e){return kd(this._lView,e),()=>bm(this._lView,e)}};function dD(){return new la($())}var Bl=new Set;function Di(t){Bl.has(t)||(Bl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var da=class extends le{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Ps(i),o&&(o=Ps(o)),s&&(s=Ps(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof Z&&e.add(a),a}};function Ps(t){return e=>{setTimeout(t,void 0,e)}}var oe=da;function Hl(...t){}function fD(){let t=typeof pe.requestAnimationFrame=="function",e=pe[t?"requestAnimationFrame":"setTimeout"],r=pe[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var B=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oe(!1),this.onMicrotaskEmpty=new oe(!1),this.onStable=new oe(!1),this.onError=new oe(!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)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=fD().nativeRequestAnimationFrame,gD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,hD,Hl,Hl);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},hD={};function cc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function pD(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(pe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,fa(t),t.isCheckStableRunning=!0,cc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),fa(t))}function gD(t){let e=()=>{pD(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(mD(a))return r.invokeTask(o,i,s,a);try{return zl(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Gl(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return zl(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Gl(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,fa(t),cc(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function fa(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function zl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gl(t){t._nesting--,cc(t)}var ha=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oe,this.onMicrotaskEmpty=new oe,this.onStable=new oe,this.onError=new oe}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function mD(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function vD(t="zone.js",e){return t==="noop"?new ha:t==="zone.js"?new B(e):t}var Dn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Dn||{}),yD={destroy(){}};function uc(t,e){!e&&_v(uc);let r=e?.injector??p(He);if(!Rv(r))return yD;Di("NgAfterNextRender");let n=r.get(lc),o=n.handler??=new ga,i=e?.phase??Dn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(rh).onDestroy(s),c=new pa(r,i,()=>{s(),t()});return o.register(c),{destroy:s}}var pa=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(B),this.errorHandler=e.get(tt,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},ga=class{constructor(){this.executingCallbacks=!1,this.buckets={[Dn.EarlyRead]:new Set,[Dn.Write]:new Set,[Dn.MixedReadWrite]:new Set,[Dn.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){let e=!1;this.executingCallbacks=!0;for(let r of Object.values(this.buckets))for(let n of r)e=!0,n.invoke();this.executingCallbacks=!1;for(let r of this.deferredCallbacks)this.buckets[r.phase].add(r);return this.deferredCallbacks.clear(),e}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},lc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function DD(t,e){let r=Tt(e,t),n=r[P];wD(n,r);let o=r[dt];o!==null&&r[ko]===null&&(r[ko]=nc(o,r[In])),dc(n,r,r[$e])}function wD(t,e){for(let r=e.length;r0&&Mf(t,r,i.join(" "))}}function xD(t,e,r){let n=t.projection=[];for(let o=0;onull;function ql(t,e){return AD(t,e)}function ND(t,e,r,n){let o=e.tView,s=t[C]&4096?4096:16,a=mi(t,o,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),c=t[e.index];a[mr]=c;let u=t[Qe];return u!==null&&(a[Qe]=u.createEmbeddedView(o)),dc(o,a,r),a}function Zl(t,e){return!e||e.firstChild===null||vf(t)}function RD(t,e,r,n=!0){let o=e[P];if(Hv(o,e,t,r),n){let s=Xs(r,t),a=e[se],c=Ja(a,t[Bt]);c!==null&&Uv(o,t[Be],a,e,c,s)}let i=e[ko];i!==null&&i.firstChild!==null&&(i.firstChild=null)}var St=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=OD;let t=e;return t})();function OD(){let t=Ie();return ih(t,$())}var PD=St,oh=class extends PD{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new $t(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ba(this._hostTNode,this._hostLView);if(Qd(e)){let r=$o(e,this._hostLView),n=Vo(e),o=r[P].data[n+8];return new $t(o,r)}else return new $t(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Yl(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ee}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=ql(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Zl(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!sv(e),a;if(s)a=r;else{let E=r||{};a=E.index,n=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef}let c=s?e:new Tn(bt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let F=(s?u:this.parentInjector).get(ge,null);F&&(i=F)}let l=bt(c.componentType??{}),d=ql(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,Zl(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(Em(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[ie],u=new oh(c,c[Be],c[ie]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return RD(s,o,i,n),e.attachToViewContainerRef(),cf(Fs(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Yl(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Js(this._lContainer,r);n&&(Bo(Fs(this._lContainer),r),If(n[P],n))}detach(e){let r=this._adjustIndex(e,-1),n=Js(this._lContainer,r);return n&&Bo(Fs(this._lContainer),r)!=null?new Wt(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Yl(t){return t[Lo]}function Fs(t){return t[Lo]||(t[Lo]=[])}function ih(t,e){let r,n=e[t.index];return ft(n)?r=n:(r=Yf(n,e,null,t),e[t.index]=r,yi(e,r)),kD(r,e,t,n),new oh(r,t,e)}function FD(t,e){let r=t[se],n=r.createComment(""),o=_e(e,t),i=Ja(r,o);return Go(r,i,n,Qv(r,o),!1),n}var kD=VD,LD=()=>!1;function jD(t,e,r){return LD(t,e,r)}function VD(t,e,r,n){if(t[Bt])return;let o;r.type&8?o=et(n):o=FD(e,r),t[Bt]=o}function $D(t,e,r){return t[e]=r}function Cr(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function UD(t,e,r,n,o,i,s,a,c){let u=e.consts,l=vi(e,t,4,s||null,jo(u,a));Wf(e,r,l,jo(u,c)),Ua(e,l);let d=l.tView=ic(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function X(t,e,r,n,o,i,s,a){let c=$(),u=Ae(),l=t+Ue,d=u.firstCreatePass?UD(l,u,c,e,r,n,o,i,s):u.data[l];yr(d,!1);let f=BD(u,c,d,t);Va()&&Xa(u,c,f,d),Gt(f,c);let h=Yf(f,c,f,d);return c[l]=h,yi(c,h),jD(h,d,c),Oa(d)&&Hf(u,c,d),s!=null&&zf(c,d,a),X}var BD=HD;function HD(t,e,r,n){return $a(!0),e[se].createComment("")}function hc(t,e,r,n){let o=$(),i=Fa();if(Cr(o,i,e)){let s=Ae(),a=qd();Ky(a,o,t,e,r,n)}return hc}function zD(t,e,r,n){return Cr(t,Fa(),r)?e+ni(r)+n:Qt}function To(t,e){return t<<17|e<<2}function qt(t){return t>>17&32767}function GD(t){return(t&2)==2}function WD(t,e){return t&131071|e<<17}function Da(t){return t|2}function Sn(t){return(t&131068)>>2}function ks(t,e){return t&-131069|e<<2}function qD(t){return(t&1)===1}function wa(t){return t|1}function ZD(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=qt(s),c=Sn(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Dr(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=qt(t[a+1]);t[n+1]=To(f,a),f!==0&&(t[f+1]=ks(t[f+1],n)),t[a+1]=WD(t[a+1],n)}else t[n+1]=To(a,0),a!==0&&(t[a+1]=ks(t[a+1],n)),a=n;else t[n+1]=To(c,0),a===0?a=n:t[c+1]=ks(t[c+1],n),c=n;u&&(t[n+1]=Da(t[n+1])),Ql(t,l,n,!0),Ql(t,l,n,!1),YD(e,l,t,n,i),s=To(a,c),i?e.classBindings=s:e.styleBindings=s}function YD(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Dr(i,e)>=0&&(r[n+1]=wa(r[n+1]))}function Ql(t,e,r,n){let o=t[r+1],i=e===null,s=n?qt(o):Sn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];QD(c,e)&&(a=!0,t[s+1]=n?wa(u):Da(u)),s=n?qt(u):Sn(u)}a&&(t[r+1]=n?Da(o):wa(o))}function QD(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Dr(t,e)>=0:!1}function G(t,e,r){let n=$(),o=Fa();if(Cr(n,o,e)){let i=Ae(),s=qd();Vy(i,s,n,t,e,n[se],r,!1)}return G}function Kl(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";sc(t,r,i[s],s,n)}function pc(t,e){return KD(t,e,null,!0),pc}function KD(t,e,r,n){let o=$(),i=Ae(),s=Fm(2);if(i.firstUpdatePass&&XD(i,t,s,n),e!==Qt&&Cr(o,s,e)){let a=i.data[An()];ow(i,a,o,o[se],t,o[s+1]=iw(e,r),n,s)}}function JD(t,e){return e>=t.expandoStartIndex}function XD(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[An()],s=JD(t,r);sw(i,n)&&e===null&&!s&&(e=!1),e=ew(o,i,e,n),ZD(o,i,e,r,s,n)}}function ew(t,e,r,n){let o=Vm(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ls(null,t,e,r,n),r=hr(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ls(o,t,e,r,n),i===null){let c=tw(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ls(null,t,e,c[1],n),c=hr(c,e.attrs,n),nw(t,e,n,c))}else i=rw(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function tw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Sn(n)!==0)return t[qt(n)]}function nw(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[qt(o)]=n}function rw(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===Qt&&(f=d?Le:void 0);let h=d?_s(f,n):l===n?f:void 0;if(u&&!Ko(h)&&(h=_s(c,n)),Ko(h)&&(a=h,s))return a;let E=t[o+1];o=s?qt(E):Sn(E)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=_s(c,n))}return a}function Ko(t){return t!==void 0}function iw(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=he(wr(t)))),t}function sw(t,e){return(t.flags&(e?8:16))!==0}function aw(t,e,r,n,o,i){let s=e.consts,a=jo(s,o),c=vi(e,t,2,n,a);return Wf(e,r,c,jo(s,i)),c.attrs!==null&&ma(c,c.attrs,!1),c.mergedAttrs!==null&&ma(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function S(t,e,r,n){let o=$(),i=Ae(),s=Ue+t,a=o[se],c=i.firstCreatePass?aw(s,i,o,e,r,n):i.data[s],u=cw(i,o,c,a,e,t);o[s]=u;let l=Oa(c);return yr(c,!0),Tf(a,u,c),(c.flags&32)!==32&&Va()&&Xa(i,o,u,c),Mm()===0&&Gt(u,o),Tm(),l&&(Hf(i,o,c),Bf(i,c,o)),n!==null&&zf(o,c),S}function M(){let t=Ie();Vd()?Rm():(t=t.parent,yr(t,!1));let e=t;_m(e)&&Am(),Sm();let r=Ae();return r.firstCreatePass&&(Ua(r,t),Td(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Wm(e)&&Kl(r,e,$(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&qm(e)&&Kl(r,e,$(),e.stylesWithoutHost,!1),M}function Ce(t,e,r,n){return S(t,e,r,n),M(),Ce}var cw=(t,e,r,n,o,i)=>($a(!0),Df(n,o,Bm()));function wi(){return $()}var Jo="en-US";var uw=Jo;function lw(t){Vg(t,"Expected localeId to be defined"),typeof t=="string"&&(uw=t.toLowerCase().replace(/_/g,"-"))}function On(t){return!!t&&typeof t.then=="function"}function gc(t){return!!t&&typeof t.subscribe=="function"}function Kt(t,e,r,n){let o=$(),i=Ae(),s=Ie();return fw(i,o,o[se],s,t,e,n),Kt}function dw(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function fw(t,e,r,n,o,i,s){let a=Oa(n),u=t.firstCreatePass&&Jf(t),l=e[$e],d=Kf(e),f=!0;if(n.type&3||s){let F=_e(n,e),x=s?s(F):F,I=d.length,Y=s?z=>s(et(z[n.index])):n.index,Me=null;if(!s&&a&&(Me=dw(t,e,o,n.index)),Me!==null){let z=Me.__ngLastListenerFn__||Me;z.__ngNextListenerFn__=i,Me.__ngLastListenerFn__=i,f=!1}else{i=ed(n,e,l,i,!1);let z=r.listen(x,o,i);d.push(i,z),u&&u.push(o,Y,I,I+1)}}else i=ed(n,e,l,i,!1);let h=n.outputs,E;if(f&&h!==null&&(E=h[o])){let F=E.length;if(F)for(let x=0;x-1?Tt(t.index,e):e;ac(a);let c=Xl(e,r,n,s),u=i.__ngNextListenerFn__;for(;u;)c=Xl(e,r,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function pt(t=1){return Um(t)}function hw(){return this._results[Symbol.iterator]()}var Ea=class t{get changes(){return this._changes??=new oe}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=hw)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=cv(e);(this._changesDetected=!av(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Zt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mw;let t=e;return t})(),pw=Zt,gw=class extends pw{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=ND(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new Wt(o)}};function mw(){return mc(Ie(),$())}function mc(t,e){return t.type&4?new gw(e,t,Nn(t,e)):null}var Ia=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ca=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=Ee;d=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function dh(t){let e=Om();return Od(e,Ue+t)}function k(t,e=""){let r=$(),n=Ae(),o=t+Ue,i=n.firstCreatePass?vi(n,o,1,e,null):n.data[o],s=Tw(n,r,i,e,t);r[o]=s,Va()&&Xa(n,r,s,i),yr(i,!1)}var Tw=(t,e,r,n,o)=>($a(!0),jv(e[se],n));function ot(t){return ze("",t,""),ot}function ze(t,e,r){let n=$(),o=zD(n,t,e,r);return o!==Qt&&tD(n,An(),o),ze}var Mt=class{},pr=class{};var Xo=class extends Mt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qo(this);let o=Ed(e);this._bootstrapComponents=mf(o.bootstrap),this._r3Injector=pf(e,r,[{provide:Mt,useValue:this},{provide:gi,useValue:this.componentFactoryResolver},...n],he(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ei=class extends pr{constructor(e){super(),this.moduleType=e}create(e){return new Xo(this.moduleType,e,[])}};function Sw(t,e,r){return new Xo(t,e,r)}var xa=class extends Mt{constructor(e){super(),this.componentFactoryResolver=new Qo(this),this.instance=null;let r=new dr([...e.providers,{provide:Mt,useValue:this},{provide:gi,useValue:this.componentFactoryResolver}],e.parent||Za(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ei(t,e,r=null){return new xa({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var xw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=df(!1,n.type),i=o.length>0?Ei([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()}}};e.\u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(g(ge))});let t=e;return t})();function fh(t){Di("NgStandalone"),t.getStandaloneInjector=e=>e.get(xw).getOrCreateStandaloneInjector(t)}function hh(t,e,r,n){return ph($(),$d(),t,e,r,n)}function _w(t,e){let r=t[e];return r===Qt?void 0:r}function ph(t,e,r,n,o,i){let s=e+r;return Cr(t,s,o)?$D(t,s+1,i?n.call(i,o):n(o)):_w(t,s+1)}function Pn(t,e){let r=Ae(),n,o=t+Ue;r.firstCreatePass?(n=Aw(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=Ht(n.type,!0)),s,a=De(U);try{let c=Uo(!1),u=i();return Uo(c),Mw(r,$(),o,u),u}finally{De(a)}}function Aw(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Fn(t,e,r){let n=t+Ue,o=$(),i=Od(o,n);return Nw(o,n)?ph(o,$d(),e,i.transform,r,i):i.transform(r)}function Nw(t,e){return t[P].data[e].pure}var So=null;function Rw(t){So!==null&&(t.defaultEncapsulation!==So.defaultEncapsulation||t.preserveWhitespaces!==So.preserveWhitespaces)||(So=t)}var Ii=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),_a=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ci=(()=>{let e=class e{compileModuleSync(n){return new ei(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Ed(n),s=mf(i.declarations).reduce((a,c)=>{let u=bt(c);return u&&a.push(new Tn(u)),a},[]);return new _a(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ow=new w("compilerOptions");var Jt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var vc=new w(""),br=new w(""),bi=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,yc||(Pw(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(g(B),g(Mi),g(br))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Mi=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return yc?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Pw(t){yc=t}var yc,Ti=new w("Application Initializer"),gh=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Ti,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(On(s))n.push(s);else if(gc(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=new w("appBootstrapListener");function Fw(t,e,r){let n=new ei(r);return Promise.resolve(n)}function kw(){Bu(()=>{throw new y(600,!1)})}function Lw(t){return t.isBoundToModule}function jw(t,e,r){try{let n=r();return On(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function mh(t,e){return Array.isArray(e)?e.reduce(mh,t):m(m({},t),e)}var Xt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Ff),this.afterRenderEffectManager=p(lc),this.componentTypes=[],this.components=[],this.isStable=p(Jt).hasPendingTasks.pipe(_(n=>!n)),this._injector=p(ge)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof qo;if(!this._injector.get(gh).done){let h=!i&&wd(n),E=!1;throw new y(405,E)}let a;i?a=n:a=this._injector.get(gi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Lw(a)?void 0:this._injector.get(Mt),u=o||a.selector,l=a.create(He.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(vc,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Oo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Oo(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Si,[]);[...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),()=>Oo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Oo(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function td(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Vw=(()=>{let e=class e{constructor(){this.zone=p(B),this.applicationRef=p(Xt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $w(t){return[{provide:B,useFactory:t},{provide:Mn,multi:!0,useFactory:()=>{let e=p(Vw,{optional:!0});return()=>e.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{let e=p(Hw);return()=>{e.initialize()}}},{provide:Ff,useFactory:Uw}]}function Uw(){let t=p(B),e=p(tt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Bw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Hw=(()=>{let e=class e{constructor(){this.subscription=new Z,this.initialized=!1,this.zone=p(B),this.pendingTasks=p(Jt)}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(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zw(){return typeof $localize<"u"&&$localize.locale||Jo}var Dc=new w("LocaleId",{providedIn:"root",factory:()=>p(Dc,O.Optional|O.SkipSelf)||zw()});var vh=new w("PlatformDestroyListeners"),yh=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=vD(o?.ngZone,Bw({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=Sw(n.moduleType,this.injector,$w(()=>i)),a=s.injector.get(tt,null);return i.runOutsideAngular(()=>{let c=i.onError.subscribe({next:u=>{a.handleError(u)}});s.onDestroy(()=>{Oo(this._modules,s),c.unsubscribe()})}),jw(a,i,()=>{let c=s.injector.get(gh);return c.runInitializers(),c.donePromise.then(()=>{let u=s.injector.get(Dc,Jo);return lw(u||Jo),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=mh({},o);return Fw(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Xt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new y(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(vh,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(g(He))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),rr=null,Dh=new w("AllowMultipleToken");function Gw(t){if(rr&&!rr.get(Dh,!1))throw new y(400,!1);kw(),rr=t;let e=t.get(yh);return Zw(t),e}function wc(t,e,r=[]){let n=`Platform: ${e}`,o=new w(n);return(i=[])=>{let s=wh();if(!s||s.injector.get(Dh,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):Gw(Ww(a,n))}return qw(o)}}function Ww(t=[],e){return He.create({name:e,providers:[{provide:di,useValue:"platform"},{provide:vh,useValue:new Set([()=>rr=null])},...t]})}function qw(t){let e=wh();if(!e)throw new y(401,!1);return e}function wh(){return rr?.get(yh)??null}function Zw(t){t.get(Ya,null)?.forEach(r=>r())}var Eh=wc(null,"core",[]),Ih=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(g(Xt))},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({});let t=e;return t})();function Mr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ch(t){let e=bt(t);if(!e)return null;let r=new Tn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Ec=null;function en(){return Ec}function _h(t){Ec||(Ec=t)}var xi=class{},ue=new w("DocumentToken"),xc=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(Yw),providedIn:"platform"});let t=e;return t})(),Ah=new w("Location Initialized"),Yw=(()=>{let e=class e extends xc{constructor(){super(),this._doc=p(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return en().getBaseHref(this._doc)}onPopState(n){let o=en().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=en().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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function _c(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function bh(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function gt(t){return t&&t[0]!=="?"?"?"+t:t}var mt=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(Ac),providedIn:"root"});let t=e;return t})(),Nh=new w("appBaseHref"),Ac=(()=>{let e=class e extends mt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ue).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 _c(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+gt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+gt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+gt(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)}};e.\u0275fac=function(o){return new(o||e)(g(xc),g(Nh,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rh=(()=>{let e=class e extends mt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash;return o==null&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=_c(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+gt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+gt(s));a.length==0&&(a=this._platformLocation.pathname),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)}};e.\u0275fac=function(o){return new(o||e)(g(xc),g(Nh,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Ln=(()=>{let e=class e{constructor(n){this._subject=new oe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Jw(bh(Mh(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+gt(o))}normalize(n){return e.stripTrailingSlash(Kw(this._basePath,Mh(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+gt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+gt(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._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})}};e.normalizeQueryParams=gt,e.joinWithSlash=_c,e.stripTrailingSlash=bh,e.\u0275fac=function(o){return new(o||e)(g(mt))},e.\u0275prov=v({token:e,factory:()=>Qw(),providedIn:"root"});let t=e;return t})();function Qw(){return new Ln(g(mt))}function Kw(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Mh(t){return t.replace(/\/index.html$/,"")}function Jw(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function _i(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Ic=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},xt=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Ic(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),Th(c,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Th(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(U(St),U(Zt),U(oc))},e.\u0275dir=Yt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Th(t,e){t.context.$implicit=e.item}var _t=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Cc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Sh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Sh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(U(St),U(Zt))},e.\u0275dir=Yt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Cc=class{constructor(){this.$implicit=null,this.ngIf=null}};function Sh(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${he(e)}'.`)}function Xw(t,e){return new y(2100,!1)}var bc=class{createSubscription(e,r){return rc(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){rc(()=>e.unsubscribe())}},Mc=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},eE=new Mc,tE=new bc,jn=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(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(On(n))return eE;if(gc(n))return tE;throw Xw(e,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._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(U(Rn,16))},e.\u0275pipe=vd({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Ai=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({});let t=e;return t})(),Nc="browser",nE="server";function rE(t){return t===Nc}function Rc(t){return t===nE}var Oh=(()=>{let e=class e{};e.\u0275prov=v({token:e,providedIn:"root",factory:()=>rE(p(rt))?new Tc(p(ue),window):new Sc});let t=e;return t})(),Tc=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=oE(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function oE(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var Sc=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},kn=class{};var Sr=class{},Ri=class{},tn=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Pc=class{encodeKey(e){return Ph(e)}encodeValue(e){return Ph(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function aE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var cE=/%(\d[a-f0-9])/gi,uE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ph(t){return encodeURIComponent(t).replace(cE,(e,r)=>uE[r]??e)}function Ni(t){return`${t}`}var At=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Pc,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=aE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Ni):[Ni(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ni(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Ni(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Fc=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function lE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fh(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function kh(t){return typeof Blob<"u"&&t instanceof Blob}function Lh(t){return typeof FormData<"u"&&t instanceof FormData}function dE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Tr=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(lE(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new tn),this.context||(this.context=new Fc),!this.params)this.params=new At,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new t(r,n,i,{params:u,headers:c,context:l,reportProgress:a,responseType:o,withCredentials:s})}},$n=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}($n||{}),xr=class{constructor(e,r=Fi.Ok,n="OK"){this.headers=e.headers||new tn,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},kc=class t extends xr{constructor(e={}){super(e),this.type=$n.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Oi=class t extends xr{constructor(e={}){super(e),this.type=$n.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Pi=class extends xr{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Fi=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Fi||{});function Oc(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Lc=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Tr)s=n;else{let u;i.headers instanceof tn?u=i.headers:u=new tn(i.headers);let l;i.params&&(i.params instanceof At?l=i.params:l=new At({fromObject:i.params})),s=new Tr(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=D(s).pipe(ct(u=>this.handler.handle(u)));if(n instanceof Tr||i.observe==="events")return a;let c=a.pipe(ne(u=>u instanceof Oi));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(_(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(_(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(_(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(_(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new At().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Oc(i,o))}post(n,o,i={}){return this.request("POST",n,Oc(i,o))}put(n,o,i={}){return this.request("PUT",n,Oc(i,o))}};e.\u0275fac=function(o){return new(o||e)(g(Sr))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function Uh(t,e){return e(t)}function fE(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function hE(t,e,r){return(n,o)=>nt(r,()=>e(n,i=>t(i,o)))}var pE=new w(""),jc=new w(""),gE=new w(""),mE=new w("");function vE(){let t=null;return(e,r)=>{t===null&&(t=(p(pE,{optional:!0})??[]).reduceRight(fE,Uh));let n=p(Jt),o=n.add();return t(e,r).pipe(Et(()=>n.remove(o)))}}var jh=(()=>{let e=class e extends Sr{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=p(Jt);let i=p(mE,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(jc),...this.injector.get(gE,[])]));this.chain=i.reduceRight((s,a)=>hE(s,a,this.injector),Uh)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Et(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(g(Ri),g(ge))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();var yE=/^\)\]\}',?\n/;function DE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Vh=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?W(o.\u0275loadImpl()):D(null)).pipe(re(()=>new L(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((x,I)=>a.setRequestHeader(x,I.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let x=n.detectContentTypeHeader();x!==null&&a.setRequestHeader("Content-Type",x)}if(n.responseType){let x=n.responseType.toLowerCase();a.responseType=x!=="json"?x:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let x=a.statusText||"OK",I=new tn(a.getAllResponseHeaders()),Y=DE(a)||n.url;return u=new kc({headers:I,status:a.status,statusText:x,url:Y}),u},d=()=>{let{headers:x,status:I,statusText:Y,url:Me}=l(),z=null;I!==Fi.NoContent&&(z=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=z?Fi.Ok:0);let ve=I>=200&&I<300;if(n.responseType==="json"&&typeof z=="string"){let Pe=z;z=z.replace(yE,"");try{z=z!==""?JSON.parse(z):null}catch(Jn){z=Pe,ve&&(ve=!1,z={error:Jn,text:z})}}ve?(s.next(new Oi({body:z,headers:x,status:I,statusText:Y,url:Me||void 0})),s.complete()):s.error(new Pi({error:z,headers:x,status:I,statusText:Y,url:Me||void 0}))},f=x=>{let{url:I}=l(),Y=new Pi({error:x,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});s.error(Y)},h=!1,E=x=>{h||(s.next(l()),h=!0);let I={type:$n.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(I.total=x.total),n.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),s.next(I)},F=x=>{let I={type:$n.UploadProgress,loaded:x.loaded};x.lengthComputable&&(I.total=x.total),s.next(I)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",E),c!==null&&a.upload&&a.upload.addEventListener("progress",F)),a.send(c),s.next({type:$n.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",E),c!==null&&a.upload&&a.upload.removeEventListener("progress",F)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(g(kn))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Bh=new w("XSRF_ENABLED"),wE="XSRF-TOKEN",EE=new w("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>wE}),IE="X-XSRF-TOKEN",CE=new w("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>IE}),ki=class{},bE=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=_i(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(g(ue),g(rt),g(EE))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function ME(t,e){let r=t.url.toLowerCase();if(!p(Bh)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(ki).getToken(),o=p(CE);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var Hh=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Hh||{});function TE(t,e){return{\u0275kind:t,\u0275providers:e}}function SE(...t){let e=[Lc,Vh,jh,{provide:Sr,useExisting:jh},{provide:Ri,useExisting:Vh},{provide:jc,useValue:ME,multi:!0},{provide:Bh,useValue:!0},{provide:ki,useClass:bE}];for(let r of t)e.push(...r.\u0275providers);return li(e)}var $h=new w("LEGACY_INTERCEPTOR_FN");function xE(){return TE(Hh.LegacyInterceptors,[{provide:$h,useFactory:vE},{provide:jc,useExisting:$h,multi:!0}])}var zh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({providers:[SE(xE())]});let t=e;return t})();var Uc=class extends xi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Bc=class t extends Uc{static makeCurrent(){_h(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=AE();return r==null?null:NE(r)}resetBaseElement(){_r=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return _i(document.cookie,e)}},_r=null;function AE(){return _r=_r||document.querySelector("base"),_r?_r.getAttribute("href"):null}function NE(t){return new URL(t,document.baseURI).pathname}var Hc=class{addToWindow(e){pe.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new y(5103,!1);return i},pe.getAllAngularTestabilities=()=>e.getAllTestabilities(),pe.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=pe.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?en().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},RE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),zc=new w("EventManagerPlugins"),Zh=(()=>{let e=class e{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 y(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(g(zc),g(B))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Li=class{constructor(e){this._doc=e}},Vc="ng-app-id",Yh=(()=>{let e=class e{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=Rc(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[${Vc}="${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(Vc),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Vc,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)}};e.\u0275fac=function(o){return new(o||e)(g(ue),g(fi),g(Qa,8),g(rt))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),$c={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/"},Wc=/%COMP%/g,Qh="%COMP%",OE=`_nghost-${Qh}`,PE=`_ngcontent-${Qh}`,FE=!0,kE=new w("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>FE});function LE(t){return PE.replace(Wc,t)}function jE(t){return OE.replace(Wc,t)}function Kh(t,e){return e.map(r=>r.replace(Wc,t))}var Gh=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Rc(c),this.defaultRenderer=new Ar(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ke.ShadowDom&&(o=Q(m({},o),{encapsulation:Ke.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ji?i.applyToHost(n):i instanceof Nr&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ke.Emulated:s=new ji(u,l,o,this.appId,d,a,c,f);break;case Ke.ShadowDom:return new Gc(u,l,n,o,a,c,this.nonce,f);default:s=new Nr(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(g(Zh),g(Yh),g(fi),g(kE),g(ue),g(rt),g(B),g(Qa))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),Ar=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS($c[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Wh(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Wh(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=$c[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=$c[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(lt.DashCase|lt.Important)?e.style.setProperty(r,n,o<.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n<.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=en().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Wh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Gc=class extends Ar{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Kh(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Nr=class extends Ar{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Kh(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ji=class extends Nr{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=LE(u),this.hostAttr=jE(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},VE=(()=>{let e=class e extends Li{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)}};e.\u0275fac=function(o){return new(o||e)(g(ue))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})(),qh=["alt","control","meta","shift"],$E={"\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"},UE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},BE=(()=>{let e=class e extends Li{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>en().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=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),qh.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 u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=$E[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"),qh.forEach(a=>{if(a!==i){let c=UE[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(g(ue))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function HE(){Bc.makeCurrent()}function zE(){return new tt}function GE(){return gf(document),document}var WE=[{provide:rt,useValue:Nc},{provide:Ya,useValue:HE,multi:!0},{provide:ue,useFactory:GE,deps:[]}],Jh=wc(Eh,"browser",WE),qE=new w(""),ZE=[{provide:br,useClass:Hc,deps:[]},{provide:vc,useClass:bi,deps:[B,Mi,br]},{provide:bi,useClass:bi,deps:[B,Mi,br]}],YE=[{provide:di,useValue:"root"},{provide:tt,useFactory:zE,deps:[]},{provide:zc,useClass:VE,multi:!0,deps:[ue,B,rt]},{provide:zc,useClass:BE,multi:!0,deps:[ue]},Gh,Yh,Zh,{provide:fr,useExisting:Gh},{provide:kn,useClass:RE,deps:[]},[]],Xh=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:fi,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(g(qE,12))},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({providers:[...YE,...ZE],imports:[Ai,Ih]});let t=e;return t})();function QE(){return new qc(g(ue))}var qc=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(g(ue))},e.\u0275prov=v({token:e,factory:function(o){let i=null;return o?i=new o:i=QE(),i},providedIn:"root"});let t=e;return t})();var T="primary",Wr=Symbol("RouteTitle"),Jc=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Gn(t){return new Jc(t)}function KE(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Pt(t){return ys(t)?t:On(t)?W(Promise.resolve(t)):D(t)}var XE={exact:dp,subset:fp},lp={exact:eI,subset:tI,ignored:()=>!0};function tp(t,e,r){return XE[r.paths](t.root,e.root,r.matrixParams)&&lp[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function eI(t,e){return it(t,e)}function dp(t,e,r){if(!rn(t.segments,e.segments)||!Ui(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!dp(t.children[n],e.children[n],r))return!1;return!0}function tI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>up(t[r],e[r]))}function fp(t,e,r){return hp(t,e,e.segments,r)}function hp(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!rn(o,r)||e.hasChildren()||!Ui(o,r,n))}else if(t.segments.length===r.length){if(!rn(t.segments,r)||!Ui(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!fp(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!rn(t.segments,o)||!Ui(t.segments,o,n)||!t.children[T]?!1:hp(t.children[T],e,i,n)}}function Ui(t,e,r){return e.every((n,o)=>lp[r](t[o].parameters,n.parameters))}var Nt=class{constructor(e=new V([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Gn(this.queryParams),this._queryParamMap}toString(){return oI.serialize(this)}},V=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bi(this)}},nn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Gn(this.parameters),this._parameterMap}toString(){return gp(this)}};function nI(t,e){return rn(t,e)&&t.every((r,n)=>it(r.parameters,e[n].parameters))}function rn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function rI(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===T&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==T&&(r=r.concat(e(o,n)))}),r}var qr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>new jr,providedIn:"root"});let t=e;return t})(),jr=class{parse(e){let r=new tu(e);return new Nt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Rr(e.root,!0)}`,n=aI(e.queryParams),o=typeof e.fragment=="string"?`#${iI(e.fragment)}`:"";return`${r}${n}${o}`}},oI=new jr;function Bi(t){return t.segments.map(e=>gp(e)).join("/")}function Rr(t,e){if(!t.hasChildren())return Bi(t);if(e){let r=t.children[T]?Rr(t.children[T],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==T&&n.push(`${o}:${Rr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=rI(t,(n,o)=>o===T?[Rr(t.children[T],!1)]:[`${o}:${Rr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[T]!=null?`${Bi(t)}/${r[0]}`:`${Bi(t)}/(${r.join("//")})`}}function pp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vi(t){return pp(t).replace(/%3B/gi,";")}function iI(t){return encodeURI(t)}function eu(t){return pp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hi(t){return decodeURIComponent(t)}function np(t){return Hi(t.replace(/\+/g,"%20"))}function gp(t){return`${eu(t.path)}${sI(t.parameters)}`}function sI(t){return Object.entries(t).map(([e,r])=>`;${eu(e)}=${eu(r)}`).join("")}function aI(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Vi(r)}=${Vi(o)}`).join("&"):`${Vi(r)}=${Vi(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var cI=/^[^\/()?;#]+/;function Zc(t){let e=t.match(cI);return e?e[0]:""}var uI=/^[^\/()?;=#]+/;function lI(t){let e=t.match(uI);return e?e[0]:""}var dI=/^[^=?&#]+/;function fI(t){let e=t.match(dI);return e?e[0]:""}var hI=/^[^&#]+/;function pI(t){let e=t.match(hI);return e?e[0]:""}var tu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[T]=new V(e,r)),n}parseSegment(){let e=Zc(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new nn(Hi(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=lI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Zc(this.remaining);o&&(n=o,this.capture(n))}e[Hi(r)]=Hi(n)}parseQueryParam(e){let r=fI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=pI(this.remaining);s&&(n=s,this.capture(n))}let o=np(r),i=np(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Zc(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=T);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[T]:new V([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function mp(t){return t.segments.length>0?new V([],{[T]:t}):t}function vp(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=vp(o);if(n===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new V(t.segments,e);return gI(r)}function gI(t){if(t.numberOfChildren===1&&t.children[T]){let e=t.children[T];return new V(t.segments.concat(e.segments),e.children)}return t}function Wn(t){return t instanceof Nt}function mI(t,e,r=null,n=null){let o=yp(t);return Dp(o,e,r,n)}function yp(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new V(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=mp(n);return e??o}function Dp(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Yc(o,o,o,r,n);let i=vI(e);if(i.toRoot())return Yc(o,o,new V([],{}),r,n);let s=yI(i,o,t),a=s.processChildren?Fr(s.segmentGroup,s.index,i.commands):Ep(s.segmentGroup,s.index,i.commands);return Yc(o,s.segmentGroup,a,r,n)}function zi(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Vr(t){return typeof t=="object"&&t!=null&&t.outlets}function Yc(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=wp(t,e,r);let a=mp(vp(s));return new Nt(a,i,o)}function wp(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=wp(i,e,r)}),new V(t.segments,n)}var Gi=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&zi(n[0]))throw new y(4003,!1);let o=n.find(Vr);if(o&&o!==n.at(-1))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vI(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Gi(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Gi(r,e,n)}var Hn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function yI(t,e,r){if(t.isAbsolute)return new Hn(e,!0,0);if(!r)return new Hn(e,!1,NaN);if(r.parent===null)return new Hn(r,!0,0);let n=zi(t.commands[0])?0:1,o=r.segments.length-1+n;return DI(r,o,t.numberOfDoubleDots)}function DI(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new y(4005,!1);o=n.segments.length}return new Hn(n,!1,o-i)}function wI(t){return Vr(t[0])?t[0].outlets:{[T]:t}}function Ep(t,e,r){if(t??=new V([],{}),t.segments.length===0&&t.hasChildren())return Fr(t,e,r);let n=EI(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==T)&&t.children[T]&&t.numberOfChildren===1&&t.children[T].segments.length===0){let i=Fr(t.children[T],e,r);return new V(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Ep(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new V(t.segments,o)}}function EI(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(Vr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!op(c,u,s))return i;n+=2}else{if(!op(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function nu(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=nu(new V([],{}),0,n))}),e}function rp(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function op(t,e,r){return t==r.path&&it(e,r.parameters)}var kr="imperative",ee=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ee||{}),Re=class{constructor(e,r){this.id=e,this.url=r}},qn=class extends Re{constructor(e,r,n="imperative",o=null){super(e,r),this.type=ee.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ge=class extends Re{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=ee.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ne=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ne||{}),Wi=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Wi||{}),Rt=class extends Re{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ee.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ot=class extends Re{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ee.NavigationSkipped}},$r=class extends Re{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=ee.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qi=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ee.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ru=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ee.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ou=class extends Re{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=ee.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},iu=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ee.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},su=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ee.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},au=class{constructor(e){this.route=e,this.type=ee.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},cu=class{constructor(e){this.route=e,this.type=ee.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},uu=class{constructor(e){this.snapshot=e,this.type=ee.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lu=class{constructor(e){this.snapshot=e,this.type=ee.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},du=class{constructor(e){this.snapshot=e,this.type=ee.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fu=class{constructor(e){this.snapshot=e,this.type=ee.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zi=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=ee.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ur=class{},Br=class{constructor(e){this.url=e}};var hu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zr,this.attachRef=null}},Zr=(()=>{let e=class e{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 hu,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yi=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=pu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=pu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=gu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return gu(e,this._root).map(r=>r.value)}};function pu(t,e){if(t===e.value)return e;for(let r of e.children){let n=pu(t,r);if(n)return n}return null}function gu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=gu(t,r);if(n.length)return n.unshift(e),n}return[]}var be=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Bn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Qi=class extends Yi{constructor(e,r){super(e),this.snapshot=r,Mu(this,e)}toString(){return this.snapshot.toString()}};function Ip(t){let e=CI(t),r=new te([new nn("",{})]),n=new te({}),o=new te({}),i=new te({}),s=new te(""),a=new vt(r,n,i,s,o,T,t,e.root);return a.snapshot=e.root,new Qi(new be(a,[]),e)}function CI(t){let e={},r={},n={},o="",i=new Hr([],e,n,o,r,T,t,null,{});return new Ki("",new be(i,[]))}var vt=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(_(u=>u[Wr]))??D(void 0),this.url=e,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(_(e=>Gn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(e=>Gn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bu(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:m(m({},e.params),t.params),data:m(m({},e.data),t.data),resolve:m(m(m(m({},t.data),e.data),o?.data),t._resolvedData)}:n={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},o&&bp(o)&&(n.resolve[Wr]=o.title),n}var Hr=class{get title(){return this.data?.[Wr]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=Gn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Gn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Ki=class extends Yi{constructor(e,r){super(r),this.url=e,Mu(this,r)}toString(){return Cp(this._root)}};function Mu(t,e){e.value._routerState=t,e.children.forEach(r=>Mu(t,r))}function Cp(t){let e=t.children.length>0?` { ${t.children.map(Cp).join(", ")} } `:"";return`${t.value}${e}`}function Qc(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,it(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),it(e.params,r.params)||t.paramsSubject.next(r.params),JE(e.url,r.url)||t.urlSubject.next(r.url),it(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function mu(t,e){let r=it(t.params,e.params)&&nI(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||mu(t.parent,e.parent))}function bp(t){return typeof t.title=="string"||t.title===null}var Tu=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=T,this.activateEvents=new oe,this.deactivateEvents=new oe,this.attachEvents=new oe,this.detachEvents=new oe,this.parentContexts=p(Zr),this.location=p(St),this.changeDetector=p(Rn),this.environmentInjector=p(ge),this.inputBinder=p(ns,{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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,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 y(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new vu(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Yt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[_n]});let t=e;return t})(),vu=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===vt?this.route:e===Zr?this.childContexts:this.parent.get(e,r)}},ns=new w(""),ip=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=tr([o.queryParams,o.params,o.data]).pipe(re(([s,a,c],u)=>(c=m(m(m({},s),a),c),u===0?D(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Ch(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function bI(t,e,r){let n=zr(t,e._root,r?r._root:void 0);return new Qi(n,e)}function zr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=MI(t,e,r);return new be(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>zr(t,a)),s}}let n=TI(e.value),o=e.children.map(i=>zr(t,i));return new be(n,o)}}function MI(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return zr(t,n,o);return zr(t,n)})}function TI(t){return new vt(new te(t.url),new te(t.params),new te(t.queryParams),new te(t.fragment),new te(t.data),t.outlet,t.component,t)}var Mp="ngNavigationCancelingError";function Tp(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Wn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Sp(!1,Ne.Redirect,e);return o.url=r,o.navigationBehaviorOptions=n,o}function Sp(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Mp]=!0,n.cancellationCode=e,r&&(n.url=r),n}function SI(t){return xp(t)&&Wn(t.url)}function xp(t){return t&&t[Mp]}var xI=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=we({type:e,selectors:[["ng-component"]],standalone:!0,features:[fh],decls:1,vars:0,template:function(o,i){o&1&&Ce(0,"router-outlet")},dependencies:[Tu],encapsulation:2});let t=e;return t})();function _I(t,e){return t.providers&&!t._injector&&(t._injector=Ei(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Su(t){let e=t.children&&t.children.map(Su),r=e?Q(m({},t),{children:e}):m({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==T&&(r.component=xI),r}function st(t){return t.outlet||T}function AI(t,e){let r=t.filter(n=>st(n)===e);return r.push(...t.filter(n=>st(n)!==e)),r}function Yr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var NI=(t,e,r,n)=>_(o=>(new yu(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),yu=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Qc(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Bn(r);e.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(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Bn(e);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(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Bn(e);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(e,r,n){let o=Bn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new fu(i.value.snapshot))}),e.children.length&&this.forwardEvent(new lu(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Qc(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,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),Qc(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Yr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Ji=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},zn=class{constructor(e,r){this.component=e,this.route=r}};function RI(t,e,r){let n=t._root,o=e?e._root:null;return Or(n,o,r,[n.value])}function OI(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Yn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!sd(t)?t:e.get(t):n}function Or(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Bn(e);return t.children.forEach(s=>{PI(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Lr(a,r.getContext(s),o)),o}function PI(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=FI(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ji(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Or(t,e,a?a.children:null,n,o):Or(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new zn(a.outlet.component,s))}else s&&Lr(e,a,o),o.canActivateChecks.push(new Ji(n)),i.component?Or(t,null,a?a.children:null,n,o):Or(t,null,r,n,o);return o}function FI(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!rn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!rn(t.url,e.url)||!it(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!mu(t,e)||!it(t.queryParams,e.queryParams);case"paramsChange":default:return!mu(t,e)}}function Lr(t,e,r){let n=Bn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Lr(s,e.children.getContext(i),r):Lr(s,null,r):Lr(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zn(e.outlet.component,o)):r.canDeactivateChecks.push(new zn(null,o)):r.canDeactivateChecks.push(new zn(null,o))}function Qr(t){return typeof t=="function"}function kI(t){return typeof t=="boolean"}function LI(t){return t&&Qr(t.canLoad)}function jI(t){return t&&Qr(t.canActivate)}function VI(t){return t&&Qr(t.canActivateChild)}function $I(t){return t&&Qr(t.canDeactivate)}function UI(t){return t&&Qr(t.canMatch)}function _p(t){return t instanceof at||t?.name==="EmptyError"}var $i=Symbol("INITIAL_VALUE");function Zn(){return re(t=>tr(t.map(e=>e.pipe(ut(1),bs($i)))).pipe(_(e=>{for(let r of e)if(r!==!0){if(r===$i)return $i;if(r===!1||r instanceof Nt)return r}return!0}),ne(e=>e!==$i),ut(1)))}function BI(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?D(Q(m({},r),{guardsResult:!0})):HI(s,n,o,t).pipe(K(a=>a&&kI(a)?zI(n,i,t,e):D(a)),_(a=>Q(m({},r),{guardsResult:a})))})}function HI(t,e,r,n){return W(t).pipe(K(o=>YI(o.component,o.route,r,e,n)),qe(o=>o!==!0,!0))}function zI(t,e,r,n){return W(e).pipe(ct(o=>pn(WI(o.route.parent,n),GI(o.route,n),ZI(t,o.path,r),qI(t,o.route,r))),qe(o=>o!==!0,!0))}function GI(t,e){return t!==null&&e&&e(new du(t)),D(!0)}function WI(t,e){return t!==null&&e&&e(new uu(t)),D(!0)}function qI(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return D(!0);let o=n.map(i=>Io(()=>{let s=Yr(e)??r,a=Yn(i,s),c=jI(a)?a.canActivate(e,t):nt(s,()=>a(e,t));return Pt(c).pipe(qe())}));return D(o).pipe(Zn())}function ZI(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>OI(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=Yr(s.node)??r,l=Yn(c,u),d=VI(l)?l.canActivateChild(n,t):nt(u,()=>l(n,t));return Pt(d).pipe(qe())});return D(a).pipe(Zn())}));return D(i).pipe(Zn())}function YI(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let c=Yr(e)??o,u=Yn(a,c),l=$I(u)?u.canDeactivate(t,e,r,n):nt(c,()=>u(t,e,r,n));return Pt(l).pipe(qe())});return D(s).pipe(Zn())}function QI(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=Yn(s,t),c=LI(a)?a.canLoad(e,r):nt(t,()=>a(e,r));return Pt(c)});return D(i).pipe(Zn(),Ap(n))}function Ap(t){return hs(q(e=>{if(Wn(e))throw Tp(t,e)}),_(e=>e===!0))}function KI(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=Yn(s,t),c=UI(a)?a.canMatch(e,r):nt(t,()=>a(e,r));return Pt(c)});return D(i).pipe(Zn(),Ap(n))}var Gr=class{constructor(e){this.segmentGroup=e||null}},Xi=class extends Error{constructor(e){super(),this.urlTree=e}};function Un(t){return hn(new Gr(t))}function JI(t){return hn(new y(4e3,!1))}function XI(t){return hn(Sp(!1,Ne.GuardRejected))}var Du=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return D(n);if(o.numberOfChildren>1||!o.children[T])return JI(e.redirectTo);o=o.children[T]}}applyRedirectCommands(e,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Xi(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Nt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new V(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},wu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function eC(t,e,r,n,o){let i=xu(t,e,r);return i.matched?(n=_I(e,n),KI(n,e,r,o).pipe(_(s=>s===!0?i:m({},wu)))):D(i)}function xu(t,e,r){if(e.path==="**")return tC(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?m({},wu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||KE)(r,t,e);if(!o)return m({},wu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.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 tC(t){return{matched:!0,parameters:t.at(-1)?.parameters??{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function sp(t,e,r,n){return r.length>0&&oC(t,r,n)?{segmentGroup:new V(e,rC(n,new V(r,t.children))),slicedSegments:[]}:r.length===0&&iC(t,r,n)?{segmentGroup:new V(t.segments,nC(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new V(t.segments,t.children),slicedSegments:r}}function nC(t,e,r,n){let o={};for(let i of r)if(rs(t,e,i)&&!n[st(i)]){let s=new V([],{});o[st(i)]=s}return m(m({},n),o)}function rC(t,e){let r={};r[T]=e;for(let n of t)if(n.path===""&&st(n)!==T){let o=new V([],{});r[st(n)]=o}return r}function oC(t,e,r){return r.some(n=>rs(t,e,n)&&st(n)!==T)}function iC(t,e,r){return r.some(n=>rs(t,e,n))}function rs(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function sC(t,e,r,n){return st(t)!==n&&(n===T||!rs(e,r,t))?!1:xu(e,t,r).matched}function aC(t,e,r){return e.length===0&&!t.children[r]}var Eu=class{};function cC(t,e,r,n,o,i,s="emptyOnly"){return new Iu(t,e,r,n,o,s,i).recognize()}var uC=31,Iu=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Du(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new y(4002,`'${e.segmentGroup}'`)}recognize(){let e=sp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(_(r=>{let n=new Hr([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,{},T,this.rootComponentType,null,{}),o=new be(n,r),i=new Ki("",o),s=mI(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(e){return this.processSegmentGroup(this.injector,this.config,e,T).pipe(Se(n=>{if(n instanceof Xi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Gr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=bu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(e,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,o,!0).pipe(_(i=>i instanceof be?[i]:[]))}processChildren(e,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return W(o).pipe(ct(i=>{let s=n.children[i],a=AI(r,i);return this.processSegmentGroup(e,a,s,i)}),Cs((i,s)=>(i.push(...s),i)),wt(null),Is(),K(i=>{if(i===null)return Un(n);let s=Np(i);return lC(s),D(s)}))}processSegment(e,r,n,o,i,s){return W(r).pipe(ct(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(Se(c=>{if(c instanceof Gr)return D(null);throw c}))),qe(a=>!!a),Se(a=>{if(_p(a))return aC(n,o,i)?D(new Eu):Un(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return sC(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s):Un(o):Un(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=xu(r,o,i);if(!a)return Un(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uC&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(K(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,o,i){let s=eC(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(re(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(re(({routes:c})=>{let u=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Hr(l,f,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,fC(n),st(n),n.component??n._loadedComponent??null,n,hC(n)),{segmentGroup:E,slicedSegments:F}=sp(r,l,d,c);if(F.length===0&&E.hasChildren())return this.processChildren(u,c,E).pipe(_(I=>I===null?null:new be(h,I)));if(c.length===0&&F.length===0)return D(new be(h,[]));let x=st(n)===i;return this.processSegment(u,c,E,F,x?T:i,!0).pipe(_(I=>new be(h,I instanceof be?[I]:[])))}))):Un(r)))}getChildConfig(e,r,n){return r.children?D({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?D({routes:r._loadedRoutes,injector:r._loadedInjector}):QI(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(q(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):XI(r))):D({routes:[],injector:e})}};function lC(t){t.sort((e,r)=>e.value.outlet===T?-1:r.value.outlet===T?1:e.value.outlet.localeCompare(r.value.outlet))}function dC(t){let e=t.value.routeConfig;return e&&e.path===""}function Np(t){let e=[],r=new Set;for(let n of t){if(!dC(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=Np(n.children);e.push(new be(n.value,o))}return e.filter(n=>!r.has(n))}function fC(t){return t.data||{}}function hC(t){return t.resolve||{}}function pC(t,e,r,n,o,i){return K(s=>cC(t,e,r,n,s.extractedUrl,o,i).pipe(_(({state:a,tree:c})=>Q(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function gC(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return D(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Rp(c))s.add(u);let a=0;return W(s).pipe(ct(c=>i.has(c)?mC(c,n,t,e):(c.data=bu(c,c.parent,t).resolve,D(void 0))),q(()=>a++),gn(1),K(c=>a===s.size?D(r):Te))})}function Rp(t){let e=t.children.map(r=>Rp(r)).flat();return[t,...e]}function mC(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!bp(o)&&(i[Wr]=o.title),vC(i,t,e,n).pipe(_(s=>(t._resolvedData=s,t.data=bu(t,t.parent,r).resolve,null)))}function vC(t,e,r,n){let o=Xc(t);if(o.length===0)return D({});let i={};return W(o).pipe(K(s=>yC(t[s],e,r,n).pipe(qe(),q(a=>{i[s]=a}))),gn(1),ws(i),Se(s=>_p(s)?Te:hn(s)))}function yC(t,e,r,n){let o=Yr(e)??n,i=Yn(t,o),s=i.resolve?i.resolve(e,r):nt(o,()=>i(e,r));return Pt(s)}function Kc(t){return re(e=>{let r=t(e);return r?W(r).pipe(_(()=>e)):D(e)})}var Op=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===T);return o}getResolvedTitleForRoute(n){return n.data[Wr]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(DC),providedIn:"root"});let t=e;return t})(),DC=(()=>{let e=class e extends Op{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(g(qc))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kr=new w("",{providedIn:"root",factory:()=>({})}),es=new w("ROUTES"),_u=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Ci)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return D(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Pt(n.loadComponent()).pipe(_(Pp),q(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Et(()=>{this.componentLoaders.delete(n)})),i=new dn(o,()=>new le).pipe(ln());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=wC(o,this.compiler,n,this.onLoadEndListener).pipe(Et(()=>{this.childrenLoaders.delete(o)})),a=new dn(s,()=>new le).pipe(ln());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wC(t,e,r,n){return Pt(t.loadChildren()).pipe(_(Pp),K(o=>o instanceof pr||Array.isArray(o)?D(o):W(e.compileModuleAsync(o))),_(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(es,[],{optional:!0,self:!0}).flat()),{routes:s.map(Su),injector:i}}))}function EC(t){return t&&typeof t=="object"&&"default"in t}function Pp(t){return EC(t)?t.default:t}var Au=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(IC),providedIn:"root"});let t=e;return t})(),IC=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Fp=new w(""),kp=new w("");function CC(t,e,r){let n=t.get(kp),o=t.get(ue);return t.get(B).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),bC(t))),{onViewTransitionCreated:c}=n;return c&&nt(t,()=>c({transition:a,from:e,to:r})),s})}function bC(t){return new Promise(e=>{uc(e,{injector:t})})}var Nu=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new le,this.transitionAbortSubject=new le,this.configLoader=p(_u),this.environmentInjector=p(ge),this.urlSerializer=p(qr),this.rootContexts=p(Zr),this.location=p(Ln),this.inputBindingEnabled=p(ns,{optional:!0})!==null,this.titleStrategy=p(Op),this.options=p(Kr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Au),this.createViewTransition=p(Fp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let n=i=>this.events.next(new au(i)),o=i=>this.events.next(new cu(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Q(m(m({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new te({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:kr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ne(s=>s.id!==0),_(s=>Q(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),re(s=>{this.currentTransition=s;let a=!1,c=!1;return D(s).pipe(q(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Q(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),re(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Ot(u.id,this.urlSerializer.serialize(u.rawUrl),f,Wi.IgnoredSameUrlNavigation)),u.resolve(null),Te}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return D(u).pipe(re(f=>{let h=this.transitions?.getValue();return this.events.next(new qn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Te:Promise.resolve(f)}),pC(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),q(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Q(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new qi(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:E,restoredState:F,extras:x}=u,I=new qn(f,this.urlSerializer.serialize(h),E,F);this.events.next(I);let Y=Ip(this.rootComponentType).snapshot;return this.currentTransition=s=Q(m({},u),{targetSnapshot:Y,urlAfterRedirects:h,extras:Q(m({},x),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new Ot(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Wi.IgnoredByUrlHandlingStrategy)),u.resolve(null),Te}}),q(u=>{let l=new ru(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),_(u=>(this.currentTransition=s=Q(m({},u),{guards:RI(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),BI(this.environmentInjector,u=>this.events.next(u)),q(u=>{if(s.guardsResult=u.guardsResult,Wn(u.guardsResult))throw Tp(this.urlSerializer,u.guardsResult);let l=new ou(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ne(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Ne.GuardRejected),!1)),Kc(u=>{if(u.guards.canActivateChecks.length)return D(u).pipe(q(l=>{let d=new iu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),re(l=>{let d=!1;return D(l).pipe(gC(this.paramsInheritanceStrategy,this.environmentInjector),q({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Ne.NoDataFromResolver)}}))}),q(l=>{let d=new su(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Kc(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(q(h=>{d.component=h}),_(()=>{})));for(let h of d.children)f.push(...l(h));return f};return tr(l(u.targetSnapshot.root)).pipe(wt(null),ut(1))}),Kc(()=>this.afterPreactivation()),re(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?W(d).pipe(_(()=>s)):D(s)}),_(u=>{let l=bI(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Q(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),q(()=>{this.events.next(new Ur)}),NI(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ut(1),q({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ge(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ms(this.transitionAbortSubject.pipe(q(u=>{throw u}))),Et(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Ne.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Se(u=>{if(c=!0,xp(u))this.events.next(new Rt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),SI(u)?this.events.next(new Br(u.url)):s.resolve(!1);else{this.events.next(new $r(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return Te}))}))}cancelNavigationTransition(n,o,i){let s=new Rt(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}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MC(t){return t!==kr}var TC=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(SC),providedIn:"root"});let t=e;return t})(),Cu=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},SC=(()=>{let e=class e extends Cu{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ha(e)))(i||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:()=>p(xC),providedIn:"root"});let t=e;return t})(),xC=(()=>{let e=class e extends Lp{constructor(){super(...arguments),this.location=p(Ln),this.urlSerializer=p(qr),this.options=p(Kr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Au),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Nt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ip(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 qn)this.stateMemento=this.createStateMemento();else if(n instanceof Ot)this.rawUrlTree=o.initialUrl;else if(n instanceof qi){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Ur?(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 Rt&&(n.code===Ne.GuardRejected||n.code===Ne.NoDataFromResolver)?this.restoreHistory(o):n instanceof $r?this.restoreHistory(o,!0):n instanceof Ge&&(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}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ha(e)))(i||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Pr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Pr||{});function jp(t,e){t.events.pipe(ne(r=>r instanceof Ge||r instanceof Rt||r instanceof $r||r instanceof Ot),_(r=>r instanceof Ge||r instanceof Ot?Pr.COMPLETE:(r instanceof Rt?r.code===Ne.Redirect||r.code===Ne.SupersededByNewNavigation:!1)?Pr.REDIRECTING:Pr.FAILED),ne(r=>r!==Pr.REDIRECTING),ut(1)).subscribe(()=>{e()})}function _C(t){throw t}var AC={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NC={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},We=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Ii),this.stateManager=p(Lp),this.options=p(Kr,{optional:!0})||{},this.pendingTasks=p(Jt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Nu),this.urlSerializer=p(qr),this.location=p(Ln),this.urlHandlingStrategy=p(Au),this._events=new le,this.errorHandler=this.options.errorHandler||_C,this.navigated=!1,this.routeReuseStrategy=p(TC),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(es,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(ns,{optional:!0}),this.eventsSubscription=new Z,this.isNgZoneEnabled=p(B)instanceof B&&B.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 Rt&&o.code!==Ne.Redirect&&o.code!==Ne.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Ge)this.navigated=!0;else if(o instanceof Br){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||MC(i.source)};this.scheduleNavigation(a,kr,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}OC(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),kr,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 u=m({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,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(Su),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:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){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=yp(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Dp(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Wn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,kr,null,o)}navigate(n,o={skipLocationChange:!1}){return RC(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({},AC):o===!1?i=m({},NC):i=o,Wn(n))return tp(this.currentUrlTree,n,i);let s=this.parseUrl(n);return tp(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 c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return jp(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function RC(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new le,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Ge&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:xf(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(U(We),U(vt),za("tabindex"),U(Ir),U(ht),U(mt))},e.\u0275dir=Yt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Kt("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&hc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Ve.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Mr],skipLocationChange:[Ve.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Mr],replaceUrl:[Ve.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Mr],routerLink:"routerLink"},standalone:!0,features:[fc,_n]});let t=e;return t})(),Vp=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new oe,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof Ge&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe(Dt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=W(n).pipe(Dt()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let o=PC(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>i.urlTree?n.isActive(i.urlTree,o):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(U(We),U(ht),U(Ir),U(Rn),U(Oe,8))},e.\u0275dir=Yt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&ch(s,Oe,5),o&2){let a;uh(a=lh())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[_n]});let t=e;return t})();function PC(t){return!!t.paths}var ts=class{};var FC=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ne(n=>n instanceof Ge),ct(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=Ei(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return W(i).pipe(Dt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=D(null);let s=i.pipe(K(a=>a===null?D(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return W([s,a]).pipe(Dt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(g(We),g(Ci),g(ge),g(ts),g(_u))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$p=new w(""),kC=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof qn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ge?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===Wi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Zi&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Zi(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){jf()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let t=e;return t})();function LC(t){return t.routerState.root}function Jr(t,e){return{\u0275kind:t,\u0275providers:e}}function jC(){let t=p(He);return e=>{let r=t.get(Xt);if(e!==r.components[0])return;let n=t.get(We),o=t.get(Up);t.get(Ru)===1&&n.initialNavigation(),t.get(Bp,null,O.Optional)?.setUpPreloading(),t.get($p,null,O.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Up=new w("",{factory:()=>new le}),Ru=new w("",{providedIn:"root",factory:()=>1});function VC(){return Jr(2,[{provide:Ru,useValue:0},{provide:Ti,multi:!0,deps:[He],useFactory:e=>{let r=e.get(Ah,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(We),i=e.get(Up);jp(o,()=>{n(!0)}),e.get(Nu).afterPreactivation=()=>(n(!0),i.closed?D(void 0):i),o.initialNavigation()}))}}])}function $C(){return Jr(3,[{provide:Ti,multi:!0,useFactory:()=>{let e=p(We);return()=>{e.setUpLocationChangeListener()}}},{provide:Ru,useValue:2}])}var Bp=new w("");function UC(t){return Jr(0,[{provide:Bp,useExisting:FC},{provide:ts,useExisting:t}])}function BC(){return Jr(8,[ip,{provide:ns,useExisting:ip}])}function HC(t){let e=[{provide:Fp,useValue:CC},{provide:kp,useValue:m({skipNextTransition:!!t?.skipInitialTransition},t)}];return Jr(9,e)}var ap=new w("ROUTER_FORROOT_GUARD"),zC=[Ln,{provide:qr,useClass:jr},We,Zr,{provide:vt,useFactory:LC,deps:[We]},_u,[]],Qn=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[zC,[],{provide:es,multi:!0,useValue:n},{provide:ap,useFactory:ZC,deps:[[We,new ui,new Wa]]},{provide:Kr,useValue:o||{}},o?.useHash?WC():qC(),GC(),o?.preloadingStrategy?UC(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?YC(o):[],o?.bindToComponentInputs?BC().\u0275providers:[],o?.enableViewTransitions?HC().\u0275providers:[],QC()]}}static forChild(n){return{ngModule:e,providers:[{provide:es,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(g(ap,8))},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({});let t=e;return t})();function GC(){return{provide:$p,useFactory:()=>{let t=p(Oh),e=p(B),r=p(Kr),n=p(Nu),o=p(qr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new kC(o,n,t,e,r)}}}function WC(){return{provide:mt,useClass:Rh}}function qC(){return{provide:mt,useClass:Ac}}function ZC(t){return"guarded"}function YC(t){return[t.initialNavigation==="disabled"?$C().\u0275providers:[],t.initialNavigation==="enabledBlocking"?VC().\u0275providers:[]]}var cp=new w("");function QC(){return[{provide:cp,useFactory:jC},{provide:Si,multi:!0,useExisting:cp}]}var Kn=(()=>{let e=class e{constructor(n){this.http=n,this.apiUrl="https://api5.angular-buch.com"}getAll(){return this.http.get(`${this.apiUrl}/books`).pipe(Se(n=>(console.error(n),D([]))))}getSingle(n){return this.http.get(`${this.apiUrl}/books/${n}`)}remove(n){return this.http.delete(`${this.apiUrl}/books/${n}`)}getAllSearch(n){return this.http.get(`${this.apiUrl}/books/search/${n}`).pipe(Se(o=>(console.error(o),D([]))))}};e.\u0275fac=function(o){return new(o||e)(g(Lc))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var KC=t=>["/books",t];function JC(t,e){if(t&1&&(S(0,"li")(1,"a",6),k(2),S(3,"p",7),k(4),M()()()),t&2){let r=e.$implicit;j(),G("routerLink",hh(3,KC,r.isbn)),j(),ze(" ",r.title," "),j(2),ot(r.subtitle)}}function XC(t,e){t&1&&(S(0,"li"),k(1,"No results"),M())}function eb(t,e){if(t&1&&(S(0,"ul",3),X(1,JC,5,5,"li",4)(2,XC,2,0,"li",5),M()),t&2){let r=e.ngIf;j(),G("ngForOf",r),j(),G("ngIf",!r.length)}}var Hp=(()=>{let e=class e{constructor(n){this.service=n,this.input$=new le,this.isLoading=!1,this.results$=this.input$.pipe(ne(o=>o.length>=3),Ds(500),Es(),q(()=>this.isLoading=!0),re(o=>this.service.getAllSearch(o)),q(()=>this.isLoading=!1))}};e.\u0275fac=function(o){return new(o||e)(U(Kn))},e.\u0275cmp=we({type:e,selectors:[["bm-search"]],decls:4,vars:5,consts:[["type","search","autocomplete","off","aria-label","Search",3,"input"],["searchInput",""],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(o,i){if(o&1){let s=wi();S(0,"input",0,1),Kt("input",function(){ai(s);let c=dh(1);return ci(i.input$.next(c.value))}),M(),X(2,eb,3,2,"ul",2),Pn(3,"async")}o&2&&(pc("loading",i.isLoading),j(2),G("ngIf",Fn(3,3,i.results$)))},dependencies:[xt,_t,Oe,jn]});let t=e;return t})();var zp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=we({type:e,selectors:[["bm-home"]],decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(o,i){o&1&&(S(0,"h1"),k(1,"Home"),M(),S(2,"a",0),k(3,` Show book list +`),M(),S(4,"h2"),k(5,"Search"),M(),Ce(6,"bm-search"))},dependencies:[Oe,Hp]});let t=e;return t})();var nb=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:zp}],Gp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({imports:[Qn.forRoot(nb),Qn]});let t=e;return t})();var Wp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=we({type:e,selectors:[["bm-root"]],decls:7,vars:0,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"]],template:function(o,i){o&1&&(S(0,"nav")(1,"a",0),k(2,"Home"),M(),S(3,"a",1),k(4,"Books"),M()(),S(5,"main"),Ce(6,"router-outlet"),M())},dependencies:[Tu,Oe,Vp]});let t=e;return t})();function rb(t,e){if(t&1&&(S(0,"p",9),k(1),M()),t&2){let r=pt().ngIf;j(),ot(r.subtitle)}}function ob(t,e){if(t&1&&(S(0,"li"),k(1),M()),t&2){let r=e.$implicit;j(),ot(r)}}function ib(t,e){if(t&1&&(S(0,"div")(1,"h2"),k(2,"Published"),M(),k(3),M()),t&2){let r=pt().ngIf;j(3),ze(" ",r.published," ")}}function sb(t,e){if(t&1&&Ce(0,"img",10),t&2){let r=pt().ngIf;G("src",r.thumbnailUrl,Er)}}function ab(t,e){if(t&1){let r=wi();S(0,"div",1)(1,"h1"),k(2),M(),X(3,rb,2,1,"p",2),S(4,"div",3)(5,"div")(6,"h2"),k(7,"Authors"),M(),S(8,"ul"),X(9,ob,2,1,"li",4),M()(),S(10,"div")(11,"h2"),k(12,"ISBN"),M(),k(13),M(),X(14,ib,4,1,"div",5),M(),S(15,"h2"),k(16,"Description"),M(),S(17,"p"),k(18),M(),X(19,sb,1,1,"img",6),S(20,"a",7),k(21,"Back to list"),M(),S(22,"button",8),Kt("click",function(){let i=ai(r).ngIf,s=pt();return ci(s.removeBook(i.isbn))}),k(23," Remove book "),M()()}if(t&2){let r=e.ngIf;j(2),ot(r.title),j(),G("ngIf",r.subtitle),j(6),G("ngForOf",r.authors),j(4),ze(" ",r.isbn," "),j(),G("ngIf",r.published),j(4),ot(r.description),j(),G("ngIf",r.thumbnailUrl)}}var qp=(()=>{let e=class e{constructor(n,o,i){this.service=n,this.route=o,this.router=i;let s=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(s)}removeBook(n){window.confirm("Remove book?")&&this.service.remove(n).subscribe(()=>{this.router.navigateByUrl("/books")})}};e.\u0275fac=function(o){return new(o||e)(U(Kn),U(vt),U(We))},e.\u0275cmp=we({type:e,selectors:[["bm-book-details"]],decls:2,vars:3,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],["routerLink","..",1,"button","arrow-left"],[1,"red",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(o,i){o&1&&(X(0,ab,24,7,"div",0),Pn(1,"async")),o&2&&G("ngIf",Fn(1,1,i.book$))},dependencies:[xt,_t,Oe,jn]});let t=e;return t})();function cb(t,e){if(t&1&&Ce(0,"img",6),t&2){let r=pt(2);G("src",r.book.thumbnailUrl,Er)}}function ub(t,e){if(t&1&&(S(0,"p",7),k(1),M()),t&2){let r=pt(2);j(),ze(" ",r.book.subtitle," ")}}function lb(t,e){if(t&1&&(S(0,"li"),k(1),M()),t&2){let r=e.$implicit;j(),ze(" ",r," ")}}function db(t,e){if(t&1&&(S(0,"a",1),X(1,cb,1,1,"img",2),S(2,"h2"),k(3),M(),X(4,ub,2,1,"p",3),S(5,"ul",4),X(6,lb,2,1,"li",5),M(),S(7,"div"),k(8),M()()),t&2){let r=pt();G("routerLink",r.book.isbn),j(),G("ngIf",r.book.thumbnailUrl),j(2),ot(r.book.title),j(),G("ngIf",r.book.subtitle),j(2),G("ngForOf",r.book.authors),j(2),ze("ISBN ",r.book.isbn,"")}}var Zp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=we({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(o,i){o&1&&X(0,db,9,6,"a",0),o&2&&G("ngIf",i.book)},dependencies:[xt,_t,Oe]});let t=e;return t})();function hb(t,e){if(t&1&&(S(0,"li"),Ce(1,"bm-book-list-item",4),M()),t&2){let r=e.$implicit;j(),G("book",r)}}function pb(t,e){t&1&&(S(0,"li"),k(1," No books available. "),M())}function gb(t,e){if(t&1&&(S(0,"ul",1),X(1,hb,2,1,"li",2)(2,pb,2,0,"li",3),M()),t&2){let r=e.ngIf;j(),G("ngForOf",r),j(),G("ngIf",!r.length)}}var Yp=(()=>{let e=class e{constructor(n){this.service=n,this.books$=this.service.getAll()}};e.\u0275fac=function(o){return new(o||e)(U(Kn))},e.\u0275cmp=we({type:e,selectors:[["bm-book-list"]],decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(o,i){o&1&&(S(0,"h1"),k(1,"Books"),M(),X(2,gb,3,2,"ul",0),Pn(3,"async")),o&2&&(j(2),G("ngIf",Fn(3,1,i.books$)))},dependencies:[xt,_t,Zp,jn]});let t=e;return t})();var mb=[{path:"books",component:Yp},{path:"books/:isbn",component:qp}],Qp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({imports:[Qn.forChild(mb),Qn]});let t=e;return t})();var Kp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e}),e.\u0275inj=ae({imports:[Ai,Qp]});let t=e;return t})();var Jp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ce({type:e,bootstrap:[Wp]}),e.\u0275inj=ae({imports:[Xh,Gp,zh,Kp]});let t=e;return t})();Jh().bootstrapModule(Jp).catch(t=>console.error(t)); diff --git a/styles-ILYRG3NJ.css b/styles-ILYRG3NJ.css deleted file mode 100644 index 6c54a24..0000000 --- a/styles-ILYRG3NJ.css +++ /dev/null @@ -1 +0,0 @@ -*{font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif}h1,h2,h3,h4,h5,h6{color:#000000de;box-sizing:inherit;line-height:1.3em;margin:calc(2rem - .15em) 0em 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem;margin-top:0}h2,[role=doc-subtitle]{font-size:1.4rem}h3{margin:10px 0}p{margin:0 0 1em;line-height:1.4em}ul{padding:0;list-style:none}img{object-fit:contain}button,a.button{box-sizing:inherit;overflow:visible;cursor:pointer;display:inline-block;min-height:1em;border:none;vertical-align:initial;background:#e0e1e2 none;color:#0009;font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif;margin:.25em .25em 0 0;padding:.8em 1.5em;text-transform:none;text-shadow:none;font-weight:700;line-height:1em;font-style:normal;text-align:center;text-decoration:none;border-radius:.3rem;-webkit-user-select:none;user-select:none;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 0 1px transparent,inset 0 0 #22242626;font-size:.8rem}button:hover,a.button:hover{background-color:#cacbcd}button:disabled,a.button:disabled,button:disabled:hover,a.button:disabled:hover{cursor:not-allowed!important;background-color:#0000000d!important;color:#888!important}button.arrow-left,a.arrow-left{position:relative;padding-left:1.9rem}button.arrow-left:before,a.arrow-left:before{content:"\a";border-style:solid;border-width:7px 12px 7px 0;border-color:transparent #444 transparent transparent;position:absolute;left:.7rem}input,textarea{box-sizing:inherit;background:#FFFFFF;border:1px solid rgba(10,10,10,.3);color:#000000e6;border-radius:.3rem;transition:color .1s ease,border-color .1s ease;line-height:1.2}input{font-size:100%;overflow:visible;margin:0;max-width:100%;flex:1 0 auto;text-align:left;padding:.7em 1em;box-shadow:none;padding-right:2.7em!important;border-radius:.3rem}input[type=search]{background:url("./media/search-2CXVUIUQ.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}input.loading,input.ng-pending{background:url("./media/loader-5Y6PJRQU.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}textarea{overflow:auto;padding:1em;box-shadow:inset 0 0 0 0 transparent;font-size:1em;line-height:1.2857;resize:vertical;vertical-align:top;height:12em;min-height:8em;max-height:24em}input.ng-invalid.ng-touched,textarea.ng-invalid.ng-touched,fieldset.ng-invalid.ng-touched input,fieldset.ng-invalid.ng-touched textarea{outline-color:#d01919;border-bottom-color:#d01919;border-bottom-width:.2em;margin-bottom:20px;outline:0}input.ng-pending,textarea.ng-pending,fieldset.ng-pending input,fieldset.ng-pending textarea{animation:pulse 1.2s infinite}@keyframes pulse{0%{box-shadow:0 0 #e2bc00}50%{box-shadow:0 0 0 .2em #e2bc0080}to{box-shadow:0 0 #e2bc00}}body{margin:20px;min-width:320px}.yellow{background-color:#fbbd08!important;color:#fff!important}.yellow:hover{background-color:#eaae00!important}.red{background-color:#db2828!important;color:#fff!important}.red:hover{background-color:#d01919!important}.green{background-color:#287e2b!important;color:#fff!important}.green:hover{background-color:#096c0d!important}ul.comma-list{display:inline-flex;list-style:none;gap:.2em;flex-wrap:wrap}ul.comma-list li{display:inline-flex}ul.comma-list li:after{content:", "}ul.comma-list li:last-child:after{content:""}.visually-hidden{display:none}.loader{color:#000;text-align:center;font-family:sans-serif;font-size:16px;perspective:350px;padding-top:130px}.loader:before,.loader:after{content:"";display:block;width:45px;height:70px;border:4px solid #000000;margin:5% auto 30px;position:absolute;top:-10px;left:50%}.loader:before{border-left:1px solid #db2828;overflow:hidden;background:#db2828;transform-style:preserve-3d;transform-origin:left center;animation:pageTurn 1.3s cubic-bezier(0,.39,1,.68) .1s infinite}@keyframes pageTurn{0%{transform:rotateY(0)}20%{background:#d01919}40%{background:#db2828;transform:rotateY(-180deg)}to{background:#db2828;transform:rotateY(-180deg)}}@keyframes Dots{0%{content:""}33%{content:"."}66%{content:".."}to{content:"..."}}nav{line-height:1.4em;color:#000000de;box-sizing:inherit;margin:0rem 0em 1rem;background:#FFFFFF;font-weight:400;border:1px solid rgba(34,36,38,.15);box-shadow:0 1px 2px #22242626;border-radius:.3em;min-height:2.9em;font-size:1rem;display:flex;flex-wrap:wrap}nav a{font-size:1rem;box-sizing:inherit;position:relative;vertical-align:middle;line-height:1;text-decoration:none;-webkit-tap-highlight-color:transparent;flex:0 0 auto;-webkit-user-select:none;user-select:none;background:none;padding:.9em 1.1em;text-transform:none;color:#000000de;font-weight:400;transition:background .1s ease,box-shadow .1s ease,color .1s ease;display:flex;align-items:center}nav a:hover{cursor:pointer;background:rgba(0,0,0,.03);color:#000000f2}nav a.active{background:rgba(0,0,0,.05);color:#000000f2;font-weight:400;box-shadow:none}nav .actions{display:flex;flex-grow:1;flex-direction:row-reverse;margin:.25em .75em;gap:.5em}nav .actions button{margin:0}button.notification:before{content:"\1f514"}button.notification.red:before{content:"\1f515"}span.icon.loading{position:relative;text-align:center;width:2.7em;top:19px;left:-20px}span.icon:after{position:absolute;content:"";width:1.3em;font-style:normal;height:1.3em}span.icon.star:after{content:"\2605";color:#fbbd08;position:relative}span.icon.loading:after{margin:-.7em 0 0 -.7em;-webkit-animation:button-spin .6s linear;animation:button-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#767676 transparent transparent;border-style:solid;border-width:.2em;-webkit-box-shadow:0 0 0 1px transparent;box-shadow:0 0 0 1px transparent}ul.search-results{line-height:1.4em;color:#000000de;font-size:1em;box-sizing:inherit;animation-iteration-count:1;animation-duration:.3s;animation-timing-function:ease;animation-fill-mode:both;display:block!important;visibility:visible!important;top:100%;left:0%;transform-origin:center top;white-space:normal;text-align:left;text-transform:none;background:#FFFFFF;margin-top:.5em;width:18em;border-radius:.3em;box-shadow:0 2px 4px #2224261f,0 2px 10px #22242626;border:1px solid #D4D4D5;z-index:998;max-width:calc(100vw - 2rem)}ul.search-results>li:not(:has(>a)){padding:.9em 1.1em}ul.search-results>li>a{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;box-sizing:inherit;background-color:transparent;text-decoration:none;border-radius:.3 .3 0em 0em;cursor:initial;display:block;overflow:hidden;font-size:1em;padding:.9em 1.1em;color:#000000de;line-height:1.33;border-bottom:1px solid rgba(34,36,38,.1)}ul.search-results>li>a{cursor:pointer}ul.search-results>li>a:hover{background:#F9FAFB}ul.search-results>li>a>p{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;cursor:pointer;box-sizing:inherit;margin:0;line-height:1.4em;font-size:.92857143em;color:#505050}.book-list{margin:0}.book-list .list-item{display:grid;grid-template-columns:minmax(50px,120px) auto;gap:0px 0px;grid-template-areas:"thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail .";border-bottom:1px solid rgba(34,36,38,.15);padding:1em;column-gap:1em}.book-list a{text-decoration:none;color:inherit}.book-list a:hover{color:#000c}.book-list img{grid-area:thumbnail;min-width:120px;width:120px;height:150px}.book-list h2{margin:0}.book-list h3{margin-top:0}.details>h2{padding-bottom:10px;border-bottom:1px solid rgba(34,36,38,.15)}.details h2{margin-bottom:0;font-size:1.3em}.details .header{display:flex;justify-content:space-between;padding-bottom:10px;flex-wrap:wrap}.details .header ul{margin:0}.details .header h2{margin-top:10px}.details .header>div{padding-right:20px}.details .header>div:last-child{padding-right:0;min-width:80px}.details p{padding-top:10px;white-space:pre-wrap}.details img{width:200px;height:250px;display:block;margin:1em 0}form{max-width:700px}form input{width:calc(100% - 4em);margin:5px 0 22px}form textarea{width:calc(100% - 2.4em);margin:5px 0 22px}form input:disabled,form textarea:disabled{background-color:#0000000d}form button.add{margin-left:10px}form fieldset{width:100%;border:none;margin:0;padding:0}form fieldset>input:only-child{width:calc(100% - 4em)}form fieldset>input{width:calc(50% - 4em)}form fieldset input:nth-child(odd){margin-right:.2em}form>button[type=submit]{background-color:#287e2b;color:#fff}form>button[type=submit]:hover{background-color:#096c0d}input[type=date],input[type=time]{min-height:1.2em;-webkit-appearance:none}.error{top:-20px;position:relative;color:#db2828;font-size:14px}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@media only screen and (max-width: 700px){nav{display:flex;border:none;box-shadow:none;gap:.5em 0}nav>a{border:1px solid rgba(34,36,38,.15)}nav>a:first-of-type{border-top-left-radius:.3em;border-bottom-left-radius:.3em;border-right:none}nav>a:last-of-type{border-top-right-radius:.3em;border-bottom-right-radius:.3em;border-left:none;margin-right:2em}nav .actions{margin:0;gap:.5rem;min-width:200px}nav .actions button{margin:0}}@media only screen and (max-width: 600px){nav .actions{justify-content:flex-end}}@media only screen and (max-width: 500px){nav>a{padding:.7em}nav>a:last-of-type{margin-right:0}}@media only screen and (max-width: 460px){h2{font-size:1.2em}[role=doc-subtitle]{font-size:1.1rem}.book-list img{grid-area:thumbnail;min-width:100px;width:100px;height:100px}.book-list .list-item{column-gap:2em;grid-template-columns:1fr 2fr}}@media only screen and (max-width: 360px){.book-list img{grid-area:thumbnail;min-width:80px;width:80px;height:100px}.book-list .list-item{column-gap:1em}} diff --git a/styles-NJBHQUZR.css b/styles-NJBHQUZR.css new file mode 100644 index 0000000..203549d --- /dev/null +++ b/styles-NJBHQUZR.css @@ -0,0 +1 @@ +*{font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif}h1,h2,h3,h4,h5,h6{color:#000000de;box-sizing:inherit;line-height:1.3em;margin:calc(2rem - .15em) 0em 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem;margin-top:0}h2,[role=doc-subtitle]{font-size:1.4rem}h3{margin:10px 0}p{margin:0 0 1em;line-height:1.4em}ul{padding:0;list-style:none}img{object-fit:contain}button,a.button{box-sizing:inherit;overflow:visible;cursor:pointer;display:inline-block;min-height:1em;border:none;vertical-align:initial;background:#e0e1e2 none;color:#0009;font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif;margin:.25em .25em 0 0;padding:.8em 1.5em;text-transform:none;text-shadow:none;font-weight:700;line-height:1em;font-style:normal;text-align:center;text-decoration:none;border-radius:.3rem;-webkit-user-select:none;user-select:none;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 0 1px transparent,inset 0 0 #22242626;font-size:.8rem}button:hover,a.button:hover{background-color:#cacbcd}button:disabled,a.button:disabled,button:disabled:hover,a.button:disabled:hover{cursor:not-allowed!important;background-color:#0000000d!important;color:#888!important}button.arrow-left,a.arrow-left{position:relative;padding-left:1.9rem}button.arrow-left:before,a.arrow-left:before{content:"\a";border-style:solid;border-width:7px 12px 7px 0;border-color:transparent #444 transparent transparent;position:absolute;left:.7rem}input,textarea{box-sizing:inherit;background:#fff;border:1px solid rgba(10,10,10,.3);color:#000000e6;border-radius:.3rem;transition:color .1s ease,border-color .1s ease;line-height:1.2}input{font-size:100%;overflow:visible;margin:0;max-width:100%;flex:1 0 auto;text-align:left;padding:.7em 1em;box-shadow:none;padding-right:2.7em!important;border-radius:.3rem}input[type=search]{background:url("./media/search-2CXVUIUQ.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}input.loading,input.ng-pending{background:url("./media/loader-5Y6PJRQU.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}textarea{overflow:auto;padding:1em;box-shadow:inset 0 0 0 0 transparent;font-size:1em;line-height:1.2857;resize:vertical;vertical-align:top;height:12em;min-height:8em;max-height:24em}input.ng-invalid.ng-touched,textarea.ng-invalid.ng-touched,fieldset.ng-invalid.ng-touched input,fieldset.ng-invalid.ng-touched textarea{outline-color:#d01919;border-bottom-color:#d01919;border-bottom-width:.2em;margin-bottom:20px;outline:0}input.ng-pending,textarea.ng-pending,fieldset.ng-pending input,fieldset.ng-pending textarea{animation:pulse 1.2s infinite}@keyframes pulse{0%{box-shadow:0 0 #e2bc00}50%{box-shadow:0 0 0 .2em #e2bc0080}to{box-shadow:0 0 #e2bc00}}body{margin:20px;min-width:320px}.yellow{background-color:#fbbd08!important;color:#fff!important}.yellow:hover{background-color:#eaae00!important}.red{background-color:#db2828!important;color:#fff!important}.red:hover{background-color:#d01919!important}.green{background-color:#287e2b!important;color:#fff!important}.green:hover{background-color:#096c0d!important}ul.comma-list{display:inline-flex;list-style:none;gap:.2em;flex-wrap:wrap}ul.comma-list li{display:inline-flex}ul.comma-list li:after{content:", "}ul.comma-list li:last-child:after{content:""}.visually-hidden{display:none}.loader{color:#000;text-align:center;font-family:sans-serif;font-size:16px;perspective:350px;padding-top:130px}.loader:before,.loader:after{content:"";display:block;width:45px;height:70px;border:4px solid #000000;margin:5% auto 30px;position:absolute;top:-10px;left:50%}.loader:before{border-left:1px solid #db2828;overflow:hidden;background:#db2828;transform-style:preserve-3d;transform-origin:left center;animation:pageTurn 1.3s cubic-bezier(0,.39,1,.68) .1s infinite}@keyframes pageTurn{0%{transform:rotateY(0)}20%{background:#d01919}40%{background:#db2828;transform:rotateY(-180deg)}to{background:#db2828;transform:rotateY(-180deg)}}@keyframes Dots{0%{content:""}33%{content:"."}66%{content:".."}to{content:"..."}}nav{line-height:1.4em;color:#000000de;box-sizing:inherit;margin:0rem 0em 1rem;background:#fff;font-weight:400;border:1px solid rgba(34,36,38,.15);box-shadow:0 1px 2px #22242626;border-radius:.3em;min-height:2.9em;font-size:1rem;display:flex;flex-wrap:wrap}nav a{font-size:1rem;box-sizing:inherit;position:relative;vertical-align:middle;line-height:1;text-decoration:none;-webkit-tap-highlight-color:transparent;flex:0 0 auto;-webkit-user-select:none;user-select:none;background:none;padding:.9em 1.1em;text-transform:none;color:#000000de;font-weight:400;transition:background .1s ease,box-shadow .1s ease,color .1s ease;display:flex;align-items:center}nav a:hover{cursor:pointer;background:#00000008;color:#000000f2}nav a.active{background:#0000000d;color:#000000f2;font-weight:400;box-shadow:none}nav .actions{display:flex;flex-grow:1;flex-direction:row-reverse;margin:.25em .75em;gap:.5em}nav .actions button{margin:0}button.notification:before{content:"\1f514"}button.notification.red:before{content:"\1f515"}span.icon.loading{position:relative;text-align:center;width:2.7em;top:19px;left:-20px}span.icon:after{position:absolute;content:"";width:1.3em;font-style:normal;height:1.3em}span.icon.star:after{content:"\2605";color:#fbbd08;position:relative}span.icon.loading:after{margin:-.7em 0 0 -.7em;-webkit-animation:button-spin .6s linear;animation:button-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#767676 transparent transparent;border-style:solid;border-width:.2em;-webkit-box-shadow:0 0 0 1px transparent;box-shadow:0 0 0 1px transparent}ul.search-results{line-height:1.4em;color:#000000de;font-size:1em;box-sizing:inherit;animation-iteration-count:1;animation-duration:.3s;animation-timing-function:ease;animation-fill-mode:both;display:block!important;visibility:visible!important;top:100%;left:0%;transform-origin:center top;white-space:normal;text-align:left;text-transform:none;background:#fff;margin-top:.5em;width:18em;border-radius:.3em;box-shadow:0 2px 4px #2224261f,0 2px 10px #22242626;border:1px solid #D4D4D5;z-index:998;max-width:calc(100vw - 2rem)}ul.search-results>li:not(:has(>a)){padding:.9em 1.1em}ul.search-results>li>a{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;box-sizing:inherit;background-color:transparent;text-decoration:none;border-radius:.3 .3 0em 0em;cursor:initial;display:block;overflow:hidden;font-size:1em;padding:.9em 1.1em;color:#000000de;line-height:1.33;border-bottom:1px solid rgba(34,36,38,.1)}ul.search-results>li>a{cursor:pointer}ul.search-results>li>a:hover{background:#f9fafb}ul.search-results>li>a>p{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;cursor:pointer;box-sizing:inherit;margin:0;line-height:1.4em;font-size:.92857143em;color:#505050}.book-list{margin:0}.book-list .list-item{display:grid;grid-template-columns:minmax(50px,120px) auto;gap:0px 0px;grid-template-areas:"thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail .";border-bottom:1px solid rgba(34,36,38,.15);padding:1em;column-gap:1em}.book-list a{text-decoration:none;color:inherit}.book-list a:hover{color:#000c}.book-list img{grid-area:thumbnail;min-width:120px;width:120px;height:150px}.book-list h2{margin:0}.book-list h3{margin-top:0}.details>h2{padding-bottom:10px;border-bottom:1px solid rgba(34,36,38,.15)}.details h2{margin-bottom:0;font-size:1.3em}.details .header{display:flex;justify-content:space-between;padding-bottom:10px;flex-wrap:wrap}.details .header ul{margin:0}.details .header h2{margin-top:10px}.details .header>div{padding-right:20px}.details .header>div:last-child{padding-right:0;min-width:80px}.details p{padding-top:10px;white-space:pre-wrap}.details img{width:200px;height:250px;display:block;margin:1em 0}form{max-width:700px}form input{width:calc(100% - 4em);margin:5px 0 22px}form textarea{width:calc(100% - 2.4em);margin:5px 0 22px}form input:disabled,form textarea:disabled{background-color:#0000000d}form button.add{margin-left:10px}form fieldset{width:100%;border:none;margin:0;padding:0}form fieldset>input:only-child{width:calc(100% - 4em)}form fieldset>input{width:calc(50% - 4em)}form fieldset input:nth-child(odd){margin-right:.2em}form>button[type=submit]{background-color:#287e2b;color:#fff}form>button[type=submit]:hover{background-color:#096c0d}input[type=date],input[type=time]{min-height:1.2em;-webkit-appearance:none}.error{top:-20px;position:relative;color:#db2828;font-size:14px}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@media only screen and (max-width: 700px){nav{display:flex;border:none;box-shadow:none;gap:.5em 0}nav>a{border:1px solid rgba(34,36,38,.15)}nav>a:first-of-type{border-top-left-radius:.3em;border-bottom-left-radius:.3em;border-right:none}nav>a:last-of-type{border-top-right-radius:.3em;border-bottom-right-radius:.3em;border-left:none;margin-right:2em}nav .actions{margin:0;gap:.5rem;min-width:200px}nav .actions button{margin:0}}@media only screen and (max-width: 600px){nav .actions{justify-content:flex-end}}@media only screen and (max-width: 500px){nav>a{padding:.7em}nav>a:last-of-type{margin-right:0}}@media only screen and (max-width: 460px){h2{font-size:1.2em}[role=doc-subtitle]{font-size:1.1rem}.book-list img{grid-area:thumbnail;min-width:100px;width:100px;height:100px}.book-list .list-item{column-gap:2em;grid-template-columns:1fr 2fr}}@media only screen and (max-width: 360px){.book-list img{grid-area:thumbnail;min-width:80px;width:80px;height:100px}.book-list .list-item{column-gap:1em}}